sm64coopdx/text/us/dialogs.h
Isaac0-dev 663e4549d8
extract assets from rom at runtime (#4)
* Proof of concept for loading rom assets at runtime

* Added skybox textures

* Adjusted format

* Load all texture assets from rom

* Adjusted rom asset loading

* Load all Vtx lists from rom

* clean up toad, wario and his cap conflicts

* Load sound samples from rom

* fix toad sounds

* Loaded sequences from rom

* Load collisions from rom

* Object animations are now loaded from the rom

* Load player animations from rom

* Load goddard anims from rom

* whoops

* fix some compile errors

* drag and drop rom checker, everything works now.

* fix errors due to merge conflicts

* fix compile errors on windows, switch to md5

* fix vertex colors during load

Co-Authored-By: Agent X <44549182+agent-11@users.noreply.github.com>

* Load dialogs from rom

* Loaded course/act names from rom

* Loaded ingame text from rom

* rerun autogen & blacklist smlua_text_utils_init

* fix ttc_seg7_vertex_0700B238 colors

---------

Co-authored-by: MysterD <myster@d>
Co-authored-by: Agent X <44549182+agent-11@users.noreply.github.com>
2024-03-23 16:11:30 -04:00

342 lines
7.8 KiB
C

// Parameters: dialog enum ID, (unused), lines per box, left offset, width
DEFINE_DIALOG(DIALOG_000, 1, 6, 30, 200, 373)
DEFINE_DIALOG(DIALOG_001, 1, 4, 95, 200, 401)
DEFINE_DIALOG(DIALOG_002, 1, 4, 95, 200, 287)
DEFINE_DIALOG(DIALOG_003, 1, 5, 95, 200, 307)
DEFINE_DIALOG(DIALOG_004, 1, 3, 95, 200, 184)
DEFINE_DIALOG(DIALOG_005, 1, 3, 30, 200, 331)
DEFINE_DIALOG(DIALOG_006, 1, 3, 30, 200, 110)
DEFINE_DIALOG(DIALOG_007, 1, 5, 30, 200, 112)
DEFINE_DIALOG(DIALOG_008, 1, 4, 30, 200, 209)
DEFINE_DIALOG(DIALOG_009, 1, 5, 30, 200, 257)
DEFINE_DIALOG(DIALOG_010, 1, 4, 30, 200, 174)
DEFINE_DIALOG(DIALOG_011, 1, 4, 30, 200, 178)
DEFINE_DIALOG(DIALOG_012, 1, 4, 30, 200, 177)
DEFINE_DIALOG(DIALOG_013, 1, 5, 30, 200, 97)
DEFINE_DIALOG(DIALOG_014, 1, 4, 30, 200, 113)
DEFINE_DIALOG(DIALOG_015, 1, 4, 30, 200, 175)
DEFINE_DIALOG(DIALOG_016, 1, 3, 30, 200, 74)
DEFINE_DIALOG(DIALOG_017, 1, 4, 30, 200, 444)
DEFINE_DIALOG(DIALOG_018, 1, 4, 30, 200, 90)
DEFINE_DIALOG(DIALOG_019, 1, 2, 30, 200, 40)
DEFINE_DIALOG(DIALOG_020, 1, 6, 95, 150, 95)
DEFINE_DIALOG(DIALOG_021, 1, 5, 95, 200, 68)
DEFINE_DIALOG(DIALOG_022, 1, 2, 95, 200, 34)
DEFINE_DIALOG(DIALOG_023, 1, 3, 95, 200, 51)
DEFINE_DIALOG(DIALOG_024, 1, 5, 95, 200, 110)
DEFINE_DIALOG(DIALOG_025, 1, 4, 95, 200, 70)
DEFINE_DIALOG(DIALOG_026, 1, 4, 95, 200, 70)
DEFINE_DIALOG(DIALOG_027, 1, 4, 95, 200, 71)
DEFINE_DIALOG(DIALOG_028, 1, 4, 95, 200, 71)
DEFINE_DIALOG(DIALOG_029, 1, 5, 95, 200, 77)
DEFINE_DIALOG(DIALOG_030, 1, 6, 30, 200, 448)
DEFINE_DIALOG(DIALOG_031, 1, 5, 30, 200, 188)
DEFINE_DIALOG(DIALOG_032, 1, 5, 30, 200, 245)
DEFINE_DIALOG(DIALOG_033, 1, 6, 30, 200, 260)
DEFINE_DIALOG(DIALOG_034, 1, 6, 30, 200, 613)
DEFINE_DIALOG(DIALOG_035, 1, 5, 30, 200, 413)
DEFINE_DIALOG(DIALOG_036, 1, 5, 30, 200, 271)
DEFINE_DIALOG(DIALOG_037, 1, 2, 30, 200, 97)
DEFINE_DIALOG(DIALOG_038, 1, 3, 95, 200, 47)
DEFINE_DIALOG(DIALOG_039, 1, 4, 30, 200, 373)
DEFINE_DIALOG(DIALOG_040, 1, 3, 30, 200, 36)
DEFINE_DIALOG(DIALOG_041, 1, 3, 30, 200, 101)
DEFINE_DIALOG(DIALOG_042, 1, 4, 30, 200, 307)
DEFINE_DIALOG(DIALOG_043, 1, 5, 30, 200, 110)
DEFINE_DIALOG(DIALOG_044, 1, 5, 95, 200, 284)
DEFINE_DIALOG(DIALOG_045, 1, 6, 95, 200, 130)
DEFINE_DIALOG(DIALOG_046, 1, 5, 30, 200, 472)
DEFINE_DIALOG(DIALOG_047, 1, 2, 95, 200, 33)
DEFINE_DIALOG(DIALOG_048, 1, 4, 30, 200, 82)
DEFINE_DIALOG(DIALOG_049, 1, 5, 30, 200, 235)
DEFINE_DIALOG(DIALOG_050, 1, 4, 30, 200, 243)
DEFINE_DIALOG(DIALOG_051, 1, 6, 30, 200, 287)
DEFINE_DIALOG(DIALOG_052, 1, 5, 30, 200, 181)
DEFINE_DIALOG(DIALOG_053, 1, 5, 30, 200, 162)
DEFINE_DIALOG(DIALOG_054, 1, 5, 30, 200, 105)
DEFINE_DIALOG(DIALOG_055, 1, 4, 30, 200, 230)
DEFINE_DIALOG(DIALOG_056, 1, 6, 30, 200, 193)
DEFINE_DIALOG(DIALOG_057, 1, 4, 30, 200, 240)
DEFINE_DIALOG(DIALOG_058, 1, 4, 30, 200, 160)
DEFINE_DIALOG(DIALOG_059, 1, 4, 30, 200, 81)
DEFINE_DIALOG(DIALOG_060, 1, 4, 30, 200, 468)
DEFINE_DIALOG(DIALOG_061, 1, 4, 30, 200, 70)
DEFINE_DIALOG(DIALOG_062, 1, 3, 30, 200, 200)
DEFINE_DIALOG(DIALOG_063, 1, 5, 30, 200, 178)
DEFINE_DIALOG(DIALOG_064, 1, 5, 30, 200, 205)
DEFINE_DIALOG(DIALOG_065, 1, 6, 30, 200, 480)
DEFINE_DIALOG(DIALOG_066, 1, 5, 30, 200, 507)
DEFINE_DIALOG(DIALOG_067, 1, 5, 30, 200, 198)
DEFINE_DIALOG(DIALOG_068, 1, 5, 30, 200, 167)
DEFINE_DIALOG(DIALOG_069, 1, 6, 30, 200, 122)
DEFINE_DIALOG(DIALOG_070, 1, 5, 30, 200, 535)
DEFINE_DIALOG(DIALOG_071, 1, 3, 30, 200, 146)
DEFINE_DIALOG(DIALOG_072, 1, 5, 30, 200, 98)
DEFINE_DIALOG(DIALOG_073, 1, 4, 95, 200, 192)
DEFINE_DIALOG(DIALOG_074, 1, 5, 30, 200, 304)
DEFINE_DIALOG(DIALOG_075, 1, 5, 30, 200, 528)
DEFINE_DIALOG(DIALOG_076, 1, 6, 30, 200, 363)
DEFINE_DIALOG(DIALOG_077, 1, 2, 150, 200, 46)
DEFINE_DIALOG(DIALOG_078, 1, 5, 30, 200, 197)
DEFINE_DIALOG(DIALOG_079, 1, 4, 30, 200, 192)
DEFINE_DIALOG(DIALOG_080, 1, 1, 30, 200, 18)
DEFINE_DIALOG(DIALOG_081, 1, 4, 30, 200, 123)
DEFINE_DIALOG(DIALOG_082, 1, 4, 30, 200, 400)
DEFINE_DIALOG(DIALOG_083, 1, 6, 30, 200, 137)
DEFINE_DIALOG(DIALOG_084, 1, 3, 30, 200, 249)
DEFINE_DIALOG(DIALOG_085, 1, 5, 30, 200, 107)
DEFINE_DIALOG(DIALOG_086, 1, 3, 30, 200, 61)
DEFINE_DIALOG(DIALOG_087, 1, 4, 30, 200, 88)
DEFINE_DIALOG(DIALOG_088, 1, 5, 30, 200, 90)
DEFINE_DIALOG(DIALOG_089, 1, 5, 95, 200, 252)
DEFINE_DIALOG(DIALOG_090, 1, 6, 30, 200, 108)
DEFINE_DIALOG(DIALOG_091, 2, 2, 30, 200, 53)
DEFINE_DIALOG(DIALOG_092, 1, 5, 30, 200, 182)
DEFINE_DIALOG(DIALOG_093, 1, 5, 30, 200, 238)
DEFINE_DIALOG(DIALOG_094, 1, 4, 30, 200, 77)
DEFINE_DIALOG(DIALOG_095, 1, 4, 30, 200, 219)
DEFINE_DIALOG(DIALOG_096, 1, 4, 30, 200, 176)
DEFINE_DIALOG(DIALOG_097, 1, 5, 30, 200, 117)
DEFINE_DIALOG(DIALOG_098, 1, 2, 95, 200, 39)
// unused
DEFINE_DIALOG(DIALOG_099, 1, 5, 95, 200, 104)
DEFINE_DIALOG(DIALOG_100, 1, 3, 95, 200, 70)
DEFINE_DIALOG(DIALOG_101, 1, 3, 95, 200, 217)
DEFINE_DIALOG(DIALOG_102, 1, 5, 30, 200, 197)
DEFINE_DIALOG(DIALOG_103, 1, 4, 95, 200, 74)
DEFINE_DIALOG(DIALOG_104, 1, 5, 30, 200, 108)
DEFINE_DIALOG(DIALOG_105, 1, 3, 95, 200, 221)
DEFINE_DIALOG(DIALOG_106, 1, 2, 95, 200, 48)
DEFINE_DIALOG(DIALOG_107, 1, 3, 95, 200, 80)
DEFINE_DIALOG(DIALOG_108, 1, 2, 95, 200, 89)
DEFINE_DIALOG(DIALOG_109, 1, 4, 95, 200, 184)
DEFINE_DIALOG(DIALOG_110, 1, 5, 95, 200, 112)
DEFINE_DIALOG(DIALOG_111, 1, 4, 95, 200, 87)
DEFINE_DIALOG(DIALOG_112, 1, 4, 30, 200, 267)
DEFINE_DIALOG(DIALOG_113, 1, 6, 30, 200, 121)
DEFINE_DIALOG(DIALOG_114, 1, 5, 95, 200, 269)
DEFINE_DIALOG(DIALOG_115, 1, 5, 95, 200, 116)
DEFINE_DIALOG(DIALOG_116, 1, 5, 95, 200, 358)
DEFINE_DIALOG(DIALOG_117, 1, 1, 95, 200, 163)
DEFINE_DIALOG(DIALOG_118, 1, 6, 95, 200, 157)
DEFINE_DIALOG(DIALOG_119, 1, 6, 30, 200, 251)
DEFINE_DIALOG(DIALOG_120, 1, 4, 30, 200, 251)
DEFINE_DIALOG(DIALOG_121, 1, 5, 30, 200, 255)
DEFINE_DIALOG(DIALOG_122, 1, 4, 30, 200, 75)
DEFINE_DIALOG(DIALOG_123, 1, 4, 30, 200, 56)
DEFINE_DIALOG(DIALOG_124, 1, 4, 30, 200, 109)
DEFINE_DIALOG(DIALOG_125, 1, 3, 30, 200, 46)
DEFINE_DIALOG(DIALOG_126, 2, 3, 30, 200, 50)
DEFINE_DIALOG(DIALOG_127, 3, 4, 30, 200, 170)
DEFINE_DIALOG(DIALOG_128, 1, 4, 95, 200, 86)
DEFINE_DIALOG(DIALOG_129, 1, 5, 30, 200, 234)
DEFINE_DIALOG(DIALOG_130, 1, 5, 30, 200, 181)
DEFINE_DIALOG(DIALOG_131, 1, 5, 30, 200, 357)
DEFINE_DIALOG(DIALOG_132, 1, 4, 30, 200, 152)
DEFINE_DIALOG(DIALOG_133, 1, 6, 30, 200, 566)
DEFINE_DIALOG(DIALOG_134, 1, 5, 30, 200, 300)
DEFINE_DIALOG(DIALOG_135, 1, 5, 30, 200, 335)
DEFINE_DIALOG(DIALOG_136, 1, 6, 30, 200, 493)
DEFINE_DIALOG(DIALOG_137, 1, 6, 30, 200, 251)
DEFINE_DIALOG(DIALOG_138, 1, 3, 30, 200, 66)
DEFINE_DIALOG(DIALOG_139, 1, 6, 30, 200, 118)
DEFINE_DIALOG(DIALOG_140, 1, 6, 30, 200, 95)
DEFINE_DIALOG(DIALOG_141, 1, 5, 150, 200, 299)
DEFINE_DIALOG(DIALOG_142, 1, 5, 150, 200, 186)
DEFINE_DIALOG(DIALOG_143, 1, 6, 150, 200, 138)
DEFINE_DIALOG(DIALOG_144, 1, 6, 150, 200, 337)
DEFINE_DIALOG(DIALOG_145, 1, 6, 150, 200, 279)
DEFINE_DIALOG(DIALOG_146, 1, 6, 150, 200, 136)
DEFINE_DIALOG(DIALOG_147, 1, 5, 30, 200, 331)
DEFINE_DIALOG(DIALOG_148, 1, 6, 30, 200, 201)
DEFINE_DIALOG(DIALOG_149, 1, 3, 30, 200, 206)
DEFINE_DIALOG(DIALOG_150, 1, 5, 30, 200, 303)
DEFINE_DIALOG(DIALOG_151, 1, 4, 30, 200, 127)
DEFINE_DIALOG(DIALOG_152, 1, 3, 30, 200, 235)
DEFINE_DIALOG(DIALOG_153, 1, 4, 30, 200, 130)
DEFINE_DIALOG(DIALOG_154, 1, 5, 30, 200, 282)
DEFINE_DIALOG(DIALOG_155, 1, 6, 30, 200, 330)
DEFINE_DIALOG(DIALOG_156, 1, 5, 30, 200, 92)
DEFINE_DIALOG(DIALOG_157, 1, 5, 30, 200, 185)
DEFINE_DIALOG(DIALOG_158, 1, 6, 30, 200, 260)
DEFINE_DIALOG(DIALOG_159, 1, 6, 30, 200, 126)
DEFINE_DIALOG(DIALOG_160, 1, 4, 30, 200, 92)
DEFINE_DIALOG(DIALOG_161, 1, 4, 30, 200, 530)
DEFINE_DIALOG(DIALOG_162, 1, 4, 30, 200, 243)
DEFINE_DIALOG(DIALOG_163, 1, 5, 30, 200, 411)
DEFINE_DIALOG(DIALOG_164, 1, 4, 30, 200, 205)
DEFINE_DIALOG(DIALOG_165, 1, 5, 30, 200, 104)
DEFINE_DIALOG(DIALOG_166, 1, 4, 30, 200, 79)
DEFINE_DIALOG(DIALOG_167, 1, 4, 30, 200, 170)
DEFINE_DIALOG(DIALOG_168, 1, 5, 30, 200, 97)
DEFINE_DIALOG(DIALOG_169, 1, 4, 30, 200, 107)