Read-only archive of the Armageddon Games Forums Archive (2000–2026) · About this archive

Compiling errors of doom, destruction, and doom.

31 replies · 13,289 views · Started 01 December 2016

Repost from Pure:


The errors I got:

[spoiler]

Error 43 error C2365: 'TRACER' : redefinition; previous definition was 'enumerator' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 39 zc
Error 44 error C2146: syntax error : missing ';' before identifier 'tracer' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 47 zc
Error 45 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 47 zc
Error 46 error C2365: 'TRACER' : redefinition; previous definition was 'enumerator' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 47 zc
Error 47 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 47 zc
Error 48 error C2146: syntax error : missing ';' before identifier 'eraser' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 48 zc
Error 49 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 48 zc
Error 50 error C2365: 'TRACER' : redefinition; previous definition was 'enumerator' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 48 zc
Error 51 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 48 zc
Error 52 error C2228: left of '.speed' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 131 zc
Error 53 error C2228: left of '.speed' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 132 zc
Error 54 error C2228: left of '.speed' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 155 zc
Error 55 error C2228: left of '.x' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 157 zc
Error 56 error C2228: left of '.y' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 158 zc
Error 57 error C2228: left of '.speed' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 159 zc
Error 58 error C2228: left of '.cnt' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 160 zc
Error 59 error C2228: left of '.x' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 161 zc
Error 60 error C2228: left of '.x' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 162 zc
Error 61 error C2228: left of '.y' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 162 zc
Error 62 error C2228: left of '.speed' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 173 zc
Error 63 error C2228: left of '.speed' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 174 zc
Error 64 error C2228: left of '.y' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 174 zc
Error 65 error C2228: left of '.x' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 177 zc
Error 66 error C2228: left of '.x' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 177 zc
Error 67 error C2228: left of '.y' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 178 zc
Error 68 error C2228: left of '.speed' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 179 zc
Error 69 error C2228: left of '.speed' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 179 zc
Error 70 error C2228: left of '.cnt' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 180 zc
Error 71 error C2228: left of '.x' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 181 zc
Error 72 error C2228: left of '.x' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 182 zc
Error 73 error C2228: left of '.y' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 182 zc
Error 74 error C2228: left of '.speed' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 192 zc
Error 75 error C2228: left of '.cnt' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 194 zc
Error 76 error C2228: left of '.speed' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 194 zc
Error 77 error C2228: left of '.x' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 196 zc
Error 78 error C2228: left of '.y' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 196 zc
Error 79 error C2228: left of '.y' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 198 zc
Error 80 error C2228: left of '.speed' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 199 zc
Error 81 error C2228: left of '.cnt' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 202 zc
Error 82 error C2228: left of '.x' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 203 zc
Error 83 error C2228: left of '.y' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 203 zc
Error 84 error C2228: left of '.speed' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 214 zc
Error 85 error C2228: left of '.cnt' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 216 zc
Error 86 error C2228: left of '.speed' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 216 zc
Error 87 error C2228: left of '.x' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 218 zc
Error 88 error C2228: left of '.y' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 218 zc
Error 89 error C2228: left of '.y' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 220 zc
Error 90 error C2228: left of '.speed' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 221 zc
Error 91 error C2228: left of '.cnt' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 224 zc
Error 92 error C2228: left of '.x' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 225 zc
Error 93 error C2228: left of '.y' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 225 zc
Error 94 error C2228: left of '.x' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 277 zc
Error 95 error C2228: left of '.y' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 279 zc
Error 96 error C2228: left of '.y' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 280 zc
Error 97 error C2228: left of '.speed' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 281 zc
Error 98 error C2228: left of '.x' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 284 zc
Error 99 error C2228: left of '.y' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 286 zc
Error 100 error C2228: left of '.y' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 287 zc
Error 101 error C2228: left of '.speed' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\matrix.cpp 288 zc
Error 102 error C2011: 'refInfo' : 'class' type redefinition c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\refinfo.h 7 zc
Error 103 error C2079: 'FFC::scriptData' uses undefined class 'refInfo' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\ffc.h 78 zc
Error 104 error C2228: left of '.Clear' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\ffc.cpp 58 zc
Error 105 error C2228: left of '.pc' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\ffc.cpp 120 zc
Error 106 error C2228: left of '.sp' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\ffc.cpp 121 zc
Error 107 error C2228: left of '.ffcref' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\ffc.cpp 122 zc
Error 108 error C2027: use of undefined type 'refInfo' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\refinfo.cpp 4 zc
Error 109 error C2059: syntax error : '😉' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\refinfo.cpp 4 zc
Error 110 error C2143: syntax error : missing ';' before '{' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\refinfo.cpp 5 zc
Error 111 error C2447: '{' : missing function header (old-style formal list?) c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\refinfo.cpp 5 zc
Error 112 error C2027: use of undefined type 'refInfo' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\refinfo.cpp 9 zc
Error 113 error C2365: 'Clear' : redefinition; previous definition was 'formerly unknown identifier' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\refinfo.cpp 10 zc
Error 114 error C2065: 'scriptflag' : undeclared identifier c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\refinfo.cpp 13 zc
Error 115 error C2065: 'idata' : undeclared identifier c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\refinfo.cpp 15 zc
Error 116 error C2065: 'itemref' : undeclared identifier c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\refinfo.cpp 16 zc
Error 117 error C2065: 'guyref' : undeclared identifier c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\refinfo.cpp 17 zc
Error 118 error C2065: 'lwpn' : undeclared identifier c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\refinfo.cpp 18 zc
Error 119 error C2065: 'ewpn' : undeclared identifier c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\refinfo.cpp 19 zc
Error 120 error C2065: 'd' : undeclared identifier c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\refinfo.cpp 20 zc
Error 121 error C2065: 'a' : undeclared identifier c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\refinfo.cpp 21 zc
Error 122 error C2065: 'a' : undeclared identifier c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\refinfo.cpp 22 zc
Error 123 error C2027: use of undefined type 'refInfo' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\zelda.cpp 393 zc
Error 124 error C2228: left of '.Clear' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\zelda.cpp 393 zc
Error 125 error C2027: use of undefined type 'refInfo' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\qst.cpp 10775 zc
Error 126 error C2228: left of '.a' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\qst.cpp 10775 zc
Error 127 error C2027: use of undefined type 'refInfo' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\qst.cpp 10776 zc
Error 128 error C2228: left of '.a' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\qst.cpp 10776 zc
Error 129 error C2027: use of undefined type 'refInfo' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\qst.cpp 10850 zc
Error 130 error C2228: left of '.a' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\qst.cpp 10850 zc
Error 131 error C2027: use of undefined type 'refInfo' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\qst.cpp 10851 zc
Error 132 error C2228: left of '.a' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\qst.cpp 10851 zc
Error 133 error C2572: 'sfx' : redefinition of default parameter : parameter 4 c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\sound.h 19 zc
Error 134 error C2084: function 'void sfx(int)' already has a body c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\sound.h 34 zc
Error 135 error C2084: function 'void sfx(int,int)' already has a body c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\sound.h 39 zc
Error 136 error C2664: 'item::item(const item &😉' : cannot convert parameter 1 from 'int' to 'const item &' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 23 zc
Error 137 error C2039: 'markForDeletion' : is not a member of 'item' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 47 zc
Error 138 error C2039: 'markForDeletion' : is not a member of 'item' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 127 zc
Error 139 error C2039: 'setPickupFlags' : is not a member of 'item' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 140 zc
Error 140 error C2039: 'markForDeletion' : is not a member of 'item' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 144 zc
Error 141 error C2039: 'setPickupFlags' : is not a member of 'item' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 172 zc
Error 142 error C2039: 'setPickupType' : is not a member of 'item' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 173 zc
Error 143 error C2065: 'pt_none' : undeclared identifier c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 173 zc
Error 144 error C2039: 'setPickupFlags' : is not a member of 'item' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 193 zc
Error 145 error C2039: 'setPickupType' : is not a member of 'item' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 194 zc

[/spoiler]

Continued...


[spoiler]

Error 146 error C2065: 'pt_none' : undeclared identifier c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 194 zc
Error 147 error C2039: 'setPickupFlags' : is not a member of 'item' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 234 zc
Error 148 error C2039: 'setPickupType' : is not a member of 'item' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 235 zc
Error 149 error C2065: 'pt_none' : undeclared identifier c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 235 zc
Error 150 error C2039: 'setPickupFlags' : is not a member of 'item' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 302 zc
Error 151 error C2039: 'setPickupType' : is not a member of 'item' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 303 zc
Error 152 error C2065: 'pt_none' : undeclared identifier c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 303 zc
Error 153 error C2264: 'sfx' : error in function definition or declaration; function not called c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 334 zc
Error 154 error C2264: 'sfx' : error in function definition or declaration; function not called c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 341 zc
Error 155 error C2039: 'setPickupFlags' : is not a member of 'item' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 374 zc
Error 156 error C2065: 'ipSPECIAL' : undeclared identifier c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 374 zc
Error 157 error C2039: 'setPickupType' : is not a member of 'item' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 375 zc
Error 158 error C2065: 'pt_clear' : undeclared identifier c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 375 zc
Error 159 error C2039: 'setPickupFlags' : is not a member of 'item' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 398 zc
Error 160 error C2039: 'setPickupType' : is not a member of 'item' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 399 zc
Error 161 error C2065: 'pt_buyInfo' : undeclared identifier c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 399 zc
Error 162 error C2039: 'setPickupFlags' : is not a member of 'item' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 413 zc
Error 163 error C2039: 'setPickupType' : is not a member of 'item' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 414 zc
Error 164 error C2065: 'pt_getMoney' : undeclared identifier c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 414 zc
Error 165 error C2039: 'setPickupFlags' : is not a member of 'item' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 428 zc
Error 166 error C2039: 'setPickupType' : is not a member of 'item' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 429 zc
Error 167 error C2065: 'pt_gamble' : undeclared identifier c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 429 zc
Error 168 error C2039: 'setPickupFlags' : is not a member of 'item' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 439 zc
Error 169 error C2039: 'setPickupFlags' : is not a member of 'item' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 442 zc
Error 170 error C2039: 'setPickupFlags' : is not a member of 'item' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 484 zc
Error 171 error C2039: 'setPrice' : is not a member of 'item' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 485 zc
Error 172 error C2039: 'setPickupType' : is not a member of 'item' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 486 zc
Error 173 error C2065: 'pt_buyItem' : undeclared identifier c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 486 zc
Error 174 error C2039: 'setPickupFlags' : is not a member of 'item' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 503 zc
Error 175 error C2039: 'setPickupType' : is not a member of 'item' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 504 zc
Error 176 error C2065: 'pt_bombsOrArrows' : undeclared identifier c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 504 zc
Error 177 error C2039: 'setPickupFlags' : is not a member of 'item' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 518 zc
Error 178 error C2039: 'setPickupType' : is not a member of 'item' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 519 zc
Error 179 error C2065: 'pt_moneyOrLife' : undeclared identifier c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 519 zc
Error 180 error C2039: 'setPickupFlags' : is not a member of 'item' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 522 zc
Error 181 error C2039: 'setPickupType' : is not a member of 'item' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 523 zc
Error 182 error C2065: 'pt_moneyOrLife' : undeclared identifier c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\room.cpp 523 zc
Error 183 error C2264: 'sfx' : error in function definition or declaration; function not called c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\message.cpp 78 zc

[/spoiler]

Post too long, continuing in the next post...

Continued...

Errors:

[spoiler]

Error 184 error C2264: 'sfx' : error in function definition or declaration; function not called c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\message.cpp 238 zc
Error 185 error C3861: 'putMiscSprite': identifier not found c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\messagemanager.cpp 205 zc
Error 186 error C2039: 'ffcs' : is not a member of 'mapscr' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\screenfreezestate.cpp 24 zc
Error 187 error C2228: left of '.getCombo' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\screenfreezestate.cpp 24 zc
Error 188 error C2228: left of '.type' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\screenfreezestate.cpp 24 zc
Error 189 error C2039: 'ffcs' : is not a member of 'mapscr' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\screenfreezestate.cpp 26 zc
Error 190 error C2228: left of '.getCombo' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\screenfreezestate.cpp 26 zc
Error 191 error C2228: left of '.type' must have class/struct/union c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\screenfreezestate.cpp 26 zc
Error 192 error C2572: 'sfx' : redefinition of default parameter : parameter 4 c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\sound.h 19 zc
Error 193 error C2084: function 'void sfx(int)' already has a body c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\sound.h 34 zc
Error 194 error C2084: function 'void sfx(int,int)' already has a body c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\sound.h 39 zc
Error 195 error C2264: 'sfx' : error in function definition or declaration; function not called c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\inventory.cpp 79 zc
Error 196 error C2039: 'setSparkleFunc' : is not a member of 'weapon' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\inventory.cpp 104 zc
Error 197 error C2065: 'standardSparkle' : undeclared identifier c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\inventory.cpp 104 zc
Error 198 error C2039: 'setSparkleFunc' : is not a member of 'weapon' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\inventory.cpp 148 zc
Error 199 error C2065: 'standardSparkle' : undeclared identifier c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\inventory.cpp 148 zc
Error 200 error C2264: 'sfx' : error in function definition or declaration; function not called c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\inventory.cpp 151 zc
Error 201 error C2039: 'didOnThisScreen' : is not a member of 'LinkClass' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\inventory.cpp 159 zc
Error 202 error C2039: 'doOncePerScreen' : is not a member of 'LinkClass' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\inventory.cpp 176 zc
Error 203 error C2264: 'sfx' : error in function definition or declaration; function not called c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\inventory.cpp 182 zc
Error 204 error C2039: 'setAttack' : is not a member of 'LinkClass' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\inventory.cpp 183 zc
Error 205 error C2264: 'sfx' : error in function definition or declaration; function not called c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\inventory.cpp 212 zc
Error 206 error C2264: 'sfx' : error in function definition or declaration; function not called c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\inventory.cpp 225 zc
Error 207 error C2264: 'sfx' : error in function definition or declaration; function not called c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\inventory.cpp 251 zc
Error 208 error C2264: 'sfx' : error in function definition or declaration; function not called c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\inventory.cpp 322 zc
Error 209 error C2264: 'sfx' : error in function definition or declaration; function not called c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\inventory.cpp 324 zc
Error 210 error C2039: 'isBeingEaten' : is not a member of 'LinkClass' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\inventory.cpp 339 zc
Error 211 error C2039: 'isOnSideviewPlatform' : is not a member of 'LinkClass' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\inventory.cpp 440 zc
Error 212 error C2039: 'activateRemoteBomb' : is not a member of 'weapon' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\inventory.cpp 504 zc
Error 213 error C2248: 'LinkClass::deselectbombs' : cannot access private member declared in class 'LinkClass' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\inventory.cpp 529 zc
Error 214 error C2248: 'LinkClass::deselectbombs' : cannot access private member declared in class 'LinkClass' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\inventory.cpp 535 zc
Error 215 error C2264: 'sfx' : error in function definition or declaration; function not called c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\inventory.cpp 545 zc
Error 216 error C2248: 'LinkClass::deselectbombs' : cannot access private member declared in class 'LinkClass' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\inventory.cpp 573 zc
Error 217 error C2039: 'setSparkleFunc' : is not a member of 'weapon' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\inventory.cpp 607 zc
Error 218 error C2065: 'byrnaSparkle' : undeclared identifier c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\inventory.cpp 607 zc
Error 219 error C2039: 'isCharging' : is not a member of 'LinkClass' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\inventory.cpp 621 zc

