common.h

changeset 27
15c06a191f9b
parent 26
54eaea6dc27c
child 29
b4e09ae24bf1
equal deleted inserted replaced
26:54eaea6dc27c 27:15c06a191f9b
59 MODE_MAINLOOP, // inside mainloop 59 MODE_MAINLOOP, // inside mainloop
60 MODE_ONENTER, // inside onenter 60 MODE_ONENTER, // inside onenter
61 MODE_ONEXIT, // inside onexit 61 MODE_ONEXIT, // inside onexit
62 }; 62 };
63 63
64 typedef long qbyte;
65
66 #define CHECK_FILE(pointer,path,action) \ 64 #define CHECK_FILE(pointer,path,action) \
67 if (!pointer) { \ 65 if (!pointer) { \
68 error ("couldn't open %s for %s!\n", (char*)path, action); \ 66 error ("couldn't open %s for %s!\n", (char*)path, action); \
69 exit (1); \ 67 exit (1); \
70 } 68 }

mercurial