virtualx-engine/scene/resources
Rémi Verschelde d79a7a2773 Refactor version macros and fix related bugs
The previous logic with VERSION_MKSTRING was a bit unwieldy, so there were
several places hardcoding their own variant of the version string, potentially
with bugs (e.g. forgetting the patch number when defined).

The new logic defines:

- VERSION_BRANCH, the main 'major.minor' version (e.g. 3.1)
- VERSION_NUMBER, which can be 'major.minor' or 'major.minor.patch',
  depending on whether the latter is defined (e.g. 3.1.4)
- VERSION_FULL_CONFIG, which contains the version status (e.g. stable)
  and the module-specific suffix (e.g. mono)
- VERSION_FULL_BUILD, same as above but with build/reference name
  (e.g. official, custom_build, mageia, etc.)
  Note: Slight change here, as the previous format had the build name
  *before* the module-specific suffix; now it's after
- VERSION_FULL_NAME, same as before, so VERSION_FULL_BUILD prefixed
  with "Godot v" for readability

Bugs fixed thanks to that:

- Export templates version matching now properly takes VERSION_PATCH
  into account by relying on VERSION_FULL_CONFIG.
- ClassDB hash no longer takes the build name into account, but limits
  itself to VERSION_FULL_CONFIG (build name is cosmetic, not relevant
  for the API hash).
- Docs XML no longer hardcode the VERSION_STATUS, this was annoying.
- Small cleanup in Windows .rc file thanks to new macros.

(cherry picked from commit 23ebae01dc)
2018-02-24 01:34:34 +01:00
..
default_theme Merge pull request #15186 from GodotExplorer/default-theme 2018-01-04 14:50:15 +01:00
animation.cpp Fix inconsistencies and typos in argument names 2018-02-04 20:10:13 +01:00
animation.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
audio_stream_sample.cpp Expose audio streams get_length() 2018-01-30 20:53:37 +01:00
audio_stream_sample.h Expose audio streams get_length() 2018-01-30 20:53:37 +01:00
bit_mask.cpp Bind many more properties to scripts 2018-01-12 00:58:14 +02:00
bit_mask.h Removed PBM bitmap loader, added abiliy to importi mages as bitmap. Fixes #14828 2018-01-06 16:38:36 -03:00
bounds.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
bounds.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
box_shape.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
box_shape.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
canvas.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
canvas.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
capsule_shape.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
capsule_shape.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
capsule_shape_2d.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
capsule_shape_2d.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
circle_shape_2d.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
circle_shape_2d.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
color_ramp.cpp Gradient: fix wrong property type 2018-02-19 22:13:45 +01:00
color_ramp.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
concave_polygon_shape.cpp Bind many more properties to scripts 2018-01-12 00:58:14 +02:00
concave_polygon_shape.h Bind many more properties to scripts 2018-01-12 00:58:14 +02:00
concave_polygon_shape_2d.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
concave_polygon_shape_2d.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
convex_polygon_shape.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
convex_polygon_shape.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
convex_polygon_shape_2d.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
convex_polygon_shape_2d.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
curve.cpp Bind many more properties to scripts 2018-01-12 00:58:14 +02:00
curve.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
dynamic_font.cpp I have no idea why this commit fixes #15392 2018-01-21 16:19:35 -03:00
dynamic_font.h I have no idea why this commit fixes #15392 2018-01-21 16:19:35 -03:00
dynamic_font_stb.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
dynamic_font_stb.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
environment.cpp Bind many more properties to scripts 2018-01-12 00:58:14 +02:00
environment.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
font.cpp BMFont loading direct support from .fnt files. 2018-01-16 17:58:04 -03:00
font.h BMFont loading direct support from .fnt files. 2018-01-16 17:58:04 -03:00
material.cpp Fix typos with codespell 2018-02-22 12:17:06 +01:00
material.h Fix typos with codespell 2018-02-22 12:17:06 +01:00
mesh.cpp Expose 'lightmap_unwrap' method to the scripting engine. 2018-02-19 20:57:40 +01:00
mesh.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
mesh_data_tool.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
mesh_data_tool.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
mesh_library.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
mesh_library.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
multimesh.cpp Bind many more properties to scripts 2018-01-12 00:58:14 +02:00
multimesh.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
packed_scene.cpp Fix typos in code and docs with codespell 2018-01-18 22:01:42 +01:00
packed_scene.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
plane_shape.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
plane_shape.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
polygon_path_finder.cpp Bind many more properties to scripts 2018-01-12 00:58:14 +02:00
polygon_path_finder.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
primitive_meshes.cpp Change primitive meshes acccuracy value 2018-02-19 20:49:41 +01:00
primitive_meshes.h Fix typos with codespell 2018-02-22 12:17:06 +01:00
ray_shape.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
ray_shape.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
rectangle_shape_2d.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
rectangle_shape_2d.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
room.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
room.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
scene_format_text.cpp Refactor version macros and fix related bugs 2018-02-24 01:34:34 +01:00
scene_format_text.h Ability to import .escn files, which is just a .tscn but with forced import. 2018-01-31 01:15:00 +01:00
SCsub Move other lone thirdparty files to thirdparty/misc 2017-04-28 21:19:25 +02:00
segment_shape_2d.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
segment_shape_2d.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
shader.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
shader.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
shader_graph.cpp Bind many more properties to scripts 2018-01-12 00:58:14 +02:00
shader_graph.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
shape.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
shape.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
shape_2d.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
shape_2d.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
shape_line_2d.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
shape_line_2d.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
sky_box.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
sky_box.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
space_2d.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
space_2d.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
sphere_shape.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
sphere_shape.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
style_box.cpp Fix typos with codespell 2018-02-22 12:17:06 +01:00
style_box.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
surface_tool.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
surface_tool.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
texture.cpp Fix texture import spelling 2018-02-04 20:11:13 +01:00
texture.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
theme.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
theme.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
tile_set.cpp Fix typos in code and docs with codespell 2018-01-18 22:01:42 +01:00
tile_set.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
video_stream.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
video_stream.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
world.cpp Bind many more properties to scripts 2018-01-12 00:58:14 +02:00
world.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
world_2d.cpp Bind many more properties to scripts 2018-01-12 00:58:14 +02:00
world_2d.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00