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 } |