mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-23 17:47:17 +01:00
Fix warnings on the pi.
This commit is contained in:
parent
9a85a52e0d
commit
6cceda5101
@ -45,26 +45,19 @@ class Node : public Object {
|
|||||||
OBJ_CATEGORY("Nodes");
|
OBJ_CATEGORY("Nodes");
|
||||||
|
|
||||||
public:
|
public:
|
||||||
// N.B. Any enum stored as a bitfield should
|
enum PauseMode {
|
||||||
// be specified as UNSIGNED to work around
|
PAUSE_MODE_INHERIT = 0,
|
||||||
// some compilers trying to store it as signed,
|
PAUSE_MODE_STOP = 1,
|
||||||
// and requiring 1 more bit than necessary.
|
PAUSE_MODE_PROCESS = 2
|
||||||
enum PauseMode : unsigned int {
|
|
||||||
|
|
||||||
PAUSE_MODE_INHERIT,
|
|
||||||
PAUSE_MODE_STOP,
|
|
||||||
PAUSE_MODE_PROCESS
|
|
||||||
};
|
};
|
||||||
|
|
||||||
enum PhysicsInterpolationMode : unsigned int {
|
enum PhysicsInterpolationMode {
|
||||||
|
PHYSICS_INTERPOLATION_MODE_INHERIT = 0,
|
||||||
PHYSICS_INTERPOLATION_MODE_INHERIT,
|
PHYSICS_INTERPOLATION_MODE_OFF = 1,
|
||||||
PHYSICS_INTERPOLATION_MODE_OFF,
|
PHYSICS_INTERPOLATION_MODE_ON = 2
|
||||||
PHYSICS_INTERPOLATION_MODE_ON
|
|
||||||
};
|
};
|
||||||
|
|
||||||
enum DuplicateFlags {
|
enum DuplicateFlags {
|
||||||
|
|
||||||
DUPLICATE_SIGNALS = 1,
|
DUPLICATE_SIGNALS = 1,
|
||||||
DUPLICATE_GROUPS = 2,
|
DUPLICATE_GROUPS = 2,
|
||||||
DUPLICATE_SCRIPTS = 4,
|
DUPLICATE_SCRIPTS = 4,
|
||||||
|
Loading…
Reference in New Issue
Block a user