godot/scene/2d
Juan Linietsky 33b5c57199 Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT.
- Renames PackedIntArray to PackedInt32Array.
- Renames PackedFloatArray to PackedFloat32Array.
- Adds PackedInt64Array and PackedFloat64Array.
- Renames Variant::REAL to Variant::FLOAT for consistency.

Packed arrays are for storing large amount of data and creating stuff like
meshes, buffers. textures, etc. Forcing them to be 64 is a huge waste of
memory. That said, many users requested the ability to have 64 bits packed
arrays for their games, so this is just an optional added type.

For Variant, the float datatype is always 64 bits, and exposed as `float`.

We still have `real_t` which is the datatype that can change from 32 to 64
bits depending on a compile flag (not entirely working right now, but that's
the idea). It affects math related datatypes and code only.

Neither Variant nor PackedArray make use of real_t, which is only intended
for math precision, so the term is removed from there to keep only float.
2020-02-25 12:55:53 +01:00
..
animated_sprite.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
animated_sprite.h Normalmapping and Specularmapping working in 2D engine 2020-02-11 11:53:28 +01:00
area_2d.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
area_2d.h ObjectID converted to a structure, fixes many bugs where used incorrectly as 32 bits. 2020-02-12 14:24:54 -03:00
audio_stream_player_2d.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
audio_stream_player_2d.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
back_buffer_copy.cpp Don't compile editor-only function when tools=no 2020-01-09 22:15:48 +01:00
back_buffer_copy.h Don't compile editor-only function when tools=no 2020-01-09 22:15:48 +01:00
camera_2d.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
camera_2d.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
canvas_item.cpp Fix MIMPAMPS typos in constants throughout the engine 2020-02-20 01:31:43 +02:00
canvas_item.h Fix MIMPAMPS typos in constants throughout the engine 2020-02-20 01:31:43 +02:00
canvas_modulate.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
canvas_modulate.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
collision_object_2d.cpp ObjectID converted to a structure, fixes many bugs where used incorrectly as 32 bits. 2020-02-12 14:24:54 -03:00
collision_object_2d.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
collision_polygon_2d.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
collision_polygon_2d.h Don't compile editor-only function when tools=no 2020-01-09 22:15:48 +01:00
collision_shape_2d.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
collision_shape_2d.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
cpu_particles_2d.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
cpu_particles_2d.h PoolVector is gone, replaced by Vector 2020-02-18 10:10:36 +01:00
joints_2d.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
joints_2d.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
light_2d.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
light_2d.h Modified light rendering to make it more compatible. 2020-02-11 11:53:28 +01:00
light_occluder_2d.cpp Reworked signal connection system, added support for Callable and Signal objects and made them default. 2020-02-20 08:24:50 +01:00
light_occluder_2d.h PoolVector is gone, replaced by Vector 2020-02-18 10:10:36 +01:00
line_2d.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
line_2d.h PoolVector is gone, replaced by Vector 2020-02-18 10:10:36 +01:00
line_builder.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
line_builder.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
mesh_instance_2d.cpp Texture refactor 2020-02-11 11:53:26 +01:00
mesh_instance_2d.h Texture refactor 2020-02-11 11:53:26 +01:00
multimesh_instance_2d.cpp Texture refactor 2020-02-11 11:53:26 +01:00
multimesh_instance_2d.h Texture refactor 2020-02-11 11:53:26 +01:00
navigation_2d.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
navigation_2d.h Added utility functions to the new NavigationServer: 2020-02-18 17:12:45 +01:00
navigation_agent_2d.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
navigation_agent_2d.h Vulkan: Move thirdparty code out of drivers, style fixes 2020-02-11 14:08:44 +01:00
navigation_obstacle_2d.cpp Vulkan: Move thirdparty code out of drivers, style fixes 2020-02-11 14:08:44 +01:00
navigation_obstacle_2d.h Vulkan: Move thirdparty code out of drivers, style fixes 2020-02-11 14:08:44 +01:00
navigation_polygon.cpp Reworked signal connection system, added support for Callable and Signal objects and made them default. 2020-02-20 08:24:50 +01:00
navigation_polygon.h PoolVector is gone, replaced by Vector 2020-02-18 10:10:36 +01:00
node_2d.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
node_2d.h Don't compile editor-only function when tools=no 2020-01-09 22:15:48 +01:00
parallax_background.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
parallax_background.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
parallax_layer.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
parallax_layer.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
particles_2d.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
particles_2d.h Texture refactor 2020-02-11 11:53:26 +01:00
path_2d.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
path_2d.h Don't compile editor-only function when tools=no 2020-01-09 22:15:48 +01:00
path_texture.cpp Texture refactor 2020-02-11 11:53:26 +01:00
path_texture.h Texture refactor 2020-02-11 11:53:26 +01:00
physics_body_2d.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
physics_body_2d.h Remove deprecated PhysicsBody friction and bounce parameters 2020-02-12 13:39:55 +01:00
polygon_2d.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
polygon_2d.h PoolVector is gone, replaced by Vector 2020-02-18 10:10:36 +01:00
position_2d.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
position_2d.h Don't compile editor-only function when tools=no 2020-01-09 22:15:48 +01:00
ray_cast_2d.cpp ObjectID converted to a structure, fixes many bugs where used incorrectly as 32 bits. 2020-02-12 14:24:54 -03:00
ray_cast_2d.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
remote_transform_2d.cpp ObjectID converted to a structure, fixes many bugs where used incorrectly as 32 bits. 2020-02-12 14:24:54 -03:00
remote_transform_2d.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
SCsub SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00
skeleton_2d.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
skeleton_2d.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
sprite.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
sprite.h Normalmapping and Specularmapping working in 2D engine 2020-02-11 11:53:28 +01:00
tile_map.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
tile_map.h PoolVector is gone, replaced by Vector 2020-02-18 10:10:36 +01:00
touch_screen_button.cpp Added StringName as a variant type. 2020-02-21 14:25:29 +01:00
touch_screen_button.h Texture refactor 2020-02-11 11:53:26 +01:00
visibility_notifier_2d.cpp Reworked signal connection system, added support for Callable and Signal objects and made them default. 2020-02-20 08:24:50 +01:00
visibility_notifier_2d.h Don't compile editor-only function when tools=no 2020-01-09 22:15:48 +01:00
y_sort.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
y_sort.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00