aboutsummaryrefslogtreecommitdiff
path: root/engines/mutationofjb/gamedata.h
diff options
context:
space:
mode:
authorĽubomír Remák2018-04-11 21:54:18 +0200
committerEugene Sandulenko2018-08-25 23:12:01 +0200
commit29a809d691c77b549bea615421d9e840f3773142 (patch)
treecb9b737f67a7e7bede369bf72e65c244712e41b3 /engines/mutationofjb/gamedata.h
parentc25ed8957228cfd580216383c3391ccc7e512bb5 (diff)
downloadscummvm-rg350-29a809d691c77b549bea615421d9e840f3773142.tar.gz
scummvm-rg350-29a809d691c77b549bea615421d9e840f3773142.tar.bz2
scummvm-rg350-29a809d691c77b549bea615421d9e840f3773142.zip
MUTATIONOFJB: Add rename command.
Diffstat (limited to 'engines/mutationofjb/gamedata.h')
-rw-r--r--engines/mutationofjb/gamedata.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/mutationofjb/gamedata.h b/engines/mutationofjb/gamedata.h
index 64de01ef01..321a688d3c 100644
--- a/engines/mutationofjb/gamedata.h
+++ b/engines/mutationofjb/gamedata.h
@@ -32,7 +32,9 @@ class ReadStream;
namespace MutationOfJB {
-static const uint8 MAX_STR_LENGTH = 0x14;
+enum {
+ MAX_ENTITY_NAME_LENGTH = 0x14
+};
/*
There are 4 types of entities present in the game data:
@@ -47,7 +49,7 @@ struct Door {
Door name.
Can be empty - deactivates door completely.
*/
- char _name[MAX_STR_LENGTH + 1];
+ char _name[MAX_ENTITY_NAME_LENGTH + 1];
/*
Scene ID where the door leads.
Can be 0 - you can hover your mouse over it, but clicking it doesn't do anything (unless scripted).
@@ -96,7 +98,7 @@ struct Object {
struct Static {
uint8 _active;
- char _name[MAX_STR_LENGTH + 1];
+ char _name[MAX_ENTITY_NAME_LENGTH + 1];
uint16 _x;
uint8 _y;
uint16 _width;