feat: modules moved and engine moved to submodule

This commit is contained in:
Jan van der Weide 2025-04-12 18:40:44 +02:00
parent dfb5e645cd
commit c33d2130cc
5136 changed files with 225275 additions and 64485 deletions

View file

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef GPU_PARTICLES_2D_H
#define GPU_PARTICLES_2D_H
#pragma once
#include "scene/2d/node_2d.h"
@ -69,7 +68,7 @@ private:
uint32_t seed = 0;
bool use_fixed_seed = false;
#ifdef TOOLS_ENABLED
bool show_visibility_rect = false;
bool show_gizmos = false;
#endif
Ref<Material> process_material;
@ -101,6 +100,9 @@ protected:
static void _bind_methods();
void _validate_property(PropertyInfo &p_property) const;
void _notification(int p_what);
#ifdef TOOLS_ENABLED
void _draw_emission_gizmo();
#endif
void _update_collision_size();
#ifndef DISABLE_DEPRECATED
@ -129,7 +131,7 @@ public:
void request_particles_process(real_t p_requested_process_time);
#ifdef TOOLS_ENABLED
void set_show_visibility_rect(bool p_show_visibility_rect);
void set_show_gizmos(bool p_show_gizmos);
#endif
bool is_emitting() const;
@ -200,5 +202,3 @@ public:
VARIANT_ENUM_CAST(GPUParticles2D::DrawOrder)
VARIANT_ENUM_CAST(GPUParticles2D::EmitFlags)
#endif // GPU_PARTICLES_2D_H