Commit graph

66 commits

Author SHA1 Message Date
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
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 d9d77291bc rename String.extension() -> String.get_extension() / String.basename() -> String.get_basename() 2017-01-14 00:51:09 -03:00
Juan Linietsky bc26f90581 Type renames:
Matrix32 -> Transform2D
	Matrix3 -> Basis
	AABB -> Rect3
	RawArray -> PoolByteArray
	IntArray -> PoolIntArray
	FloatArray -> PoolFloatArray
	Vector2Array -> PoolVector2Array
	Vector3Array -> PoolVector3Array
	ColorArray -> PoolColorArray
2017-01-11 00:52:51 -03:00
Juan Linietsky 48097f6df3 Removed the set_child_rect() in AcceptDialog. AcceptDialog now works as a container! 2017-01-10 01:49:55 -03:00
Juan Linietsky 2ab83e1abb Memory pool vectors (DVector) have been enormously simplified in code, and renamed to PoolVector 2017-01-07 18:26:38 -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 3f3f5a5359 Merge remote-tracking branch 'origin/gles3' into gles3-on-master
Various merge conflicts have been fixed manually and some mistakes
might have been made - time will tell :)
2017-01-02 21:52: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
Juan Linietsky 075fde7f26 work in progress global illumination 2016-12-20 00:21:07 -03:00
volzhs b0cf201ea3 Fix crash when select target path on import 3d scene window 2016-11-14 08:36:01 +09:00
Saracen 0063471edd Fixed flag for importing animation and skipping value tracks. 2016-11-03 08:45:35 +00:00
Juan Linietsky 53d8f2b1ec PBR more or less working, still working on bringing gizmos back 2016-10-27 11:50:26 -03:00
volzhs dd04ac7ba9 Add option for root node name on Import 3D scene window 2016-10-15 01:44:19 +09:00
Juan Linietsky 22d83bc9f6 Begining of GLES3 renderer:
-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
2016-10-03 21:35:16 +02:00
Johan Manuel cec1c48a7e Fix various warnings
The warnings fixed were about things like unused variables, misleading
indentation, missing default cases in switches and better grouping of
conditions in if statements.
2016-08-13 13:21:35 +02:00
Rémi Verschelde 4f9dea3aed Revert "Change default extension to .tscn when import 3d scene"
Also adds a comment as to why this extension should not be changed.
This commit reverts edf7082326.
2016-07-18 21:32:10 +02:00
volzhs edf7082326 Change default extension to .tscn when import 3d scene 2016-07-18 23:28:13 +09:00
Rémi Verschelde 454b210242 Remove unused variables (third pass) + dead code
Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
2016-07-07 23:16:21 +02:00
Juan Linietsky 54571e94ac Fixes to import plugin, closes #5318 2016-06-30 22:37:25 -03:00
Juan Linietsky fbdb7a947b Editor properly reloads scenes if they changed on disk or were reimported 2016-06-28 18:53:31 -03:00
Juan Linietsky 33f1204dc4 Fix error reporting when a scene is not imported properly, closes #3968 2016-06-26 15:37:39 -03:00
Juan Linietsky 0db02f26b6 -Added options for scene import plugin to keep materials and user-added tracks to animations, please test! closes #4425 2016-06-20 00:20:30 -03:00
jay3d 6b74e43a5b Add "-rigid" postfix import feature to create rigid bodies 2016-06-18 02:40:25 -04:00
Pawel Kowal 494847f0d1 Improved Blender/Collada -colonly import creating collision shapes for empties 2016-06-05 20:59:21 +02: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 cf3575e0b4 Merge branch 'master' of https://github.com/godotengine/godot 2016-05-30 00:29:36 -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
George Marques e623a50be6
Remove translatable strings in comments 2016-05-29 18:37:49 -03:00
Geequlim cb05e8450d Set more visible string to translatable 2016-05-29 16:10:23 +08:00
Juan Linietsky 8be2fabbe5 Changed import workflow
-Rearrange favorites in fs dock with drag and drop
-Removed import -> sub-scene, moved to scenetree contextual menu
-Removed import -> re-import , moved and integrated to FS dock
-Added ability in FS dock to re-import more than one resource
simultaneously
-Added ability to drag from native filesystem explorer to Godot, only
works on Windows though
-Removed scene reimport merge options, never worked well. Eventually
merging materials should be re-added
-Added ability to set custom root node type when importing scenes
-Re-Import is now automatic, can be configured back to manual in editor
settings
-Added resource previews in property list for many resource types
2016-05-27 14:19:11 -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
Rémi Verschelde fb277dbde6 i18n: Don't make print_line calls translatable 2016-05-04 15:28:37 +02:00
Juan Linietsky 567cb691ec Modified editor strings to be translatable in the future 2016-05-03 22:25:37 -03:00
volzhs 86c6326057 correct typo "overwrite" 2016-04-14 20:52:30 +09:00
Hubert Jarosz 4a4f247914
remove trailing whitespace 2016-03-09 00:00:52 +01:00
Juan Linietsky 6fc1c3a4d1 Completed the support for plugins! It is not possible to add plugins.
Not all APIs are provided yet, please request whathever you are missing.
Some example plugins are provided in demos/plugins. Just copy them to a folder in your project named addons/ and then enable them from the project settings.
Have fun!
2016-02-27 23:12:27 -03:00
George Marques 5be9ff7b67 Update copyright to 2016 in headers 2016-01-01 11:50:53 -02:00
Juan Linietsky d3eb9e8c54 -remove Vector2.atan2() replaced by Vector2.angle(), fixes #2260 2015-11-19 10:41:20 -03:00
Juan Linietsky 9acab32daa new file dialog!
-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
2015-06-06 09:44:38 -03:00
Juan Linietsky f220183e40 fix a crash situation when starting a thread and other small fixes 2015-05-18 12:45:53 -03:00
Juan Linietsky 1de1a04b78 -fix local and global usage for DirAccess, fixes #791
please test anyway..
2015-04-18 20:11:33 -03:00
Juan Linietsky b66b86b05e -Fixed post-import script-reload buf, fixes #1683 2015-04-18 19:06:58 -03:00
Juan Linietsky fdaa2920eb Updated copyright year in all headers 2015-04-18 14:38:54 -03:00
Juan Linietsky 2998515442 -Fix issue of scene import script path being broken on reimport, fixes #1668 2015-04-13 09:21:34 -03:00
Juan Linietsky 2dfa1279ea improved save path error messages for scene, textures and audio, fixes #1514 2015-04-12 16:45:59 -03:00
Juan Linietsky e18c6ef63b -Better Collada now keeps mesh names properly from blender, makes the "overwrite existing, keep materials" import mode work properly. 2015-04-08 01:46:55 -03:00
Juan Linietsky b016f3898b fixed re-import of scene when new nodes are added, fixes #1620 2015-04-08 01:11:50 -03:00