Compare commits

...

452 Commits

Author SHA1 Message Date
Fazana
9a4446d377 Update puppyprint.c 2021-10-27 21:53:39 +01:00
Fazana
316357fbe8 Puppyprint Page overhaul 2021-10-27 18:31:39 +01:00
Arceveti
c79cc991b3 Merge pull request #91 from Reonu/merge_ultrasm64
Merge ultrasm64
2021-10-20 17:15:59 -07:00
Arceveti
d1c87d9bd0 Merge https://github.com/CrashOveride95/ultrasm64 into merge_ultrasm64 2021-10-20 16:46:05 -07:00
Arceveti
854af8cf7b Merge pull request #86 from Reonu/course_complete_1ups
Make course complete 1-Ups from coins work past 150 coins
2021-10-20 15:08:32 -07:00
Arceveti
325b7d9a0d Update src/game/ingame_menu.c
Co-authored-by: thecozies <79979276+thecozies@users.noreply.github.com>
2021-10-20 15:01:45 -07:00
Arceveti
82aa19e4cc Merge pull request #88 from Reonu/fix_redundant_geo_process_animated_part_translation_set
Fix geo_process_animated_part setting translation twice
2021-10-20 15:01:29 -07:00
Arceveti
110efebb24 Make PAINTING_SIZE a float 2021-10-20 14:38:36 -07:00
Arceveti
f6a2999134 Fix geo_process_animated_part setting translation twice 2021-10-20 12:24:39 -07:00
Arceveti
1a43df6bf2 Make course complete 1-Ups from coins work past 150 coins 2021-10-20 12:09:39 -07:00
CrashOveride95
208d526bb6 Make ROM name smaller and change messages printed on build a bit 2021-10-19 22:11:42 -04:00
CrashOveride95
d8c7afebc2 extra 2021-10-19 21:58:26 -04:00
CrashOveride95
eb466b2caf Merge branch 'master' of https://github.com/n64decomp/sm64 2021-10-19 21:58:19 -04:00
Arceveti
4b6d9609a1 Remove GET_BPARAM1234 define 2021-10-19 18:51:57 -07:00
Arceveti
12afa0148f Merge pull request #80 from Reonu/set_get_bparam_changes
Set_get_bparam_changes
2021-10-19 18:49:48 -07:00
Arceveti
c0941c73ba Merge branch 'dev' of https://github.com/Reonu/HackerSM64 into set_get_bparam_changes 2021-10-19 18:43:26 -07:00
Arceveti
2d507c4fc5 Merge pull request #79 from Reonu/goomba_changes
goomba.inc.c improvements
2021-10-19 18:40:11 -07:00
Arceveti
3bf97d6c9c Add ifdef guard to GOOMBA_BP3_FLOOMBA_MIRRORED_STARTUP_ANIM define 2021-10-19 18:16:17 -07:00
Arceveti
432c2904cb Rename GOOMBA_BP3_IS_FLOOMBA to GOOMBA_BP3_FLOOMBA_MIRRORED_STARTUP_ANIM and add it to object_constants.h 2021-10-19 18:15:20 -07:00
Arceveti
8d2dcddfd8 Improve/document GET/SET/etc._BPARAM macros 2021-10-19 17:40:43 -07:00
Arceveti
efaf11b33c Goomba improvements 2021-10-19 17:25:17 -07:00
Arceveti
d46eac0b84 Merge pull request #78 from Reonu/merge_refresh_15
Merge refresh 15
2021-10-19 14:01:14 -07:00
Arceveti
c688de670a Merge https://github.com/n64decomp/sm64 into merge_refresh_15 2021-10-18 21:20:53 -07:00
Arceveti
536e2077dd Make bowser puzzle seamless 2021-10-18 11:46:07 -07:00
Arceveti
b3dc29b538 ModelID typedef usage 2021-10-18 11:30:03 -07:00
Arceveti
dab7b06858 Make coin type inside boo a param1 2021-10-18 11:18:56 -07:00
Arceveti
dc65782309 object_helpers.c cleanup 2021-10-18 10:59:31 -07:00
Arceveti
35969689e6 typedef ObjActionFunc 2021-10-18 10:04:52 -07:00
Arceveti
46579b479d Rename DISABLE_LEVEL_SPECIFIC_CHECKS to DISABLE_VANILLA_LEVEL_SPECIFIC_CHECKS 2021-10-18 09:52:40 -07:00
Arceveti
6418657eea Add FIX_REFLECT_MTX 2021-10-17 22:53:33 -07:00
Arceveti
c6cfb15237 Some GET_BPARAM usage 2021-10-17 22:48:44 -07:00
Arceveti
2a8bf9948b Various object improvements 2021-10-17 22:12:20 -07:00
Arceveti
dad0b74a2e Initialize the correct number of object fields in allocate_object 2021-10-17 21:45:49 -07:00
Arceveti
fe12d438b7 Some enums 2021-10-17 20:48:56 -07:00
Arceveti
7b24734619 v 2021-10-17 20:35:18 -07:00
Arceveti
38df06eefd Merge branch 'master' of https://github.com/Reonu/HackerSM64 into nightly 2021-10-17 20:32:16 -07:00
Arceveti
118c5d88ff Some envfx_bubbles.c cleanup 2021-10-17 20:30:42 -07:00
Arceveti
7fba760389 Puppyprint color presets 2021-10-17 20:29:28 -07:00
Arceveti
1e52ffce78 SCREEN_CENTER_X/Y usage 2021-10-17 20:17:07 -07:00
Arceveti
ee19c27c95 Clean up warp transition type defines 2021-10-17 20:06:13 -07:00
Arceveti
ea421431a7 WOODEN_POST_BP_NO_COINS_MASK -> BPARAM3 2021-10-17 20:01:49 -07:00
Arceveti
390e12b3f9 Various small fixes 2021-10-17 19:27:01 -07:00
Arceveti
d2ebd86d0e Remove some redundant file select checks 2021-10-17 19:26:44 -07:00
Arceveti
4d0bcb9e15 Define INT_STATUS_NONE in behavior_data.c 2021-10-17 19:24:24 -07:00
Arceveti
7abf79d071 Move FLT_NONZERO to math_util.h 2021-10-17 18:21:02 -07:00
Arceveti
f9f0dc9acc Fix build warning 2021-10-17 18:19:27 -07:00
Arceveti
566caeb115 Add BPARAM mask defines 2021-10-17 18:13:12 -07:00
Arceveti
96a0145984 Add defines for unused surface types 2021-10-17 17:55:23 -07:00
Arceveti
35cb5517a6 Merge branch 'dev' of https://github.com/Reonu/HackerSM64 into nightly 2021-10-17 17:40:21 -07:00
Arceveti
d1855662fd Merge pull request #76 from someone2639/syscall_asserts
runtime assert hotfix
2021-10-17 17:40:09 -07:00
Arceveti
ed981e2934 Attempt 2 to fix console find_wall_collisions_from_list div0 crash 2021-10-17 17:40:00 -07:00
someone2639
67ae0e946a [crash_screen.c] add null check in case the exception wasnt an assert 2021-10-17 20:26:59 -04:00
Arceveti
f7981ac804 Fix build 2021-10-17 17:24:38 -07:00
Arceveti
bdfaf2c2f9 Merge branch 'dev' of https://github.com/Reonu/HackerSM64 into nightly 2021-10-17 17:23:01 -07:00
Arceveti
0547be4e0b Merge pull request #75 from someone2639/syscall_asserts
Add runtime asserts
2021-10-17 17:22:49 -07:00
Arceveti
fa04781025 Improve some more behavior files 2021-10-17 17:21:10 -07:00
Arceveti
f0d3d5a538 Remove some unused debug text 2021-10-17 17:20:56 -07:00
someone2639
c86afcae03 [crash_screen.c] moved around print statements to be both clear and not overlapping 2021-10-17 20:07:41 -04:00
someone2639
52b076c5cc [sm64.ld] add n64_assert.s to final game 2021-10-17 20:07:10 -04:00
someone2639
45fa72e836 [crash_screen.c] add debug.h to includes; fix compile error in draw_asserts 2021-10-17 20:03:24 -04:00
someone2639
cc3db36061 [debug.h] add assert define; ready to test 2021-10-17 20:01:49 -04:00
someone2639
bd23a46acd [crash_screen.c] actually add assert draw function, with new symbols 2021-10-17 19:59:51 -04:00
someone2639
5e151260e8 [n64_assert.s] add assert exception assembly code 2021-10-17 19:58:47 -04:00
someone2639
d49a16342d [debug.h] add externs for global assert symbols 2021-10-17 19:58:16 -04:00
someone2639
0dd70bfc21 [crash_screen.c] add logic to draw asserts page 2021-10-17 19:54:10 -04:00
someone2639
c03873c646 [ccrash_screen.c] add instructions to assert message 2021-10-17 19:48:46 -04:00
someone2639
989a499aeb [crash_screen.c] renamed syscall exception to failed assert 2021-10-17 19:47:21 -04:00
Arceveti
c290770516 Some camera cleanup 2021-10-17 16:25:00 -07:00
Arceveti
671a6acb34 Fix build 2021-10-17 16:24:36 -07:00
Arceveti
20feb3e7e6 Improve some behavior files 2021-10-17 16:22:13 -07:00
Arceveti
20ad6f619a document goto offsets in ending/menu scripts 2021-10-17 16:16:55 -07:00
Arceveti
856760befb Might be a better fix 2021-10-17 15:46:54 -07:00
Arceveti
b54f81ad38 Prevent division by zero in find_wall_collisions_from_list 2021-10-17 15:42:55 -07:00
Arceveti
c28919e41a Improve dialog input 2021-10-17 11:35:40 -07:00
Arceveti
0532936b19 A few config.h fixes 2021-10-17 11:02:43 -07:00
Arceveti
23c898667a Add spaces to INTERNAL_ROM_NAME 2021-10-17 10:44:35 -07:00
Arceveti
b1798cb32e remove prevent_bss_reordering includes 2021-10-17 10:42:32 -07:00
Arceveti
5c7882f649 Clean up a bunch of version ifdefs 2021-10-17 10:39:50 -07:00
Arceveti
5af1a4dceb Fix whirlpool distance 2021-10-15 17:12:55 -07:00
Arceveti
4167068dc5 butterfly.inc.c improvements 2021-10-15 12:20:12 -07:00
Arceveti
cc48698193 Check for COLLISION_FLAG_EXCLUDE_DYNAMIC in find_ceil and find_wall_collisions 2021-10-15 12:06:14 -07:00
Arceveti
5fe1a69f51 Slight find_floor/ceil optimization 2021-10-15 11:53:35 -07:00
Arceveti
b02ab02c17 Fix find_floor_from_list + some optimization 2021-10-15 11:28:54 -07:00
Arceveti
a8283a20a9 Add gCollisionFlags 2021-10-15 11:15:27 -07:00
Arceveti
5de970a754 Some surface_collision.c cleanup 2021-10-15 10:56:40 -07:00
Arceveti
c6b0a16c88 Replace puppylights goto's 2021-10-15 10:56:28 -07:00
Arceveti
9438ab2ab6 Make render phases a for loop instead of a goto 2021-10-15 10:13:56 -07:00
Arceveti
064d09753a Make Painting->pos a Vec3f 2021-10-15 10:08:40 -07:00
Arceveti
dbf0cd777b Clean up painting ripple flags 2021-10-15 10:03:38 -07:00
Arceveti
43b1b48e22 Fix CAMERA_FIX after painting exit cutscene 2021-10-14 19:19:18 -07:00
Arceveti
e672193e67 Add START_LEVEL define + some cleanup 2021-10-14 18:48:16 -07:00
Arceveti
22dae4a7eb Small formatting fix 2021-10-14 12:26:49 -07:00
n64
1372ae1bb7 Refresh 15 2021-10-14 15:25:30 -04:00
Arceveti
f66248257f Use m->heldObj instead of m->usedObj for GROUND_TURN_FIX check 2021-10-14 12:01:49 -07:00
Arceveti
812a8247e9 Improve EXIT_COURSE_WHILE_MOVING 2021-10-14 11:43:47 -07:00
Arceveti
b38cf7c377 Add HOOT_TREE_PARTICLES 2021-10-14 11:35:03 -07:00
Arceveti
4f6a7f9545 Add GROUND_POUND_WALL_FIX 2021-10-14 11:26:06 -07:00
Arceveti
326eca4dd2 Improve GROUND_TURN_FIX 2021-10-14 11:23:04 -07:00
Arceveti
2cc01ce3a5 Clean up a bunch of ifdefs 2021-10-13 20:25:45 -07:00
Arceveti
024fb35a92 rename stomp_smoke to small_water_splash 2021-10-13 18:00:16 -07:00
Arceveti
442f03d52c Fix obj_turn_toward_object calls 2021-10-13 17:42:36 -07:00
Arceveti
53f312e37c Merge branch 'dev' of https://github.com/Reonu/HackerSM64 into nightly 2021-10-13 17:36:32 -07:00
Arceveti
da1f048024 Clean up some ifdefs 2021-10-13 17:21:12 -07:00
Arceveti
ba49c72969 Clean up a few switch statements 2021-10-13 17:12:46 -07:00
Arceveti
9d2877f28a Name SOUND_MENU_FLAG_EXTRA 2021-10-13 17:12:03 -07:00
Arceveti
8ad13228f5 Some Puppycam formatting fixes 2021-10-13 16:57:53 -07:00
Arceveti
37023ed99d some small object_list_processor.c fixes 2021-10-13 16:27:55 -07:00
Arceveti
feb3a2a61c Define unused actions and custom action group 2021-10-13 16:05:39 -07:00
Arceveti
b790a5e083 gMarioState -> m in queue_rumble_particles 2021-10-13 16:05:21 -07:00
Arceveti
1963595cbf Make BETTER_BOUNCE height more reasonable 2021-10-13 15:46:36 -07:00
Arceveti
b3418e3eb0 HUDFlashModes enum 2021-10-13 15:21:29 -07:00
Arceveti
06f65d396c Some patch_audio_bank fixes 2021-10-13 15:20:54 -07:00
Arceveti
7581dfccf5 intro_scene.inc.c cleanup 2021-10-13 14:59:14 -07:00
Arceveti
a827d7b9c9 intro_peach.inc.c cleanup 2021-10-13 14:59:04 -07:00
Arceveti
085af99845 intro_lakitu.inc.c cleanup 2021-10-13 14:58:38 -07:00
Arceveti
2cf33a2f33 bhvDoor and bhvStarDoor cleanup 2021-10-13 14:38:39 -07:00
Arceveti
33a0a59774 Convert sDonutPlatformPositions from hexadecimal to decimal 2021-10-13 14:27:09 -07:00
Arceveti
6ad4d7917b bhvChirpChirp to bhvBubSpawner 2021-10-13 14:24:45 -07:00
Arceveti
d908c22697 Some audio formatting 2021-10-13 14:21:53 -07:00
Arceveti
bf98a51263 Add FAST_VERTICAL_CAMERA_MOVEMENT 2021-10-13 14:02:53 -07:00
Arceveti
1f4949bd8a Fix asm_abs defines 2021-10-13 14:02:49 -07:00
Arceveti
8ef227890a Some camera.c formatting 2021-10-13 13:19:54 -07:00
gheskett
e72dbfb3e3 Bugfix: divide by zero for floomba startup 2021-10-13 01:02:53 -04:00
gheskett
693d5d5cb4 Some reformatting of audio system + puppyprint for dynamic audio buffers 2021-10-13 00:41:21 -04:00
Arceveti
7b26bf06eb Some small formatting fixes 2021-10-12 20:08:25 -07:00
Arceveti
9391eefd05 Revert a Puppyprint debug info input change 2021-10-12 19:47:47 -07:00
Arceveti
e12e1c2f17 Some level_update.c cleanup 2021-10-12 19:22:14 -07:00
Arceveti
319be3a796 gMarioState -> m in init_mario, init_mario_from_save_file, and init_mario_after_warp 2021-10-12 19:01:58 -07:00
Arceveti
09cf9adc13 gMarioState -> m in execute_mario_action 2021-10-12 18:57:14 -07:00
Arceveti
a6492a2170 Some more cleanup 2021-10-12 18:53:59 -07:00
Arceveti
045c68f153 Convert a few object_constatnts.h defines to enums 2021-10-12 18:53:52 -07:00
Arceveti
f807000145 macro_presets.h documentation 2021-10-12 18:52:43 -07:00
Arceveti
c4b6ab2da0 Small cleanup 2021-10-12 18:04:08 -07:00
Arceveti
328317605e Convert a couple more doubles to floats 2021-10-11 21:33:52 -07:00
Arceveti
7c27196416 Some Puppyprint cleanup 2021-10-11 21:28:15 -07:00
Arceveti
a2500da83e Fix OOB death on BBH exit 2021-10-11 21:11:19 -07:00
Arceveti
fb266ee482 Fix update_mario_platform crash 2021-10-11 20:51:47 -07:00
Arceveti
848a8dd3a0 Some cleanup 2021-10-11 20:46:39 -07:00
Arceveti
210e708c8e Fix doors with CAMERA_FIX (part 3) 2021-10-11 20:46:02 -07:00
Arceveti
24a2905fc3 Remove some unused functions 2021-10-11 20:25:35 -07:00
Arceveti
8dda45abb6 Remove some unecessary externs 2021-10-11 20:00:45 -07:00
Arceveti
8d51484510 Fix Mario entering pushing animation when facing away from a wall 2021-10-11 17:54:37 -07:00
Arceveti
ca13a8d839 Fix doors with CAMERA_FIX 2021-10-11 17:38:16 -07:00
Arceveti
b4f4df2fdc Fix sign reading 2021-10-11 17:38:05 -07:00
Arceveti
3853714f56 fix perspective matrix being divided by 4 2021-10-11 16:58:22 -07:00
Arceveti
bb54f9e4e7 Fix door camera 2021-10-11 15:00:38 -07:00
Arceveti
17bc64760d Fix hanging height 2021-10-11 14:08:05 -07:00
Arceveti
c31d9b9e2a End cake screen dl names 2021-10-11 13:54:04 -07:00
Arceveti
1203b35b81 Convert some doubles to floats 2021-10-11 13:43:54 -07:00
Arceveti
d107d7f146 Fix dropping from hanging on a downward sloped ceiling 2021-10-11 13:16:14 -07:00
Arceveti
9b5f38491b Make WATER_STEP_HIT_FLOOR pitch change smooth 2021-10-09 00:11:12 -07:00
Arceveti
2275b4ff44 Fix some upwarps/downwarps 2021-10-09 00:10:12 -07:00
Arceveti
1bc367c6e0 node->near usage 2021-10-08 19:07:36 -07:00
Arceveti
c93df2b82e game_init.c cleanup 2021-10-08 15:09:03 -07:00
Arceveti
3f1fb6ec05 Use mtxf_rotate_xy for camera roll 2021-10-08 15:08:54 -07:00
Arceveti
1f1a6c2227 Improve obj_turn_toward_object 2021-10-08 13:59:04 -07:00
Arceveti
f290437f3f ActionState enums 2021-10-08 13:44:48 -07:00
Arceveti
86a62a5936 Fix Hands-free holding 2021-10-08 11:50:16 -07:00
Arceveti
a7d9c8d9e9 Convert some more define lists to enums 2021-10-08 11:47:15 -07:00
Fazana
6eb93bc095 Update puppycam2.h 2021-10-08 14:22:35 +01:00
gheskett
cd66903441 Merge branch 'dev' into floomba 2021-10-08 03:18:30 -04:00
gheskett
95e7d17d06 Math error 2021-10-08 03:16:44 -04:00
Arceveti
961b8b5f38 Small camera fixes 2021-10-07 23:53:35 -07:00
Arceveti
43e6997bab Door DL names 2021-10-07 23:39:01 -07:00
gheskett
a7ae3aae4e Remove useless commented code 2021-10-08 01:50:55 -04:00
gheskett
5e2ddf3f42 Title screen floomba works! 2021-10-08 01:35:23 -04:00
Arceveti
9c66d6b6eb Fix most RSP microcodes (turbo3d still freezes) 2021-10-07 21:56:15 -07:00
gheskett
551e495dd2 Call area_update_objects instead for proper animation loading 2021-10-07 23:22:49 -04:00
gheskett
1c3242b25c Floomba now renders on title screen, does not animate properly 2021-10-07 23:01:35 -04:00
Arceveti
86d8da2b5c Disable DEBUG_LEVEL_SELECT and ENABLE_DEBUG_FREE_MOVE by default 2021-10-07 19:51:19 -07:00
Arceveti
84df7bcc19 Crash screen no longer requires Puppyprint 2021-10-07 19:50:13 -07:00
Arceveti
799c1de736 Revert REVERB_WINDOW_SIZE_MAX change 2021-10-07 19:30:49 -07:00
Arceveti
5abcae64e5 Add FORCE_CRASH macro 2021-10-07 19:29:02 -07:00
Arceveti
07d90becfa Add DEBUG_FORCE_CRASH 2021-10-07 19:21:51 -07:00
Arceveti
90719c1338 SURFACE_IS_UNSAFE includes warp floors 2021-10-07 17:15:25 -07:00
Reonu
35908d96a3 Merge pull request #73 from Reonu/dev
Merged dev into nightly
2021-10-08 02:41:24 +03:00
Arceveti
9c181bf071 Merge branch 'nightly' of https://github.com/Reonu/HackerSM64 into dev 2021-10-07 16:40:15 -07:00
Arceveti
683db16175 Add CONTROLLABLE_PLATFORM_SPEED + platform_on_track.inc.c cleanup 2021-10-07 16:38:58 -07:00
Reonu
8147d08727 Merge pull request #65 from Reonu/nightly
Merge Nightly (ay lmao)
2021-10-08 02:24:02 +03:00
Arceveti
6907208052 surface_load.c improvements 2021-10-07 16:01:15 -07:00
Arceveti
4ac6472d76 OBJ_FLAG_UCODE_LARGE for bhvWoodenPost 2021-10-07 15:41:56 -07:00
Arceveti
cba10ea64a Convert more define lists into enums 2021-10-07 15:26:51 -07:00
Arceveti
9346c06206 Convert some define lists to enums 2021-10-07 14:24:54 -07:00
Arceveti
574ffcef06 Sound names 2021-10-07 14:11:52 -07:00
Arceveti
05ca5f6c95 King Bobomb improvements 2021-10-07 13:41:53 -07:00
gheskett
6fd0a96e55 Update README with floomba info 2021-10-07 01:19:23 -04:00
gheskett
6228fb8020 Still can't figure out how to draw floomba on splash screen; every other piece of code here is fully functional now 2021-10-07 00:14:51 -04:00
Arceveti
a7f4de0f27 sCreditsSequence formatting 2021-10-06 19:45:28 -07:00
Arceveti
bd70dd6e78 typedef usage 2021-10-06 19:45:21 -07:00
Arceveti
a69913e3e0 Make some functions 32 bit 2021-10-06 19:44:57 -07:00
Arceveti
67be3bbfb8 Remove a few more unecessary find_floor callse 2021-10-06 19:13:08 -07:00
Arceveti
d40e89cbeb Mark light quarter circle texture as unused 2021-10-06 18:32:34 -07:00
Arceveti
3a0caecb22 Platform displacement cleanup/fixes 2021-10-06 18:31:48 -07:00
Arceveti
ec337a4206 Some audio bugfixes 2021-10-06 18:12:49 -07:00
Arceveti
3a471f4786 Fix most vanilla cutscene softlocks 2021-10-06 18:08:33 -07:00
Arceveti
cab8944416 Remove unused function 2021-10-06 18:06:41 -07:00
Arceveti
3ea0e7ea22 star dl names 2021-10-06 18:04:12 -07:00
Arceveti
b2da8d176b Add radial light texture 2021-10-06 18:04:01 -07:00
Arceveti
c3df118002 Remove extra extern 2021-10-06 17:44:08 -07:00
Arceveti
9eefb25da2 enum RenderPhase 2021-10-06 17:42:17 -07:00
Arceveti
80814c78c5 Simplify GROUND_TURN_FIX 2021-10-06 15:00:37 -07:00
thecozies
a20e9210f9 Merge pull request #72 from Reonu/fix_geo_bone
Fixed geo_bone
2021-10-06 13:51:47 -05:00
Arceveti
65ef3697be Number of flames on fire bars can be set with oBehParams2ndByte 2021-10-06 11:25:54 -07:00
Arceveti
ea1fc2b49f Add DIALOG_INDICATOR 2021-10-06 10:44:17 -07:00
Arceveti
413602f37e Add EASIER_DIALOG_TRIGGER 2021-10-06 10:37:47 -07:00
thecozies
8601d3f516 Merge pull request #71 from Reonu/revert_execute_mario_action_for_merge_nightly
Revert execute_mario_action
2021-10-06 10:28:26 -05:00
thecozies
d2590352af Fixed geo_bone 2021-10-06 10:24:07 -05:00
Fazana
3ed6c652f0 Update puppycam2.c 2021-10-06 12:01:32 +01:00
gheskett
a6d62b5734 Game now boots, Floomba still not visible 2021-10-06 02:18:25 -04:00
someone2639
c425f8e51b actually add test-pj64 rule 2021-10-05 23:25:56 -04:00
someone2639
3144dcf171 add test-pj64 rule i need it i swear 2021-10-05 22:56:27 -04:00
gheskett
7cf7b4c33b Broke the splash screen :D 2021-10-05 22:50:38 -04:00
gheskett
3d9e855246 Forget to revert BOB goombas 2021-10-05 21:42:43 -04:00
gheskett
47c70a6b9a Merge branch 'dev' into floomba 2021-10-05 21:40:41 -04:00
gheskett
c0a0f54819 Basic support for floombas, currently just goombas in a different animation state 2021-10-05 21:40:05 -04:00
Arceveti
e1ef700b28 Fix mega punch + punch actions cleanup 2021-10-05 18:23:45 -07:00
Reonu
20c6041682 Disabled OMPLETE_EN_US_SEGMENT2 by default 2021-10-06 02:10:36 +03:00
Arceveti
af285bbf47 Merge branch 'nightly' of https://github.com/Reonu/HackerSM64 into dev 2021-10-05 15:26:43 -07:00
Arceveti
4723a03be4 Fix surface node pool size 2021-10-05 15:16:37 -07:00
Arceveti
b95eb762ce Fix forcedInclude 2021-10-05 14:55:04 -07:00
Arceveti
df8129a2ea HD Intro textures 2021-10-05 14:17:10 -07:00
Reonu
a3c233004f dpad down in aglabcam snaps to nearest axis instead of always going left 2021-10-05 21:55:24 +03:00
Arceveti
0101f2fc27 Merge branch 'nightly' of https://github.com/Reonu/HackerSM64 into dev 2021-10-05 11:43:14 -07:00
Arceveti
3dadc71acf Name copyright dl's 2021-10-05 11:36:39 -07:00
Reonu
2879456dbd Added Made with HackerSM64 msg (thanks to PyroJay) 2021-10-05 21:34:34 +03:00
Arceveti
1e082a5a59 Add Z_TWIRL 2021-10-05 10:59:32 -07:00
Arceveti
bf4c068e6f Add BETTER_BOUNCE 2021-10-05 10:53:36 -07:00
Arceveti
9470c8fee5 Coins are bouncy again 2021-10-05 10:47:48 -07:00
Arceveti
708980de21 Revert execute_mario_action 2021-10-05 10:24:37 -07:00
Arceveti
ac1e9adc99 Merge branch 'nightly' of https://github.com/Reonu/HackerSM64 into dev 2021-10-05 10:13:36 -07:00
Arceveti
24bbeaabf1 Merge pull request #70 from Reonu/revert_levelscript_changes
Revert "Name some HMC geolayouts + some demo fixes"
2021-10-05 10:12:52 -07:00
thecozies
fec149b238 Revert "Name some HMC geolayouts + some demo fixes"
This reverts commit 72be706ec7.
2021-10-05 09:23:52 -05:00
thecozies
febc16cacb Merge pull request #69 from Reonu/merge_nightly_fixes
Fixes for merging nightly
2021-10-05 06:47:17 -05:00
Arceveti
f5bedc0e55 Use some name defines 2021-10-05 00:20:15 -07:00
Arceveti
9b609a4860 Name some args 2021-10-05 00:15:05 -07:00
Arceveti
c58f61331a Fix build 2 2021-10-04 22:29:20 -07:00
Arceveti
caf47c35f4 Fix camera mode resetting 2021-10-04 22:26:46 -07:00
Arceveti
a30ca2df7a Fix bowling ball crash 2021-10-04 22:25:26 -07:00
Arceveti
8cbb532736 Fix build 2021-10-04 13:21:50 -07:00
Arceveti
4b082481b0 Various object behavior fixes 2021-10-04 13:18:25 -07:00
Arceveti
40420c7249 Paintings use gMarioState floor instead of doing find_floor again 2021-10-04 13:18:07 -07:00
Arceveti
da285a1457 Fix pokey distance 2021-10-04 12:14:02 -07:00
Arceveti
6a7cbbdd4d Merge branch 'dev' of https://github.com/Reonu/HackerSM64 into dev 2021-10-04 12:06:58 -07:00
Fazana
77bf073449 Make layer 0 zex render first 2021-10-04 18:37:19 +01:00
Fazana
bc3558cebe Make the game render layer 0 of ZEX first 2021-10-04 18:34:38 +01:00
Fazana
99c76db4d0 Puppyprint improvements
(citation needed on the improvements part)
2021-10-04 15:46:35 +01:00
Fazana
5ab7140389 Improve Puppyprint accuracy 2021-10-04 12:18:45 +01:00
Arceveti
323fd02f2e Name some function arguments 2021-10-03 21:40:57 -07:00
Arceveti
a6ee4b849e Fix goomba jump and pokey offset 2021-10-03 17:40:00 -07:00
Arceveti
087fc59488 Implement backup segment2 characters 2021-10-03 17:39:26 -07:00
Arceveti
c6e588fccd Add interaction.h and object_constants.h to forcedInclude 2021-10-03 16:47:43 -07:00
Arceveti
8a3a8a1e33 Add backup segment2 assets 2021-10-03 16:47:09 -07:00
Arceveti
b0f48b4988 Fix water rings 2021-10-03 16:22:16 -07:00
Arceveti
eb77196b6f Improve coin textures 2021-10-03 15:54:26 -07:00
Arceveti
74d85bf00b Remove some unused arguments 2021-10-03 14:22:59 -07:00
Arceveti
4c80f9e811 Remove unused arg from cur_obj_follow_path 2021-10-03 13:55:57 -07:00
Arceveti
e46db0cbc8 Use MarioState surface yaw instead of recalculating the surface yaw again 2021-10-03 13:41:02 -07:00
Arceveti
22a17bdb15 Add fall damage height defines 2021-10-03 13:15:03 -07:00
Arceveti
a9fbc3a907 Merge branch 'nightly' of https://github.com/Reonu/HackerSM64 into dev 2021-10-03 13:11:24 -07:00
Fazana
ea32e1ea70 Moved hitbox visualisation into its own func
Saves around 500us in the graph
2021-10-03 21:05:46 +01:00
Arceveti
8e62615e5d Merge branch 'merge_nightly_fixes' of https://github.com/Reonu/HackerSM64 into dev 2021-10-03 13:05:20 -07:00
Arceveti
64b809dd9f Merge branch 'nightly' of https://github.com/Reonu/HackerSM64 into dev 2021-10-03 13:03:14 -07:00
Arceveti
9721960d80 Fixes for merging nightly 2021-10-03 12:56:45 -07:00
Arceveti
a3c786b71b Requested changes 2021-10-03 11:55:52 -07:00
Arceveti
d76ca3ac71 Some requested changes + fix build 2021-10-03 11:37:44 -07:00
someone2639
51bced5d3c dont need this line either [math.s] 2021-10-03 13:24:07 -05:00
someone2639
2d7aa1e514 changed div to mul, it always runs now 2021-10-03 13:24:07 -05:00
Fazana
ab67e9be4d gWorldScalen't 2021-10-03 13:24:05 -05:00
someone2639
3cc9fe8633 let the scheduler handle the bc1f 2021-10-03 13:21:58 -05:00
someone2639
a4f6151364 i hate the c preprocessor 2021-10-03 13:21:58 -05:00
someone2639
3887ac46e0 big brain optimization 2021-10-03 13:21:58 -05:00
someone2639
697492d1e1 add some logic for gWorldScale; only div on scales higher than 1 2021-10-03 13:21:58 -05:00
someone2639
f4ffcc3ea1 make this asm file a lot easier to read (not documented though) 2021-10-03 13:21:58 -05:00
Arceveti
07232805ae Add COIN_LAVA_FLICKER 2021-10-03 10:59:03 -07:00
Arceveti
b560ef1bb4 Add TINY_GOOMBA_ALWAYS_DROPS_COIN 2021-10-03 10:49:03 -07:00
Arceveti
a2ca71dc0f Add HOOT_YAW_FIX 2021-10-03 10:47:41 -07:00
Arceveti
6c5ed41072 Rename FIX_LAVA_INTERACTION to LAVA_INTERACTION_FIX 2021-10-03 10:47:23 -07:00
Arceveti
680ab6bdf7 Add FIX_LAVA_INTERACTION 2021-10-03 10:43:47 -07:00
Arceveti
3428ea17c2 Don't fall after star grab if high enough in the air 2021-10-03 10:40:23 -07:00
Arceveti
52dfb8ccb7 King Bobomb improvements 2021-10-03 10:35:10 -07:00
Arceveti
83e3e21eb8 Merge branch 'dev' of https://github.com/Reonu/HackerSM64 into dev 2021-10-03 10:23:43 -07:00
Arceveti
3edbc14cf1 Klepto and Unagi have transparent stars after they are collected 2021-10-03 10:23:36 -07:00
Arceveti
fe4dd440f6 Used the passed in MarioState instead of the global one for PREVENT_DEATH_LOOP 2021-10-03 10:12:27 -07:00
Arceveti
41ef8308c1 Add comment to distinguish new MarioState fields 2021-10-03 10:10:15 -07:00
Reonu
e92abdb242 merged nightly's revert commit 2021-10-03 19:37:48 +03:00
Reonu
5f744d94ad Merge pull request #68 from Reonu/revert_plus_plus
Revert "Some more cleanup"
2021-10-03 19:02:18 +03:00
thecozies
1e1aa3754f Revert "Some more cleanup"
This reverts commit ea0fd25a73.
2021-10-03 10:34:42 -05:00
Fazana
28c89246fd Merge branch 'nightly' into dev 2021-10-03 14:58:05 +01:00
Fazana
6052ed8cdf Revert some camera "optimisations" 2021-10-03 14:56:16 +01:00
Fazana
5c639aab8d Puppyprint fixes 2021-10-03 13:08:36 +01:00
Arceveti
3df4adb01a Add EASIER_LONG_JUMPS 2021-10-02 22:23:13 -07:00
Arceveti
ec1694dfdd Improvements to OBJ_OPACITY_BY_CAM_DIST 2021-10-02 22:16:02 -07:00
Arceveti
60a7c34622 Remove some unused functions + ifdefs 2021-10-02 21:38:01 -07:00
Arceveti
b4ce1b5822 Add pointer null check in check_ledge_grab 2021-10-02 20:59:52 -07:00
Arceveti
56f2f9a64b Merge branch 'dev' of https://github.com/Reonu/HackerSM64 into dev 2021-10-02 20:53:54 -07:00
Arceveti
b256986f81 Add POWER_STARS_HEAL 2021-10-02 20:53:46 -07:00
someone2639
3df30561be Merge branch 'dev' of https://github.com/Reonu/HackerSM64 into dev 2021-10-02 23:52:18 -04:00
someone2639
8fad4b6ec6 dont need this line either [math.s] 2021-10-02 23:52:16 -04:00
Arceveti
ee2a1f83d1 Add MUSHROOMS_HEAL 2021-10-02 20:49:06 -07:00
Arceveti
6ea685d7a6 Merge branch 'dev' of https://github.com/Reonu/HackerSM64 into dev 2021-10-02 20:32:31 -07:00
Arceveti
4b1c3fd7e8 Make fixed ledge grabs default + Fix crash 2021-10-02 20:32:19 -07:00
someone2639
30f65bf03c changed div to mul, it always runs now 2021-10-02 23:26:21 -04:00
Arceveti
81b338b340 Save number of lives to save file 2021-10-02 19:26:04 -07:00
Arceveti
8993e51f75 Various tiny fixes 2021-10-02 18:56:58 -07:00
Arceveti
2c1d08a835 Small cleanup 2021-10-02 17:40:06 -07:00
Arceveti
a277a3947c Add color_presets and colors.c 2021-10-02 17:38:18 -07:00
Arceveti
c16a43a071 Merge https://github.com/CrashOveride95/ultrasm64 into dev 2021-10-02 16:34:05 -07:00
Arceveti
9423a32111 Make some functions s32/u32 2021-10-02 16:28:02 -07:00
Arceveti
d2d60c90ba Make gbi.h readable 2021-10-02 16:27:04 -07:00
Arceveti
eae2feb3a0 Doors no longer need OBJ_FLAG_UCODE_LARGE 2021-10-02 16:13:46 -07:00
Arceveti
fb1db7541d Fix build warnings 2021-10-02 16:07:52 -07:00
Fazana
c01386a6c5 iQue supports AA stripping 2021-10-02 22:42:24 +01:00
Fazana
c75fe65125 Update puppyprint.c 2021-10-02 19:43:45 +01:00
Fazana
953a7270f2 Fix building on iQue 2021-10-02 17:58:11 +01:00
Fazana
f6ee66df28 gWorldScalen't 2021-10-02 17:37:12 +01:00
CrashOveride95
0d56896e75 Merge branch 'master' of https://github.com/CrashOveride95/ultrasm64 2021-10-02 10:27:47 -04:00
CrashOveride95
3a627e6311 Add librtc and fix some data declarations 2021-10-02 10:27:43 -04:00
someone2639
dbb1b892ee let the scheduler handle the bc1f 2021-10-02 09:54:11 -04:00
someone2639
1dbbd25253 i hate the c preprocessor 2021-10-02 09:32:16 -04:00
someone2639
134aeb74cc big brain optimization 2021-10-02 09:30:29 -04:00
someone2639
57c10feb14 add some logic for gWorldScale; only div on scales higher than 1 2021-10-02 09:26:18 -04:00
someone2639
474145222d make this asm file a lot easier to read (not documented though) 2021-10-02 09:12:47 -04:00
someone2639
a973d274b0 make mtf_to_mtx inline 2021-10-02 09:12:31 -04:00
Arceveti
4464eb96de Various small bugfixes 2021-10-01 21:47:36 -07:00
Arceveti
2ab3c85d13 Clean up tilting_inverted_pyramid.inc.c 2021-10-01 21:37:47 -07:00
Arceveti
89fb6b75a9 Tuxie fixes 2021-10-01 20:46:33 -07:00
Arceveti
85a31ccec0 Add POLE_SWING 2021-10-01 19:40:29 -07:00
Arceveti
c586faea96 math_util improvements 2021-10-01 19:39:43 -07:00
Arceveti
d17c9247a1 Surface load optimizations 2021-10-01 18:04:12 -07:00
Arceveti
0af6087f81 Add 30FPS coins 2021-10-01 13:47:04 -07:00
Arceveti
0393a5e885 Name coin dl's 2021-10-01 13:08:05 -07:00
Arceveti
5662b8de3a Merge branch 'dev' of https://github.com/Reonu/HackerSM64 into dev 2021-10-01 12:58:45 -07:00
Arceveti
9ad62c9eab Proper false ledge grab fix 2021-10-01 12:57:07 -07:00
Fazana
4346d5ff9f semi colon 2021-10-01 22:21:23 +03:00
Arceveti
efa3e6461a Fix some vector functions 2021-10-01 11:01:57 -07:00
Fazana
6dde1e9026 semi colon 2021-10-01 17:58:39 +01:00
Reonu
2daf766901 fixed camera memes 2021-10-01 16:57:45 +03:00
Reonu
209ce5a90c fixed camera memes 2021-10-01 16:47:18 +03:00
Fazana
39318ec6a2 Further makerule tweaks 2021-10-01 11:32:58 +01:00
Fazana
5206fdbe2e Revert macros struct funnies
sausage
2021-10-01 11:02:29 +01:00
Arceveti
bd6eb1fd87 Disable HD_SHADOWS by default 2021-09-30 20:58:15 -07:00
Arceveti
1860ece52e Breakable box improvements 2021-09-30 20:57:54 -07:00
Arceveti
45d4e3c15a Fix held object shadow scaling 2021-09-30 20:02:43 -07:00
CrashOveride95
6218abafff Merge pull request #24 from Arceveti/patch-1
Move GRUCODE define to proper location in makefile
2021-09-30 22:13:33 -04:00
Arceveti
4efbfc4da0 Option for 64x64 quarter shadow textures 2021-09-30 18:26:19 -07:00
Arceveti
d51129c6b6 Move GRUCODE define to proper location in makefile 2021-09-30 17:52:40 -07:00
Arceveti
483005edf5 Move GRUCODE define to proper location in makefile 2021-09-30 17:34:06 -07:00
Arceveti
57531f5d81 Merge branch 'dev' of https://github.com/Reonu/HackerSM64 into dev 2021-09-30 17:26:11 -07:00
Arceveti
a5cb4481f7 Optimize tree transparency distance calculation 2021-09-30 17:25:21 -07:00
Reonu
e6d0d4b8d2 improved death loop failsafe 2021-10-01 02:44:13 +03:00
Reonu
8186517460 added PREVENT_DEATH_LOOP define 2021-10-01 02:36:26 +03:00
Arceveti
76bdc4ca2b Pokey load distance uses o->oDrawingDistance 2021-09-30 16:21:06 -07:00
Arceveti
50941e0559 math_util.c optimizations by Kaze Emanuar 2021-09-30 15:42:36 -07:00
Arceveti
df14e88d37 Merge branch 'nightly' of https://github.com/Reonu/HackerSM64 into nightly 2021-09-30 15:09:31 -07:00
Arceveti
ff43340b0b Configurable number of segments for Chain Chomp, Pokey, and Wiggler 2021-09-30 15:09:01 -07:00
Arceveti
3a3637723d macro_special_objects.c improvements 2021-09-30 15:07:18 -07:00
Fazana
02aa70559a Further make flag tweaks
Performance go wheeee
2021-09-30 23:04:43 +01:00
Arceveti
362a46479e spawn_star.inc.c improvements 2021-09-30 14:43:10 -07:00
Arceveti
9e2726606b fix funny typo 2021-09-30 14:04:09 -07:00
Arceveti
0d427d3f25 Initialize objListIndex 2021-09-30 12:52:48 -07:00
Arceveti
60392fb4ef Merge branch 'nightly' of https://github.com/Reonu/HackerSM64 into nightly 2021-09-30 12:37:39 -07:00
Arceveti
4f3e84c2ad Update play_mode_change_area 2021-09-30 12:37:25 -07:00
Arceveti
83e727400e Update src/game/behaviors/king_bobomb.inc.c
Co-authored-by: thecozies <79979276+thecozies@users.noreply.github.com>
2021-09-30 12:35:46 -07:00
Fazana
a8fd8c5172 fix memory.c and add ucode_small flag 2021-09-30 15:24:44 +01:00
Fazana
d79dd5a51f Make collision build with Ofast
😔

