Ticket #8797: createKyradat_DlgTim.patch
File createKyradat_DlgTim.patch, 3.9 KB (added by , 17 years ago) |
---|
-
create_kyradat.cpp
213 213 // Ingame 214 214 { k2IngamePakFiles, kTypeStringList, "I_PAKFILES.TXT" }, 215 215 { k2IngameSfxFiles, kTypeStringList, "I_SFXFILES.TXT" }, 216 { k2IngameSfxIndex, kTypeRawData, "I_SFXINDEX. TRA" },216 { k2IngameSfxIndex, kTypeRawData, "I_SFXINDEX.MAP" }, 217 217 { k2IngameTracks, kTypeStringList, "I_TRACKS.TRA" }, 218 218 { k2IngameCDA, kTypeRawData, "I_TRACKS.CDA" }, 219 219 { k2IngameTimIndex, kTypeRawData, "I_TIMINDEX.MAP" }, 220 { k2IngameTimJpStrings, kTypeStringList, "I_TIMJPSTR.TXT" }, 221 220 222 { -1, 0, 0 } 221 223 }; 222 224 … … 254 256 void createFilename(char *dstFilename, const int gid, const int lang, const int special, const char *filename) { 255 257 strcpy(dstFilename, filename); 256 258 257 static const char *gidExtensions[] = { "", ".K2", ".K3" }; 259 static const char *gidExtensions[] = { "", ".K2", ".K3" }; 258 260 strcat(dstFilename, gidExtensions[gid]); 259 261 260 262 for (const SpecialExtension *specialE = specialTable; specialE->special != -1; ++specialE) { … … 277 279 } 278 280 } 279 281 280 static const char *gidExtensions[] = { "", ".K2", ".K3" }; 282 static const char *gidExtensions[] = { "", ".K2", ".K3" }; 281 283 strcat(dstFilename, gidExtensions[gid]); 282 284 283 285 for (const SpecialExtension *specialE = specialTable; specialE->special != -1; ++specialE) { -
create_kyradat.h
159 159 k2IngameSfxIndex, 160 160 k2IngameTracks, 161 161 k2IngameCDA, 162 k2IngameTimIndex, 163 k2IngameTimJpStrings, 162 164 163 165 kMaxResIDs 164 166 }; … … 207 209 208 210 enum kGame { 209 211 kKyra1 = 0, 210 kKyra2 = 1,211 kKyra3 = 2212 kKyra2, 213 kKyra3 212 214 }; 213 215 214 216 struct Game { -
hof_cd.h
27 27 { k2IngameSfxFiles, 0x0002CB30, 0x0002D221 }, 28 28 { k2IngameSfxIndex, 0x000294F0, 0x00029848 }, 29 29 { k2IngameTracks, 0x0002F2FE, 0x0002F37E }, 30 { k2IngameTimIndex, 0x0002BAC2, 0x0002BB46 }, 30 31 { -1, 0, 0 } 31 32 }; 32 33 -
hof_floppy.h
34 34 { k2IngameSfxFiles, 0x00034700, 0x00034DF1 }, 35 35 { k2IngameSfxIndex, 0x0002A710, 0x0002AA68 }, 36 36 { k2IngameTracks, 0x0003B2F2, 0x0003B370 }, 37 { k2IngameTimIndex, 0x00033EB2, 0x00033F2A }, 37 38 { -1, 0, 0 } 38 39 }; 39 40 … … 42 43 { k2IngameSfxFiles, 0x00033E24, 0x00034515 }, 43 44 { k2IngameSfxIndex, 0x000288B0, 0x00028C08 }, 44 45 { k2IngameTracks, 0x0003B2F2, 0x0003B370 }, 46 { k2IngameTimIndex, 0x0003328E, 0x00033306 }, 45 47 { -1, 0, 0 } 46 48 }; 47 49 … … 50 52 { k2IngameSfxFiles, 0x00033ED8, 0x000345C9 }, 51 53 { k2IngameSfxIndex, 0x000288E0, 0x00028C38 }, 52 54 { k2IngameTracks, 0x0003AA8C, 0x0003AB0A }, 55 { k2IngameTimIndex, 0x000332BE, 0x00033336 }, 53 56 { -1, 0, 0 } 54 57 }; 55 58 -
hof_towns.h
18 18 { k2IngameSfxFiles, 0x00003E3C, 0x000047A3 }, 19 19 { k2IngameSfxIndex, 0x00013980, 0x00013CD8 }, 20 20 { k2IngameCDA, 0x0001808C, 0x000181BC }, 21 { k2IngameTimIndex, 0x000199B6, 0x00019A30 }, 22 { k2IngameTimJpStrings, 0x0000677C, 0x000067A9 }, 21 23 { -1, 0, 0 } 22 24 }; 23 25 -
misc.h
382 382 k2IngameSfxFiles, 383 383 k2IngameSfxIndex, 384 384 k2IngameTracks, 385 k2IngameTimIndex, 385 386 -1 386 387 }; 387 388 … … 408 409 k2IngameSfxFiles, 409 410 k2IngameSfxIndex, 410 411 k2IngameTracks, 412 k2IngameTimIndex, 411 413 -1 412 414 }; 413 415 … … 431 433 k2IngameSfxFiles, 432 434 k2IngameSfxIndex, 433 435 k2IngameCDA, 436 k2IngameTimIndex, 437 k2IngameTimJpStrings, 434 438 -1 435 439 }; 436 440