22 #ifndef TWP_RESMANAGER_H 23 #define TWP_RESMANAGER_H 25 #include "common/str.h" 26 #include "common/hashmap.h" 28 #include "twp/spritesheet.h" 41 START_OBJECTID = 3000,
42 END_OBJECTID = 100000,
43 START_LIGHTID = 100000,
45 START_SOUNDDEFID = 200000,
46 END_SOUNDDEFID = 250000,
47 START_SOUNDID = 250000,
49 START_THREADID = 300000,
50 END_THREADID = 8000000,
51 START_CALLBACKID = 8000000,
52 END_CALLBACKID = 10000000,
60 void resetSaylineFont();
62 bool isThread(
int id)
const;
63 bool isRoom(
int id)
const;
64 bool isActor(
int id)
const;
65 bool isObject(
int id)
const;
66 bool isSound(
int id)
const;
67 bool isLight(
int id)
const;
68 bool isCallback(
int id)
const;
69 int getCallbackId()
const;
80 void resetIds(
int callbackId);
94 int _roomId = START_ROOMID;
95 int _actorId = START_ACTORID;
96 int _objId = START_OBJECTID;
97 int _soundDefId = START_SOUNDDEFID;
98 int _soundId = START_SOUNDID;
99 int _threadId = START_THREADID;
100 int _callbackId = START_CALLBACKID;
101 int _lightId = START_LIGHTID;
Definition: spritesheet.h:44
Definition: achievements_tables.h:27
Definition: resmanager.h:34