nothing makes sense anymore.
2021-09-30 12:17:54 +01:00
Fazana
4448273b14 Move raycasts back to math_util 2021-09-30 10:40:37 +01:00
Fazana
be79ded91e Fix build error with debug_box.c 2021-09-30 10:31:31 +01:00
Arceveti
fdd81f5e14 Fix rotate_in_xz 2021-09-30 00:21:58 -07:00
Arceveti
cfa6e6dc9f Fix squishy doors on LLE 2021-09-29 23:43:14 -07:00
Arceveti
b8804bba87 Fix teleporting on poles 2021-09-29 21:25:36 -07:00
Arceveti
4fe6b323e7 Automatically calculate SURFACE_POOL_SIZE and SURFACE_NODE_POOL_SIZE 2021-09-29 16:38:36 -07:00
Arceveti
d1ed598480 Whoops, lowercase absf already exists 2021-09-29 16:37:20 -07:00
Arceveti
ef4ffdc71f #define floorAngle floorYaw for compatibility 2021-09-29 16:32:23 -07:00
Arceveti
824056390f Lowercase abs and signum_positive defines 2021-09-29 16:22:34 -07:00
Arceveti
50d180134f ok 2021-09-29 15:18:28 -07:00
Arceveti
3bfb394b70 Fix compiler warnings 2021-09-29 13:28:49 -07:00
Arceveti
a8afa914cd some surface_terrains.h defines 2021-09-29 12:59:49 -07:00
Arceveti
9b4b9d9c03 Add ENABLE_DEBUG_FREE_MOVE + improve debug free move controls 2021-09-29 12:35:46 -07:00
Arceveti
f68c63703e Improve debug level select controls 2021-09-29 12:00:37 -07:00
Arceveti
911246541e Merge https://github.com/CrashOveride95/ultrasm64 into nightly 2021-09-29 11:51:43 -07:00
Arceveti
66932d84a4 Add DISABLE_LEVEL_SPECIFIC_CHECKS 2021-09-29 11:30:07 -07:00
Arceveti
c203e8a17d Add find_room_floor 2021-09-29 10:35:27 -07:00
Arceveti
c9d48d3c43 Fix BBH crash 2021-09-29 10:19:34 -07:00
Arceveti
f10955b785 Move some structs/data into proper behavior files 2021-09-29 10:10:14 -07:00
Fazana
510e5c137f Revert some changes
Something amongst these remaining changes is a substantial decrease in game performance. I've taken out stuff that's confirmed not to, whilst something left is part of the problem.
2021-09-29 11:59:19 +01:00
Arceveti
67ee6b395b callContext arg name in geo functions 2021-09-29 00:09:11 -07:00
Arceveti
565af70485 Fix alloc_display_list in intro_draw_face 2021-09-28 23:55:49 -07:00
Arceveti
f8a9eaea4b Fix GRAPH_RENDER_FLAGS_SIZE + Add OBJ_FLAG_OCCLUDE_SILHOUETTE + name Bowser 1 painting dl's 2021-09-28 23:43:44 -07:00
Arceveti
3af946e2bd Merge branch 'nightly' of https://github.com/Reonu/HackerSM64 into nightly 2021-09-28 22:43:48 -07:00
Arceveti
8e398008d8 Optimize out a bunch of sqrtf 2021-09-28 22:43:29 -07:00
Arceveti
28e8d99707 Some optimizations + cleanup 2021-09-28 21:13:26 -07:00
gheskett
705d44e034 Fix WDW cannon bob-omb placement 2021-09-29 00:00:00 -04:00
Arceveti
868dd8f97b Some small fixes + cleanup 2021-09-28 19:08:34 -07:00
Arceveti
82edc20696 Fix insn_disasm build warnings 2021-09-28 17:35:12 -07:00
Arceveti
4adf87f622 Some cleanup/fixes 2021-09-28 17:33:18 -07:00
Arceveti
4ec50b8123 #define o gCurrentObject in object_list_processor.h 2021-09-28 15:42:41 -07:00
Fazana
51f7679208 pragma'd 2021-09-28 22:57:37 +01:00
Arceveti
f03d21fd04 Fix png formats 2021-09-28 14:36:54 -07:00
Arceveti
6e2c13459b Merge branch 'nightly' of https://github.com/Reonu/HackerSM64 into nightly 2021-09-28 14:28:22 -07:00
Arceveti
65e8369d1c Puppyprint debug font improvements 2021-09-28 14:28:14 -07:00
Fazana
beee3c0562 Puppyprint debugging now supports nonstandard resolutions
Isn't that nice?
2021-09-28 22:26:14 +01:00
Arceveti
04b6089d72 Fix puppyprint font kerning 2021-09-28 14:14:48 -07:00
Arceveti
5b43bc3b03 Fix typo 2021-09-28 14:04:26 -07:00
Arceveti
baceb79c89 Dirt particle & cartoon star particle dl names 2021-09-28 14:02:13 -07:00
Arceveti
3e8aa7fada Merge branch 'nightly' of https://github.com/Reonu/HackerSM64 into nightly 2021-09-28 13:57:00 -07:00
Arceveti
81a64e59d7 Fix held objects + some cleanup 2021-09-28 13:54:34 -07:00
Fazana
cefd4b62ab Held object fix 2021-09-28 21:52:00 +01:00
Arceveti
79d7b7e4b9 Add COS defines 2021-09-28 12:36:26 -07:00
Arceveti
92ae326cf6 Merge branch 'nightly' of https://github.com/Reonu/HackerSM64 into nightly 2021-09-28 12:18:04 -07:00
Arceveti
c89858ebd2 Make obj_set_opacity_from_cam_dist its own function 2021-09-28 12:17:53 -07:00
Fazana
6bad22d98c Specific cflags 2021-09-28 18:44:57 +01:00
Fazana
501a0caec0 Update Makefile 2021-09-28 18:03:24 +01:00
Fazana
e562c6543b Remove profiler.c
It's in its own commit, so if you for some reason disagree with this, reverting it is super easy.
2021-09-28 17:52:42 +01:00
Fazana
4ba2285969 Graph optimisations
that actually work now
2021-09-28 17:39:49 +01:00
Fazana
997d481e3a Update rendering_graph_node.c 2021-09-28 13:50:40 +01:00
Fazana
102e49b5e7 Puppytext font support + visual debug colour tweak 2021-09-28 12:41:27 +01:00
Arceveti
5b198635ad Improve puppyprint font a bit more 2021-09-27 22:33:00 -07:00
Arceveti
ec31997ba0 Improved puppyprint font 2021-09-27 21:39:45 -07:00
Arceveti
56fa02ec87 COND_BIT + fix transparent tree layer + asymptitic turn 2021-09-27 18:03:06 -07:00
Arceveti
87cdbc8ceb Merge https://github.com/Reonu/HackerSM64 into nightly 2021-09-27 16:43:42 -07:00
Arceveti
62cc178545 Object constants and new typedefs 2021-09-27 16:41:43 -07:00
Reonu
7c8a876890 Merge pull request #64 from thecozies/fix_broken_water
fixed find_water_floor height variable
2021-09-28 02:07:18 +03:00
thecozies
2ac47bd4f1 fixed find_water_floor height variable 2021-09-27 17:56:28 -05:00
Arceveti
1e81412c4b Combine shadow flags into gShadowFlags 2021-09-27 15:45:28 -07:00
Arceveti
a5c1aef42b Convert some doubles to floats + remove some unused Goddard functions 2021-09-27 15:01:44 -07:00
Arceveti
3f4728e337 Configurable wall kick angle in degrees 2021-09-27 14:00:10 -07:00
Arceveti
ae91a98422 Merge branch 'nightly' of https://github.com/Reonu/HackerSM64 into nightly 2021-09-27 13:36:05 -07:00
Arceveti
ea0fd25a73 Some more cleanup 2021-09-27 13:35:55 -07:00
Fazana
f0bd8a1fa5 I hate github I hate github I hate github I hate github I hate github I hate github 2021-09-27 21:21:20 +01:00
Fazana
d0a9834f39 E 2021-09-27 21:17:10 +01:00
Arceveti
6155b6416a Some cleanup & fixes 2021-09-27 12:28:47 -07:00
Arceveti
e71ba07b22 Add some fields to MarioState 2021-09-27 10:21:25 -07:00
Fazana
abb6fd286d Farclip failsafe 2021-09-27 17:21:23 +01:00
Fazana
c69a7e1233 shadow 2021-09-27 14:14:23 +01:00
Fazana
39f92391f8 Matrix optimisation
Courtesy of Kaze, creator of all existing romhacks
2021-09-27 13:16:04 +01:00
Reonu
04702ff466 Create CODEOWNERS 2021-09-27 13:49:30 +03:00
Arceveti
00ae43cc99 Get world scale by distance to origin on one axis 2021-09-27 02:32:41 -07:00
Arceveti
c3a68d48a7 Some refactoring 2021-09-26 20:47:23 -07:00
Arceveti
7da55b1456 Fix build 2021-09-26 17:36:12 -07:00
Arceveti
13d7d2caff Whoops left debug level select on 2021-09-26 17:13:33 -07:00
Arceveti
76d049d8ee Merge pull request #63 from someone2639/master
Crash Screen has disasm view now
2021-09-26 17:10:53 -07:00
Arceveti
72be706ec7 Name some HMC geolayouts + some demo fixes 2021-09-26 17:10:10 -07:00
Arceveti
be8a27f79f Some optimizations 2021-09-26 16:43:55 -07:00
someone2639
72d03f27c0 Merge branch 'master' of https://github.com/Reonu/HackerSM64 2021-09-26 18:02:52 -04:00
Arceveti
419c88d615 OBJ_FLAG_UCODE_LARGE for JRB rocks 2021-09-26 14:52:55 -07:00
Arceveti
1110c281bb Merge branch 'master' of https://github.com/Reonu/HackerSM64 2021-09-26 14:51:33 -07:00
Arceveti
833cc9082c Add breath meter 2021-09-26 14:49:21 -07:00
someone2639
2d729ea42f idk what i changed but it should be ready now 2021-09-26 16:01:08 -04:00
Arceveti
f0e4dd964b Add option to display puppyprint debug values as cycles 2021-09-26 12:33:02 -07:00
Arceveti
499fc33d7e Fix spindrift actor model file 2021-09-26 12:02:26 -07:00
CrashOveride95
f8ab64a71a Merge pull request #23 from thecozies/new_GEO_BONE
Added GEO_BONE geolayout command
2021-09-20 11:11:12 -04:00
thecozies
808106ae2f Added GEO_BONE geolayout command 2021-09-20 10:06:33 -05:00
645 changed files with 33736 additions and 35374 deletions

