summaryrefslogtreecommitdiff
path: root/examples/SharedMemory/SharedMemoryPublic.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/SharedMemory/SharedMemoryPublic.h')
-rw-r--r--examples/SharedMemory/SharedMemoryPublic.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/examples/SharedMemory/SharedMemoryPublic.h b/examples/SharedMemory/SharedMemoryPublic.h
index 28e62700f..a569cbaf0 100644
--- a/examples/SharedMemory/SharedMemoryPublic.h
+++ b/examples/SharedMemory/SharedMemoryPublic.h
@@ -7,8 +7,8 @@
//Please don't replace an existing magic number:
//instead, only ADD a new one at the top, comment-out previous one
-
-#define SHARED_MEMORY_MAGIC_NUMBER 201902120
+#define SHARED_MEMORY_MAGIC_NUMBER 201904030
+//#define SHARED_MEMORY_MAGIC_NUMBER 201902120
//#define SHARED_MEMORY_MAGIC_NUMBER 201811260
//#define SHARED_MEMORY_MAGIC_NUMBER 201810250
//#define SHARED_MEMORY_MAGIC_NUMBER 201809030
@@ -93,6 +93,7 @@ enum EnumSharedMemoryClientCommand
CMD_REQUEST_PHYSICS_SIMULATION_PARAMETERS,
CMD_SAVE_STATE,
CMD_RESTORE_STATE,
+ CMD_REMOVE_STATE,
CMD_REQUEST_COLLISION_SHAPE_INFO,
CMD_SYNC_USER_DATA,
@@ -100,7 +101,7 @@ enum EnumSharedMemoryClientCommand
CMD_ADD_USER_DATA,
CMD_REMOVE_USER_DATA,
CMD_COLLISION_FILTER,
-
+
//don't go beyond this command!
CMD_MAX_CLIENT_COMMANDS,
};
@@ -218,6 +219,8 @@ enum EnumSharedMemoryServerStatus
CMD_ADD_USER_DATA_FAILED,
CMD_REMOVE_USER_DATA_COMPLETED,
CMD_REMOVE_USER_DATA_FAILED,
+ CMD_REMOVE_STATE_COMPLETED,
+ CMD_REMOVE_STATE_FAILED,
//don't go beyond 'CMD_MAX_SERVER_COMMANDS!
CMD_MAX_SERVER_COMMANDS
};