[/spoiler]

Welcome back to AGN Z! This time: Will AGN finish charging up it's Kame-Hame-PostTooLong? Find out NOW!


[spoiler]

Error 220 error C2039: 'isBeingEaten' : is not a member of 'LinkClass' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\inventory.cpp 624 zc
Error 221 error C2039: 'isOnSideviewPlatform' : is not a member of 'LinkClass' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\inventory.cpp 629 zc
Error 222 error C2039: 'ladderIsActive' : is not a member of 'LinkClass' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\inventory.cpp 629 zc
Error 223 error C2039: 'jump' : is not a member of 'LinkClass' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\inventory.cpp 643 zc
Error 224 error C2264: 'sfx' : error in function definition or declaration; function not called c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\inventory.cpp 644 zc
Warning 225 warning C4800: 'Sequence *' : forcing value to bool 'true' or 'false' (performance warning) c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\sequence\sequence.cpp 86 zc
Error 226 error C2039: 'cancelAttack' : is not a member of 'LinkClass' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\sequence\gameover.cpp 70 zc
Error 227 error C2039: 'setHitTimer' : is not a member of 'LinkClass' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\sequence\gameover.cpp 71 zc
Error 228 error C2039: 'setInvincible' : is not a member of 'LinkClass' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\sequence\gameover.cpp 72 zc
Error 229 error C2039: 'setHitTimer' : is not a member of 'LinkClass' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\sequence\gameover.cpp 109 zc
Error 230 error C2264: 'sfx' : error in function definition or declaration; function not called c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\sequence\gameover.cpp 327 zc
Error 231 error C2264: 'sfx' : error in function definition or declaration; function not called c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\sequence\gameover.cpp 331 zc
Error 232 error C2264: 'sfx' : error in function definition or declaration; function not called c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\sequence\gameover.cpp 335 zc
Error 233 error C2264: 'sfx' : error in function definition or declaration; function not called c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\sequence\ganonintro.cpp 51 zc
Error 234 error C2264: 'sfx' : error in function definition or declaration; function not called c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\sequence\ganonintro.cpp 52 zc
Error 235 error C3861: 'showCurrentDMapIntro': identifier not found c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\sequence\ganonintro.cpp 97 zc
Error 236 error C2264: 'sfx' : error in function definition or declaration; function not called c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\sequence\getbigtriforce.cpp 17 zc
Error 237 error C2264: 'sfx' : error in function definition or declaration; function not called c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\sequence\gettriforce.cpp 35 zc
Error 238 error C2248: 'LinkClass::StartRefill' : cannot access private member declared in class 'LinkClass' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\sequence\gettriforce.cpp 107 zc
Error 239 error C2039: 'setScrollDir' : is not a member of 'LinkClass' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\sequence\gettriforce.cpp 160 zc
Error 240 error C2039: 'setSwordJinx' : is not a member of 'LinkClass' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\sequence\potion.cpp 47 zc
Error 241 error C2039: 'setItemJinx' : is not a member of 'LinkClass' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\sequence\potion.cpp 49 zc
Error 242 error C2039: 'modWhistleCounter' : is not a member of 'LinkClass' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\sequence\whistle.cpp 31 zc
Error 243 error C2039: 'modWhistleCounter' : is not a member of 'LinkClass' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\sequence\whistle.cpp 33 zc
Warning 244 warning C4800: 'dword' : forcing value to bool 'true' or 'false' (performance warning) c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\guys.cpp 4000 zc
Warning 245 warning C4800: 'dword' : forcing value to bool 'true' or 'false' (performance warning) c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\guys.cpp 4091 zc
Warning 246 warning C4800: 'dword' : forcing value to bool 'true' or 'false' (performance warning) c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\guys.cpp 6252 zc
Warning 247 warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning) c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\link.cpp 698 zc
Warning 248 warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning) c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\link.cpp 699 zc
Warning 249 warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning) c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\link.cpp 10120 zc
Warning 250 warning C4800: 'byte' : forcing value to bool 'true' or 'false' (performance warning) c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\link.cpp 10638 zc
Warning 251 warning C4800: 'byte' : forcing value to bool 'true' or 'false' (performance warning) c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\link.cpp 10645 zc
Warning 252 warning C4800: 'byte' : forcing value to bool 'true' or 'false' (performance warning) c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\link.cpp 10866 zc
Warning 253 warning C4800: 'byte' : forcing value to bool 'true' or 'false' (performance warning) c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\link.cpp 10873 zc
Warning 254 warning C4800: 'byte' : forcing value to bool 'true' or 'false' (performance warning) c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\link.cpp 11091 zc
Warning 255 warning C4800: 'byte' : forcing value to bool 'true' or 'false' (performance warning) c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\link.cpp 11095 zc
Warning 256 warning C4005: 'DegtoFix' : macro redefinition c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\script_drawing.cpp 17 zc
Warning 257 warning C4101: 'y' : unreferenced local variable c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\script_drawing.cpp 669 zc
Warning 258 warning C4101: 'x' : unreferenced local variable c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\script_drawing.cpp 668 zc
Error 259 error C2375: 'count_layer_enemies' : redefinition; different linkage c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\enemyattack.cpp 15 zc
Error 260 error C2375: 'random_layer_enemy' : redefinition; different linkage c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\enemyattack.cpp 37 zc
Error 261 error C3861: 'count_layer_enemies': identifier not found c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\enemyattack.cpp 38 zc
Error 262 error C2440: 'initializing' : cannot convert from 'int (__cdecl *)(void)' to 'int' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\enemyattack.cpp 38 zc
Error 263 error C2039: 'getZ' : is not a member of 'enemy' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\enemyattack.cpp 87 zc
Error 264 error C2039: 'getZ' : is not a member of 'enemy' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\enemyattack.cpp 102 zc
Error 265 error C2039: 'addAtFront' : is not a member of 'sprite_list' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\enemyattack.cpp 109 zc
Error 266 error C2039: 'getDir' : is not a member of 'enemy' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\enemyattack.cpp 118 zc
Error 267 error C2039: 'getDir' : is not a member of 'enemy' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\enemyattack.cpp 198 zc
Error 268 error C2039: 'getZ' : is not a member of 'enemy' c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\enemyattack.cpp 201 zc
Error 269 error C3861: 'count_layer_enemies': identifier not found c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\enemyattack.cpp 319 zc
Error 270 error C3861: 'random_layer_enemy': identifier not found c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\enemyattack.cpp 331 zc
Error 271 error C2572: 'sfx' : redefinition of default parameter : parameter 4 c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\sound.h 19 zc
Error 272 error C2084: function 'void sfx(int)' already has a body c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\sound.h 34 zc
Error 273 error C2084: function 'void sfx(int,int)' already has a body c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\sound.h 39 zc

[/spoiler]

These were the errors that stopped my compiling.

Also, I got some warnings that didn't stop the compilation, but I'll post here just in case:
[spoiler]

Warning 1 warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning) c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\common.h 61 zc
Warning 2 warning C4018: '<' : signed/unsigned mismatch c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\column.cpp 32 zc
Warning 3 warning C4018: '<' : signed/unsigned mismatch c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\column.cpp 73 zc
Warning 4 warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning) c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\controller.cpp 109 zc
Warning 5 warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning) c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\controller.cpp 111 zc
Warning 6 warning C4018: '<' : signed/unsigned mismatch c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\factory.cpp 99 zc
Warning 7 warning C4018: '<' : signed/unsigned mismatch c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\factory.cpp 107 zc
Warning 8 warning C4018: '<' : signed/unsigned mismatch c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\factory.cpp 115 zc
Warning 9 warning C4018: '<' : signed/unsigned mismatch c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\factory.cpp 123 zc
Warning 10 warning C4018: '<' : signed/unsigned mismatch c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\factory.cpp 131 zc
Warning 11 warning C4018: '<' : signed/unsigned mismatch c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\row.cpp 32 zc
Warning 12 warning C4018: '<' : signed/unsigned mismatch c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\row.cpp 73 zc
Warning 13 warning C4355: 'this' : used in base member initializer list c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\scrollingpane.cpp 28 zc
Warning 14 warning C4018: '<' : signed/unsigned mismatch c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\serialcontainer.cpp 8 zc
Warning 15 warning C4018: '<' : signed/unsigned mismatch c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\serialcontainer.cpp 24 zc
Warning 16 warning C4018: '<' : signed/unsigned mismatch c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\serialcontainer.cpp 32 zc
Warning 17 warning C4018: '<' : signed/unsigned mismatch c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\serialcontainer.cpp 39 zc
Warning 18 warning C4018: '<' : signed/unsigned mismatch c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\serialcontainer.cpp 45 zc
Warning 19 warning C4018: '<' : signed/unsigned mismatch c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\serialcontainer.cpp 51 zc
Warning 20 warning C4018: '<' : signed/unsigned mismatch c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\serialcontainer.cpp 57 zc
Warning 21 warning C4018: '<' : signed/unsigned mismatch c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\serialcontainer.cpp 63 zc
Warning 22 warning C4018: '<' : signed/unsigned mismatch c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\serialcontainer.cpp 69 zc
Warning 23 warning C4018: '<' : signed/unsigned mismatch c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\serialcontainer.cpp 76 zc
Warning 24 warning C4018: '<' : signed/unsigned mismatch c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\serialcontainer.cpp 87 zc
Warning 25 warning C4018: '<' : signed/unsigned mismatch c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\serialcontainer.cpp 98 zc
Warning 26 warning C4018: '<' : signed/unsigned mismatch c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\serialcontainer.cpp 106 zc
Warning 27 warning C4018: '<' : signed/unsigned mismatch c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\tabbar.cpp 78 zc
Warning 28 warning C4018: '<' : signed/unsigned mismatch c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\tabbar.cpp 90 zc
Warning 29 warning C4018: '<' : signed/unsigned mismatch c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\tabbar.cpp 105 zc
Warning 30 warning C4018: '<' : signed/unsigned mismatch c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\tabbar.cpp 113 zc
Warning 31 warning C4018: '<' : signed/unsigned mismatch c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\tabbar.cpp 121 zc
Warning 32 warning C4018: '<=' : signed/unsigned mismatch c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\tabbar.cpp 128 zc
Warning 33 warning C4018: '<' : signed/unsigned mismatch c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\tabbar.cpp 157 zc
Warning 34 warning C4018: '<' : signed/unsigned mismatch c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\tabbar.cpp 178 zc
Warning 35 warning C4355: 'this' : used in base member initializer list c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\tabpanel.cpp 26 zc
Warning 36 warning C4018: '<' : signed/unsigned mismatch c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\tabpanel.cpp 32 zc
Warning 37 warning C4018: '<' : signed/unsigned mismatch c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\tabpanel.cpp 50 zc
Warning 38 warning C4018: '<' : signed/unsigned mismatch c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\tabpanel.cpp 78 zc
Warning 39 warning C4018: '<' : signed/unsigned mismatch c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\tabpanel.cpp 89 zc
Warning 40 warning C4018: '<' : signed/unsigned mismatch c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\tabpanel.cpp 105 zc
Warning 41 warning C4018: '<=' : signed/unsigned mismatch c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\textfield.cpp 62 zc
Warning 42 warning C4018: '<' : signed/unsigned mismatch c:\users\joshu_000\desktop\zeldaclassic-2.50.x\src\gui\allegro\textfield.cpp 136 zc

[/spoiler]

That's 'Doom, Demise, and Destruction'.

I'll point out, that it could be my fault for suggesting that you use the 'Minimal' version of Boost. It looks as if the parser can't comprehend some things that it should, except that VS2008 doesn't natively do CPP11, which is why Boost is mandatory.

Let's try it with the full version of boost, 1.62.0, and see if that solves it.

First, you don't have to paste all of the errors; the first few errors are usually enough to find the problem (and the rest are just cascading errors caused by the first errors, etc etc).

Second, please indicate which branch of the code you're trying to compile (and if it's not the head, also the revision). I assume you're trying to compile the latest revision of branch 2.50.x, since on the master branch TRACER is still named MATRIX_TRACER and there is presumably no conflict.