29
.gitignore vendored
View File

@@ -71,6 +71,35 @@ build/*
!/assets/**/*custom*.bin
!/assets/**/*custom*/**/*.bin
!/textures/crash_custom/*.png
# Specific assets
!/actors/breath_meter/breath_meter_*.png
!/actors/coin/coin_*.ia8.png
!/textures/segment2/light_quarter_circle.ia16.png
!/textures/segment2/segment2.hud_char_j.rgba16.png
!/textures/segment2/segment2.hud_char_q.rgba16.png
!/textures/segment2/segment2.hud_char_v.rgba16.png
!/textures/segment2/segment2.hud_char_x.rgba16.png
!/textures/segment2/segment2.hud_char_z.rgba16.png
!/textures/segment2/segment2.umlaut_us.rgba16.png
!/textures/segment2/segment2.beta_key.rgba16.png
!/textures/segment2/segment2.decimal_point.rgba16.png
!/textures/segment2/segment2.exclamation.rgba16.png
!/textures/segment2/segment2.double_exclamation.rgba16.png
!/textures/segment2/segment2.question.rgba16.png
!/textures/segment2/segment2.ampersand.rgba16.png
!/textures/segment2/segment2.percent.rgba16.png
!/textures/segment2/segment2.minus.rgba16.png
!/textures/segment2/segment2.minus2.rgba16.png
!/textures/segment2/segment2.yellow_coin.rgba16.png
!/textures/segment2/segment2.blue_coin.rgba16.png
!/textures/segment2/segment2.red_coin.rgba16.png
!/textures/segment2/segment2.silver_coin.*.png
!/textures/segment2/shadow_quarter_circle_64.ia8.png
!/textures/segment2/shadow_quarter_square_64.ia8.png
# libultra
!/lib/*.a

View File

@@ -17,7 +17,8 @@
"${workspaceFolder}/include/geo_commands.h",
"${workspaceFolder}/include/level_commands.h",
"${workspaceFolder}/include/segment_symbols.h",
"${workspaceFolder}/include/command_macros_base.h"
"${workspaceFolder}/include/command_macros_base.h",
"${workspaceFolder}/include/object_constants.h"
],
"defines": [
"TARGET_N64=1",

10
CHANGES
View File

@@ -1,3 +1,13 @@
Refresh 15 (mostly a hotfix for RSP microcode selection)
1.) Renamed frame_buffer funcs and _ZBUFFER (#1184)
2.) RSP Microcode Hotfix (#1183)
3.) Label osSetTimer.c (#1182)
4.) Fix styling (#1177)
5.) Rename all `FrameBuffer` variants to `Framebuffer` (#1176)
6.) Remove (WIP) from sh.
7.) Allow both archives and ELF objects to be patched (#1127)
Refresh 14
1.) Label whomp and some object fields (#1174)

12
CODEOWNERS Normal file
View File

@@ -0,0 +1,12 @@
# Lines starting with '#' are comments.
# Each line is a file pattern followed by one or more owners.
# These owners will be the default owners for everything in the repo.
* @Reonu
* @thecozies
# Order is important. The last matching pattern has the most precedence.
# So if a pull request only touches javascript files, only these owners
# will be requested to review.
# You can also use email addresses if you prefer.

View File

@@ -95,22 +95,18 @@ VERSION ?= us
$(eval $(call validate-option,VERSION,jp us eu sh))
ifeq ($(VERSION),jp)
DEFINES += VERSION_JP=1
GRUCODE ?= f3dzex
DEFINES += VERSION_JP=1
else ifeq ($(VERSION),us)
DEFINES += VERSION_US=1
GRUCODE ?= f3dzex
DEFINES += VERSION_US=1
else ifeq ($(VERSION),eu)
DEFINES += VERSION_EU=1
GRUCODE ?= f3dzex
DEFINES += VERSION_EU=1
else ifeq ($(VERSION),sh)
DEFINES += VERSION_SH=1
GRUCODE ?= f3dzex
DEFINES += VERSION_SH=1
endif
DEBUG_MAP_STACKTRACE_FLAG := -D DEBUG_MAP_STACKTRACE
TARGET := sm64.$(VERSION)
TARGET := sm64
# GRUCODE - selects which RSP microcode to use.
@@ -119,6 +115,7 @@ TARGET := sm64.$(VERSION)
# l3dex2 - F3DEX2 version that only renders in wireframe
# f3dzex - newer, experimental microcode used in Animal Crossing
# super3d - extremely experimental version of Fast3D lacking many features for speed
GRUCODE ?= f3dzex
$(eval $(call validate-option,GRUCODE,f3dex f3dex2 f3dex2pl f3dzex super3d l3dex2))
ifeq ($(GRUCODE),f3dex) # Fast3DEX
@@ -153,12 +150,12 @@ LINK_LIBRARIES = $(foreach i,$(LIBRARIES),-l$(i))
ifeq ($(COMPILER),gcc)
NON_MATCHING := 1
MIPSISET := -mips3
OPT_FLAGS := -Os
OPT_FLAGS := -Ofast
else ifeq ($(COMPILER),clang)
NON_MATCHING := 1
# clang doesn't support ABI 'o32' for 'mips3'
MIPSISET := -mips2
OPT_FLAGS := -Os
OPT_FLAGS := -Ofast
endif
@@ -174,21 +171,10 @@ endif
ifeq ($(NON_MATCHING),1)
DEFINES += NON_MATCHING=1 AVOID_UB=1
COMPARE := 0
endif
# COMPARE - whether to verify the SHA-1 hash of the ROM after building
# 1 - verifies the SHA-1 hash of the selected version of the game
# 0 - does not verify the hash
COMPARE ?= 0
$(eval $(call validate-option,COMPARE,0 1))
TARGET_STRING := sm64.$(VERSION).$(CONSOLE).$(GRUCODE)
# If non-default settings were chosen, disable COMPARE
ifeq ($(filter $(TARGET_STRING), sm64.jp.f3d_old sm64.us.f3d_old sm64.eu.f3d_new sm64.sh.f3d_new),)
COMPARE := 0
endif
TARGET_STRING := sm64
# UNF - whether to use UNFLoader flashcart library
# 1 - includes code in ROM
@@ -248,27 +234,6 @@ endif
# Whether to colorize build messages
COLOR ?= 1
# display selected options unless 'make clean' or 'make distclean' is run
ifeq ($(filter clean distclean,$(MAKECMDGOALS)),)
$(info ==== Build Options ====)
$(info Version: $(VERSION))
$(info Microcode: $(GRUCODE))
$(info Console: $(CONSOLE))
$(info Target: $(TARGET))
ifeq ($(COMPARE),1)
$(info Compare ROM: yes)
else
$(info Compare ROM: no)
endif
ifeq ($(NON_MATCHING),1)
$(info Build Matching: no)
else
$(info Build Matching: yes)
endif
$(info =======================)
endif
#==============================================================================#
# Universal Dependencies #
#==============================================================================#
@@ -314,7 +279,7 @@ endif
BUILD_DIR_BASE := build
# BUILD_DIR is the location where all build artifacts are placed
BUILD_DIR := $(BUILD_DIR_BASE)/$(VERSION)
BUILD_DIR := $(BUILD_DIR_BASE)/$(VERSION)_$(CONSOLE)
ROM := $(BUILD_DIR)/$(TARGET_STRING).z64
ELF := $(BUILD_DIR)/$(TARGET_STRING).elf
LIBZ := $(BUILD_DIR)/libz.a
@@ -394,8 +359,8 @@ export LD_LIBRARY_PATH=./tools
AS := $(CROSS)as
ifeq ($(COMPILER),gcc)
CC := $(CROSS)gcc
$(BUILD_DIR)/actors/%.o: OPT_FLAGS := -Os -mlong-calls
$(BUILD_DIR)/levels/%.o: OPT_FLAGS := -Os -mlong-calls
$(BUILD_DIR)/actors/%.o: OPT_FLAGS := -Ofast -mlong-calls
$(BUILD_DIR)/levels/%.o: OPT_FLAGS := -Ofast -mlong-calls
else ifeq ($(COMPILER),clang)
CC := clang
endif
@@ -430,7 +395,7 @@ DEF_INC_CFLAGS := $(foreach i,$(INCLUDE_DIRS),-I$(i)) $(C_DEFINES)
# C compiler options
CFLAGS = -G 0 $(OPT_FLAGS) $(TARGET_CFLAGS) $(MIPSISET) $(DEF_INC_CFLAGS)
ifeq ($(COMPILER),gcc)
CFLAGS += -mno-shared -march=vr4300 -mfix4300 -mabi=32 -mhard-float -mdivide-breaks -fno-stack-protector -fno-common -fno-zero-initialized-in-bss -fno-PIC -mno-abicalls -fno-strict-aliasing -fno-inline-functions -ffreestanding -fwrapv -Wall -Wextra -Wno-missing-braces -fno-jump-tables
CFLAGS += -mno-shared -march=vr4300 -mfix4300 -mabi=32 -mhard-float -mdivide-breaks -fno-stack-protector -fno-common -fno-zero-initialized-in-bss -fno-PIC -mno-abicalls -fno-strict-aliasing -fno-inline-functions -ffreestanding -fwrapv -Wall -Wextra -Wno-missing-braces
else ifeq ($(COMPILER),clang)
CFLAGS += -target mips -mabi=32 -G 0 -mhard-float -fomit-frame-pointer -fno-stack-protector -fno-common -I include -I src/ -I $(BUILD_DIR)/include -fno-PIC -mno-abicalls -fno-strict-aliasing -fno-inline-functions -ffreestanding -fwrapv -Wall -Wextra -Wno-missing-braces -fno-jump-tables
else
@@ -488,7 +453,7 @@ RED := \033[0;31m
GREEN := \033[0;32m
BLUE := \033[0;34m
YELLOW := \033[0;33m
BLINK := \033[33;5m
BLINK := \033[32;5m
endif
# For non-IDO, use objcopy instead of extract_data_for_mio
@@ -506,13 +471,12 @@ endef
#==============================================================================#
all: $(ROM)
ifeq ($(COMPARE),1)
@$(PRINT) "$(GREEN)Checking if ROM matches.. $(NO_COL)\n"
@$(SHA1SUM) --quiet -c $(TARGET).sha1 && $(PRINT) "$(TARGET): $(GREEN)OK$(NO_COL)\n" || ($(PRINT) "$(YELLOW)Building the ROM file has succeeded, but does not match the original ROM.\nThis is expected, and not an error, if you are making modifications.\nTo silence this message, use 'make COMPARE=0.' $(NO_COL)\n" && false)
else
@$(SHA1SUM) $(ROM)
@$(PRINT) "${GREEN}Build succeeded.$(NO_COL)\n"
endif
@$(PRINT) "${BLINK}Build succeeded.\n$(NO_COL)"
@$(PRINT) "==== Build Options ====$(NO_COL)\n"
@$(PRINT) "${GREEN}Version: $(BLUE)$(VERSION)$(NO_COL)\n"
@$(PRINT) "${GREEN}Microcode: $(BLUE)$(GRUCODE)$(NO_COL)\n"
@$(PRINT) "${GREEN}Console: $(BLUE)$(CONSOLE)$(NO_COL)\n"
clean:
$(RM) -r $(BUILD_DIR_BASE)
@@ -525,6 +489,9 @@ distclean: clean
test: $(ROM)
$(EMULATOR) $(EMU_FLAGS) $<
test-pj64: $(ROM)
wine ~/Desktop/new64/Project64.exe $<
load: $(ROM)
$(LOADER) $(LOADER_FLAGS) $<
@@ -576,6 +543,9 @@ $(BUILD_DIR)/src/usb/usb.o: OPT_FLAGS := -O0
$(BUILD_DIR)/src/usb/usb.o: CFLAGS += -Wno-unused-variable -Wno-sign-compare -Wno-unused-function
$(BUILD_DIR)/src/usb/debug.o: OPT_FLAGS := -O0
$(BUILD_DIR)/src/usb/debug.o: CFLAGS += -Wno-unused-parameter -Wno-maybe-uninitialized
$(BUILD_DIR)/src/audio/*.o: OPT_FLAGS := -Os -fno-jump-tables
$(BUILD_DIR)/src/engine/math_util.o: OPT_FLAGS := -Ofast -fno-unroll-loops -fno-peel-loops --param case-values-threshold=20
$(BUILD_DIR)/src/game/rendering_graph_node.o: OPT_FLAGS := -Ofast --param case-values-threshold=20
ALL_DIRS := $(BUILD_DIR) $(addprefix $(BUILD_DIR)/,$(SRC_DIRS) asm/debug $(GODDARD_SRC_DIRS) $(LIBZ_SRC_DIRS) $(ULTRA_BIN_DIRS) $(BIN_DIRS) $(TEXTURE_DIRS) $(TEXT_DIRS) $(SOUND_SAMPLE_DIRS) $(addprefix levels/,$(LEVEL_DIRS)) rsp include) $(YAY0_DIR) $(addprefix $(YAY0_DIR)/,$(VERSION)) $(SOUND_BIN_DIR) $(SOUND_BIN_DIR)/sequences/$(VERSION)
@@ -589,6 +559,7 @@ $(BUILD_DIR)/src/game/ingame_menu.o: $(BUILD_DIR)/include/text_strings.h
$(BUILD_DIR)/src/game/puppycam2.o: $(BUILD_DIR)/include/text_strings.h
#==============================================================================#
# Texture Generation #
#==============================================================================#
@@ -801,7 +772,7 @@ $(BUILD_DIR)/asm/debug/map.o: asm/debug/map.s $(BUILD_DIR)/sm64_prelim.elf
# Link SM64 ELF file
$(ELF): $(BUILD_DIR)/sm64_prelim.elf $(BUILD_DIR)/asm/debug/map.o $(O_FILES) $(YAY0_OBJ_FILES) $(SEG_FILES) $(BUILD_DIR)/$(LD_SCRIPT) undefined_syms.txt $(BUILD_DIR)/libz.a $(BUILD_DIR)/libgoddard.a
@$(PRINT) "$(GREEN)Linking ELF file: $(BLUE)$@ $(NO_COL)\n"
$(V)$(LD) --gc-sections -L $(BUILD_DIR) -T undefined_syms.txt -T $(BUILD_DIR)/$(LD_SCRIPT) -T goddard.txt -Map $(BUILD_DIR)/sm64.$(VERSION).map --no-check-sections $(addprefix -R ,$(SEG_FILES)) -o $@ $(O_FILES) -L$(LIBS_DIR) -l$(ULTRALIB) -Llib $(LINK_LIBRARIES) -u sprintf -u osMapTLB -Llib/gcclib/$(LIBGCCDIR) -lgcc
$(V)$(LD) --gc-sections -L $(BUILD_DIR) -T undefined_syms.txt -T $(BUILD_DIR)/$(LD_SCRIPT) -T goddard.txt -Map $(BUILD_DIR)/sm64.$(VERSION).map --no-check-sections $(addprefix -R ,$(SEG_FILES)) -o $@ $(O_FILES) -L$(LIBS_DIR) -l$(ULTRALIB) -Llib $(LINK_LIBRARIES) -u sprintf -u osMapTLB -Llib/gcclib/$(LIBGCCDIR) -lgcc -lrtc
# Build ROM
$(ROM): $(ELF)
@@ -810,7 +781,7 @@ ifeq ($(CONSOLE),n64)
$(V)$(OBJCOPY) --pad-to=0x101000 --gap-fill=0xFF $< $@ -O binary
else ifeq ($(CONSOLE),bb)
$(V)$(OBJCOPY) --gap-fill=0x00 $< $@ -O binary
$(V)dd if=$@ of=tmp bs=16K conv=sync
$(V)dd if=$@ of=tmp bs=16K conv=sync status=none
$(V)mv tmp $@
endif
$(V)$(N64CKSUM) $@

View File

@@ -66,7 +66,7 @@ KING_BOBOMB_DIRS := king_bobomb water_bubble
BOO_DIRS := bookend book chair small_key mad_piano boo haunted_cage
MR_I_DIRS := mr_i_eyeball mr_i_iris swoop snufit dorrie scuttlebug
HOOT_DIRS := yellow_sphere_small hoot yoshi_egg thwomp bullet_bill heave_ho
COINS_DIRS := mist explosion butterfly coin warp_pipe door bowser_key flame blue_fish pebble leaves warp_collision mario_cap power_meter mushroom_1up star sand dirt transparent_star white_particle wooden_signpost tree
COINS_DIRS := mist explosion butterfly coin warp_pipe door bowser_key flame blue_fish pebble leaves mario_cap breath_meter power_meter mushroom_1up star sand dirt transparent_star white_particle wooden_signpost tree
BUBBA_DIRS := bubba wiggler wiggler_body_part lakitu_enemy spiny_egg spiny
SKEETER_DIRS := skeeter seaweed water_mine cyan_fish bub water_ring treasure_chest
KLEPTO_DIRS := klepto eyerok pokey tornado
@@ -76,7 +76,7 @@ MOLE_DIRS := monty_mole_hole monty_mole smoke ukiki fwoosh
LAKITU_DIRS := lakitu_cameraman toad mips boo_castle
PEACH_DIRS := bird peach yoshi
BOWSER_DIRS := bowser_flame impact_ring yellow_sphere bowser bomb impact_smoke
MARIO_DIRS := mario bubble walk_smoke burn_smoke stomp_smoke water_wave sparkle water_splash white_particle_small sparkle_animation
MARIO_DIRS := mario bubble walk_smoke burn_smoke small_water_splash water_wave sparkle water_splash white_particle_small sparkle_animation
# Actor Textures
AMP_CHUCKYA_TEXTURES := $(foreach dir,$(AMP_DIRS), $(wildcard actors/$(dir)/*.png))

View File

@@ -1,4 +1,7 @@
# ![](https://i.imgur.com/CeOukzk.gif) HackerSM64 ![](https://i.imgur.com/s0LUbTo.gif)
**[Thank you to Kaze Emanuar for these major optimizations!](https://www.youtube.com/watch?v=uYPH-NH3B6k)
**AFTER CLONING THE REPO, CHECK OUT THE `include/config.h` FILE BEFORE ANYTHING ELSE! IT THERE'S A LOT OF STUFF IN THIS REPO THAT CAN BE TOGGLED THERE.**
HackerSM64 now has a discord server! https://discord.gg/brETAakcXr
@@ -20,8 +23,7 @@ This is a fork of the ultrasm64 repo by CrashOveride which includes the followin
- Slope fix and exposed ceilings fix
- No false ledgegrabs fix *
- Jump kick fix *
- 46 degree wallkicks *
- Pole fix
- Configurable wallkick angle, in degrees *
- Possibility of disabling BLJs *
- Hanging fix (mario can grab hangable ceilings from any state, instead of only jump or double jump) *
- Increased maximum pole length (The game will read bparam1 and bparam2 together as a single value, so you can have a very long pole) *
@@ -69,6 +71,7 @@ This is a fork of the ultrasm64 repo by CrashOveride which includes the followin
- Example Text: `"@FF0000FFRED @00FF00FFGREEN @0000FFFFBLUE @FFFFFF00INVISIBLE @--------NORMAL"`
- NOTE: It is not mandatory to reset the text color with `"@--------"`, but text will need to be recolored each time it scrolls in a dialog box, or the custom color will reset.
- Toggle visiblity of collision surfaces and object hitboxes with Visual Surface Debug. `config.h` has VISUAL_DEBUG which can be turned on to enable this feature.
- Workaround for infinite death loops caused by using the wrong warp type for death warps. Mario's HP will be restored when being warped to any warp if (and only if) he was warped while dead. *
**Other Bugfixes:**
- Castle music fix (Fixes the castle music sometimes triggering after getting a dialog) *
@@ -86,6 +89,9 @@ This is a fork of the ultrasm64 repo by CrashOveride which includes the followin
- Widescreen (16:9) support toggleable by pressing `L` in the pause menu. *
- S2DEX engine by someone2639! To use it, compile with `make TEXT_ENGINE=s2dex_text_engine` or just set `TEXT_ENGINE` to `s2dex_text_engine` in the makefile.
- ia8 coins (64x64), the vanilla coin texture is upgraded to accomodate. *
- ia8 30 FPS (64x64) coins (Textures by InTheBeef, cleaned up by Arceveti). *
- Floombas! Simply just retextured goombas with custom behaviors (does not overwrite standard goombas). *
- HD texture support for intro splash screen (with floombas if enabled). *
- Mario's silhouette is shown when behind most surfaces (By Frame#5375, Axollyon, AloXado320, Wiseguy, Arceveti) *
- Skybox size modifier. You can have 2x, 3x and 4x size skyboxes (you can select the skybox size in `config.h`.) Please note that this might affect console performance, especially 4x mode. 2x or 3x mode is recommended if aiming for console. By CowQuack *
- You can set the black border size to different values for console and emulator. It's set to 0 by default for both. *
@@ -172,7 +178,9 @@ To switch to no compression, run make with the ``COMPRESS=uncomp`` argument.
Q: Why in the hell are you bundling your own build of ``ld``?
A: Newer binutils (Like the one bundled with Ubuntu, 2.34) break linking with libultra builds due to local asm symbols.
This puts me at a crossroads of either touching leaked code and requiring GCC, or just using an older linker that works just fine.
I went with the latter.
Thanks to "someone2639" for this hacky-ass idea

View File

@@ -1,4 +1,4 @@
// unreferenced
// unreferenced animation
// 0x0500616C
const struct Animation *const blargg_seg5_anims_0500616C[] = {
&blargg_seg5_anim_05006154,

View File

@@ -120,7 +120,7 @@ const Gfx flame_seg6_dl_0601C108[] = {
gsDPLoadTextureBlock(flame_seg6_texture_06000000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPVertex(flame_seg6_vertex_0601C000, 8, 0),
gsSPDisplayList(flame_seg6_dl_0601C0B0),
gsDPLoadTextureBlock((u8*)flame_seg6_texture_06000000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsDPLoadTextureBlock((Texture*)flame_seg6_texture_06000000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPDisplayList(flame_seg6_dl_0601C0C8),
gsSPDisplayList(flame_seg6_dl_0601C0E0),
gsSPEndDisplayList(),
@@ -132,7 +132,7 @@ const Gfx flame_seg6_dl_0601C1A8[] = {
gsDPLoadTextureBlock(flame_seg6_texture_06002000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPVertex(flame_seg6_vertex_0601C000, 8, 0),
gsSPDisplayList(flame_seg6_dl_0601C0B0),
gsDPLoadTextureBlock((u8*)flame_seg6_texture_06002000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsDPLoadTextureBlock((Texture*)flame_seg6_texture_06002000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPDisplayList(flame_seg6_dl_0601C0C8),
gsSPDisplayList(flame_seg6_dl_0601C0E0),
gsSPEndDisplayList(),
@@ -144,7 +144,7 @@ const Gfx flame_seg6_dl_0601C248[] = {
gsDPLoadTextureBlock(flame_seg6_texture_06004000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPVertex(flame_seg6_vertex_0601C000, 8, 0),
gsSPDisplayList(flame_seg6_dl_0601C0B0),
gsDPLoadTextureBlock((u8*)flame_seg6_texture_06004000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsDPLoadTextureBlock((Texture*)flame_seg6_texture_06004000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPDisplayList(flame_seg6_dl_0601C0C8),
gsSPDisplayList(flame_seg6_dl_0601C0E0),
gsSPEndDisplayList(),
@@ -156,7 +156,7 @@ const Gfx flame_seg6_dl_0601C2E8[] = {
gsDPLoadTextureBlock(flame_seg6_texture_06006000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPVertex(flame_seg6_vertex_0601C000, 8, 0),
gsSPDisplayList(flame_seg6_dl_0601C0B0),
gsDPLoadTextureBlock((u8*)flame_seg6_texture_06006000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsDPLoadTextureBlock((Texture*)flame_seg6_texture_06006000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPDisplayList(flame_seg6_dl_0601C0C8),
gsSPDisplayList(flame_seg6_dl_0601C0E0),
gsSPEndDisplayList(),
@@ -168,7 +168,7 @@ const Gfx flame_seg6_dl_0601C388[] = {
gsDPLoadTextureBlock(flame_seg6_texture_06008000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPVertex(flame_seg6_vertex_0601C000, 8, 0),
gsSPDisplayList(flame_seg6_dl_0601C0B0),
gsDPLoadTextureBlock((u8*)flame_seg6_texture_06008000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsDPLoadTextureBlock((Texture*)flame_seg6_texture_06008000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPDisplayList(flame_seg6_dl_0601C0C8),
gsSPDisplayList(flame_seg6_dl_0601C0E0),
gsSPEndDisplayList(),
@@ -180,7 +180,7 @@ const Gfx flame_seg6_dl_0601C428[] = {
gsDPLoadTextureBlock(flame_seg6_texture_0600A000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPVertex(flame_seg6_vertex_0601C000, 8, 0),
gsSPDisplayList(flame_seg6_dl_0601C0B0),
gsDPLoadTextureBlock((u8*)flame_seg6_texture_0600A000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsDPLoadTextureBlock((Texture*)flame_seg6_texture_0600A000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPDisplayList(flame_seg6_dl_0601C0C8),
gsSPDisplayList(flame_seg6_dl_0601C0E0),
gsSPEndDisplayList(),
@@ -192,7 +192,7 @@ const Gfx flame_seg6_dl_0601C4C8[] = {
gsDPLoadTextureBlock(flame_seg6_texture_0600C000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPVertex(flame_seg6_vertex_0601C000, 8, 0),
gsSPDisplayList(flame_seg6_dl_0601C0B0),
gsDPLoadTextureBlock((u8*)flame_seg6_texture_0600C000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsDPLoadTextureBlock((Texture*)flame_seg6_texture_0600C000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPDisplayList(flame_seg6_dl_0601C0C8),
gsSPDisplayList(flame_seg6_dl_0601C0E0),
gsSPEndDisplayList(),
@@ -204,7 +204,7 @@ const Gfx flame_seg6_dl_0601C568[] = {
gsDPLoadTextureBlock(flame_seg6_texture_0600E000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPVertex(flame_seg6_vertex_0601C000, 8, 0),
gsSPDisplayList(flame_seg6_dl_0601C0B0),
gsDPLoadTextureBlock((u8*)flame_seg6_texture_0600E000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsDPLoadTextureBlock((Texture*)flame_seg6_texture_0600E000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPDisplayList(flame_seg6_dl_0601C0C8),
gsSPDisplayList(flame_seg6_dl_0601C0E0),
gsSPEndDisplayList(),
@@ -216,7 +216,7 @@ const Gfx flame_seg6_dl_0601C608[] = {
gsDPLoadTextureBlock(flame_seg6_texture_06010000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPVertex(flame_seg6_vertex_0601C000, 8, 0),
gsSPDisplayList(flame_seg6_dl_0601C0B0),
gsDPLoadTextureBlock((u8*)flame_seg6_texture_06010000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsDPLoadTextureBlock((Texture*)flame_seg6_texture_06010000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPDisplayList(flame_seg6_dl_0601C0C8),
gsSPDisplayList(flame_seg6_dl_0601C0E0),
gsSPEndDisplayList(),
@@ -228,7 +228,7 @@ const Gfx flame_seg6_dl_0601C6A8[] = {
gsDPLoadTextureBlock(flame_seg6_texture_06012000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPVertex(flame_seg6_vertex_0601C000, 8, 0),
gsSPDisplayList(flame_seg6_dl_0601C0B0),
gsDPLoadTextureBlock((u8*)flame_seg6_texture_06012000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsDPLoadTextureBlock((Texture*)flame_seg6_texture_06012000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPDisplayList(flame_seg6_dl_0601C0C8),
gsSPDisplayList(flame_seg6_dl_0601C0E0),
gsSPEndDisplayList(),
@@ -240,7 +240,7 @@ const Gfx flame_seg6_dl_0601C748[] = {
gsDPLoadTextureBlock(flame_seg6_texture_06014000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPVertex(flame_seg6_vertex_0601C000, 8, 0),
gsSPDisplayList(flame_seg6_dl_0601C0B0),
gsDPLoadTextureBlock((u8*)flame_seg6_texture_06014000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsDPLoadTextureBlock((Texture*)flame_seg6_texture_06014000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPDisplayList(flame_seg6_dl_0601C0C8),
gsSPDisplayList(flame_seg6_dl_0601C0E0),
gsSPEndDisplayList(),
@@ -252,7 +252,7 @@ const Gfx flame_seg6_dl_0601C7E8[] = {
gsDPLoadTextureBlock(flame_seg6_texture_06016000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPVertex(flame_seg6_vertex_0601C000, 8, 0),
gsSPDisplayList(flame_seg6_dl_0601C0B0),
gsDPLoadTextureBlock((u8*)flame_seg6_texture_06016000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsDPLoadTextureBlock((Texture*)flame_seg6_texture_06016000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPDisplayList(flame_seg6_dl_0601C0C8),
gsSPDisplayList(flame_seg6_dl_0601C0E0),
gsSPEndDisplayList(),
@@ -264,7 +264,7 @@ const Gfx flame_seg6_dl_0601C888[] = {
gsDPLoadTextureBlock(flame_seg6_texture_06018000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPVertex(flame_seg6_vertex_0601C000, 8, 0),
gsSPDisplayList(flame_seg6_dl_0601C0B0),
gsDPLoadTextureBlock((u8*)flame_seg6_texture_06018000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsDPLoadTextureBlock((Texture*)flame_seg6_texture_06018000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPDisplayList(flame_seg6_dl_0601C0C8),
gsSPDisplayList(flame_seg6_dl_0601C0E0),
gsSPEndDisplayList(),
@@ -276,7 +276,7 @@ const Gfx flame_seg6_dl_0601C928[] = {
gsDPLoadTextureBlock(flame_seg6_texture_0601A000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPVertex(flame_seg6_vertex_0601C000, 8, 0),
gsSPDisplayList(flame_seg6_dl_0601C0B0),
gsDPLoadTextureBlock((u8*)flame_seg6_texture_0601A000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsDPLoadTextureBlock((Texture*)flame_seg6_texture_0601A000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPDisplayList(flame_seg6_dl_0601C0C8),
gsSPDisplayList(flame_seg6_dl_0601C0E0),
gsSPEndDisplayList(),

View File

@@ -1,16 +1,16 @@
// Breakable Box
// 0x08012D70 - 0x08012DF4
const Collision breakable_box_seg8_collision_08012D70[] = {
const Collision breakable_box_seg8_collision[] = {
COL_INIT(),
COL_VERTEX_INIT(0x8),
COL_VERTEX(-100, 0, -100),
COL_VERTEX(-100, 0, 100),
COL_VERTEX(-100, 200, 100),
COL_VERTEX(100, 0, 100),
COL_VERTEX(100, 200, 100),
COL_VERTEX(100, 0, -100),
COL_VERTEX(100, 200, -100),
COL_VERTEX(-100, 0, -100),
COL_VERTEX(-100, 0, 100),
COL_VERTEX(-100, 200, 100),
COL_VERTEX( 100, 0, 100),
COL_VERTEX( 100, 200, 100),
COL_VERTEX( 100, 0, -100),
COL_VERTEX( 100, 200, -100),
COL_VERTEX(-100, 200, -100),
COL_TRI_INIT(SURFACE_NO_CAM_COLLISION, 12),

View File

@@ -2,12 +2,12 @@
const GeoLayout breakable_box_geo[] = {
GEO_CULLING_RADIUS(500),
GEO_OPEN_NODE(),
GEO_SHADOW(SHADOW_SQUARE_PERMANENT, 0xB4, 240),
GEO_SHADOW(SHADOW_SQUARE_PERMANENT, 0xA0, 240),
GEO_OPEN_NODE(),
GEO_SWITCH_CASE(2, geo_switch_anim_state),
GEO_OPEN_NODE(),
GEO_DISPLAY_LIST(LAYER_OPAQUE, breakable_box_seg8_dl_08012D20),
GEO_DISPLAY_LIST(LAYER_OPAQUE, breakable_box_seg8_dl_08012D48),
GEO_DISPLAY_LIST(LAYER_OPAQUE, breakable_box_seg8_dl_crazy_box),
GEO_DISPLAY_LIST(LAYER_OPAQUE, breakable_box_seg8_dl_cork_box),
GEO_CLOSE_NODE(),
GEO_CLOSE_NODE(),
GEO_CLOSE_NODE(),
@@ -15,13 +15,13 @@ const GeoLayout breakable_box_geo[] = {
};
// 0x0F000610
const GeoLayout breakable_box_small_geo[] = {
const GeoLayout breakable_box_no_shadow_geo[] = {
GEO_CULLING_RADIUS(500),
GEO_OPEN_NODE(),
GEO_SWITCH_CASE(2, geo_switch_anim_state),
GEO_OPEN_NODE(),
GEO_DISPLAY_LIST(LAYER_OPAQUE, breakable_box_seg8_dl_08012D20),
GEO_DISPLAY_LIST(LAYER_OPAQUE, breakable_box_seg8_dl_08012D48),
GEO_DISPLAY_LIST(LAYER_OPAQUE, breakable_box_seg8_dl_crazy_box),
GEO_DISPLAY_LIST(LAYER_OPAQUE, breakable_box_seg8_dl_cork_box),
GEO_CLOSE_NODE(),
GEO_CLOSE_NODE(),
GEO_END(),

View File

@@ -1,7 +1,7 @@
// Breakable Box
// 0x08011A78
static const Lights1 breakable_box_seg8_lights_08011A80 = gdSPDefLights1(
static const Lights1 breakable_box_seg8_lights_default = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
@@ -17,7 +17,7 @@ ALIGNED8 static const Texture breakable_box_seg8_texture_08012290[] = {
};
// 0x08012A90
static const Vtx breakable_box_seg8_vertex_08012A90[] = {
static const Vtx breakable_box_seg8_vertex[] = {
{{{ -100, 0, -100}, 0, { 992, 0}, {0x81, 0x00, 0x00, 0xff}}},
{{{ -100, 0, 100}, 0, { 992, 992}, {0x81, 0x00, 0x00, 0xff}}},
{{{ -100, 200, 100}, 0, { 0, 992}, {0x81, 0x00, 0x00, 0xff}}},
@@ -33,10 +33,6 @@ static const Vtx breakable_box_seg8_vertex_08012A90[] = {
{{{ 100, 200, 100}, 0, { 0, 992}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ 100, 0, 100}, 0, { 992, 992}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ 100, 0, -100}, 0, { 992, 0}, {0x7f, 0x00, 0x00, 0xff}}},
};
// 0x08012B80
static const Vtx breakable_box_seg8_vertex_08012B80[] = {
{{{ -100, 200, 100}, 0, { 0, 0}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 100, 200, -100}, 0, { 992, 992}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ -100, 200, -100}, 0, { 992, 0}, {0x00, 0x7f, 0x00, 0xff}}},
@@ -51,18 +47,16 @@ static const Vtx breakable_box_seg8_vertex_08012B80[] = {
};
// 0x08012C30 - 0x08012CD8
const Gfx breakable_box_seg8_dl_08012C30[] = {
gsSPLight(&breakable_box_seg8_lights_08011A80.l, 1),
gsSPLight(&breakable_box_seg8_lights_08011A80.a, 2),
gsSPVertex(breakable_box_seg8_vertex_08012A90, 15, 0),
const Gfx breakable_box_seg8_sub_dl_end[] = {
gsSPLight(&breakable_box_seg8_lights_default.l, 1),
gsSPLight(&breakable_box_seg8_lights_default.a, 2),
gsSPVertex(breakable_box_seg8_vertex, 26, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 5, 6, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles( 7, 9, 10, 0x0, 11, 12, 13, 0x0),
gsSP1Triangle(11, 13, 14, 0x0),
gsSPVertex(breakable_box_seg8_vertex_08012B80, 11, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
gsSP1Triangle( 8, 9, 10, 0x0),
gsSP2Triangles(11, 13, 14, 0x0, 15, 16, 17, 0x0),
gsSP2Triangles(15, 18, 16, 0x0, 19, 20, 21, 0x0),
gsSP2Triangles(19, 21, 22, 0x0, 23, 24, 25, 0x0),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
@@ -71,7 +65,7 @@ const Gfx breakable_box_seg8_dl_08012C30[] = {
};
// 0x08012CD8 - 0x08012D20
const Gfx breakable_box_seg8_dl_08012CD8[] = {
const Gfx breakable_box_seg8_sub_dl_begin[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB),
gsSPClearGeometryMode(G_SHADING_SMOOTH),
@@ -84,19 +78,19 @@ const Gfx breakable_box_seg8_dl_08012CD8[] = {
};
// 0x08012D20 - 0x08012D48
const Gfx breakable_box_seg8_dl_08012D20[] = {
gsSPDisplayList(breakable_box_seg8_dl_08012CD8),
const Gfx breakable_box_seg8_dl_crazy_box[] = {
gsSPDisplayList(breakable_box_seg8_sub_dl_begin),
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, breakable_box_seg8_texture_08011A90),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPBranchList(breakable_box_seg8_dl_08012C30),
gsSPBranchList(breakable_box_seg8_sub_dl_end),
};
// 0x08012D20 - 0x08012D70
const Gfx breakable_box_seg8_dl_08012D48[] = {
gsSPDisplayList(breakable_box_seg8_dl_08012CD8),
const Gfx breakable_box_seg8_dl_cork_box[] = {
gsSPDisplayList(breakable_box_seg8_sub_dl_begin),
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, breakable_box_seg8_texture_08012290),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPBranchList(breakable_box_seg8_dl_08012C30),
gsSPBranchList(breakable_box_seg8_sub_dl_end),
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Some files were not shown because too many files have changed in this diff Show More