mirror of
https://github.com/Relintai/terraman.git
synced 2025-04-25 21:45:00 +02:00
Fox compile for 3.x.
This commit is contained in:
parent
f256229139
commit
6e395b5a05
@ -172,7 +172,7 @@ typedef class RenderingServer VS;
|
||||
call(#func, ##__VA_ARGS__);
|
||||
|
||||
#define RETURN_CALL(ret_type, func) \
|
||||
return call(#func, ##__VA_ARGS__);
|
||||
return call(#func);
|
||||
|
||||
#define RETURN_CALLP(ret_type, func, ...) \
|
||||
return call(#func, ##__VA_ARGS__);
|
||||
@ -184,7 +184,7 @@ typedef class RenderingServer VS;
|
||||
ret_var = call(#func, ##__VA_ARGS__);
|
||||
|
||||
#define RETURN_CALLD(ret_type, def_val, func) \
|
||||
return call(#func, ##__VA_ARGS__);
|
||||
return call(#func);
|
||||
|
||||
#define RETURN_CALLPD(ret_type, def_val, func, ...) \
|
||||
return call(#func, ##__VA_ARGS__);
|
||||
|
@ -48,11 +48,11 @@ bool TerraWorldEditor::forward_spatial_input_event(Camera *p_camera, const Ref<I
|
||||
return false;
|
||||
}
|
||||
|
||||
Ref<TerramanLibrary> mb = p_event;
|
||||
Ref<InputEventMouseButton> mb = p_event;
|
||||
|
||||
if (mb.is_valid()) {
|
||||
if (mb->is_pressed()) {
|
||||
Ref<VoxelmanLibrary> lib = _world->get_library();
|
||||
Ref<TerramanLibrary> lib = _world->get_library();
|
||||
|
||||
if (!lib.is_valid())
|
||||
return false;
|
||||
|
@ -33,7 +33,7 @@ SOFTWARE.
|
||||
typedef class Transform3D Transform;
|
||||
#endif
|
||||
|
||||
class VoxelWorld;
|
||||
class TerraWorld;
|
||||
class SpatialEditorPlugin;
|
||||
|
||||
class TerraWorldEditor : public PanelContainer {
|
||||
|
Loading…
Reference in New Issue
Block a user