aboutsummaryrefslogtreecommitdiff
path: root/main/main.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* Optimize-out some debug and/or non-tools methodsPedro J. Estébanez2017-04-071-0/+7
| | | | | | | | | Collisions and nav debug are conditionally compiled depending on DEBUG_ENABLED is_editor_hint() and is_node_being_edited() are compiled only with TOOLS_ENABLED Every affected method is implemented in the header in case its macro is not present (the getters just returning false and the setters having an empty body) so the compiler can inline and finally no-op-out them as likely as possible. is_node_being_edited() already showed a similar optimization effort and has been adapted to this change. Furthermore, and as a consequence, -debugcol and -debugnav will not work on non-debug (strict release) builds. This can bring a little bit of runtime performance on release and non-tooled builds (less code, so less cycles to spend and maybe more cache friendly).
* Bring that Whole New World to the Old Continent tooRémi Verschelde2017-03-191-600/+514
| | | | | Applies the clang-format style to the 2.1 branch as done for master in 5dbf1809c6e3e905b94b8764e99491e608122261.
* Refactoring: rename tools/editor/ to editor/Rémi Verschelde2017-03-181-3/+3
| | | | | | | | The other subfolders of tools/ had already been moved to either editor/, misc/ or thirdparty/, so the hiding the editor code that deep was no longer meaningful. (Manual redo of 49c065d29ca07040c3fd810026121164ad86b247)
* Reorder the folders in tools to prepare moving tools/editorRémi Verschelde2017-03-181-4/+1
| | | | | | | | | | | - `certs` and `editor_fonts` go to `thirdparty` - `dist` and `scripts` go to a new `misc` folder - `collada` and `doc` go to `tools/editor` The next step will be to rename `tools/editor` to `editor` directly, but this will be done at the right time to avoid breaking too many PRs. (cherry picked from commit b87a232668d9f9f3b32c2fceb60bc5f6ef46df22)
* Style: Various fixes to play nice with clang-formatRémi Verschelde2017-03-181-1/+1
| | | | (cherry picked from commit 2a0ddc1e89ec7b947152c8d0cb132d58f2c00a81)
* Style: Fix statements ending with ';;'Rémi Verschelde2017-03-181-1/+1
| | | | (cherry picked from commit f44ee891beaad397481dd88da41cb80e6539774f)
* Move core engine tests to mainRémi Verschelde2017-01-121-1/+1
| | | | | (cherry picked from commits 790f629e5e1cccf721948b1153bb0dee139ac1a5 and 8b7a86ec7b7bc4bb115f45545aa062cba47022bc)
* Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-121-2/+2
| | | | | | | | | | That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games! (cherry picked from commit c7bc44d5ad9aae4902280012f7654e2318cd910e)
* Fix typos and missing newlines in --helpTim Roes2016-11-151-3/+2
| | | | (cherry picked from commit c34aa331ec2dc9d77ce5f7032af750a0693527a2)
* Improve debug focus behaviorPedro J. Estébanez2016-10-091-0/+10
| | | | | | | Fix focusing debugged game on Windows Add re-focusing editor on continue (cherry picked from commit 66dac878ac9fc278044281b7f67fbed668e4523d)
* PCKPacker: moved from tools into core, fixes #4129J08nY2016-10-091-3/+0
| | | | (cherry picked from commit b1fba2e013e0dc53dec7406e5db4fbc65ad17a94)
* Fix crash on asset lib installGeorge Marques2016-07-101-0/+2
| | | | | This is not the perfect solution, but fixes the crash and avoid a dependency on EditorNode.
* removed target_fps option, moved it to debug (it makes no sense for games). ↵Juan Linietsky2016-07-091-2/+10
| | | | Added a frame_delay option for games that don't want to use the CPU fully.
* Removed unused variables (first pass)Rémi Verschelde2016-07-071-5/+2
| | | | Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
* update EditorDirDialog on external change, closes #4629Juan Linietsky2016-06-181-2/+3
|
* vsync supportJuan Linietsky2016-06-051-0/+3
| | | | | | -works on windows -may not work on X11, if so please fix -OSX does not seem to support disabling vsync
* Make Input Actions config not affect the editorJuan Linietsky2016-06-051-1/+4
|
* -Some fixes to OSX retina scaling for window functionsJuan Linietsky2016-05-301-1/+11
| | | | -Implemented HiDPI detection and support for Godot Editor!
* Change low processor usage mode to cap to 60 FPS rather than 40 FPSCalinou2016-05-221-1/+1
| | | | | | This results in smoother operation in the editor, without needing to resort to the "Update Always" method which uses more resources than needed.
* First version of ProfilerJuan Linietsky2016-05-211-8/+32
| | | | | It is now possible to profile GDScript as well as some parts of Godot internals.
* Always set default clear coloreska2016-04-151-3/+5
|
* Borderless window support for the Win32 build. Default window position is ↵Saracen2016-03-121-0/+3
| | | | now also centred.
* -Made editor support SSL certs by default (embedded them)Juan Linietsky2016-03-121-0/+2
| | | | | | | | | -Made asset sharing support https -Many fixes to HTTPRequest -Added an asset installer dialog -Visual cleanups to asset sharing tab -Fixed some issues in ScrollContainer, hope it does not break things -Asset sharing tab is not visible (hidden on purpose) for now.
* remove trailing whitespaceHubert Jarosz2016-03-091-63/+63
|
* adds -pm and -project_manager command line options to start project managerAriel Manzur2016-02-251-2/+5
| | | | fixes bug where the user has an engine.cfg on the executable directory so it runs the game instead of opening the project manager
* Merge pull request #3493 from Hinsbart/wm_classRémi Verschelde2016-02-031-0/+2
|\ | | | | x11: use different strings for WM_CLASS depending on context
| * x11: use different strings for WM_CLASS depending on contexthondres2016-01-271-0/+2
| |
* | do not fail on invalid audio driver, fixes #3466Juan Linietsky2016-01-311-2/+4
|/
* Add ability to set "keep screen on" for androidvolzhs2016-01-161-0/+1
|
* Fix wrong type check for autoloadRémi Verschelde2016-01-131-1/+1
| | | | Regression from c633a29. Fixes #3342
* improve reporting of error in wrong inheritance for autoload scriptJuan Linietsky2016-01-131-2/+3
|
* attempt another fixJuan Linietsky2016-01-131-1/+11
|
* Reworked how autoloads are load to make sure identifiers always exist, ↵Juan Linietsky2016-01-131-1/+23
| | | | please check if this resolves bug #3156
* Update copyright in remaining files + prints in the UIRémi Verschelde2016-01-111-1/+1
|
* Update copyright to 2016 in headersGeorge Marques2016-01-011-1/+1
|
* force thread model to single-safe when running editor, fixes #2387Juan Linietsky2015-12-311-1/+5
|
* removed wron return types, fixes #2483reduz2015-12-291-1/+1
| | | | removed console, which was obsolete and unused sine long long ago
* Ability to set autoloads as singleton global variablesreduz2015-12-281-0/+15
|
* -added windowed mode with -w, fixes #3020Juan Linietsky2015-12-121-6/+11
| | | | -changed default windowed resolution to 1280x720
* Print error if no export destination has been passedest312015-11-261-0/+11
|
* Merge branch 'master' of https://github.com/okamstudio/godotJuan Linietsky2015-11-241-3/+4
|\ | | | | | | | | Conflicts: main/main.cpp
| * Fix typo, missing quoteRémi Verschelde2015-11-241-1/+1
| |
| * Merge pull request #2876 from akien-mga/pr-boot-splash-debugRémi Verschelde2015-11-241-5/+4
| |\ | | | | | | Silence too verbose boot splash debug info
| | * Silence too verbose boot splash debug infoRémi Verschelde2015-11-231-5/+4
| | |
| * | Load main scene if defined when running editor from the command lineRémi Verschelde2015-11-221-2/+2
| |/ | | | | | | | | | | | | If no main scene is defined, or if it's an empty string, the previous behaviour will still be used, i.e. launch the project manager. A small fix was also added not to maximize the window when opening the project manager via -editor (i.e. "godot" and "godot -e" will behave the same when no project is in the path). Fixes #2869.
* / -work in progress resourceparser and .tscn parser. Still non-functionalJuan Linietsky2015-11-241-10/+2
|/ | | | | -fixed theora so it can compile theoralib but not theora -fixed generation of windows icon in .rc, which didn't previously work in 32 bits
* Merge pull request #2706 from phobos-tro/main_memleaksJuan Linietsky2015-11-181-2/+3
|\ | | | | Fixing memleaks in main/main.cpp
| * Fixing memleaks in main/main.cppPhobos Tro2015-10-301-2/+3
| |
* | Fix arguments parsing in the main functionRémi Verschelde2015-11-011-14/+20
|/ | | | | | | | | | | Fixes #2611 which was a regression from 692216b86ab97db91e7ff3903ffc9ac8e37433f6. The bogus behaviour considered that if there were more than one arguments left to parse, they would be a pair of arguments (switch and its parameter), and thus skipped the next argument in all cases (thus potentially skipping a "-editor", which triggered #2611). This is fixed by checking first for arguments that don't expect a parameter, and only afterwards for arguments that expect a parameter. And if a "pair" of arguments is not valid, we no longer increment the counter.