Now as to your compile issue: somehow the compiler is seeing a previous definition of TRACER somewhere. In the ZC source TRACER appears as an enumeration constant in ffscript.h, but it's not clear to me how ffscript.h is being included in matrix.cpp; this will require some detective work.

You haven't modified any of the code, correct? In particular you haven't added any new #includes anywhere?

DarkDragon wrote:First, you don't have to paste all of the errors; the first few errors are usually enough to find the problem (and the rest are just cascading errors caused by the first errors, etc etc).

Second, please indicate which branch of the code you're trying to compile (and if it's not the head, also the revision). I assume you're trying to compile the latest revision of branch 2.50.x, since on the master branch TRACER is still named MATRIX_TRACER and there is presumably no conflict.

Now as to your compile issue: somehow the compiler is seeing a previous definition of TRACER somewhere. In the ZC source TRACER appears as an enumeration constant in ffscript.h, but it's not clear to me how ffscript.h is being included in matrix.cpp; this will require some detective work.

You haven't modified any of the code, correct? In particular you haven't added any new #includes anywhere?

No, the code is freshly installed from the 2.50.x github. I'm currently installing the full version of boost to see if that fixes the problem, but if not then I'm not sure :l

I don't know why Boost would cause these errors, especially as Boost is used nowhere near Matrix.cpp. But I suppose installing it can't hurt?

Which version of Visual Studio are you using? And are you using the solution file from projects/vs2008, or something else?

DarkDragon wrote:I don't know why Boost would cause these errors, especially as Boost is used nowhere near Matrix.cpp. But I suppose installing it can't hurt?

Which version of Visual Studio are you using? And are you using the solution file from projects/vs2008, or something else?

He's using the project and solutions from ./projects/vs2008 in VS2008. I sent him a full copy of it as a gift, when he decided that he wanted to work on the thing. 😊

The project file does have an issue though, that I flagged on GitHub: It's calling for files under ./src/build_modules/*

That path is not in the 2.50.x branch, so I suggested that he grab those files (and only those files) from the 'master' branch. It's possible that they differ.

It may also be that when he added include paths, that he accidentally added something from 'master' to them, and that may be causing conflicts.

Anyhow, boost is sadly mandatory with VS2008, as it doesn't support cpp11, and the source needs one, or the other.

I'm sort of thinking to suggest that he put VNC Server on his laptop for a day, so that I can remote in, clean up the repo on his local system, set up the include paths, and fix it, but I don't want to suggest that unless it's the only recourse.

