From: Laszlo T. <ave...@us...> - 2004-07-30 20:52:50
|
Update of /cvsroot/gemrb/gemrb/gemrb/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24375 Modified Files: globals.h Added Files: strrefs.h Log Message: added strrefs.h (originally hardcoded string refs) --- NEW FILE: strrefs.h --- #define STR_WHOLEPARTY 0 #define STR_DOORLOCKED 1 #define STR_MAGICTRAP 2 #define STR_NORMALTRAP 3 #define STR_TRAP 4 #define STR_CANNOTGO 5 #define STR_TRAPREMOVED 6 #define STR_OVERSTOCKED 7 #define STR_SLEEP 8 #define STR_AMBUSH 9 #define STR_CONTLOCKED 10 #define STR_NOMONEY 11 #define STR_CURSED 12 #define STR_SPELLDISRUPT 13 #define STR_DIED 14 #define STR_MAYNOTREST 15 #define STR_CANTRESTMONS 16 #define STR_CANTSAVEMONS 17 #define STR_CANTSAVE 18 #define STR_NODIALOG 19 #define STR_CANTSAVEDIALOG 20 #define STR_TARGETBUSY 21 #define STR_CANTTALKTRANS 22 Index: globals.h =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/includes/globals.h,v retrieving revision 1.43 retrieving revision 1.44 diff -C2 -d -r1.43 -r1.44 *** globals.h 27 Jul 2004 18:29:24 -0000 1.43 --- globals.h 30 Jul 2004 20:52:40 -0000 1.44 *************** *** 89,92 **** --- 89,96 ---- #endif + class Scriptable; + + GEM_EXPORT int Distance(int X, int Y, Scriptable *b); + GEM_EXPORT int Distance(Scriptable *a, Scriptable *b); GEM_EXPORT bool dir_exists(const char* path); GEM_EXPORT int strlench(const char* string, char ch); |