Commit graph

55 commits

Author SHA1 Message Date
Ferenc Arn
6f4f9aa6de Overloaded basic math funcs (double and float variants). Use real_t rather than float or double in generic functions (core/math) whenever possible.
Also inlined some more math functions.
2017-01-16 13:36:33 -06:00
Rémi Verschelde
f44ee891be Style: Fix statements ending with ';;' 2017-01-16 08:49:52 +01:00
Rémi Verschelde
3890256fc5 Style: Cleanups, added headers, renamed files
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).
2017-01-16 08:04:23 +01:00
Juan Linietsky
dcb95ec147 removed duplicated functions in class hierarchy that were bound more than once
added a check to detect this case in the future
2017-01-14 11:10:42 -03:00
Rémi Verschelde
93ab45b6b5 Style: Fix whole-line commented code
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.
2017-01-14 14:52:23 +01:00
Juan Linietsky
04c749a1f0 New API for visibility in both CanvasItem and Spatial
visible (property) - access set_visible(bool) is_visible()
is_visible_in_tree() - true when visible and parents visible
show() hide() - for convenience
2017-01-13 10:45:50 -03:00
Juan Linietsky
0f7af4ea51 -Changed most project settings in the engine, so they have major and minor 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
2017-01-05 09:16:00 -03:00
Juan Linietsky
118eed485e ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to 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()
2017-01-02 23:03:46 -03:00
Rémi Verschelde
ac04a932d6 Merge pull request #7364 from guilhermefelipecgs/fix_bottom_panel_visibility_on_play
Fix bottom panel visibility on play
2017-01-02 15:54:26 +01:00
Rémi Verschelde
c7bc44d5ad Welcome in 2017, dear changelog reader!
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!
2017-01-01 22:03:33 +01:00
Guilherme Felipe
83b82fc267 Fix visibility of bottom panel when start playing 2016-12-24 19:52:43 -02:00
Rémi Verschelde
90f4e76a46 Merge pull request #6479 from RandomShaper/improve-debug-focus
Improve debug focus behavior
2016-10-03 11:36:01 +02:00
Pedro J. Estébanez
66dac878ac Improve debug focus behavior
Fix focusing debugged game on Windows
Add re-focusing editor on continue
2016-09-14 04:02:18 +02:00
supaiku
8514eaf34b Always show output panel when debugging 2016-09-06 01:46:50 +02:00
Juan Linietsky
9890c1d2ca Likely with bugs and with some features are missing, as well as profiler support, but VisualScript should be more or less done! 2016-08-06 19:00:54 -03:00
Franklin Sobrinho
f20680947b Keep debugger selected tab open when pressing the pause button 2016-07-17 09:27:36 -03:00
Rémi Verschelde
3fcb9b1ec1 Removed unused variables (second pass) + dead code
Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
2016-07-07 23:15:59 +02:00
Juan Linietsky
f071c82742 remove (for now) the next/prev instance buttons in debugger, closes #4993 2016-06-11 21:40:51 -03:00
Juan Linietsky
9e745b920f Ability to reload scripts on running game 2016-06-01 20:31:42 -03:00
DimOkGamer
0fc4f1bcf4 Added more translatable strings in code. Updated template tools.pot.
also improved Russian localization.
2016-05-30 21:47:53 +03:00
Juan Linietsky
9b1f8230ec -Some fixes to OSX retina scaling for window functions
-Implemented HiDPI detection and support for Godot Editor!
2016-05-30 00:28:29 -03:00
Ignacio Etcheverry
ea9cde8842 Debugger: show error message if description is not available 2016-05-25 22:57:41 +02:00
Juan Linietsky
d3495b128a -Improve resource previews
-Also fixed draw_texture_rect() tile parameter
2016-05-23 17:11:49 -03:00
Juan Linietsky
b2a4908e9c Real-Time Remote Inspector support 2016-05-22 19:29:06 -03:00
Juan Linietsky
eacb8f04c4 Merge remote-tracking branch 'origin/master' 2016-05-21 22:34:55 -03:00
Juan Linietsky
a75f896338 First version of Profiler
It is now possible to profile GDScript as well as some parts of Godot
internals.
2016-05-21 21:18:16 -03:00
Rémi Verschelde
00d8f86044 i18n: Second pass at proofreading
Mostly removing commented out strings, plus a few critical ones
that should not be translated.
2016-05-21 01:27:27 +02:00
Rémi Verschelde
94c34ff890 i18n: Proofreading of all strings
Done to ensure that no important identifiers are translatable,
to fix compound strings using the new vformat() function, and
some general English proofreading here and there.
2016-05-21 00:21:57 +02:00
Juan Linietsky
567cb691ec Modified editor strings to be translatable in the future 2016-05-03 22:25:37 -03:00
Rémi Verschelde
8ceab5ddaf Debugger: Fix breaked signal binding (#4508)
Closes #4270.
2016-05-01 23:06:30 +02:00
Rémi Verschelde
87517c564b Merge pull request #3436 from neikeq/rm_dbg_x
Removed debugger X (hide) button
2016-01-25 11:02:26 +01:00
Juan Linietsky
31a4762fea Merge pull request #3435 from neikeq/output_focus_steal
Fix Output panel annoying focus steal
2016-01-25 00:30:14 -03:00
Ignacio Etcheverry
dd197cd6d3 Removed debugger X (hide) button 2016-01-24 16:44:59 +01:00
Ignacio Etcheverry
a3e4914355 Fix Output panel annoying focus steal 2016-01-24 16:26:03 +01:00
Juan Linietsky
6c27df8df6 -Fixes a bunch of stdout errors, closes #2763 closes #2731 2016-01-23 19:51:51 -03:00
Juan Linietsky
74a48a0140 -Massive editor dialog cleanup
-Added a bottom menu list
2016-01-17 20:03:57 -03:00
Franklin Sobrinho
514eed4072 Fix debugger close button and script editor "Show Debugger" 2016-01-08 16:43:50 -03:00
George Marques
5be9ff7b67 Update copyright to 2016 in headers 2016-01-01 11:50:53 -02:00
Franklin Sobrinho
df57239f7f Remove last remaining variables of PR-3043 2015-12-12 18:15:31 -03:00
Juan Linietsky
e19f176765 fix broken merge 2015-12-12 10:21:22 -03:00
Juan Linietsky
a2d817405e Merge branch 'master' of https://github.com/godotengine/godot 2015-12-12 10:14:13 -03:00
Juan Linietsky
cd4c3f4d12 -added option to keep debugger open, fixes #3031 2015-12-12 10:09:50 -03:00
Franklin Sobrinho
4d644ca997 Script debugger remains visible when using Debug->Show Debugger 2015-12-12 10:04:51 -03:00
Franklin Sobrinho
2e1b4ecf4b Fix small memory leak 2015-10-28 10:34:02 -03:00
Juan Linietsky
b59c86f6f9 -Ability to debug video memory usage
-Small fix to xml saver (swapping > and <)
2015-10-21 09:50:44 -03:00
Juan Linietsky
b5011d9bf1 -Fixes on atlas import to save memory if mipmaps are not used
-Make the video memory visible to improve debugging
2015-10-20 19:19:19 -03:00
Juan Linietsky
8280bb0de0 more debugger fixes
-setting/clearing breakpoints during run-time now works
-multi-line strings resulted in wrong line numbers in bytecode, fixed
2015-08-04 20:17:39 -03:00
Juan Linietsky
d1da2c2995 error debugger
shows the list of errors that happened during running the game, traces
can be analyzed
2015-08-04 09:47:32 -03:00
Juan Linietsky
cbee679bd7 live debug fixes
removing node in live debugging fixed
2015-08-02 20:28:10 -03:00
Juan Linietsky
59961c9914 Live edit WORK IN PROGRESS
1) press the heart while the game is running
2) select a scene to live edit from the opened scenes
3) edit/add/remove nodes or resources, change their properties, etc.
4) watch changes reflected in running game, in all places this scene is
edited
5) It's not perfect obviously, but the aim of it is to try to reflect
your changes as best as possible in the running game.
2015-08-02 12:30:01 -03:00