The 2.50.x branch doesn't need any boost stuff.
Gleeok's the one who uses VS; I don't know anything about it. I still have the project files from the old repo, and I don't think there have been any changes that would invalidate them. I'll try replacing them in a bit. (I just have to hope they'll keep their line endings, because hey, no .gitattributes.)

The VC++ project files for 2.50 are not compatible with with the trunk VC++ project files. This is because 2.50 was tagged before I refactored some of the ZC code, put in more defined translation units, and fixed (some of) the global namespace pollution problem. Please use the project files from the 2.50 branch.

Disclaimer: I have never tried to compile the 2.50 code on anything higher than MSVC 2010;

They're the same in both branches, is the thing. The 2.50.x branch has the project files from master. The proper project files never went to git in the first place.

Edit: Hm, nope, the ones from the old repo don't have the sound library separated out. That may not really matter, though...
Well, they're less wrong, at least. I'll put them up, and I guess they can get fixed or whatever.

[MENTION=38582]Saffith[/MENTION]: I presume that you are using the makefile, which is what I was originally suggesting that [MENTION=61126]Dimentio[/MENTION] use. For Widows builds, are you using NMake, gcc (via CygWin), or something else? It would be helpful to know what you are using, as in any other situation, it should also work.
[MENTION=42714]Gleeok[/MENTION]: Is there any chance you can make a VS2008 Solution for the 2.50.x branch that is up to date with the repository?

Also, [MENTION=1]DarkDragon[/MENTION] asked me about using VS2015. I seem to recall that [MENTION=42714]Gleeok[/MENTION] said that Microsloth changed something in VS2012 and later that made compiling in those newer versions impossible; and that it had something to do with how VS sees file paths. Is that right? I've never used a version newer than 2010, and the only full version that I have is 2008, so I'm not sure what broke.

ZoriaRPG wrote:[MENTION=38582]
Also, [MENTION=1]DarkDragon[/MENTION] asked me about using VS2015. I seem to recall that [MENTION=42714]Gleeok[/MENTION] said that Microsloth changed something in VS2012 and later that made compiling in those newer versions impossible; and that it had something to do with how VS sees file paths. Is that right? I've never used a version newer than 2010, and the only full version that I have is 2008, so I'm not sure what broke.

I don't remember saying anything like that. AFAIK it might just work. ..?
I said I could put up 2010 files, but I didn't want to maintain two seperate projects, and if I switched to 2010 then support for 2008 would drop, so..

The project from shardstorm should work if the other one doesn't; nothing's really been changed. (Have I mentioned that I only work with the current code?)

Yeah, I don't even have a local checkout copy of the github 2.50.x branch. I don't think it's it's been up there very long.

The trunk should compile fine, unless you have 2015 and are trying to compile for 64-bit, then I'm not so sure. People have had trouble with this. Also there are no projects for the 3rd party libs, so from the perspective of having to do a complete setup and rebuild it's a bit of a clusterfuck - and not the good kind either.

Dimentio: so after investigation, my conclusion is that the MSVC solution file in 2.50.x is out of date. Trying to copy files out of the master branch will NOT fix the problem. The easiest way forward is to compile the master branch rather than 2.50.x. If you want to fix 2.50.x, you will have to change the solution files so that each of the four projects correctly compiles the right subset of the source files (currently they are configured to use the "module" system of the master branch, which does not exist in the 2.50.x branch).

I thought Saffith said he changed the 2.50.x ones but I guess not. I'll see if I can get the old files out of the archive and put them up today. (If no one else beats me to it that is)

[side note] Even if you set up the build modules correctly for the 2.50.x branch it will not compile. This is because the master has had the benefit of some refactoring since 2.5.

I did, but they may need updated.

I'm not sure there's any sense trying to use the master branch right now. It's gotten messy, and I think it's just going to be abandoned.

ZoriaRPG wrote:[MENTION=38582]Saffith[/MENTION]: I presume that you are using the makefile, which is what I was originally suggesting that [MENTION=61126]Dimentio[/MENTION] use. For Widows builds, are you using NMake, gcc (via CygWin), or something else? It would be helpful to know what you are using, as in any other situation, it should also work.

MinGW in MSYS.

Saffith wrote:I did, but they may need updated.

I'm not sure there's any sense trying to use the master branch right now. It's gotten messy, and I think it's just going to be abandoned.

MinGW in MSYS.

[MENTION=42714]Gleeok[/MENTION]
We needn't drop support for vs2008 just to add 2010 support. Those can coexist.
[MENTION=38582]Saffith[/MENTION]
That would require merging all the bitmap changes with 2.50.x, and Gleeok did all of those. I know that he added bitmap creation, at the least, and reorganised some bitmap usage.

FWIW, 2.50.3 should be the master, and anything new and experimental should be a branch, merged into the master when it is known to work.

[MENTION=42714]Gleeok[/MENTION] Are you sure that the ffscript symbol tables will compile? I thougjt that I saw an error in there. I have fixed versions of the tables though, for DrawBitmapEx args and such.

Saffith wrote:
I'm not sure there's any sense trying to use the master branch right now. It's gotten messy, and I think it's just going to be abandoned.

-_- ... what ...

What do you plan on leaving out amongst all the changes since 2.50?

First, what specifically do you consider messy, about it? I have no changelog to reference, but there are quite a lot of subtle things that I've noticed, that may, or may not be easy to just merge across. (This is why keeping some kind of active log, other than doing a diff is usually a good idea...)

Can we possibly worry about this, after we ensure that people can use both repositories? I think cleaning house with the repos has a bit more priority, than worrying about if we're keeping the master branch. Admittedly, I haven't gone through the pulls other than stuff that Gleeok did, so I don't know what the big offenders are; and I'm not againstusing 2.50.3 to start the changes, as the master branch now lacks the bugfixes in 2.50.3.

We could ice both as branches, make a 2.50.3 master with clean vs files, verified makefiles (checking LF and such), and some basic compiling info, as a new 'master', and roll things from the old master into it the new '2.5+ branch' of 2.50.3, so that 'master' is always the current binary; which is how I understand that Git is supposed to be used, and something that most people would comprehend. That way, we preserve the changes in the present master branch for inclusion, keep a clean 2.50.3 snapshot, and have a working 2.5+ branch.

Once we know that anyone can download, compile, and go, and I make up some docs for compiling--because I know this probably falls under my job description, and I'll be stuck making them--I think that things will go smoother.

My tuppence worth.

Can you explain a bit what went wrong in the master branch? There was some experimental refactoring that didn't end up helping?

ZoriaRPG wrote:First, what specifically do you consider messy, about it? I have no changelog to reference, but there are quite a lot of subtle things that I've noticed, that may, or may not be easy to just merge across. (This is why keeping some kind of active log, other than doing a diff is usually a good idea...)

Can we possibly worry about this, after we ensure that people can use both repositories? I think cleaning house with the repos has a bit more priority, than worrying about if we're keeping the master branch. Admittedly, I haven't gone through the pulls other than stuff that Gleeok did, so I don't know what the big offenders are; and I'm not againstusing 2.50.3 to start the changes, as the master branch now lacks the bugfixes in 2.50.3.

We could ice both as branches, make a 2.50.3 master with clean vs files, verified makefiles (checking LF and such), and some basic compiling info, as a new 'master', and roll things from the old master into it the new '2.5+ branch' of 2.50.3, so that 'master' is always the current binary; which is how I understand that Git is supposed to be used, and something that most people would comprehend. That way, we preserve the changes in the present master branch for inclusion, keep a clean 2.50.3 snapshot, and have a working 2.5+ branch.

Once we know that anyone can download, compile, and go, and I make up some docs for compiling--because I know this probably falls under my job description, and I'll be stuck making them--I think that things will go smoother.

My tuppence worth.

I think I agree with what you're saying -- I was expecting
- a master branch containing the latest development binary (features that are more-or-less stable and cleared to ship with the next version of ZC)
- a branch for minor revisions of old-yet-still-supported major releases of ZC (to which some bugfixes in the master are back-ported as needed)
- several branches for experimental features/risky refactorings (to be merged into master when they're deemed ready and successful)

But there are any number of other sane ways to organize the repository. I'm mostly confused about the fact that currently there are two branches, and for both branches there are claims that (i) this branch contains the latest code and (ii) this branch is about to be deleted. :confused_white:

I'd like to take a minute to get everyone to take a step back and try and get on the same page here. Most of us (myself included) have been on a hiatus for varying lengths of time, so I think that would be the most prudent thing to do.

Merging the two branches sounds fine: If none of the major refactoring work is going to help anything in the long run, or, there's better alternatives, etc. then it's probably better to do it sooner than later. Besides the obvious stuff you [@Saffith] want to throw out or redo, there may be a decent amount of small changes that are worth keeping. I guess what I'm saying is have a little bit of optimism when merging, if that makes sense.

Can you explain a bit what is in the master branch that should be "thrown out" and why (and conversely, what has been added to the branch that you think should be kept)? I'm looking at the revision history and it seems like the vast majority of commits are bug fixes that were applied to both branches.

Gleeok wrote:I'd like to take a minute to get everyone to take a step back and try and get on the same page here. Most of us (myself included) have been on a hiatus for varying lengths of time, so I think that would be the most prudent thing to do.

Merging the two branches sounds fine: If none of the major refactoring work is going to help anything in the long run, or, there's better alternatives, etc. then it's probably better to do it sooner than later. Besides the obvious stuff you [MENTION=38582]Saffith[/MENTION]] want to throw out or redo, there may be a decent amount of small changes that are worth keeping. I guess what I'm saying is have a little bit of optimism when merging, if that makes sense.

Was the optimism thing aimed at me, or Saffith? I have no objection to merging them: I'm just uncertain what Saffith has problems with in the master branch, and I don't know how smoothly integration would be, but if we can keep all the new features that you added, merging them with the 2.50.3 bugfixes, either way, it would be good, and it's pretty bloody crucial. 😊

I had been expecting the merge to go the other way, TBH.

I never did get an answer to your concern from many months ago that some of my drawing functions migt be problematic with how you reworked the bitmap targets, or if they would at all; or if you meant something else might cause crashes.

DarkDragon wrote:I think I agree with what you're saying -- I was expecting
- a master branch containing the latest development binary (features that are more-or-less stable and cleared to ship with the next version of ZC)
- a branch for minor revisions of old-yet-still-supported major releases of ZC (to which some bugfixes in the master are back-ported as needed)
- several branches for experimental features/risky refactorings (to be merged into master when they're deemed ready and successful)

But there are any number of other sane ways to organize the repository. I'm mostly confused about the fact that currently there are two branches, and for both branches there are claims that (i) this branch contains the latest code and (ii) this branch is about to be deleted. :confused_white:

I'm pretty certain that this is what most people expect. The present organisation is abnormal, to say the least, and IMO, anything new, or experimental should be in a branch, or a fork, so that it's easy for a prospective party to know what is stable, and the present binary; which isn't actually up there at all. 2.50.3 will go Gamma, but the latest stable is still 2.50.2.

it's not critical to change that, at present, but in the future, it would probably encourage more participation if we organised it on the same scheme as other open-source projects typically follow. Sanity, and all.

DarkDragon wrote:Can you explain a bit what is in the master branch that should be "thrown out" and why (and conversely, what has been added to the branch that you think should be kept)? I'm looking at the revision history and it seems like the vast majority of commits are bug fixes that were applied to both branches.

Pretty much, what I was asking above, or possibly more to the point. I looked over the bugfix history on 2.50.x last week, but I neglected to do it with the 'master' branch.

I'm going to need to borrow some bandwidth, pull my VS image off the server onto this laptop, and see if master does in fact compile as-is from the project file: I prodded [MENTION=61126]Dimentio[/MENTION] to try, as he has the VS2008 installed that I sent to him, and it's up and running, but I don't believe he has tried yet. I'll also try to do a writer-up for compiling with MinGW, and see if I can do likewise for CygWin. I do not have Linux with me--well, I did, but it was on a USB pen drive that vanished--so I can't do a Linux gcc test.

-------------
[MENTION=38582]Saffith[/MENTION]: I shoved MSYS onto this machine, and I tried using the makefile with a simple make invocation. I have the allegro directory both in x:/zc2.50.x/allegro and in x:/MinGW/msys/1.0/include/allegro

The make operation halts with: In file included from src/zcmusic.cpp:13:0: src/zc_alleg.h:16:21: fatal error: allegro.h No such file or directory.

User posted image

Where does MSYS expect the allegro files to be located? Looking at the makefile, there is no special include path set for them.

Ordinarily I would expect that the makefile should run with all the mandatory includes, libs, and other files from relative paths to it, but this seems not to be true; unless you are using some parameter / option with the make invocation?

This is using the 2.50.x branch.

I added includes for allegro directly in the makefile ( see: http://pastebin.com/5TpvZnqr ) . I also added ./Include

Revised Makefile
[spoiler]


-include makefile.inc

AUDIO_LIBS = -lgme -lalogg -lalmp3 -laldmb -ldumb
IMAGE_LIBS = -ljpgal -lldpng -lpng -lz
# -lSDLmain -lSDL
#LINKOPTS = -pg -g
#LINKOPTS = -pg
#OPTS = -pg -g
#OPTS = -pg
#OPTS = -O3
OPTS = -DPTW32_STATIC_LIB -O3
#COMPRESS = 1

CFLAGBASE2 = -Wno-long-long -W -Wall -Wshadow -Wpointer-arith
#CFLAGBASE2 = -Wno-long-long -Wno-write-strings

ifndef COMPILE_FOR_MACOSX
CFLAGBASE = $(CFLAGBASE2)
else
CFLAGBASE = $(CFLAGBASE2)
endif

ifdef COMPILE_FOR_WIN
SINGLE_QUOTE_HELPER = ^"
REPO_LOCATION = _zcrepo
ALLEG_LIB = -lalleg -lws2_32
SFLAG = -s
WINFLAG = -mwindows -static-libgcc -static-libstdc++
PLATEXT = -w
EXEEXT = .exe
ZC_ICON = zc_icon.o
ZC_ICON_DEPS = zc_icon.rc zc_icon.ico
ZC_ICON_CMD = windres --use-temp-file -J rc -o coff -i zc_icon.rc -o zc_icon.o
ZQ_ICON = zq_icon.o
ZQ_ICON_DEPS = zq_icon.rc zq_icon.ico
ZQ_ICON_CMD = windres --use-temp-file -J rc -o coff -i zq_icon.rc -o zq_icon.o
RV_ICON = rv_icon.o
RV_ICON_DEPS = rv_icon.rc rv_icon.ico
RV_ICON_CMD = windres --use-temp-file -J rc -o coff -i rv_icon.rc -o rv_icon.o
ZC_PLATFORM = Windows
CC = g++
CFLAG = $(CFLAGBASE) -pedantic -I./allegro -I./allegro/allegro -I./include -I./include/dumb/ -I./include/alogg/ -I./include/almp3 -I./include/lpng1212/ -I./include/loadpng/ -I./include/lpng1212/ -I./include/jpgalleg-2.5/ -I./include/zlib123/ -I./gme
LIBDIR = -L./libs/mingw

ZCSOUND_SO = libs/mingw/libzcsound.dll
ZCSOUND_LIB = -Wl,-rpath,. -lzcsound
ZCSOUND_LINKOPTS = $(LINKOPTS) -shared -Wl,-soname,zcsound.dll
ZCSOUND_ALLEG_LIB = $(ALLEG_LIB)
else
ifdef COMPILE_FOR_LINUX
PLATEXT = -l
ALLEG_LIB = `allegro-config --libs --static`
SFLAG = -s
ZC_ICON = zc_icon.o
ZC_ICON_DEPS = zc_icon.c
ZC_ICON_CMD = $(CC) $(OPTS) $(CFLAG) -c src/zc_icon.c -o zc_icon.o $(SFLAG)
ZQ_ICON = zq_icon.o
ZQ_ICON_DEPS = zq_icon.c
ZQ_ICON_CMD = $(CC) $(OPTS) $(CFLAG) -c src/zq_icon.c -o zq_icon.o $(SFLAG)
RV_ICON = rv_icon.o
RV_ICON_DEPS = rv_icon.c
RV_ICON_CMD = $(CC) $(OPTS) $(CFLAG) -c src/rv_icon.c -o rv_icon.o $(SFLAG)
ZC_PLATFORM = Linux
CC = g++
CFLAG = -I./include -I../include -I./include/alogg -I./include/almp3
LIBDIR = -L./libs/linux

SINGLE_INSTANCE_CPP = src/single_instance_unix.cpp
SINGLE_INSTANCE_O = single_instance.o

ZCSOUND_SO = libs/linux/libzcsound.so
ZCSOUND_LIB = -Wl,-rpath,. -lzcsound
ZCSOUND_LINKOPTS = $(LINKOPTS) -shared -Wl,-soname,zcsound.so
else
ifdef COMPILE_FOR_DOS
ALLEG_LIB = -lalleg
STDCXX_LIB = -lstdcxx
EXEEXT = .exe
ZC_PLATFORM = DOS
CC = gpp
CFLAG = $(CFLAGBASE) -Werror
else
ifdef COMPILE_FOR_MACOSX
ECHO_HELPER = \
SINGLE_QUOTE_HELPER = \"
PLATEXT = -m
ALLEG_LIB = -framework Cocoa -framework Allegro -lalleg-main -arch i386
ZC_PLATFORM = Mac OS X
CFLAG = $(CFLAGBASE) -pedantic -arch i386 -I./include/dumb/ -I./include/alogg/ -I./include/almp3/ -I./include/libjpgal/
CC = g++
LIBDIR= -L./libs/osx
DATA = output/common/
SINGLE_INSTANCE_O = single_instance.o

ZCSOUND_SO = libs/osx/libzcsound.dylib
ZCSOUND_LIB = -lzcsound
ZCSOUND_LINKOPTS = $(LINKOPTS) -shared
ZCSOUND_ALLEG_LIB = $(ALLEG_LIB)
else
ifdef COMPILE_FOR_MACOSX_UNIVERSAL
ECHO_HELPER = \
SINGLE_QUOTE_HELPER = \"
PLATEXT = -mu
ALLEG_LIB = -framework Cocoa -framework Allegro -lalleg-main
ZC_PLATFORM = Mac OS X Universal
CFLAG = -pedantic -Wno-long-long -Wall -arch i386 -arch ppc -DMACOSX_
CC = g++
LIBDIR= -L./libs/osx
DATA = output/common/
LINKOPTS = -arch i386 -arch ppc
SINGLE_INSTANCE_O = single_instance.o

ZCSOUND_SO = libs/osx/libzcsound.dylib
ZCSOUND_LIB = -lzcsound
ZCSOUND_LINKOPTS = $(LINKOPTS) -shared
ZCSOUND_ALLEG_LIB = $(ALLEG_LIB)
else
ifdef COMPILE_FOR_MACOSX_SNOW_LEOPARD
PLATEXT = -msl
ALLEG_LIB = -framework Cocoa -framework Allegro -lalleg-main
ZC_PLATFORM = Mac OS X Universal
CFLAG = -pedantic -Wno-long-long -Wall -arch i386 -arch ppc -DMACOSX_
CC = g++
LIBDIR= -L./libs/osx
DATA = output/common/
LINKOPTS = -arch i386 -arch ppc
SINGLE_INSTANCE_O = single_instance.o

ZCSOUND_SO = libs/osx/libzcsound.dylib
ZCSOUND_LIB = -lzcsound
ZCSOUND_LINKOPTS = $(LINKOPTS) -shared
ZCSOUND_ALLEG_LIB = $(ALLEG_LIB)
else
ifdef COMPILE_FOR_GP2X
PLATEXT = -g
EXEEXT = .gpe
ALLEG_LIB = -lalleg -lpthread -static
ZC_PLATFORM = GP2X
CFLAG = $(CFLAGBASE) -Werror -I/devkitGP2X/include
CC = arm-linux-g++
AUDIO_LIBS = -L/devkitGP2X/lib -lalspc -lalogg -lalmp3 -laldmb -ldumb
IMAGE_LIBS = -L/devkitGP2X/lib -ljpgal -lldpng -lpng -lz
SINGLE_INSTANCE_O = single_instance.o
endif
endif
endif
endif
endif
endif
endif

ZELDA_PREFIX = zelda
ZQUEST_PREFIX = zquest
ROMVIEW_PREFIX = romview

ZELDA_EXE = $(ZELDA_PREFIX)$(PLATEXT)$(EXEEXT)
ZQUEST_EXE = $(ZQUEST_PREFIX)$(PLATEXT)$(EXEEXT)
ROMVIEW_EXE = $(ROMVIEW_PREFIX)$(PLATEXT)$(EXEEXT)

ZELDA_OBJECTS = aglogo.o colors.o debug.o decorations.o defdata.o editbox.o EditboxModel.o EditboxView.o ending.o ffscript.o gamedata.o gui.o guys.o init.o items.o jwin.o jwinfsel.o link.o load_gif.o maps.o matrix.o md5.o midi.o pal.o particles.o qst.o save_gif.o script_drawing.o $(SINGLE_INSTANCE_O) sprite.o subscr.o tab_ctl.o tiles.o title.o weapons.o win32.o zc_custom.o zc_init.o zc_items.o zc_sprite.o zc_subscr.o zc_sys.o zelda.o zscriptversion.o zsys.o
ZELDA_OBJECTS := $(addprefix obj/,$(ZELDA_OBJECTS)) $(ZC_ICON)

ZQUEST_OBJECTS = zquest.o colors.o defdata.o editbox.o EditboxModel.o EditboxView.o gamedata.o gui.o init.o items.o jwin.o jwinfsel.o load_gif.o md5.o midi.o particles.o qst.o questReport.o save_gif.o sprite.o subscr.o tab_ctl.o tiles.o win32.o zc_custom.o zq_class.o zq_cset.o zq_custom.o zq_doors.o zq_files.o zq_items.o zq_init.o zq_misc.o zq_rules.o zq_sprite.o zq_strings.o zq_subscr.o zq_tiles.o zqscale.o zsys.o ffasm.o parser/AST.o parser/BuildVisitors.o parser/ByteCode.o parser/DataStructs.o parser/GlobalSymbols.o parser/lex.yy.o parser/ParseError.o parser/ScriptParser.o parser/SymbolVisitors.o parser/TypeChecker.o parser/UtilVisitors.o parser/y.tab.o
ZQUEST_OBJECTS := $(addprefix obj/,$(ZQUEST_OBJECTS)) $(ZQ_ICON)

ROMVIEW_OBJECTS = editbox.o EditboxModel.o EditboxView.o gui.o jwin.o jwinfsel.o load_gif.o romview.o save_gif.o tab_ctl.o zqscale.o zsys.o
ROMVIEW_OBJECTS := $(addprefix obj/,$(ROMVIEW_OBJECTS)) $(RV_ICON)

ZCSOUND_OBJECTS = obj/zcmusic.o obj/zcmusicd.o

.PHONY: default veryclean clean all msg dos win windows linux gp2x test done

default: all
msg:
@echo Compiling Zelda Classic for $(ZC_PLATFORM)...
done:
@echo Done!
clean:
rm -f $(ZELDA_OBJECTS) $(ZQUEST_OBJECTS) $(ROMVIEW_OBJECTS) $(ZCSOUND_OBJECTS)
veryclean: clean
rm -f $(ZELDA_EXE) $(ZQUEST_EXE) $(ROMVIEW_EXE) $(ZCSOUND_SO)

test:
ifndef COMPILE_FOR_WIN
ifndef COMPILE_FOR_DOS
ifndef COMPILE_FOR_LINUX
ifndef COMPILE_FOR_MACOSX
ifndef COMPILE_FOR_GP2X
ifndef COMPILE_FOR_MACOSX_UNIVERSAL
ifndef COMPILE_FOR_MACOSX_SNOW_LEOPARD
#change this if you want to change the default platform
@make win
endif
endif
endif
endif
endif
endif
endif

dos:
@echo COMPILE_FOR_DOS=1 > makefile.inc
@make
windows: win
win:
@echo COMPILE_FOR_WIN=1 > makefile.inc
@make
linux:
@echo COMPILE_FOR_LINUX=1 > makefile.inc
@make
macosx:
@echo COMPILE_FOR_MACOSX=1 > makefile.inc
@make
gp2x:
@echo COMPILE_FOR_GP2X=1 > makefile.inc
@make
macosx-u:
@echo COMPILE_FOR_MACOSX_UNIVERSAL=1 > makefile.inc
@make
macosx-sl:
@echo COMPILE_FOR_MACOSX_SNOW_LEOPARD=1 > makefile.inc
@make

all: test msg $(ZCSOUND_SO) $(ZELDA_EXE) $(ZQUEST_EXE) $(ROMVIEW_EXE) done

$(ZCSOUND_SO): $(ZCSOUND_OBJECTS)
$(CC) $(ZCSOUND_LINKOPTS) -o $(ZCSOUND_SO) $(ZCSOUND_OBJECTS) $(LIBDIR) $(AUDIO_LIBS) $(ZCSOUND_ALLEG_LIB) $(SFLAG) $(WINFLAG)
obj/zcmusic.o: src/zcmusic.cpp src/mutex.h src/zc_alleg.h src/zcmusic.h src/zsys.h
$(CC) $(OPTS) $(CFLAG) -fpic -c src/zcmusic.cpp -o obj/zcmusic.o $(SFLAG) $(WINFLAG)
obj/zcmusicd.o: src/zcmusicd.cpp src/zcmusic.h
$(CC) $(OPTS) $(CFLAG) -fpic -c src/zcmusicd.cpp -o obj/zcmusicd.o $(SFLAG) $(WINFLAG)

$(ZELDA_EXE): $(ZELDA_OBJECTS) $(ZCSOUND_SO)
$(CC) $(LINKOPTS) -o $(ZELDA_EXE) $(ZELDA_OBJECTS) $(LIBDIR) $(IMAGE_LIBS) $(ZCSOUND_LIB) $(ALLEG_LIB) $(STDCXX_LIB) $(ZC_ICON) $(SFLAG) $(WINFLAG)
ifdef COMPRESS
upx --best $(ZELDA_EXE)
endif
ifdef 0
rm zc/zelda-m
cp zelda-m zc/zelda-m
zc/zelda-m
endif
ifdef COMPILE_FOR_MACOSX
rm -rf "Zelda Classic.app"
fixbundle $(ZELDA_EXE) -e
cp Info1.plist $(ZELDA_EXE).app/Contents/tempinfo
echo ' <key>CFBundleExecutable</key>' >> $(ZELDA_EXE).app/Contents/tempinfo
echo ' <string>Zelda Classic</string>' >> $(ZELDA_EXE).app/Contents/tempinfo
echo ' <key>CFBundleIconFile</key>' >> $(ZELDA_EXE).app/Contents/tempinfo
echo ' <string>zc_icon.icns</string>' >> $(ZELDA_EXE).app/Contents/tempinfo
echo ' <key>CFBundleIdentifier</key>' >> $(ZELDA_EXE).app/Contents/tempinfo
echo ' <string>com.armageddon.Zelda Classic</string>' >> $(ZELDA_EXE).app/Contents/tempinfo
cat $(ZELDA_EXE).app/Contents/tempinfo Info2.plist > $(ZELDA_EXE).app/Contents/Info.plist
rm $(ZELDA_EXE).app/Contents/tempinfo
cp "zc_icon.icns" $(ZELDA_EXE).app/Contents/Resources/
cp $(DATA)zelda.dat $(ZELDA_EXE).app/Contents/Resources/
cp $(DATA)sfx.dat $(ZELDA_EXE).app/Contents/Resources/
cp $(DATA)fonts.dat $(ZELDA_EXE).app/Contents/Resources/
cp $(DATA)qst.dat $(ZELDA_EXE).app/Contents/Resources/
cp $(DATA)zelda.nsf $(ZELDA_EXE).app/Contents/Resources/
cp "ag_nofull.cfg" $(ZELDA_EXE).app/Contents/Resources/ag.cfg
cp $(DATA)1st.qst $(ZELDA_EXE).app/Contents/Resources/
cp $(DATA)2nd.qst $(ZELDA_EXE).app/Contents/Resources/
cp $(DATA)3rd.qst $(ZELDA_EXE).app/Contents/Resources/
cp $(DATA)4th.qst $(ZELDA_EXE).app/Contents/Resources/

cp libs/osx/libzcsound.dylib $(ZELDA_EXE).app/Contents/Frameworks/
install_name_tool -change libs/osx/libzcsound.dylib @executable_path/../Frameworks/libzcsound.dylib $(ZELDA_EXE).app/Contents/MacOS/$(ZELDA_EXE)

mv $(ZELDA_EXE).app/Contents/MacOS/$(ZELDA_EXE) "$(ZELDA_EXE).app/Contents/MacOS/Zelda Classic"
mv $(ZELDA_EXE).app "Zelda Classic.app"
endif
ifdef COMPILE_FOR_MACOSX_UNIVERSAL
rm -rf "Zelda Classic.app"
fixbundle $(ZELDA_EXE) -e
cp Info1.plist $(ZELDA_EXE).app/Contents/tempinfo
echo ' <key>CFBundleExecutable</key>' >> $(ZELDA_EXE).app/Contents/tempinfo
echo ' <string>Zelda Classic</string>' >> $(ZELDA_EXE).app/Contents/tempinfo
echo ' <key>CFBundleIconFile</key>' >> $(ZELDA_EXE).app/Contents/tempinfo
echo ' <string>zc_icon.icns</string>' >> $(ZELDA_EXE).app/Contents/tempinfo
echo ' <key>CFBundleIdentifier</key>' >> $(ZELDA_EXE).app/Contents/tempinfo
echo ' <string>com.armageddon.Zelda Classic</string>' >> $(ZELDA_EXE).app/Contents/tempinfo
cat $(ZELDA_EXE).app/Contents/tempinfo Info2.plist > $(ZELDA_EXE).app/Contents/Info.plist
rm $(ZELDA_EXE).app/Contents/tempinfo
cp "zc_icon.icns" $(ZELDA_EXE).app/Contents/Resources/
cp $(DATA)zelda.dat $(ZELDA_EXE).app/Contents/Resources/
cp $(DATA)sfx.dat $(ZELDA_EXE).app/Contents/Resources/
cp $(DATA)fonts.dat $(ZELDA_EXE).app/Contents/Resources/
cp $(DATA)qst.dat $(ZELDA_EXE).app/Contents/Resources/
cp $(DATA)zelda.nsf $(ZELDA_EXE).app/Contents/Resources/
cp "ag_nofull.cfg" $(ZELDA_EXE).app/Contents/Resources/ag.cfg
cp $(DATA)1st.qst $(ZELDA_EXE).app/Contents/Resources/
cp $(DATA)2nd.qst $(ZELDA_EXE).app/Contents/Resources/
cp $(DATA)3rd.qst $(ZELDA_EXE).app/Contents/Resources/
cp $(DATA)4th.qst $(ZELDA_EXE).app/Contents/Resources/

cp libs/osx/libzcsound.dylib $(ZELDA_EXE).app/Contents/Frameworks/
install_name_tool -change libs/osx/libzcsound.dylib @executable_path/../Frameworks/libzcsound.dylib $(ZELDA_EXE).app/Contents/MacOS/$(ZELDA_EXE)

mv $(ZELDA_EXE).app/Contents/MacOS/$(ZELDA_EXE) "$(ZELDA_EXE).app/Contents/MacOS/Zelda Classic"
mv $(ZELDA_EXE).app "Zelda Classic.app"
endif

$(ZQUEST_EXE): $(ZQUEST_OBJECTS) $(ZCSOUND_SO)
$(CC) $(LINKOPTS) -o $(ZQUEST_EXE) $(ZQUEST_OBJECTS) $(LIBDIR) $(IMAGE_LIBS) $(ZCSOUND_LIB) $(ALLEG_LIB) $(STDCXX_LIB) $(ZQ_ICON) $(SFLAG) $(WINFLAG)
ifdef COMPRESS
upx --best $(ZQUEST_EXE)
endif
ifdef COMPILE_FOR_MACOSX
rm -rf "ZQuest Editor.app"
fixbundle $(ZQUEST_EXE) -e
chmod 755 $(ZQUEST_EXE)
cp Info1.plist $(ZQUEST_EXE).app/Contents/tempinfo
echo ' <key>CFBundleExecutable</key>' >> $(ZQUEST_EXE).app/Contents/tempinfo
echo ' <string>ZQuest Editor</string>' >> $(ZQUEST_EXE).app/Contents/tempinfo
echo ' <key>CFBundleIconFile</key>' >> $(ZQUEST_EXE).app/Contents/tempinfo
echo ' <string>zq_icon.icns</string>' >> $(ZQUEST_EXE).app/Contents/tempinfo
echo ' <key>CFBundleIdentifier</key>' >> $(ZQUEST_EXE).app/Contents/tempinfo
echo ' <string>com.armageddon.ZQuest Editor</string>' >> $(ZQUEST_EXE).app/Contents/tempinfo
cat $(ZQUEST_EXE).app/Contents/tempinfo Info2.plist > $(ZQUEST_EXE).app/Contents/Info.plist
rm $(ZQUEST_EXE).app/Contents/tempinfo
cp "zq_icon.icns" $(ZQUEST_EXE).app/Contents/Resources/
cp $(DATA)zquest.dat $(ZQUEST_EXE).app/Contents/Resources/
cp $(DATA)sfx.dat $(ZQUEST_EXE).app/Contents/Resources/
cp $(DATA)qst.dat $(ZQUEST_EXE).app/Contents/Resources/
cp $(DATA)zelda.nsf $(ZQUEST_EXE).app/Contents/Resources/
cp $(DATA)fonts.dat $(ZQUEST_EXE).app/Contents/Resources/
cp $(DATA)zquest.txt $(ZQUEST_EXE).app/Contents/Resources/
cp $(DATA)zscript.txt $(ZQUEST_EXE).app/Contents/Resources/
cp $(DATA)zstrings.txt $(ZQUEST_EXE).app/Contents/Resources/
cp $(DATA)std.zh $(ZQUEST_EXE).app/Contents/Resources/
cp $(DATA)std_constants.zh $(ZQUEST_EXE).app/Contents/Resources/
cp $(DATA)std_functions.zh $(ZQUEST_EXE).app/Contents/Resources/
cp $(DATA)string.zh $(ZQUEST_EXE).app/Contents/Resources/

cp libs/osx/libzcsound.dylib $(ZQUEST_EXE).app/Contents/Frameworks/
install_name_tool -change libs/osx/libzcsound.dylib @executable_path/../Frameworks/libzcsound.dylib $(ZQUEST_EXE).app/Contents/MacOS/$(ZQUEST_EXE)

mv $(ZQUEST_EXE).app/Contents/MacOS/$(ZQUEST_EXE) "$(ZQUEST_EXE).app/Contents/MacOS/ZQuest Editor"
mv $(ZQUEST_EXE).app "ZQuest Editor.app"
endif
ifdef COMPILE_FOR_MACOSX_UNIVERSAL
rm -rf "ZQuest Editor.app"
fixbundle $(ZQUEST_EXE) -e
chmod 755 $(ZQUEST_EXE)
cp Info1.plist $(ZQUEST_EXE).app/Contents/tempinfo
echo ' <key>CFBundleExecutable</key>' >> $(ZQUEST_EXE).app/Contents/tempinfo
echo ' <string>ZQuest Editor</string>' >> $(ZQUEST_EXE).app/Contents/tempinfo
echo ' <key>CFBundleIconFile</key>' >> $(ZQUEST_EXE).app/Contents/tempinfo
echo ' <string>zq_icon.icns</string>' >> $(ZQUEST_EXE).app/Contents/tempinfo
echo ' <key>CFBundleIdentifier</key>' >> $(ZQUEST_EXE).app/Contents/tempinfo
echo ' <string>com.armageddon.ZQuest Editor</string>' >> $(ZQUEST_EXE).app/Contents/tempinfo
cat $(ZQUEST_EXE).app/Contents/tempinfo Info2.plist > $(ZQUEST_EXE).app/Contents/Info.plist
rm $(ZQUEST_EXE).app/Contents/tempinfo
cp "zq_icon.icns" $(ZQUEST_EXE).app/Contents/Resources/
cp $(DATA)zquest.dat $(ZQUEST_EXE).app/Contents/Resources/
cp $(DATA)sfx.dat $(ZQUEST_EXE).app/Contents/Resources/
cp $(DATA)qst.dat $(ZQUEST_EXE).app/Contents/Resources/
cp $(DATA)zelda.nsf $(ZQUEST_EXE).app/Contents/Resources/
cp $(DATA)fonts.dat $(ZQUEST_EXE).app/Contents/Resources/
cp $(DATA)zquest.txt $(ZQUEST_EXE).app/Contents/Resources/
cp $(DATA)zscript.txt $(ZQUEST_EXE).app/Contents/Resources/
cp $(DATA)zstrings.txt $(ZQUEST_EXE).app/Contents/Resources/
cp $(DATA)std.zh $(ZQUEST_EXE).app/Contents/Resources/
cp $(DATA)std_constants.zh $(ZQUEST_EXE).app/Contents/Resources/
cp $(DATA)std_functions.zh $(ZQUEST_EXE).app/Contents/Resources/
cp $(DATA)string.zh $(ZQUEST_EXE).app/Contents/Resources/

cp libs/osx/libzcsound.dylib $(ZQUEST_EXE).app/Contents/Frameworks/
install_name_tool -change libs/osx/libzcsound.dylib @executable_path/../Frameworks/libzcsound.dylib $(ZQUEST_EXE).app/Contents/MacOS/$(ZQUEST_EXE)

mv $(ZQUEST_EXE).app/Contents/MacOS/$(ZQUEST_EXE) "$(ZQUEST_EXE).app/Contents/MacOS/ZQuest Editor"
mv $(ZQUEST_EXE).app "ZQuest Editor.app"
endif

$(ROMVIEW_EXE): $(ROMVIEW_OBJECTS)
$(CC) $(LINKOPTS) -o obj/$(ROMVIEW_EXE) $(ROMVIEW_OBJECTS) $(LIBDIR) $(IMAGE_LIBS) $(ALLEG_LIB) $(STDCXX_LIB) $(RV_ICON) $(SFLAG) $(WINFLAG)
ifdef COMPRESS
upx --best $(ZQUEST_EXE)
endif
ifdef COMPILE_FOR_MACOSX
rm -rf "ROM Viewer.app"
fixbundle $(ROMVIEW_EXE) -e
chmod 755 $(ROMVIEW_EXE)
cp Info1.plist $(ROMVIEW_EXE).app/Contents/tempinfo
echo ' <key>CFBundleExecutable</key>' >> $(ROMVIEW_EXE).app/Contents/tempinfo
echo ' <string>ROM Viewer</string>' >> $(ROMVIEW_EXE).app/Contents/tempinfo
echo ' <key>CFBundleIconFile</key>' >> $(ROMVIEW_EXE).app/Contents/tempinfo
echo ' <string>rv_icon.icns</string>' >> $(ROMVIEW_EXE).app/Contents/tempinfo
echo ' <key>CFBundleIdentifier</key>' >> $(ROMVIEW_EXE).app/Contents/tempinfo
echo ' <string>com.armageddon.ROMView</string>' >> $(ROMVIEW_EXE).app/Contents/tempinfo
cat $(ROMVIEW_EXE).app/Contents/tempinfo Info2.plist > $(ROMVIEW_EXE).app/Contents/Info.plist
rm $(ROMVIEW_EXE).app/Contents/tempinfo
cp "rv_icon.icns" $(ROMVIEW_EXE).app/Contents/Resources/
cp $(DATA)fonts.dat $(ROMVIEW_EXE).app/
mv $(ROMVIEW_EXE).app/Contents/MacOS/$(ROMVIEW_EXE) "$(ROMVIEW_EXE).app/Contents/MacOS/ROMView"
mv $(ROMVIEW_EXE).app "ROM Viewer.app"
endif
ifdef COMPILE_FOR_MACOSX_UNIVERSAL
rm -rf "ROM Viewer.app"
fixbundle $(ROMVIEW_EXE) -e
chmod 755 $(ROMVIEW_EXE)
cp Info1.plist $(ROMVIEW_EXE).app/Contents/tempinfo
echo ' <key>CFBundleExecutable</key>' >> $(ROMVIEW_EXE).app/Contents/tempinfo
echo ' <string>ROM Viewer</string>' >> $(ROMVIEW_EXE).app/Contents/tempinfo
echo ' <key>CFBundleIconFile</key>' >> $(ROMVIEW_EXE).app/Contents/tempinfo
echo ' <string>rv_icon.icns</string>' >> $(ROMVIEW_EXE).app/Contents/tempinfo
echo ' <key>CFBundleIdentifier</key>' >> $(ROMVIEW_EXE).app/Contents/tempinfo
echo ' <string>com.armageddon.ROMView</string>' >> $(ROMVIEW_EXE).app/Contents/tempinfo
cat $(ROMVIEW_EXE).app/Contents/tempinfo Info2.plist > $(ROMVIEW_EXE).app/Contents/Info.plist
rm $(ROMVIEW_EXE).app/Contents/tempinfo
cp "rv_icon.icns" $(ROMVIEW_EXE).app/Contents/Resources/
cp $(DATA)fonts.dat $(ROMVIEW_EXE).app/
mv $(ROMVIEW_EXE).app/Contents/MacOS/$(ROMVIEW_EXE) "$(ROMVIEW_EXE).app/Contents/MacOS/ROMView"
mv $(ROMVIEW_EXE).app "ROM Viewer.app"
endif

obj/aglogo.o: src/aglogo.cpp src/gamedata.h src/zc_alleg.h src/zdefs.h src/zeldadat.h
$(CC) $(OPTS) $(CFLAG) -c src/aglogo.cpp -o obj/aglogo.o $(SFLAG) $(WINFLAG)
obj/colors.o: src/colors.cpp src/colors.h src/gamedata.h src/zc_alleg.h src/zdefs.h
$(CC) $(OPTS) $(CFLAG) -c src/colors.cpp -o obj/colors.o $(SFLAG) $(WINFLAG)
obj/debug.o: src/debug.cpp src/zc_alleg.h
$(CC) $(OPTS) $(CFLAG) -c src/debug.cpp -o obj/debug.o $(SFLAG) $(WINFLAG)
obj/decorations.o: src/decorations.cpp src/decorations.h src/gamedata.h src/jwin.h src/maps.h src/sfx.h src/sprite.h src/tab_ctl.h src/zc_alleg.h src/zc_custom.h src/zc_sys.h src/zcmusic.h src/zdefs.h src/zelda.h src/zeldadat.h src/zsys.h
$(CC) $(OPTS) $(CFLAG) -c src/decorations.cpp -o obj/decorations.o $(SFLAG) $(WINFLAG)
obj/defdata.o: src/defdata.cpp src/defdata.h src/gamedata.h src/guys.h src/items.h src/sfx.h src/sprite.h src/weapons.h src/zc_alleg.h src/zdefs.h
$(CC) $(OPTS) $(CFLAG) -c src/defdata.cpp -o obj/defdata.o $(SFLAG) $(WINFLAG)
obj/editbox.o: src/editbox.cpp src/EditboxNew.h src/jwin.h src/tab_ctl.h src/zc_alleg.h
$(CC) $(OPTS) $(CFLAG) -c src/editbox.cpp -o obj/editbox.o $(SFLAG) $(WINFLAG)
obj/EditboxModel.o: src/EditboxModel.cpp src/editbox.h src/EditboxNew.h src/gamedata.h src/gui.h src/jwin.h src/tab_ctl.h src/zc_alleg.h src/zdefs.h
$(CC) $(OPTS) $(CFLAG) -c src/EditboxModel.cpp -o obj/EditboxModel.o $(SFLAG) $(WINFLAG)
obj/EditboxView.o: src/EditboxView.cpp src/EditboxNew.h src/jwin.h src/tab_ctl.h src/zc_alleg.h
$(CC) $(OPTS) $(CFLAG) -c src/EditboxView.cpp -o obj/EditboxView.o $(SFLAG) $(WINFLAG)
obj/ending.o: src/ending.cpp src/aglogo.h src/colors.h src/ending.h src/gamedata.h src/guys.h src/items.h src/jwin.h src/jwinfsel.h src/link.h src/maps.h src/matrix.h src/pal.h src/qst.h src/sfx.h src/sprite.h src/subscr.h src/tab_ctl.h src/tiles.h src/title.h src/weapons.h src/zc_alleg.h src/zc_custom.h src/zc_sys.h src/zcmusic.h src/zdefs.h src/zelda.h src/zeldadat.h src/zsys.h src/init.h
$(CC) $(OPTS) $(CFLAG) -c src/ending.cpp -o obj/ending.o $(SFLAG) $(WINFLAG)
obj/ffasm.o: src/ffasm.cpp src/ffasm.h src/ffscript.h src/gamedata.h src/jwin.h src/jwinfsel.h src/midi.h src/sprite.h src/tab_ctl.h src/zc_alleg.h src/zcmusic.h src/zdefs.h src/zquest.h src/zsys.h
$(CC) $(OPTS) $(CFLAG) -c src/ffasm.cpp -o obj/ffasm.o $(SFLAG) $(WINFLAG)
obj/ffscript.o: src/ffscript.cpp src/aglogo.h src/colors.h src/ffscript.h src/gamedata.h src/guys.h src/items.h src/jwin.h src/jwinfsel.h src/link.h src/maps.h src/matrix.h src/pal.h src/qst.h src/sfx.h src/sprite.h src/subscr.h src/tab_ctl.h src/tiles.h src/weapons.h src/zc_alleg.h src/zc_custom.h src/zc_init.h src/zc_sys.h src/zcmusic.h src/zdefs.h src/zelda.h src/zeldadat.h src/zsys.h
$(CC) $(OPTS) $(CFLAG) -c src/ffscript.cpp -o obj/ffscript.o $(SFLAG) $(WINFLAG)
obj/font.o: /allegro/tools/datedit.h src/font.cpp font.h src/zc_alleg.h
$(CC) $(OPTS) $(CFLAG) -c src/font.cpp -o obj/font.o $(SFLAG) $(WINFLAG)
obj/gamedata.o: src/gamedata.cpp src/gamedata.h src/items.h src/jwin.h src/sfx.h src/sprite.h src/tab_ctl.h src/zc_alleg.h src/zc_sys.h src/zcmusic.h src/zdefs.h src/zelda.h src/zeldadat.h src/zsys.h
$(CC) $(OPTS) $(CFLAG) -c src/gamedata.cpp -o obj/gamedata.o $(SFLAG) $(WINFLAG)
obj/gui.o: src/gui.cpp src/colors.h src/debug.h src/gamedata.h src/gui.h src/items.h src/jwin.h src/jwinfsel.h src/midi.h src/pal.h src/qst.h src/sfx.h src/sprite.h src/subscr.h src/tab_ctl.h src/tiles.h src/zc_alleg.h src/zc_sys.h src/zcmusic.h src/zdefs.h src/zelda.h src/zeldadat.h src/zquest.h src/zsys.h
$(CC) $(OPTS) $(CFLAG) -c src/gui.cpp -o obj/gui.o $(SFLAG) $(WINFLAG)
obj/guys.o: src/guys.cpp src/aglogo.h src/colors.h src/defdata.h src/ffscript.h src/gamedata.h src/guys.h src/items.h src/jwin.h src/jwinfsel.h src/link.h src/maps.h src/matrix.h src/pal.h src/qst.h src/sfx.h src/sprite.h src/subscr.h src/tab_ctl.h src/tiles.h src/weapons.h src/zc_alleg.h src/zc_custom.h src/zc_sys.h src/zcmusic.h src/zdefs.h src/zelda.h src/zeldadat.h src/zsys.h
$(CC) $(OPTS) $(CFLAG) -c src/guys.cpp -o obj/guys.o $(SFLAG) $(WINFLAG)
obj/init.o: src/init.cpp src/gamedata.h src/gui.h src/init.h src/jwin.h src/sfx.h src/tab_ctl.h src/zc_alleg.h src/zc_sys.h src/zcmusic.h src/zdefs.h src/zelda.h src/zeldadat.h src/zsys.h
$(CC) $(CFLAG) -c src/init.cpp -o obj/init.o $(SFLAG) $(WINFLAG)
obj/items.o: src/items.cpp src/gamedata.h src/items.h src/jwin.h src/maps.h src/sfx.h src/sprite.h src/tab_ctl.h src/zc_alleg.h src/zc_sys.h src/zcmusic.h src/zdefs.h src/zelda.h src/zeldadat.h src/zsys.h
$(CC) $(OPTS) $(CFLAG) -c src/items.cpp -o obj/items.o $(SFLAG) $(WINFLAG)
obj/jmenu.o: src/jmenu.cpp src/gamedata.h src/jwin.h src/sfx.h src/tab_ctl.h src/zc_alleg.h src/zc_sys.h src/zcmusic.h src/zdefs.h src/zelda.h src/zeldadat.h src/zsys.h
$(CC) $(OPTS) $(CFLAG) -c src/jmenu.cpp -o obj/jmenu.o $(SFLAG) $(WINFLAG)
obj/jwin.o: src/jwin.cpp src/editbox.h src/gamedata.h src/jwin.h src/tab_ctl.h src/zc_alleg.h src/zdefs.h src/zsys.h
$(CC) $(OPTS) $(CFLAG) -c src/jwin.cpp -o obj/jwin.o $(SFLAG) $(WINFLAG)
obj/jwinfsel.o: src/jwinfsel.cpp src/jwin.h src/jwinfsel.h src/tab_ctl.h src/zc_alleg.h
$(CC) $(OPTS) $(CFLAG) -c src/jwinfsel.cpp -o obj/jwinfsel.o $(SFLAG) $(WINFLAG)
obj/link.o: src/link.cpp src/aglogo.h src/colors.h src/decorations.h src/ffscript.h src/gamedata.h src/guys.h src/items.h src/jwin.h src/jwinfsel.h src/link.h src/maps.h src/matrix.h src/pal.h src/qst.h src/sfx.h src/sprite.h src/subscr.h src/tab_ctl.h src/tiles.h src/title.h src/weapons.h src/zc_alleg.h src/zc_custom.h src/zc_subscr.h src/zc_sys.h src/zcmusic.h src/zdefs.h src/zelda.h src/zeldadat.h src/zsys.h
$(CC) $(OPTS) $(CFLAG) -c src/link.cpp -o obj/link.o $(SFLAG) $(WINFLAG)
obj/load_gif.o: src/load_gif.cpp src/load_gif.h src/zc_alleg.h
$(CC) $(OPTS) $(CFLAG) -c src/load_gif.cpp -o obj/load_gif.o $(SFLAG) $(WINFLAG)
obj/maps.o: src/maps.cpp src/aglogo.h src/colors.h src/ffscript.h src/gamedata.h src/guys.h src/items.h src/jwin.h src/jwinfsel.h src/link.h src/maps.h src/matrix.h src/pal.h src/particles.h src/qst.h src/sfx.h src/sprite.h src/subscr.h src/tab_ctl.h src/tiles.h src/weapons.h src/zc_alleg.h src/zc_custom.h src/zc_subscr.h src/zc_sys.h src/zcmusic.h src/zdefs.h src/zelda.h src/zeldadat.h src/zsys.h
$(CC) $(OPTS) -O3 $(CFLAG) -c src/maps.cpp -o obj/maps.o $(SFLAG) $(WINFLAG)
obj/matrix.o: src/matrix.cpp src/gamedata.h src/matrix.h src/zc_alleg.h src/zc_sys.h src/zdefs.h
$(CC) $(OPTS) $(CFLAG) -c src/matrix.cpp -o obj/matrix.o $(SFLAG) $(WINFLAG)
obj/md5.o: src/md5.cpp src/md5.h
$(CC) $(OPTS) $(CFLAG) -c src/md5.cpp -o obj/md5.o $(SFLAG) $(WINFLAG)
obj/midi.o: src/midi.cpp src/gamedata.h src/jwin.h src/midi.h src/tab_ctl.h src/zc_alleg.h src/zdefs.h src/zsys.h
$(CC) $(OPTS) $(CFLAG) -c src/midi.cpp -o obj/midi.o $(SFLAG) $(WINFLAG)
obj/pal.o: src/pal.cpp src/aglogo.h src/colors.h src/gamedata.h src/items.h src/jwin.h src/jwinfsel.h src/link.h src/maps.h src/matrix.h src/pal.h src/qst.h src/sfx.h src/sprite.h src/subscr.h src/tab_ctl.h src/tiles.h src/zc_alleg.h src/zc_custom.h src/zc_sys.h src/zcmusic.h src/zdefs.h src/zelda.h src/zeldadat.h src/zsys.h
$(CC) $(OPTS) $(CFLAG) -c src/pal.cpp -o obj/pal.o $(SFLAG) $(WINFLAG)
obj/particles.o: src/particles.cpp src/gamedata.h src/particles.h src/sprite.h src/zc_alleg.h src/zdefs.h
$(CC) $(OPTS) $(CFLAG) -c src/particles.cpp -o obj/particles.o $(SFLAG) $(WINFLAG)
obj/qst.o: src/qst.cpp src/colors.h src/defdata.h src/font.h src/gamedata.h src/guys.h src/items.h src/jwin.h src/jwinfsel.h src/md5.h src/midi.h src/qst.h src/sfx.h src/sprite.h src/subscr.h src/tab_ctl.h src/tiles.h src/weapons.h src/zc_alleg.h src/zc_custom.h src/zcmusic.h src/zdefs.h src/zquest.h src/zsys.h
$(CC) $(OPTS) $(CFLAG) -c src/qst.cpp -o obj/qst.o $(SFLAG) $(WINFLAG)
obj/questReport.o: src/questReport.cpp src/questReport.h src/editbox.h src/EditboxNew.h src/gui.h src/jwin.h src/mem_debug.h src/tiles.h src/zc_alleg.h src/zdefs.h src/zsys.h src/zq_class.h src/zq_misc.h src/zquest.h
$(CC) $(OPTS) $(CFLAG) -c src/questReport.cpp -o obj/questReport.o $(SFLAG) $(WINFLAG)
obj/romview.o: src/romview.cpp src/fontsdat.h src/gamedata.h src/jwin.h src/jwinfsel.h src/load_gif.h src/save_gif.h src/tab_ctl.h src/zc_alleg.h src/zdefs.h src/zqscale.h src/zsys.h
$(CC) $(OPTS) $(CFLAG) -c src/romview.cpp -o obj/romview.o $(SFLAG) $(WINFLAG)
obj/rv_icon.o: $(RV_ICON_DEPS)
$(RV_ICON_CMD)
obj/save_gif.o: src/save_gif.cpp src/save_gif.h src/zc_alleg.h
$(CC) $(OPTS) $(CFLAG) -c src/save_gif.cpp -o obj/save_gif.o $(SFLAG) $(WINFLAG)
obj/script_drawing.o: src/script_drawing.cpp src/ffscript.h src/maps.h src/rendertarget.h src/script_drawing.h src/tiles.h src/zc_alleg.h src/zelda.h
$(CC) $(OPTS) $(CFLAG) -c src/script_drawing.cpp -o obj/script_drawing.o $(SFLAG) $(WINFLAG)
obj/single_instance.o: $(SINGLE_INSTANCE_CPP) src/single_instance.h
$(CC) $(OPTS) $(CFLAG) -c $(SINGLE_INSTANCE_CPP) -o obj/single_instance.o $(SFLAG) $(WINFLAG)
obj/sprite.o: src/sprite.cpp src/gamedata.h src/sprite.h src/tiles.h src/zc_alleg.h src/zdefs.h
$(CC) $(OPTS) $(CFLAG) -c src/sprite.cpp -o obj/sprite.o $(SFLAG) $(WINFLAG)
obj/subscr.o: src/subscr.cpp src/aglogo.h src/colors.h src/gamedata.h src/guys.h src/items.h src/jwin.h src/jwinfsel.h src/link.h src/maps.h src/matrix.h src/pal.h src/qst.h src/sfx.h src/sprite.h src/subscr.h src/tab_ctl.h src/tiles.h src/weapons.h src/zc_alleg.h src/zc_custom.h src/zc_sys.h src/zcmusic.h src/zdefs.h src/zelda.h src/zeldadat.h src/zsys.h
$(CC) $(OPTS) $(CFLAG) -c src/subscr.cpp -o obj/subscr.o $(SFLAG) $(WINFLAG)
obj/tab_ctl.o: src/tab_ctl.cpp src/tab_ctl.h src/zc_alleg.h
$(CC) $(OPTS) $(CFLAG) -c src/tab_ctl.cpp -o obj/tab_ctl.o $(SFLAG) $(WINFLAG)
obj/tiles.o: src/tiles.cpp src/gamedata.h src/jwin.h src/tab_ctl.h src/tiles.h src/zc_alleg.h src/zdefs.h src/zsys.h
$(CC) $(OPTS) -O3 $(CFLAG) -c src/tiles.cpp -o obj/tiles.o $(SFLAG) $(WINFLAG)
obj/title.o: src/title.cpp src/aglogo.h src/colors.h src/gamedata.h src/gui.h src/items.h src/jwin.h src/jwinfsel.h src/link.h src/maps.h src/matrix.h src/pal.h src/qst.h src/sfx.h src/sprite.h src/subscr.h src/tab_ctl.h src/tiles.h src/title.h src/zc_alleg.h src/zc_custom.h src/zc_sys.h src/zcmusic.h src/zdefs.h src/zelda.h src/zeldadat.h src/zsys.h
$(CC) $(OPTS) $(CFLAG) -c src/title.cpp -o obj/title.o $(SFLAG) $(WINFLAG)
obj/weapons.o: src/weapons.cpp src/aglogo.h src/colors.h src/gamedata.h src/items.h src/jwin.h src/jwinfsel.h src/link.h src/maps.h src/matrix.h src/pal.h src/qst.h src/sfx.h src/sprite.h src/subscr.h src/tab_ctl.h src/tiles.h src/weapons.h src/zc_alleg.h src/zc_custom.h src/zc_sys.h src/zcmusic.h src/zdefs.h src/zelda.h src/zeldadat.h src/zsys.h
$(CC) $(OPTS) $(CFLAG) -c src/weapons.cpp -o obj/weapons.o $(SFLAG) $(WINFLAG)
obj/zc_custom.o: src/zc_custom.cpp src/gamedata.h src/jwin.h src/sfx.h src/tab_ctl.h src/zc_alleg.h src/zc_custom.h src/zc_sys.h src/zcmusic.h src/zdefs.h src/zelda.h src/zeldadat.h src/zsys.h
$(CC) $(OPTS) $(CFLAG) -c src/zc_custom.cpp -o obj/zc_custom.o $(SFLAG) $(WINFLAG)
obj/zc_icon.o: $(ZC_ICON_DEPS)
$(ZC_ICON_CMD)
obj/zc_init.o: src/zc_init.cpp src/aglogo.h src/colors.h src/gamedata.h src/gui.h src/init.h src/items.h src/jwin.h src/jwinfsel.h src/link.h src/maps.h src/matrix.h src/midi.h src/pal.h src/qst.h src/sfx.h src/sprite.h src/subscr.h src/tab_ctl.h src/tiles.h src/zc_alleg.h src/zc_custom.h src/zc_init.h src/zc_sys.h src/zcmusic.h src/zdefs.h src/zelda.h src/zeldadat.h src/zq_init.h src/zquest.h src/zsys.h
$(CC) $(OPTS) $(CFLAG) -c src/zc_init.cpp -o obj/zc_init.o $(SFLAG) $(WINFLAG)
obj/zc_items.o: src/zc_items.cpp src/gamedata.h src/guys.h src/jwin.h src/maps.h src/sfx.h src/sprite.h src/tab_ctl.h src/weapons.h src/zc_alleg.h src/zc_sys.h src/zcmusic.h src/zdefs.h src/zelda.h src/zeldadat.h src/zsys.h
$(CC) $(OPTS) $(CFLAG) -c src/zc_items.cpp -o obj/zc_items.o $(SFLAG) $(WINFLAG)
obj/zc_sprite.o: src/zc_sprite.cpp src/gamedata.h src/jwin.h src/maps.h src/sfx.h src/sprite.h src/tab_ctl.h src/tiles.h src/zc_alleg.h src/zc_sys.h src/zcmusic.h src/zdefs.h src/zelda.h src/zeldadat.h src/zsys.h
$(CC) $(OPTS) $(CFLAG) -c src/zc_sprite.cpp -o obj/zc_sprite.o $(SFLAG) $(WINFLAG)
obj/zc_subscr.o: src/zc_subscr.cpp src/aglogo.h src/colors.h src/gamedata.h src/guys.h src/items.h src/jwin.h src/jwinfsel.h src/link.h src/maps.h src/matrix.h src/pal.h src/qst.h src/sfx.h src/sprite.h src/subscr.h src/tab_ctl.h src/tiles.h src/weapons.h src/zc_alleg.h src/zc_custom.h src/zc_subscr.h src/zc_sys.h src/zcmusic.h src/zdefs.h src/zelda.h src/zeldadat.h src/zsys.h
$(CC) $(OPTS) $(CFLAG) -c src/zc_subscr.cpp -o obj/zc_subscr.o $(SFLAG) $(WINFLAG)
obj/zc_sys.o: src/zc_sys.cpp src/aglogo.h src/colors.h src/debug.h src/gamedata.h src/gui.h src/guys.h src/init.h src/items.h src/jwin.h src/jwinfsel.h src/link.h src/maps.h src/matrix.h src/midi.h src/pal.h src/particles.h src/qst.h src/sfx.h src/sprite.h src/subscr.h src/tab_ctl.h src/tiles.h src/title.h src/weapons.h src/zc_alleg.h src/zc_custom.h src/zc_init.h src/zc_sys.h src/zcmusic.h src/zdefs.h src/zelda.h src/zeldadat.h src/zquest.h src/zsys.h
$(CC) $(OPTS) $(CFLAG) -c src/zc_sys.cpp -o obj/zc_sys.o $(SFLAG) $(WINFLAG)
obj/zelda.o: src/zelda.cpp src/aglogo.h src/colors.h src/ending.h src/ffscript.h src/fontsdat.h src/gamedata.h src/guys.h src/init.h src/items.h src/jwin.h src/jwinfsel.h src/link.h src/load_gif.h src/maps.h src/matrix.h src/pal.h src/particles.h src/qst.h src/save_gif.h src/sfx.h src/sprite.h src/subscr.h src/tab_ctl.h src/tiles.h src/title.h src/weapons.h src/zc_alleg.h src/zc_custom.h src/zc_sys.h src/zcmusic.h src/zdefs.h src/zelda.h src/zeldadat.h src/zsys.h
$(CC) $(OPTS) $(CFLAG) -c src/zelda.cpp -o obj/zelda.o $(SFLAG) $(WINFLAG)
obj/zscriptversion.o: src/zscriptversion.cpp src/zscriptversion.h src/zelda.h src/link.h src/zdefs.h
$(CC) $(OPTS) $(CFLAG) -c src/zscriptversion.cpp -o obj/zscriptversion.o $(SFLAG) $(WINFLAG)
obj/win32.o: src/win32.cpp src/win32.h
$(CC) $(OPTS) $(CFLAG) -c src/win32.cpp -o obj/win32.o $(SFLAG) $(WINFLAG)
obj/zq_class.o: src/zq_class.cpp src/colors.h src/gamedata.h src/gui.h src/items.h src/jwin.h src/jwinfsel.h src/maps.h src/md5.h src/midi.h src/qst.h src/sfx.h src/sprite.h src/subscr.h src/tab_ctl.h src/tiles.h src/zc_alleg.h src/zc_custom.h src/zc_sys.h src/zcmusic.h src/zdefs.h src/zq_class.h src/zq_misc.h src/zq_subscr.h src/zquest.h src/zquestdat.h src/zsys.h
$(CC) $(OPTS) $(CFLAG) -c src/zq_class.cpp -o obj/zq_class.o $(SFLAG) $(WINFLAG)
obj/zq_cset.o: src/zq_cset.cpp src/colors.h src/gamedata.h src/gfxpal.h src/gui.h src/jwin.h src/jwinfsel.h src/midi.h src/pal.h src/sfx.h src/sprite.h src/tab_ctl.h src/zc_alleg.h src/zcmusic.h src/zdefs.h src/zq_cset.h src/zq_misc.h src/zq_tiles.h src/zquest.h src/zsys.h
$(CC) $(OPTS) $(CFLAG) -c src/zq_cset.cpp -o obj/zq_cset.o $(SFLAG) $(WINFLAG)
obj/zq_custom.o: src/zq_custom.cpp src/defdata.h src/ffasm.h src/ffscript.h src/gamedata.h src/gui.h src/guys.h src/init.h src/items.h src/jwin.h src/jwinfsel.h src/midi.h src/sfx.h src/sprite.h src/tab_ctl.h src/tiles.h src/weapons.h src/zc_alleg.h src/zc_custom.h src/zcmusic.h src/zdefs.h src/zq_custom.h src/zq_misc.h src/zq_tiles.h src/zquest.h src/zsys.h
$(CC) $(OPTS) $(CFLAG) -c src/zq_custom.cpp -o obj/zq_custom.o $(SFLAG) $(WINFLAG)
obj/zq_doors.o: src/zq_doors.cpp src/gamedata.h src/gui.h src/jwin.h src/jwinfsel.h src/midi.h src/sfx.h src/sprite.h src/tab_ctl.h src/tiles.h src/zc_alleg.h src/zc_sys.h src/zcmusic.h src/zdefs.h src/zq_class.h src/zq_misc.h src/zq_tiles.h src/zquest.h src/zsys.h
$(CC) $(OPTS) $(CFLAG) -c src/zq_doors.cpp -o obj/zq_doors.o $(SFLAG) $(WINFLAG)
obj/zq_files.o: src/zq_files.cpp src/gamedata.h src/gui.h src/items.h src/jwin.h src/jwinfsel.h src/midi.h src/qst.h src/sfx.h src/sprite.h src/subscr.h src/tab_ctl.h src/tiles.h src/zc_alleg.h src/zcmusic.h src/zdefs.h src/zq_class.h src/zq_custom.h src/zq_files.h src/zq_misc.h src/zq_tiles.h src/zquest.h src/zsys.h
$(CC) $(OPTS) $(CFLAG) -c src/zq_files.cpp -o obj/zq_files.o $(SFLAG) $(WINFLAG)
obj/zq_icon.o: $(ZQ_ICON_DEPS)
$(ZQ_ICON_CMD)
obj/zq_init.o: src/zq_init.cpp src/gamedata.h src/gui.h src/init.h src/jwin.h src/jwinfsel.h src/midi.h src/sprite.h src/tab_ctl.h src/zc_alleg.h src/zcmusic.h src/zdefs.h src/zq_init.h src/zquest.h src/zsys.h
$(CC) $(OPTS) $(CFLAG) -c src/zq_init.cpp -o obj/zq_init.o $(SFLAG) $(WINFLAG)
obj/zq_items.o: src/zq_items.cpp src/gamedata.h src/zc_alleg.h src/zdefs.h src/zq_class.h
$(CC) $(OPTS) $(CFLAG) -c src/zq_items.cpp -o obj/zq_items.o $(SFLAG) $(WINFLAG)
obj/zq_misc.o: src/zq_misc.cpp src/colors.h src/gamedata.h src/items.h src/jwin.h src/jwinfsel.h src/midi.h src/qst.h src/sfx.h src/sprite.h src/subscr.h src/tab_ctl.h src/zc_alleg.h src/zcmusic.h src/zdefs.h src/zq_class.h src/zq_misc.h src/zquest.h src/zquestdat.h src/zsys.h
$(CC) $(OPTS) $(CFLAG) -c src/zq_misc.cpp -o obj/zq_misc.o $(SFLAG) $(WINFLAG)
obj/zq_rules.o: src/zq_rules.cpp src/gamedata.h src/gui.h src/jwin.h src/jwinfsel.h src/midi.h src/sprite.h src/tab_ctl.h src/zc_alleg.h src/zcmusic.h src/zdefs.h src/zq_custom.h src/zquest.h src/zsys.h
$(CC) $(OPTS) $(CFLAG) -c src/zq_rules.cpp -o obj/zq_rules.o $(SFLAG) $(WINFLAG)
obj/zq_sprite.o: src/zq_sprite.cpp src/gamedata.h src/sprite.h src/zc_alleg.h src/zdefs.h
$(CC) $(OPTS) $(CFLAG) -c src/zq_sprite.cpp -o obj/zq_sprite.o $(SFLAG) $(WINFLAG)
obj/zq_strings.o: src/zq_strings.cpp src/zq_strings.h src/zquest.h
$(CC) $(OPTS) $(CFLAG) -c src/zq_strings.cpp -o obj/zq_strings.o $(SFLAG) $(WINFLAG)
obj/zq_subscr.o: src/zq_subscr.cpp src/gamedata.h src/gui.h src/init.h src/items.h src/jwin.h src/jwinfsel.h src/midi.h src/qst.h src/sfx.h src/sprite.h src/subscr.h src/tab_ctl.h src/tiles.h src/zc_alleg.h src/zcmusic.h src/zdefs.h src/zq_misc.h src/zq_subscr.h src/zquest.h src/zsys.h
$(CC) $(OPTS) $(CFLAG) -c src/zq_subscr.cpp -o obj/zq_subscr.o $(SFLAG) $(WINFLAG)
obj/zq_tiles.o: src/zq_tiles.cpp src/colors.h src/gamedata.h src/gui.h src/items.h src/jwin.h src/jwinfsel.h src/midi.h src/qst.h src/sfx.h src/sprite.h src/subscr.h src/tab_ctl.h src/tiles.h src/zc_alleg.h src/zc_custom.h src/zcmusic.h src/zdefs.h src/zq_class.h src/zq_misc.h src/zq_tiles.h src/zqscale.h src/zquest.h src/zquestdat.h src/zsys.h
$(CC) $(OPTS) -D_ZQUEST_SCALE_ $(CFLAG) -c src/zq_tiles.cpp -o obj/zq_tiles.o $(SFLAG) $(WINFLAG)
obj/zqscale.o: src/zqscale.cpp
$(CC) $(OPTS) $(CFLAG) -c src/zqscale.cpp -o obj/zqscale.o $(SFLAG) $(WINFLAG)
obj/zquest.o: src/zquest.cpp src/colors.h src/editbox.h src/EditboxNew.h src/ffasm.h src/ffscript.h src/fontsdat.h src/gamedata.h src/gui.h src/items.h src/jwin.h src/jwinfsel.h src/load_gif.h src/midi.h src/parser/Compiler.h src/qst.h src/save_gif.h src/sfx.h src/sprite.h src/subscr.h src/tab_ctl.h src/tiles.h src/zc_alleg.h src/zcmusic.h src/zdefs.h src/zq_class.h src/zq_cset.h src/zq_custom.h src/zq_doors.h src/zq_files.h src/zq_init.h src/zq_misc.h src/zq_rules.h src/zq_subscr.h src/zq_tiles.h src/zquest.h src/zquestdat.h src/zsys.h
$(CC) $(OPTS) -D_ZQUEST_SCALE_ $(CFLAG) -c src/zquest.cpp -o obj/zquest.o $(SFLAG) $(WINFLAG)
obj/zsys.o: src/zsys.cpp src/gamedata.h src/jwin.h src/tab_ctl.h src/zc_alleg.h src/zc_sys.h src/zdefs.h src/zsys.h
$(CC) $(OPTS) $(CFLAG) -c src/zsys.cpp -o obj/zsys.o $(SFLAG) $(WINFLAG)
obj/parser/AST.o: src/parser/AST.cpp src/parser/AST.h src/parser/Compiler.h src/parser/y.tab.hpp
$(CC) $(OPTS) $(CFLAG) -c src/parser/AST.cpp -o obj/parser/AST.o $(SFLAG) $(WINFLAG)
obj/parser/BuildVisitors.o: src/parser/BuildVisitors.cpp src/zsyssimple.h src/parser/AST.h src/parser/BuildVisitors.h src/parser/ByteCode.h src/parser/Compiler.h src/parser/DataStructs.h src/parser/ParseError.h src/parser/UtilVisitors.h src/parser/y.tab.hpp
$(CC) $(OPTS) $(CFLAG) -c src/parser/BuildVisitors.cpp -o obj/parser/BuildVisitors.o $(SFLAG) $(WINFLAG)
obj/parser/ByteCode.o: src/parser/ByteCode.cpp src/zsyssimple.h src/parser/AST.h src/parser/ByteCode.h src/parser/Compiler.h src/parser/DataStructs.h src/parser/ParseError.h src/parser/UtilVisitors.h src/parser/y.tab.hpp
$(CC) $(OPTS) $(CFLAG) -c src/parser/ByteCode.cpp -o obj/parser/ByteCode.o $(SFLAG) $(WINFLAG)
obj/parser/DataStructs.o: src/parser/DataStructs.cpp src/zsyssimple.h src/parser/AST.h src/parser/Compiler.h src/parser/DataStructs.h src/parser/y.tab.hpp
$(CC) $(OPTS) $(CFLAG) -c src/parser/DataStructs.cpp -o obj/parser/DataStructs.o $(SFLAG) $(WINFLAG)
obj/parser/GlobalSymbols.o: src/parser/GlobalSymbols.cpp src/zsyssimple.h src/parser/AST.h src/parser/ByteCode.h src/parser/Compiler.h src/parser/DataStructs.h src/parser/GlobalSymbols.h src/parser/UtilVisitors.h src/parser/y.tab.hpp
$(CC) $(OPTS) $(CFLAG) -c src/parser/GlobalSymbols.cpp -o obj/parser/GlobalSymbols.o $(SFLAG) $(WINFLAG)
obj/parser/lex.yy.o: src/parser/lex.yy.cpp src/zsyssimple.h src/parser/AST.h src/parser/Compiler.h src/parser/y.tab.hpp
$(CC) $(OPTS) $(CFLAG) -c src/parser/lex.yy.cpp -o obj/parser/lex.yy.o $(SFLAG) $(WINFLAG)
obj/parser/ParseError.o: src/parser/ParseError.cpp src/zsyssimple.h src/parser/AST.h src/parser/Compiler.h src/parser/ParseError.h src/parser/y.tab.hpp
$(CC) $(OPTS) $(CFLAG) -c src/parser/ParseError.cpp -o obj/parser/ParseError.o $(SFLAG) $(WINFLAG)
obj/parser/ScriptParser.o: src/parser/ScriptParser.cpp src/zsyssimple.h src/parser/AST.h src/parser/BuildVisitors.h src/parser/ByteCode.h src/parser/Compiler.h src/parser/DataStructs.h src/parser/GlobalSymbols.h src/parser/ParseError.h src/parser/SymbolVisitors.h src/parser/TypeChecker.h src/parser/UtilVisitors.h src/parser/y.tab.hpp
$(CC) $(OPTS) $(CFLAG) -c src/parser/ScriptParser.cpp -o obj/parser/ScriptParser.o $(SFLAG) $(WINFLAG)
obj/parser/SymbolVisitors.o: src/parser/SymbolVisitors.cpp src/parser/AST.h src/parser/Compiler.h src/parser/DataStructs.h src/parser/ParseError.h src/parser/SymbolVisitors.h src/parser/UtilVisitors.h src/parser/y.tab.hpp
$(CC) $(OPTS) $(CFLAG) -c src/parser/SymbolVisitors.cpp -o obj/parser/SymbolVisitors.o $(SFLAG) $(WINFLAG)
obj/parser/TypeChecker.o: src/parser/TypeChecker.cpp src/zsyssimple.h src/parser/AST.h src/parser/Compiler.h src/parser/DataStructs.h src/parser/GlobalSymbols.h src/parser/ParseError.h src/parser/TypeChecker.h src/parser/UtilVisitors.h src/parser/y.tab.hpp
$(CC) $(OPTS) $(CFLAG) -c src/parser/TypeChecker.cpp -o obj/parser/TypeChecker.o $(SFLAG) $(WINFLAG)
obj/parser/UtilVisitors.o: src/parser/UtilVisitors.cpp src/zsyssimple.h src/parser/AST.h src/parser/Compiler.h src/parser/ParseError.h src/parser/UtilVisitors.h src/parser/y.tab.hpp
$(CC) $(OPTS) $(CFLAG) -c src/parser/UtilVisitors.cpp -o obj/parser/UtilVisitors.o $(SFLAG) $(WINFLAG)
obj/parser/y.tab.o: src/parser/y.tab.cpp src/zsyssimple.h src/parser/AST.h src/parser/Compiler.h src/parser/UtilVisitors.h src/parser/y.tab.hpp
$(CC) $(OPTS) $(CFLAG) -c src/parser/y.tab.cpp -o obj/parser/y.tab.o $(SFLAG) $(WINFLAG)


[/spoiler]

Many warnings, and the repo is missing zmusic.o.

The code calls for objects under ./obj/* ... These are not in the repository.

I don't know. Some of it's all right, I guess. Everything under dialog/, gui/, and sequence/ is garbage. Some of the changes to Link don't work right. The changes to items and rooms are mostly stupid and currently broken. Various refactorings and rewritings are just awful.

ZoriaRPG wrote:Where does MSYS expect the allegro files to be located? Looking at the makefile, there is no special include path set for them.

Somewhere on the include paths. Allegro's make install should put them where they need to be, assuming you set MINGDIR correctly.

ZoriaRPG wrote:The code calls for objects under ./obj/* ... These are not in the repository.

Object files are built by the compiler.

Saffith wrote:I don't know. Some of it's all right, I guess. Everything under dialog/, gui/, and sequence/ is garbage. Some of the changes to Link don't work right. The changes to items and rooms are mostly stupid and currently broken. Various refactorings and rewritings are just awful.

Ah, got it. I haven't looked too much at those things directly but I understand now. Is it strange that I somehow didn't encounter any of those bugs?

Saffith wrote:I don't know. Some of it's all right, I guess. Everything under dialog/, gui/, and sequence/ is garbage. Some of the changes to Link don't work right. The changes to items and rooms are mostly stupid and currently broken. Various refactorings and rewritings are just awful.

Somewhere on the include paths. Allegro's make install should put them where they need to be, assuming you set MINGDIR correctly.

Object files are built by the compiler.

It was because there was no 'obj' directory path in which to build it...and the makefile isn't generating it.

Does MSYS have an option for Make to output all warnings, and errors to a text logfile? Unfortunately, MSYS does not allow click selection of text in its terminal window.

I've tried the typical Linux things:
make > logfile.txt >2&1
make logfile.txt |

No positive results, and there is a steady strea of warnins that you may wish to note.

Even the makefile above halts with include errors, and I had to further dump the includes to:

drive:\MinGW\lib\gcc\mingw32\5.3.0\include

That is apparently the default include path for MSYS, not ( drive:\MinGW\include ).

I further had to create the path ./obj/parser

It did compile, and the binaries do run.; although zlaunch.exe was not generated by it.