aboutsummaryrefslogtreecommitdiff
path: root/core/globals.cpp
Commit message (Collapse)AuthorAgeFilesLines
* -renamed globals.h to global_config.cpp (this seems to have caused a few ↵Juan Linietsky2017-02-211-1049/+0
| | | | | | modified files) -.pck and .zip exporting redone, seems to be working..
* Rename the _MD macro to D_METHODHein-Pieter van Braam2017-02-131-15/+15
| | | | | | This new name also makes its purpose a little clearer This is a step towards fixing #56
* Several bugfixes, improving the import workflowJuan Linietsky2017-02-061-0/+1
|
* Ensure proper config version when reading the new configuration file.Juan Linietsky2017-02-041-0/+13
|
* Renamed engine.cfg to godot.cfg, to forcefully break compatibility with 2.xJuan Linietsky2017-02-041-14/+14
|
* Style: Cleanups, added headers, renamed filesRémi Verschelde2017-01-161-1/+2
| | | | | | | | | Made sure files in core/ and tools/ have a proper Godot license header when written by us. Also renamed aabb.{cpp,h} and object_type_db.{cpp,h} to rect3.{cpp,h} and class_db.{cpp,h} respectively. Also added a proper header to core/io/base64.{c,h} after clarifying the licensing with the original author (public domain).
* no more errors related to missing GlobalConfig::Get (or so I hope)Juan Linietsky2017-01-141-1/+4
|
* Style: Fix whole-line commented codeRémi Verschelde2017-01-141-1/+1
| | | | | They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
* rename String.extension() -> String.get_extension() / String.basename() -> ↵Juan Linietsky2017-01-141-1/+1
| | | | String.get_basename()
* using VariantParser to parse engine.cfgJuan Linietsky2017-01-111-584/+36
|
* Type renames:Juan Linietsky2017-01-111-3/+3
| | | | | | | | | | | | Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
* renamed joystick to joypad everywhere around source code!Juan Linietsky2017-01-081-5/+5
|
* Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky2017-01-071-5/+5
| | | | renamed to PoolVector
* -Changed most project settings in the engine, so they have major and minor ↵Juan Linietsky2017-01-051-93/+104
| | | | | | | | categories. -Changed SectionedPropertyEditor to support this -Renamed Globals singleton to GlobalConfig, makes more sense. -Changed the logic behind persisten global settings, instead of the persist checkbox, a revert button is now available
* ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-021-14/+14
| | | | | | | | Variant. All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
* Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde2017-01-021-21/+26
|\ | | | | | | | | Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
| * Begining of GLES3 renderer:Juan Linietsky2016-10-031-21/+26
| | | | | | | | | | | | | | | | -Most 2D drawing is implemented -Missing shaders -Missing all 3D -Editor needs to be set on update always to be used, otherwise it does not refresh -Large parts of editor not working
* | Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-011-1/+1
| | | | | | | | | | | | | | | | 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!
* | Properly localize absolute path.Fabio Alessandrelli2016-11-221-1/+2
| | | | | | | | | | | | | | | | Calling localize_path will return a localized path in res:// if the path starts with the resource file-system/folder, and will return the unchanged absolute path otherwise. Closes #6979 and #7161.
* | Properly handle absolute paths in Globals::localize_pathFabio Alessandrelli2016-10-131-1/+1
|/ | | | | This give a proper fix for #4280 - #3106 , allowing absolute paths that starts from the file system, not the resource folder
* Several all around fixes to visual scripting (in the process of creating demos)Juan Linietsky2016-08-281-6/+7
|
* Added add_property_info function to Globals and EditorSettings classesFranklin Sobrinho2016-08-161-0/+20
|
* Fix main scene not being saved when set via Play buttonRémi Verschelde2016-07-191-1/+1
| | | | | Fixes #1134 for real. Also tweaked the engine.cfg template and the preference order when browsing for the main scene.
* First version of ProfilerJuan Linietsky2016-05-211-0/+1
| | | | | It is now possible to profile GDScript as well as some parts of Godot internals.
* Support for dynamic fonts (TTF)Juan Linietsky2016-05-011-1/+3
| | | | | Added support for DynamicFont, which can load a TTF of any size to use as a font. No import required.
* remove trailing whitespaceHubert Jarosz2016-03-091-13/+13
|
* Encode vectors in Globalseska2016-02-011-0/+8
|
* Fixed small inconsistencies with the text formatFranklin Sobrinho2016-01-241-1/+1
|
* proper joy axis support as actions, can be configured and inquired, fixes #2317Juan Linietsky2016-01-021-2/+4
|
* Update copyright to 2016 in headersGeorge Marques2016-01-011-1/+1
|
* Merge branch 'master' of https://github.com/godotengine/godotJuan Linietsky2015-12-311-5/+5
|\
| * Fix proper ordering of project settings properties, also fixes inability to ↵reduz2015-12-281-1/+1
| | | | | | | | change order of autoloads
| * Add missing argument names in GDScript bindingsRémi Verschelde2015-12-281-4/+4
| | | | | | | | | | All classes were reviewed apart from VisualServer for which no argument name is documented at all. While doing this review, I found quite a few bugs that were fixed either in earlier commits or this one (mostly documentation bugs though, i.e. some arguments were listed at the wrong place).
* | -Ensure .tscn and .tres always save in a deterministic way, fixes #2495Juan Linietsky2015-12-311-0/+1
|/ | | | | | | -Scene edit state is saved outside the scene now, to avoid changes .tscn files when nothing really changed -Created a VariantWriter helper to unify all variant to text writing -Moved SceneFormatText writing to VariantWriter -Moved ConfigFile to use VariantWriter and VariantParser, added compatibility mode for old .cfg files that use engine.cfg format
* -split view of property editor and editor settingsJuan Linietsky2015-12-151-2/+18
|
* Forbid renaming input presetsIgnacio Etcheverry2015-12-141-0/+11
|
* -deprecated pcz, replaced by just zip. Closes #2879Juan Linietsky2015-12-131-3/+3
|
* add priority to load binaryname.pckmasoud bh2015-11-201-2/+2
|
* Load binaryname.pckmasoud bh2015-11-201-0/+10
| | | | if not found data.pck search for binaryname.pck in linux and windows
* merged some stuff for okamJuan Linietsky2015-09-031-1/+1
|
* -display/emulate_touchscreen now really emulates a touchscreenJuan Linietsky2015-08-291-1/+0
| | | | -icons to show node menus
* -some changes by okamJuan Linietsky2015-06-301-0/+9
|
* Several performance improvements, mainly in loading and instancing scenes ↵Juan Linietsky2015-06-291-1/+1
| | | | | | | | and resources. A general speedup should be apparent, with even more peformance increase when compiling optimized. WARNING: Tested and it seems to work, but if something breaks, please report.
* new file dialog!Juan Linietsky2015-06-061-0/+7
| | | | | | | | | -ItemList control for easier lists/thumbnails -New file dialog, with support for thumbnails, favorites, recent places, etc -Moved .fscache out of the project, no more bugs due to committed/pulled .fscache! -Dir dialog now sorts directories
* ability to run 2D physics in a threadJuan Linietsky2015-05-261-0/+1
| | | | | also, 2D physics is now thread safe too. see physics_2d/thread_model
* opening data.pczAriel Manzur2015-05-251-1/+1
|
* Change the order of the filterGuilherme Felipe2015-05-051-1/+1
|
* Updated copyright year in all headersJuan Linietsky2015-04-181-1/+1
|
* Fix CppCheck 'duplicateExpression' warningBoris Egorov2014-11-071-1/+1
| | | | | BTW, all three cases looks similar. It would be nice to refactor it to avoid repeating code.
* -Much improvement to baked light bakerJuan Linietsky2014-10-271-2/+4
| | | | | | | -Fixed many bugs in stretch mode -Fixes to camera project and unproject as consequence of the above -added setget to script (documented in script doc) -more fixes to collada exporter for blender