summaryrefslogtreecommitdiffstats
path: root/core/project_settings.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | Allow default audio bus layout modificationlupoDharkael2019-04-051-0/+2
| |
* | Add object encoding param to serialization methodsFabio Alessandrelli2019-04-011-5/+5
| | | | | | | | | | | | | | | | | | Network peers get_var/put_var File get_var/store_var GDScript/Mono/VisualScript bytes2var/var2bytes Add MultiplayerAPI.allow_object_decoding member which deprecates PacketPeer.allow_object_decoding. Break ABI compatibaility (API compatibility for GDNative).
* | Define android/modules globally so it appears in Project SettingsRémi Verschelde2019-03-071-0/+3
| | | | | | | | Until now people had to add it manually to project.godot to load custom modules.
* | Add -Wshadow=local to warnings and fix reported issues.marxin2019-02-201-3/+3
|/ | | | Fixes #25316.
* GLES2: Make Nvidia flicker workaround opt-inRémi Verschelde2019-01-141-2/+0
| | | | | | | | | | | It has a big impact on 2D and text rendering performance (cf. #24466) so the solution seems worse than the bug it aims to work around. It's now opt-in via "rendering/quality/2d/gles2_use_nvidia_rect_flicker_workaround" for those who need it and have a simple enough game for the performance drop not to be an issue. Fixes #24466.
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* ProjectManager: Warn when projects have different config_versionRémi Verschelde2018-12-211-15/+11
| | | | | | | | | | | | | | | | | | | | | | When opening projects for edition through the project manager, the following checks are now done: 1. If the config_version is lower than the one used by the current engine version, users are asked if they want to convert to the new format or abort editing. Fixes #20626. 2. If the config_version is higher than the expected one (project from a more recent and incompatible engine version), projects are grayed out and can't be edited. Fixes #18758. When editing from the command line, the behaviour is unchanged: projects in situation (1) are automatically converted, while projects in situation (2) show an error message (made more explicit). The "Run" option from the project manager was not changed, so it will still run (1) projects without converting them, and fail running (2) projects. Co-authored-by: groud <gilles.roudiere@gmail.com>
* Add application/config/project_settings_override option to override project ↵Marcelo Fernandez2018-12-131-1/+14
| | | | settings
* Merge pull request #22779 from Superwaitsum/LimitSettingsRémi Verschelde2018-10-251-0/+1
|\ | | | | Limit several project settings
| * Add some limits on the Editor SettingsSuperwaitsum2018-10-241-0/+1
| |
* | Fix .pck lookup for extensionless binary names with a dotRémi Verschelde2018-10-241-28/+57
|/ | | | | | | | | | | | | | This was not a problem on Windows as binary names are guaranteed to end with '.exe', but on Unix systems binary extensions are purely cosmetic and thus optional, which is a problem when using `get_basename()` to lookup a potential '.pck' file, as it can fail on e.g. "My Game 2.0" (#15188). To fix this, ProjectSettings::setup now checks for both basename + '.pck' and filename + '.pck'. Fixes #15188, supersedes and closes #22755. Also took the opportunity to improve documentation on this core method.
* Merge pull request #21982 from luzpaz/misc-typosRémi Verschelde2018-09-131-1/+1
|\ | | | | Misc. typos
| * Misc. typosluz.paz2018-09-121-1/+1
| | | | | | Found via `codespell -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"`
* | Make core/ includes absolute, remove subfolders from include pathRémi Verschelde2018-09-121-10/+11
|/ | | | | | This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
* Make some debug prints verbose-only, remove othersRémi Verschelde2018-08-241-1/+1
|
* Fixes initialization of action listgroud2018-08-141-48/+89
|
* Fix main scene file filterMattias Cibien2018-07-261-1/+1
|
* Reduce unnecessary COW on Vector by make writing explicitHein-Pieter van Braam2018-07-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | This commit makes operator[] on Vector const and adds a write proxy to it. From now on writes to Vectors need to happen through the .write proxy. So for instance: Vector<int> vec; vec.push_back(10); std::cout << vec[0] << std::endl; vec.write[0] = 20; Failing to use the .write proxy will cause a compilation error. In addition COWable datatypes can now embed a CowData pointer to their data. This means that String, CharString, and VMap no longer use or derive from Vector. _ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug builds. This is a lot faster for Vector in the editor and while running tests. The reason why this difference used to exist is because force-inlined methods used to give a bad debugging experience. After extensive testing with modern compilers this is no longer the case.
* -Project/Editor settings now use new inspectorJuan Linietsky2018-07-191-2/+10
| | | | | | | -Project/Editor settings now show tooltips properly -Settings thar require restart now will show a restart warning -Video driver is now visible all the time, can be changed easily -Added function to request current video driver
* Fixed OS.has_feature not using custom feature tags.matthew10062018-07-181-0/+4
|
* Global class names (and GDScript support for it)Juan Linietsky2018-07-151-1/+5
|
* Update resource file project settings on renameBenjamin2018-07-031-0/+4
|
* Fixed project settings overrides not using custom feature tags.matthew10062018-06-271-1/+1
|
* Revert "Make the performance reporting update frequency customizable"Juan Linietsky2018-05-281-1/+0
|
* Make the performance reporting update frequency customizableHugo Locurcio2018-05-181-0/+1
| | | | The default update frequency has been changed from 1000ms to 250ms.
* Fix #17019 : overrides with unknown base settingManuel Moos2018-05-011-4/+3
| | | | | | | If at the time of the _GLOBAL_DEF call a setting itself was unknown, the function would always return the supplied default value instead of checking for overrides. This commit changes that, lookup now always happens which correctly takes overrides into account.
* Allow actions to provide an analog valueGilles Roudiere2018-04-161-1/+20
|
* Merge pull request #16947 from Faless/ui_actionsFabio Alessandrelli2018-03-161-0/+14
|\ | | | | GUI elements ui_action usage, improvements
| * Add two new default actions ui_end, ui_homeFabio Alessandrelli2018-02-231-0/+14
| | | | | | | | Used by Slider and Scrollbar
* | Fix non working action names containing whitespacesrobfram2018-03-121-1/+4
|/ | | | | | | | Now the action name is quoted if it contains spaces. Also, quotation mark (") is added to the forbidden character list for action names, as it was also a bug. Fix #17322
* Fix loading project.binary from PCK fileRémi Verschelde2018-02-211-2/+6
| | | | | | Regression introduced in #16825. My logic was correct, but not the error code I was expecting. The error reporting in FileAccess likely needs a review too.
* Improve error reporting of ProjectSettings::setup()Rémi Verschelde2018-02-191-26/+50
| | | | | | | And use it to better report errors in the console and project manager when a project.godot file is corrupted. Fixes #14963.
* Fix typos in code and docs with codespellRémi Verschelde2018-01-181-1/+1
| | | | Using v1.11.0 from https://github.com/lucasdemarchi/codespell
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Allow customizing user:// path (folder in OS::get_data_path())Rémi Verschelde2017-11-261-1/+2
| | | | | | | | This allows to specify any valid folder name (including with subfolders) to use as user:// on all platforms. The folder is constrained to the platform-specific OS::get_data_path() (typically what `XDG_DATA_HOME` resolves to). Fixes #13236.
* Made Vector::ptrw explicit for writing, compiler was sometimes using the ↵Juan Linietsky2017-11-251-1/+1
| | | | | | wrong function, leading to unnecesary copy on writes and reduced performance.
* Rename OS::get_data_dir to OS::get_user_data_dirRémi Verschelde2017-11-171-1/+1
| | | | | Will be needed to avoid confusion with system data path (XDG_DATA_HOME) and editor data dir in upcoming refactoring.
* Move singleton management from ProjectSettings to EngineLeon Krause2017-11-141-28/+0
|
* Add an option to use zstd's recently introduced long range matching (off by ↵Ferenc Arn2017-10-271-0/+6
| | | | default).
* Made directory scan optionalBastiaanOlij2017-10-101-44/+9
|
* Fix trailing whitespaces in project settings header commentEmmanuel Leblond2017-10-091-2/+2
|
* Added the set/get_setting function in Editor/Project settings. Renamed has() ↵Juan Linietsky2017-10-051-3/+13
| | | | to has_setting. Fixes #11844
* fixed the OS.has_feature() API, and added support for 32 and 64.Juan Linietsky2017-10-031-1/+1
|
* Rename pos to position in user facing methods and variablesletheed2017-09-201-1/+1
| | | | | | | | | | | Rename user facing methods and variables as well as the corresponding C++ methods according to the folloming changes: * pos -> position * rot -> rotation * loc -> location C++ variables are left as is.
* Fixed naming of pck fileBastiaan Olij2017-09-171-2/+2
|
* Merge pull request #11062 from BastiaanOlij/osx_datapackRémi Verschelde2017-09-131-2/+56
|\ | | | | Fixed loading package from resource folder, exporting textures to bun…
| * Fixed loading package from resource folder, exporting textures to bundle and ↵BastiaanOlij2017-09-081-2/+56
| | | | | | | | added a bit of feedback for a debug compile
* | Add user data directory support for ProjectSettings::globalize_pathgeequlim2017-09-101-1/+9
|/
* Fix files headerPoommetee Ketson2017-09-011-1/+1
|