Compare commits

..

1121 Commits

Author SHA1 Message Date
someone2639
7ef2077353 2.0.8 (fix more compiler warnings) (#543)
* fix Waddress in mario_step.c

* fix Winfinite-recursion in unused dynlist_proc function

* in fact remove the offending function entirely

* fix warnings in RNC decompress functions

* update version

* fix version in VERSION.txt

premature on my part, will update it to 2.0.10 next time

Co-authored-by: someone2639 <someone2639@gmail.com>
2022-12-06 21:41:55 +01:00
Reonu
a15db3c56b 2.0.7 (fix compiler warnings) (#542)
2.0.7
2022-12-05 16:28:01 +01:00
thecozies
e87dfa74d8 v2.0.7 2022-12-05 08:39:28 -06:00
thecozies
e3e1aa02ac Add GCC opt flag to suppress warnings 2022-12-05 08:38:41 -06:00
axollyon
d3d2bb9247 Update VERSION.txt
HackerSM64 2.0.6
2022-12-04 11:50:20 +01:00
Gregory Heskett
dc1a824ce9 HackerSM64 2.0.6 (#539)
* revert random_u16 to be a u16 (#538)

* Added safety gcc math flags (#537)

* removed useless compilation flags that could cause performance loss

Co-authored-by: thecozies <79979276+thecozies@users.noreply.github.com>
Co-authored-by: thecozies <collinpferguson@gmail.com>
2022-12-04 23:05:59 +13:00
axollyon
efd4e3f9dc Update VERSION.txt (#534) 2022-11-24 02:46:09 +01:00
Gregory Heskett
b1146308a7 HackerSM64 2.0.5 (#517)
* Bugfix: race condition with accessing cleared audio memory pools

* Bugfix: skyboxes access tiles out of range when looking straight down (#518)

* Vscode fixes (#516)

* Revert s32 angles and remove Angle typedef usage (#529)

* Fix some surface shadowing (#531)

* Delete rtc.h

* Remove `wait_for_audio_frames()`

Co-authored-by: thecozies <79979276+thecozies@users.noreply.github.com>
Co-authored-by: Arceveti <73617174+Arceveti@users.noreply.github.com>
Co-authored-by: JoshDuMan <40190173+JoshDuMan@users.noreply.github.com>
2022-11-24 09:57:44 +13:00
axollyon
b8e22f2fbd Update version to 2.0.4 (#515) 2022-10-27 01:17:08 -04:00
arthurtilly
1a71619f47 Imminent fixes for bugs found on master branch (#512)
* The vanilla level checks define for Yoshi is inverted, causing him to require 120 stars when it is off and appear at 0 stars when it's on

*  The downwarp fix results in Mario levitating in midair when grabbing Bowser midair. While downwarps should still be fixed, the change should be reverted immediately until a better fix is made.

*  Some checks of Mario's floor class were using the wrong defines, which can lead to unexpected behavior in the event anyone wants to reorder surface types. By default the SURFACE_CLASS_SLIPPERY and SURFACE_SLIPPERY defines have the same value, which is why this mistake is hard to notice.

*  The firsty frames define was implemented poorly, not allowing for vanilla firsty behavior no matter what the values were set to. This has been reverted, while avoiding the UB in the original vanilla code.

*  Removed the ledge grab changes that fix QSLGs and change the false ledgegrab define since Arceveti wanted to in his PR
2022-10-26 19:12:29 +13:00
Gregory Heskett
7d6579971a Remove Wiseguy from codeowners file :( (#490)
* Remove Wiseguy from codeowners file :(
* Add ArcticJaguar725 as the primary CODEWOWNER for the moment
2022-09-21 09:10:06 -05:00
thecozies
a549e1a95a Merge pull request #454 from HackerN64/develop/2.0.3
HackerSM64 2.0.3 Release: Audio Crash
2022-07-19 11:44:14 -05:00
thecozies
83fea6d310 v2.0.3 2022-07-19 11:35:48 -05:00
gheskett
8698cc0f89 Bugfix: patch_audio_bank crash (hopefully) resolved for good 2022-07-15 00:25:18 -04:00
Mr-Wiseguy
62d6ee135f HackerSM64 2.0.2 release 2022-06-28 09:43:19 -04:00
thecozies
3d330e0b84 Merge pull request #387 from HackerN64/develop/2.0.1
HackerSM64 2.0.2 Release
2022-06-28 08:40:54 -05:00
Arceveti
1691e48326 Fix inverted tilting pyramids when platform displacement 2 is disabled (#397) 2022-06-28 09:30:49 -04:00
Reonu
e5af0e8ca5 Add :Zone_Identifier files to gitignore (#428) 2022-06-28 09:28:54 -04:00
Mr-Wiseguy
cf570b4406 Added dcache coherency emulation test that disables instant input if passed (fixes Ares) (#427) 2022-06-28 12:57:14 +01:00
Reonu
1012fb7957 Add extra hud defines (#409)
* Added extra HUD defines

* moved the defines to hud.h
2022-06-27 22:17:44 -04:00
Reonu
aa1a48afeb Fix shindou audio bzero size (#426) 2022-06-27 22:15:47 -04:00
Mr-Wiseguy
5e1258e806 Merge branch 'master' into develop/2.0.1 2022-06-17 01:11:34 -04:00
Arceveti
c938bbf407 Add missing check for 9 vert shadows in LEGACY_SHADOW_IDS ifdef (#406)
* Add missing check for 9 vert shadows in LEGACY_SHADOW_IDS ifdef

* Add legacy shadow ids to ShadowType enum
2022-06-09 15:52:10 +01:00
KazeEmanuar
a1ab7c51f0 Made raycasts not hit backfaces
* Update name of lighting engine branch in readme
2022-06-09 10:04:58 -04:00
Arceveti
4cfbc656a9 Re-implement FALL_DAMAGE_HEIGHT_SMALL usage in play_far_fall_sound (#407) 2022-05-19 17:12:28 -04:00
Arceveti
fe6aee22e1 Remove redundant snufit offset vector (fixes gcc11 compiler warning) (#395) 2022-05-02 15:36:59 -04:00
Arceveti
ad3aa42eff Fix construct_float by changing addiu to ori (#394) 2022-05-02 14:56:04 -04:00
Mr-Wiseguy
031cc24fa6 New profiler (#390)
* Implemented new lightweight CPU/RDP profiler

* Integrated new profiler into puppyprint debug and improved profiler visuals, removed existing puppyprint profiling code
2022-05-01 00:42:58 -04:00
thecozies
8d06db06e1 Added specific extracted assets to gitignore (#386)
* Added specific extracted assets to gitignore

* Add .orig files to gitignore

Co-authored-by: Arceveti <73617174+Arceveti@users.noreply.github.com>

Co-authored-by: Arceveti <73617174+Arceveti@users.noreply.github.com>
2022-04-28 17:50:27 +03:00
Arceveti
642a85fec6 Fix build warnings & errors when building non-US versions (#305)
* Fix build warnings & errors when building non-US versions

* Revert ADSR_STATE_LOOP change in adsr_update in effects.c + add fallthrough comments + clean up ifdefs

* null initialization for loadedPool in heap.c

* Better placement of null initialization of arg0 in alloc_bank_or_seq
2022-04-15 12:46:17 -04:00
Reonu
3092929822 Tie JRB dark skybox with ENABLE_VANILLA_LEVEL_SPECIFIC_CHECKS (#378)
The JRB skybox is darkened if you haven't collected JRB's first star. This behaviour should be under `ENABLE_VANILLA_LEVEL_SPECIFIC_CHECKS`
2022-04-14 18:53:11 -04:00
CrashOveride95
51f8ccfbb0 Comment out username printing during debug builds because people use their real names on their computers
I still wanna give people the option so
2022-04-10 17:37:14 -04:00
CrashOveride95
2118234f9b Remove datetime from version.c to make debug builds reproducible 2022-04-10 17:37:14 -04:00
Gregory Heskett
ac0299e5b5 Bugfix: 2x+ skyboxes given insufficient memory space (#372) 2022-03-30 18:41:22 -04:00
Fazana
f98d43c9de Puppycamera hotfixes (#367)
* fixed some embarassing typos
2022-03-27 03:20:28 -04:00
someone2639
bf8ea238e5 Fix some bad comment descriptions in math_util (#328) 2022-03-25 13:23:34 -04:00
Mr-Wiseguy
b3cb639e6e Fixed makefile issue causing audio files to be compiled with different flags the first time they're built (#318) 2022-03-18 14:15:08 -04:00
Arceveti
12595397cd Fix OBJECTS_REJ build error & warning + silhouette incompatibility (#324)
* Fix OBJECTS_REJ build error & warning

* Fix Mario rendering
2022-03-18 11:03:39 -07:00
Arceveti
65eb5a755f Reimplement 'FIX_WATER_RINGS' (#325)
* Reimplement 'FIX_WATER_RINGS'
2022-03-18 11:02:38 -07:00
Gregory Heskett
eaf9d3e4f9 Merge pull request #352 from gheskett/develop/mingw-custom-audio-fix
Fix custom audio files not compiling under MinGW (in case it ever matters)
2022-03-18 12:47:54 -05:00
Arceveti
8cfd9af4ee Uncomment the last gSPPopMatrix in render_hud_cannon_reticle (#351) 2022-03-15 17:38:38 -04:00
gheskett
3f0143ec0f Fix custom audio files not compiling under MinGW (in case it ever matters) 2022-03-13 18:57:17 -04:00
tuxlovesyou
33b2a07759 Added LOAD_MIO0_TEXTURE alias for backwards-compatibility (#349)
Sometimes tools like Fast64 will export script.c files with
LOAD_MIO0_TEXTURE() macro "calls" even when you have "YAY0" toggled
under the export menu.  To keep this from being a roadblock for
compilation, LOAD_MIO0_TEXTURE() is defined in this commit as an alias
to the LOAD_YAY0_TEXTURE() macro! :-)
2022-03-11 22:10:46 -05:00
axollyon
a0e8600776 Saves default conf on boot now, simplify condition (#321) 2022-03-08 08:49:10 -06:00
Arceveti
4265019923 Fix NON_STOP_STARS & bhvCelebrationStar related issues with Bowser keys (#299)
Fix NON_STOP_STARS issues & bhvCelebrationStar related issues with Bowser keys
2022-01-22 14:07:55 -08:00
Reonu
ad91c636ad Update name of lighting engine branch in readme
sorry for pushing to master :(((((((((((((
2022-01-22 11:11:51 +02:00
Arceveti
730f020b6d Fix formatting inconsistencies in config files (#303)
Fix formatting inconsistencies in config files
2022-01-21 20:00:25 -08:00
Arceveti
483b72e7da Fix render menu buttons functions (#300) 2022-01-19 14:41:14 -08:00
Arceveti
36d41a7f94 Renamed HackerSM64 modified assets so they don't conflict with vanilla assets (#293) 2022-01-16 21:30:06 -08:00
Arceveti
af34a81c06 Fix credits text ifdef (#301) 2022-01-16 21:29:06 -08:00
Mr-Wiseguy
3fac5ad059 Downgraded from F3DZEX2.08J to F3DZEX2.08I so that point lighting works on Jabo (#313)
* Downgraded from F3DZEX2.08J to F3DZEX2.08I so that point lighting works on Jabo

* Swapped to MM's rspboot to fix bug caused by MM's F3DZEX2
2022-01-15 01:09:34 -05:00
Arceveti
6ba4fcdba1 Set oDrawingDistance to 4500 for WF breakable walls (#304) 2022-01-14 19:38:10 -08:00
Arceveti
38c6e456f1 Fix level enum conflict with 99+ levels (#307) 2022-01-14 19:37:56 -08:00
Mr-Wiseguy
7b58f63cbc Merge pending master hotfixes into 2.0.2 #311 2022-01-14 22:25:09 -05:00
Mr-Wiseguy
475e039f8a Fixed hackersm64 using a ucode that never existed (#309) 2022-01-15 03:13:40 +00:00
Arceveti
2329786f88 Make CLEARRAM mandatory (#297) 2022-01-12 15:00:22 -08:00
Arceveti
ca9f7967c8 Merge pull request #285 from Reonu/develop/arceveti/2.0.1/mr_i_iris_clipping
Fix wrong Y offset for Mr. I iris
2022-01-11 14:01:25 -08:00
Arceveti
1b66355249 Merge pull request #284 from Reonu/develop/arceveti/2.0.1/jp_baserom_requirement
JP Baserom is no longer required for US build
2022-01-10 20:52:31 -08:00
Arceveti
0789cf118e Only extract assets from JP/EU/SH roms if they exist 2022-01-10 20:50:37 -08:00
Arceveti
1b37e627bc Merge pull request #283 from Reonu/develop/arceveti/2.0.1/no_getting_buried_compiler_warning
Fix build warning when NO_GETTING_BURIED is enabled
2022-01-10 20:31:38 -08:00
Arceveti
886d9841a8 Better Mr. I offset fix 2022-01-10 18:27:08 -08:00
Mr-Wiseguy
25951363b7 Increment version hotfix 2022-01-07 14:14:47 -05:00
Mr-Wiseguy
797f9fa223 Reverted moving the buffers to fix pool issues 2022-01-07 13:54:04 -05:00
Arceveti
3d24cdee18 Merge pull request #280 from Reonu/develop/arceveti/2.0.1/hardcoded_cos_values
Fix hardcoded cos values in sm64.h
2022-01-07 00:00:59 -08:00
Arceveti
c9523aaa0b Fix wrong Y offset for Mr. I iris 2022-01-04 23:31:39 -08:00
Arceveti
84bbd2ae14 JP Baserom is no longer required for US build 2022-01-04 22:55:19 -08:00
Arceveti
9caafc54eb Fix build warning when NO_GETTING_BURIED is enabled 2022-01-04 22:18:35 -08:00
Arceveti
feff004ef9 Fix hardcoded cos values in sm64.h 2022-01-02 18:46:31 -08:00
Reonu
9d7d56989e New lighting engine branch name in readme 2022-01-01 23:47:08 +00:00
thecozies
f3e61a31aa HackerSM64 v2.0.0
* buffers: refresh 15 and revert to base decomp

* behavior script

* color helper functions

* extended bounds

* egeo_layout

* fixed model ids

* camera conf improved

* message panel ucode small

* graph node

* level script

* mathutil updates

* mathutil updates (allow unused funcs)

* behaviors a - beta_fish

* Add librtc and fix some data declarations

* Move GRUCODE define to proper location in makefile

* Refresh 15

* extra

* Make ROM name smaller and change messages printed on build a bit

* Fix console (lol)

* Update UNF to latest master

* Make ucode load from .o's (and also fix Super3D)

* Fix crash with rumble + custom mario model

* graph node and mathutil

* removed behaviors

* Ldtob documentation

* _Putfld labeling

* area

* behavior actions

* camera

* debug updates

* bubbles

* envfx snow

* farcall helpers

* game init

* geo misc

* hud

* only check if VC on render init

* ingame menu

* revert goddard to base decomp

* insn disasm

* interaction documentation

* level geo

* level update defines

* macro special objects formatting changes

* main.h documentation

* map parser documentation & formatting

* airborne documentation

* mario actions automatic documentation

* mario actions cutscene documentation

* mario actions moving documentation and options

* mario actions object documentation and options

* mario stationary documentation

* mario submerged documentation

* mario misc documentation

* mario step: ledge grab fixes and documentation

* mario documentation

* memory.h documentation

* moving textures

* object behaviors

* object collision

* fix flamethrower bug

* object helpers

* object list processor documentation

* paintings

* platform displacement

* print / printf

* puppycam absf

* puppyprint updates and formatting changes

* rendering graph node performance optimizations

* rumble opt and doc

* hqvm back to ultrasm64

* save file documentation and unlock defines

* s2d engine

* reset various files to ultrasm64

* file select

* intro geo documentation

* screen transition documentation

* segment2.h

* shadow overhaul

* skybox refactor

* sound init: clean up define usage + documentation

* spawn object optimizations and documentation

* spawn sound cleanup

* sram to ultrasm64

* star select cleanup

* title screen cleanup

* dialogs / text

* rename stomp smoke

* stomp smoke -> small water splash

* updated README

* compilation flags

* optimized file positions + support function/data sections

* surface collision performance improvements

* surface load optimizations

* camera conf documentation

* Allow easier command for opening puppyprint debug

* Rearranged framebuffers & fixed puppyprint console printing

* Fix shadow scaling and shifting

* Fix SILHOUETTE, OBJECTS_REJ, and ucode loading, also clean up render phase system a bit.

* Fixed build with BETTER_HANGING off

* Clean up OBJECTS_REJ ifdefs

* Fix duplicate comment & graph render layers/flags bitmask

* Fixed build with BETTER_HANGING off

* Fix Fast64 importing by reverting sSegmentTable change

* Readded missing functions that caused build errors with Mario head enabled

* Fixed clang compilation issues

* Add INTER mode for geo_update_layer_transparency

* Fix build warnings

* bugfix: miscalculation in obj_turn_toward_object

* Some puppytech fixes

* Further Puppycamera fixes

* Fix BUGFIX_DIALOG_TIME_STOP

Fixes #136

* Fix sliding platform bparams

* Add LEGACY_SHADOW_IDS define for Fast64 compatibility

* Apply suggested changes

* Better find_in_bounds_yaw_wdw_bob_thi ifdef

* Fix build warnings for unused functions

* Fixed stale reference bug from obj_mark_for_deletion change

* Fixed incorrect digit for 100s #145

* Change groundpound-fix define and functionality to just disable bonking

* Fixed puppyroll #134

* Adjust height value for terrain angle to kick in

* fixed hi score flashing

* Remove menudata backup (#131)

Not considered important enough to keep

* Fix fread() build warning

* Add COURSE_NUM_TO_INDEX to save_file_get_star_flags check in bhv_unagi_init

* Fix approach_s16 return value

* Use boolean defines for oCapDoScaleVertically

* Make the door lock a part of the key door model to eliminate z-fighting, also reduce z fighting on numbered doors with AUTO_LOD enabled.

* Move flames to LAYER_TRANSPARENT_INTER

* Resolved some compiler warnings and added FALL_THROUGH define (#168)

* Address some more compiler warnings with different define toggles

* Remove unnecessary fallthrough attribute

* fixed geo_process_billboard floating point exception

* Allow water to face any direction

* Initialize focOffset so that BBH doesn't crash

* Removed superfluous RDP commands when switching microcodes which would override scissor

* Set OBJ_FLAG_DONT_CALC_COLL_DIST on bhvUkikiCage

* Fix rumble build

* Fixed UNLOCK_FPS strobing

* Update src/game/object_helpers.c

Co-authored-by: thecozies <79979276+thecozies@users.noreply.github.com>

* Update src/game/object_helpers.c

Co-authored-by: thecozies <79979276+thecozies@users.noreply.github.com>

* Fix LEGACY_SHADOW_IDS id conflict

* Use the vanilla default value for rotating fire bars if bparam2 is 0

* START_LEVEL safeguard

* Fix some drawing distance issues caused by AUTO_COLLISION_DISTANCE

* Fix rumble build

* Fixed spline poll code using the wrong values for keyframes

* Update readme with better credits

Better credits for individual contributors

* add arthur

* added falco and moose

* add fazana

* le funny typo

* added S2DEX engine to credits

* silhouette + axo + ratio

* remove specific callouts + add auto col distance

* Update data/behavior_data.c

Co-authored-by: thecozies <79979276+thecozies@users.noreply.github.com>

* Update data/behavior_data.c

Co-authored-by: thecozies <79979276+thecozies@users.noreply.github.com>

* Update data/behavior_data.c

Co-authored-by: thecozies <79979276+thecozies@users.noreply.github.com>

* Revert formatting changes to match vanilla decomp

* Re-implement Y buffer for find_ceil

* Re-implement POWER_STARS_HEAL for normal Power Stars

* Start level comment & exit course comment/collapse

* utilize reonucam technique for FAST_VERTICAL_CAMERA_MOVEMENT

* Fix "MAX_REFERENCED_WALLS" typo

* Allow stop_and_set_height_to_floor to work at any height if Mario is teleporting (#213)

* Revert stop_and_set_height_to_floor to vanilla

Fixes #208

* Fixed sAudioEnabled so that it disables audio CPU processing as well

* Fixed puppyprint debug RDP us calculations

* Renamed sAudioEnabled to gAudioEnabled

* Replaced mtxf_to_mtx_asm with an equivalent implementation that supports WORLD_SCALE

* Moved extended bounds and world scale configuration to a new config_world.h file

* Default all objects to non-rej (#227)

Fixes #221 (Default all objects to non-rej)

* Fix #221

* Fix VISUAL_DEBUG breaking/crashing when OBJECTS_REJ is disabled (#211)

* Fix VISUAL_DEBUG breaking/crashing when OBJECTS_REJ is disabled

* Change vtl decrement in visual_surface_display from 6 to 3

Fixes #207

* Make area in SL igloo wider to prevent a softlock (#233)

Fixes #210

* Fix coin formation coins being deleted if they spawn in the middle of a floor, also fix TTM slide coin position (#232)

Fixes #201

* Make UNLOCK_ALL apply to more things

* Fix wrong ifdef/ifndef in bhv_invisible_objects_under_bridge_init

* Change chain chomp load/unload distances depending on number of segments (#237)

Fixes #192

* added WATER_PLUNGE_UPWARP define

* Add reonucam patch (#239)

* added reonucam patch
Fixes #218

* Fix how shadows handle water/transparency/height (#228)

* Fix how shadows handle water/transparency/height

* Change shadow check for flying carpets from a level specific check to a oPlatformOnTrackType check

Fixes #179

* added reonucam credit

* delete unnecesary patches

* Apply suggested changes

* murdered more patches

* UNLOCK_ALL unlocks the cap boxes

* UNLOCK_ALL unlocks cap boxes (slightly more epic edition)

* revert ceil buffer

* Renamed HD_INTRO_TEXTURES define, separated intro floombas

* prevent double definition of floombas

* actually prevent floomba redefinition

* Develop/refactor  default defines (#242)

* Changed default config options

* Added build dir to includePaths for pngs

* disable NO_SLEEP by default

* Disable puppyprint by default

Sorry fazana 😔

* fix typos

* add comment about BETTER_REVERB console perf

* disable blue coin switch retry by default

* Update config_audio.h

Co-authored-by: Reonu <danileon95@gmail.com>
Co-authored-by: Mr-Wiseguy <68165316+Mr-Wiseguy@users.noreply.github.com>

* revert air step line to vanilla to fix bitfs scaling platform issue (#247)

Fixes #200

* Fix stuttering on thin slopes (#248)

* Fix stuttering on thin slopes

* Revert vec3f_find_ceil calls to vanilla

* Rename vec3f_find_ceil to find_mario_ceil

* Update src/engine/surface_collision.h

Fixes #249

* Swap static and dynamic surface checks back to vanilla order (#253)

* Swap static and dynamic surface checks back to vanilla order

* re-enable DISABLE_ALL config

Fixes #251 #252

* Fixed save and quitting while in widescreen (#257)

* Fixed save and quitting while in widescreen

* use define for the level

* all my homies hate ifdefs

* skip wall offsets < 0 (#255)

Fixes #255

* #264: Document non-stop stars' issues (#267)

* #264: Document non-stop stars' issues

* Update include/config/config_game.h

* nonstop vanilla comment

* derive margin_radius from radius after capping at 200 (#266)

Fixes #259

* Config cleanup/refactor (#269)

* Moved puppyprint define to graphics / rearranged some debug defines for ease of access

* Moved compatibility safeguards to config_safeguards.h

* spacing and comment formatting

* #272 Move GFX_POOL_SIZE to config_graphics.h

* disable EASIER_DIALOG_TRIGGER by default

* prevent redefining warnings

* small ifdef typo

* changed ifndef to undefs

Fixes #262
Fixes #272

* Improved movement config documentation related to turning around (#271)

Fixes #270

* rename CUSTOM_DEBUG, add comments (#275)

* Update README.md (#277)

* v2.0.0

Co-authored-by: CrashOveride95 <crashoveride953@gmail.com>
Co-authored-by: Arceveti <73617174+Arceveti@users.noreply.github.com>
Co-authored-by: n64 <n64>
Co-authored-by: Fazana <52551480+FazanaJ@users.noreply.github.com>
Co-authored-by: Mr-Wiseguy <mrwiseguyromhacking@gmail.com>
Co-authored-by: aglab2 <aglab3@gmail.com>
Co-authored-by: gheskett <gheskett@gmail.com>
Co-authored-by: Reonu <danileon95@gmail.com>
Co-authored-by: Axollyon <20480418+Axollyon@users.noreply.github.com>
Co-authored-by: Mr-Wiseguy <68165316+Mr-Wiseguy@users.noreply.github.com>
2021-12-30 16:57:51 +00:00
Reonu
3a558060ab Add Wiseguy as a code owner
*flexes pushing to master privileges*
2021-12-19 19:11:17 +00:00
Gregory Heskett
79db39b06b Merge pull request #104 from PyroJay4/master
NOW its fixed :)
2021-11-16 18:25:29 -05:00
PyroJay4
2e619e5aff Add files via upload 2021-11-16 18:10:44 -05:00
PyroJay4
fa9ff4f9d5 Delete coin_tilt_right.ia8.png 2021-11-16 18:10:27 -05:00
PyroJay4
0aa9d73e8d Delete coin_tilt_left.ia8.png 2021-11-16 18:10:23 -05:00
PyroJay4
be9319e5c4 Delete coin_side.ia8.png 2021-11-16 18:10:19 -05:00
PyroJay4
f3e6641029 Delete coin_front.ia8.png 2021-11-16 18:10:14 -05:00
thecozies
23d34210dd Merge pull request #103 from PyroJay4/master
fix these to have outlines (sorry) (hopefully these will work now)
2021-11-15 20:02:52 -06:00
PyroJay4
9d9ac8eea1 Add files via upload 2021-11-15 20:39:16 -05:00
PyroJay4
734982d608 Delete coin_tilt_right.ia8.png 2021-11-15 20:38:55 -05:00
PyroJay4
1fee018a7f Delete coin_front.ia8.png 2021-11-15 20:38:44 -05:00
Reonu
9601207aa4 Merge pull request #98 from PyroJay4/patch-10
Update spawn_star.inc.c
2021-11-03 17:19:49 +02:00
PyroJay4
d1f6aa63b0 Update spawn_star.inc.c
ahahahahahahahahahahahahahahahahahahaha
2021-11-02 20:17:04 -04:00
Reonu
8147d08727 Merge pull request #65 from Reonu/nightly
Merge Nightly (ay lmao)
2021-10-08 02:24:02 +03:00
thecozies
a20e9210f9 Merge pull request #72 from Reonu/fix_geo_bone
Fixed geo_bone
2021-10-06 13:51:47 -05: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
Reonu
a3c233004f dpad down in aglabcam snaps to nearest axis instead of always going left 2021-10-05 21:55:24 +03:00
Reonu
2879456dbd Added Made with HackerSM64 msg (thanks to PyroJay) 2021-10-05 21:34:34 +03:00
Arceveti
708980de21 Revert execute_mario_action 2021-10-05 10:24:37 -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
da285a1457 Fix pokey distance 2021-10-04 12:14:02 -07:00
Fazana
77bf073449 Make layer 0 zex render first 2021-10-04 18:37:19 +01: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
9721960d80 Fixes for merging nightly 2021-10-03 12:56:45 -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
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
6052ed8cdf Revert some camera "optimisations" 2021-10-03 14:56:16 +01: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
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
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
Fazana
f32f2d3997 Clean up layer definitions
Turn ifdef hell into enum heaven 😎
2021-09-26 20:15:07 +01:00
Arceveti
499fc33d7e Fix spindrift actor model file 2021-09-26 12:02:26 -07:00
Arceveti
25e74c3e0a Revert "Replace header ifdef guards with #pragma once"
This reverts commit 3a6c577a41.
2021-09-26 11:34:20 -07:00
Arceveti
df165f80c9 Add BETTER_HANGING 2021-09-26 11:21:48 -07:00
Arceveti
aa2ebba8dc Move raycasting functions to surface_collision 2021-09-26 10:32:42 -07:00
Arceveti
4147082647 Optimize OBJ_OPACITY_BY_CAM_DIST + fix puppycam build warnings 2021-09-25 22:46:28 -07:00
Arceveti
cafd21dd76 Add OBJ_FLAG_OPACITY_FROM_CAMERA_DIST 2021-09-25 22:31:10 -07:00
Arceveti
159e137c84 Multiple options for turn radius fix 2021-09-25 22:10:28 -07:00
Arceveti
3d6725bfa1 the funny vec3f_copy optimization 2021-09-25 18:33:35 -07:00
Arceveti
bf3828b724 Make some particles unimportant objects 2021-09-25 12:31:37 -07:00
Arceveti
b9e8fe1b10 Optimize floor alignment 2021-09-25 12:26:14 -07:00
Arceveti
4310b698a7 Blue coin switch allows retries for remaining coins 2021-09-25 11:45:19 -07:00
Arceveti
c93dfc6226 Koopa shell boxes respawn 2021-09-25 11:28:13 -07:00
Arceveti
3a6c577a41 Replace header ifdef guards with #pragma once 2021-09-25 11:08:11 -07:00
Arceveti
0649427337 Some small fixes 2021-09-25 10:12:05 -07:00
Arceveti
a39b382db6 Sliding fixes 2021-09-25 10:00:59 -07:00
Arceveti
6d152e0ffb Remove duplicate function 2021-09-25 09:36:25 -07:00
Arceveti
759f6a5555 Merge branch 'master' of https://github.com/Reonu/HackerSM64 2021-09-25 09:31:56 -07:00
Arceveti
332d22489f Remove a bunch of unused/messy stuff 2021-09-25 09:31:45 -07:00
Reonu
50fa3a7b2e Turn off FIX_GROUND_TURN_RADIUS by default 2021-09-25 15:25:32 +03:00
Arceveti
05db3dbae2 Add approach_angle 2021-09-24 18:26:36 -07:00
Arceveti
cb7d58fff2 Fix puppyprint build warnings 2021-09-24 16:37:47 -07:00
Arceveti
f5c2794555 Fix silhouette having gaps at higher resolutions 2021-09-24 14:47:53 -07:00
Arceveti
4b5aab672a Fix FIX_GROUND_TURN_RADIUS 2021-09-24 14:45:01 -07:00
Arceveti
12c362ac86 Clean up some ifdefs and config.h 2021-09-24 12:17:18 -07:00
Fazana
923db21615 math util tweaks
Will use the optimal mtxf_to_mtx func based on what's needed, has a small quirk where you notice the fog switching but that's an issue with worldscale rather than this.
2021-09-24 19:02:57 +01:00
Fazana
1ad8fc51e1 Update script.c 2021-09-24 17:28:02 +01:00
CowQuack
517e43fda5 Merge pull request #62 from Reonu/skybox
Fixed save and quit with no mario head define
2021-09-24 11:29:58 -04:00
Mineqwerty
bab6cb3435 Fixed save and quit with no mario head define 2021-09-24 11:27:29 -04:00
Arceveti
304ee502c8 Some small optimizations 2021-09-23 18:56:14 -07:00
Arceveti
ecd56464cd Fix intro sound 2021-09-23 18:02:28 -07:00
Arceveti
6fcbb42632 Name warp-related defines and add option to disable intro demo 2021-09-23 17:37:05 -07:00
Arceveti
9b59eb0256 Code cleanup 2021-09-23 13:37:03 -07:00
Arceveti
8ad773a7eb Sort surfaces by upperY instrad of the first vertex 2021-09-23 12:59:06 -07:00
Arceveti
426d8ebae3 Fix side flip ground pound visual bug 2021-09-22 21:38:12 -07:00
Arceveti
23f29e64fc Fix burn smoke clearing G_CULL_BACK and not resetting it 2021-09-22 18:16:37 -07:00
Arceveti
c9373256c4 Fix vec3f_normalize 2021-09-22 18:14:19 -07:00
Arceveti
fba9f665cd Some small fixes 2021-09-22 18:03:54 -07:00
Arceveti
5beba37d0e More model fixes 2021-09-22 17:51:59 -07:00
Arceveti
d2c1564eed Make burn smoke texture fix optional 2021-09-22 17:40:55 -07:00
Arceveti
3a5d392b92 Fix some geolayouts with too many open/close nodes 2021-09-22 17:39:05 -07:00
Arceveti
d70c34f1d0 Fix some math_util functions returning the address of local variables 2021-09-22 17:34:25 -07:00
Arceveti
e1c0832a9d Paintings occlude silhouette 2021-09-22 17:16:49 -07:00
Arceveti
a5588326c4 Name active flags 2021-09-22 17:09:31 -07:00
Arceveti
e7fb56dc50 Add ability to increase the amount of graph node flags 2021-09-22 16:58:21 -07:00
Arceveti
49571ff93b Particles occlude silhouette 2021-09-22 12:04:35 -07:00
Arceveti
5afa901fcf Clean up AVOID_UB ifdefs 2021-09-22 11:35:17 -07:00
Arceveti
f40a1978d9 Remove BAD_RETURN 2021-09-22 11:21:23 -07:00
Arceveti
9e4a569cf6 Add GRAPH_NODE_TYPES_MASK and MODEL_STATE_MASK 2021-09-22 11:19:46 -07:00
Arceveti
78864302f7 OBJ_FLAG_UCODE_LARGE for breakable boxes and LLL tilting inverted pyramid 2021-09-22 11:00:10 -07:00
Fazana
164650b82a Vanilla ending credits bugfixes
The black border's a bit hacky because I don't remember where the original game did it lol, so ideally write over it with the original implementation if possible.
2021-09-22 17:33:34 +01:00
Arceveti
93000a11d4 OBJ_FLAG_UCODE_LARGE for thwomps and tilting inverted pyramid 2021-09-22 00:02:04 -07:00
Arceveti
2de268c45f Merge branch 'master' of https://github.com/Reonu/HackerSM64 2021-09-21 15:43:37 -07:00
Arceveti
55afd6d0dc Some more names 2021-09-21 15:43:29 -07:00
Fazana
2e13bd6635 Puppyprint CPU Profiler now disregards itself 2021-09-21 21:49:13 +01:00
Arceveti
39586c6cde Name object fields 2021-09-21 13:38:29 -07:00
Arceveti
d766e5448d Merge branch 'master' of https://github.com/Reonu/HackerSM64 2021-09-21 12:26:12 -07:00
Arceveti
59d609fb07 Fix silhouette 2021-09-21 12:25:56 -07:00
Fazana
ab630e5be1 Merge branch 'master' of https://github.com/Reonu/HackerSM64 2021-09-21 20:03:55 +01:00
Fazana
53e28abb95 Analogue Camera fixes for classic input 2021-09-21 20:03:39 +01:00
Arceveti
bd9165686d Clean up surface_collision a bit 2021-09-21 11:59:54 -07:00
Fazana
fba2fb8b27 Crash screen visual polish 2021-09-21 19:13:48 +01:00
Arceveti
efed7a1801 Fix castle lobby key doors 2021-09-21 11:09:13 -07:00
Arceveti
fe9d1f93b1 More OBJ_FLAG_UCODE_LARGE usage + fix Mr. I scaling 2021-09-20 23:17:32 -07:00
Arceveti
2badfe6ce0 OBJ_FLAG_UCODE_LARGE for HMC platform 2021-09-20 20:09:38 -07:00
Arceveti
0d2daf0776 A few more names + cleanup find_wall_collisions_from_list a bit 2021-09-20 18:29:58 -07:00
Arceveti
022679b8b7 Small fix 2021-09-20 17:25:24 -07:00
Arceveti
eedca61a73 Some vector macros in math_util.h 2021-09-20 17:10:08 -07:00
Arceveti
6fadffac53 OBJ_FLAG_UCODE_LARGE for a few more objects 2021-09-20 16:58:44 -07:00
Arceveti
f64c7a9542 Name some more stuff 2021-09-20 16:54:52 -07:00
Arceveti
bf0acb6cbe Name a bunch of stuff 2021-09-20 16:25:58 -07:00
Arceveti
866f0f5de5 Fix build warnings 2021-09-20 15:09:56 -07:00
Arceveti
05606c0ada Fix Mr. I billboarding 2021-09-20 15:06:32 -07:00
someone2639
dddd517e68 Merge pull request #59 from someone2639/master
Crash Screen: Report Name of Crashed Function + Stacktrace
2021-09-20 17:18:57 -04:00
someone2639
e80150657e allow debug map stacktrace to be turned off 2021-09-20 17:17:09 -04:00
someone2639
f9fa79ff7d Merge branch 'master' of https://github.com/Reonu/HackerSM64 2021-09-20 16:12:18 -04:00
Arceveti
fcc73fde9f Fix typo 2021-09-20 12:10:14 -07:00
Fazana
a648505f6b Geo bones 2021-09-20 16:40:02 +01: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
someone2639
fa2d2a8052 fix crash screen behavior when stacktrace is theoretically disabled 2021-09-19 12:39:10 -04:00
someone2639
c97acfb2d8 add 2 more stacktrace entries to fill the page 2021-09-19 12:35:48 -04:00
someone2639
a57acd8d5a Merge branch 'master' of https://github.com/Reonu/HackerSM64 2021-09-19 12:29:41 -04:00
someone2639
078ee5f595 add 3rd crashscreen page that prints stack trace 2021-09-19 12:29:23 -04:00
someone2639
8806460e72 add stack traversal 2021-09-19 12:29:05 -04:00
someone2639
f8dbc176f4 add markers for text end for stacktrace 2021-09-19 12:28:49 -04:00
Fazana
7c4eaf8002 Update heap.c 2021-09-19 16:48:09 +01:00
someone2639
9ada93c1e5 merged master crash screen changes 2021-09-19 11:30:22 -04:00
Fazana
cd34c5fff7 Crash screen now has multiple pages
Can be moved with L and R
2021-09-19 13:57:13 +01:00
Arceveti
de0d09500c More OBJ_FLAG_UCODE_LARGE usage 2021-09-19 00:29:16 -07:00
someone2639
4afc5a6749 allow a vector for debug stacktrace to be turned off in the makefile 2021-09-19 00:42:06 -04:00
someone2639
9c3ee2be96 remove unnecessary bss 2021-09-19 00:34:21 -04:00
someone2639
cb7357531a allow map debug to be turned off 2021-09-19 00:33:39 -04:00
someone2639
d045f95b5c import map packer script; remove debug print 2021-09-18 23:56:00 -04:00
someone2639
ee3fd0b81d map parsing code added 2021-09-18 23:55:48 -04:00
someone2639
3d570ffe44 add map bin tracker 2021-09-18 23:55:37 -04:00
someone2639
25d6ba568d add map parser init 2021-09-18 23:55:18 -04:00
someone2639
612999f1b1 import my makefile rules; put map data at the end of the rom 2021-09-18 23:54:35 -04:00
Arceveti
1d052879b8 More objects use OBJ_FLAG_UCODE_LARGE 2021-09-18 19:31:25 -07:00
someone2639
453136149c print denorms 2021-09-18 21:56:17 -04:00
Arceveti
c0fa190bb9 Add ground turn circle fix 2021-09-18 18:55:08 -07:00
Arceveti
e57f1dc59a Add Silhouette 2021-09-18 15:55:57 -07:00
Arceveti
d019fcdbbe Merge branch 'master' of https://github.com/Reonu/HackerSM64 2021-09-18 15:03:04 -07:00
Arceveti
67a07355da Fix environment mapping 2021-09-18 15:02:53 -07:00
Fazana
a500661b0b puppycam default fix lol 2021-09-18 16:52:31 +01:00
Arceveti
b888c329d7 Merge https://github.com/CrashOveride95/ultrasm64 2021-09-17 19:56:54 -07:00
Arceveti
2927db262c Add FramePerfection's Better Wall Collision with rounded corners 2021-09-17 19:26:13 -07:00
Arceveti
97f6fa6959 Remove redundant function/struct 2021-09-17 18:22:29 -07:00
Arceveti
38fdbb6ec3 Add F3DEX2_Rej 2021-09-17 17:32:11 -07:00
CrashOveride95
c54952e9fc add F3DZEX xbus defines 2021-09-17 18:56:59 -04:00
CrashOveride95
6abfd9ec80 Add XBUS ucodes 2021-09-17 18:55:13 -04:00
CrashOveride95
c8c00e81ad Merge branch 'master' of https://github.com/CrashOveride95/ultrasm64 2021-09-17 17:54:28 -04:00
CrashOveride95
a6c001d42c Remove Fast3D 2021-09-17 17:53:53 -04:00
Fazana
55017da993 Puppycam Freeview improvements 2021-09-17 20:10:01 +01:00
Fazana
f190671ade RIGHT FUNCTION STUPID 2021-09-17 17:45:43 +01:00
Fazana
0b3c98557c Surface iteration optimisation
Skips over surfaces that will literally never intentionally come into play.
2021-09-17 17:35:33 +01:00
Fazana
02a6bf0f95 debug box flag update for puppycam and puppylights 2021-09-17 14:37:47 +01:00
Fazana
ce9abd6aff Debug Box supports ucode flags 2021-09-17 14:29:22 +01:00
Reonu
b47ac5e6b7 Merge pull request #57 from aglab2/vc-fix-917
Fixed VC boot
2021-09-17 15:32:27 +03:00
aglab2
0e0a7a38c7 Fixed VC boot 2021-09-17 20:31:29 +08:00
someone2639
d5abe13913 Merge pull request #56 from Reonu/experimental
Objects rendering on F3DLX2.Rej
2021-09-17 08:29:41 -04:00
Fazana
7d73ef5bf6 Puppycam free view mode
Intended mainly for use with developing, but not impossible to purpose for other means. Just set PUPPYCAM_BEHAVIOUR_FREE in intendedFlags to enable it, and remove it to disable it. Mario will be immobilised when in this mode. Puppyprint debug integration soonish
2021-09-17 11:53:04 +01:00
Fazana
df6c88a688 Merge branch 'master' into experimental 2021-09-17 11:00:44 +01:00
CrashOveride95
7c908a4835 Merge pull request #22 from thecozies/vscode-conf
added forced includes to c vscode configuration
2021-09-16 20:00:23 -04:00
Fazana
26005df9d7 Label RCP resets 2021-09-16 23:14:53 +01:00
Reonu
4baa67921c Merge branch 'master' of https://github.com/Reonu/HackerSM64 2021-09-17 00:19:00 +03:00
Reonu
fc30f1bb1e add obj_get_model_id function 2021-09-17 00:18:52 +03:00
Reonu
b5db4b557a Merge pull request #55 from thecozies/vscode_config
added forced includes to c vscode configuration
2021-09-17 00:11:12 +03:00
Fazana
655975d6e8 Merge branch 'master' into experimental 2021-09-16 18:03:01 +01:00
Reonu
f9e2070eb1 add NO_GETTING_BURIED define 2021-09-16 11:19:12 +03:00
Arceveti
48a4d5a405 Make objFlags an s32 2021-09-15 18:54:56 -07:00
Fazana
6f852f2e13 Globally link essential ucodes rather than sometimes 2021-09-15 21:37:45 +01:00
Arceveti
604b1405a2 Make debug level select work without KEEP_MARIO_HEAD 2021-09-15 10:40:21 -07:00
Arceveti
a09bdd0ffb Fix shadow transparency 2021-09-15 10:35:58 -07:00
Fazana
a40cf7f7ef Small order fix 2021-09-15 15:05:44 +01:00
thecozies
99c0c967cd added forced includes to c vscode configuration 2021-09-15 08:08:33 -05:00
thecozies
7805af0167 added forced includes to c vscode configuration 2021-09-15 06:59:28 -05:00
Fazana
35c5adafbe Fix layering a bit more. 2021-09-14 22:41:47 +01:00
Fazana
2a4dec1890 Fixed render order 2021-09-14 22:32:21 +01:00
Fazana
93e3bc48ba Merge branch 'master' into experimental 2021-09-14 21:55:26 +01:00
Fazana
9d1329f245 F3DLX2.Rej integration
The master displaylist has been split into two, one for things to render in F3DZEX, and one that renders in F3DLX2.Rej, with the aim to save performance when rendering smaller things.
2021-09-14 21:43:55 +01:00
Fazana
3e16820b1e Audio Load Improvements
Audio in EU and US has been modified so it no longer has coded dead frames in between loading, speeding up level load times substantially.
2021-09-14 21:41:06 +01:00
Fazana
6e07c3c724 Last Minute fixes 2021-09-14 11:29:08 +01:00
Fazana
12b1c1a71c Merge branch 'master' into experimental 2021-09-14 11:20:23 +01:00
Arceveti
423e42d697 Name a bunch of stuff 2021-09-13 19:57:26 -07:00
Fazana
dea0636918 Merge branch 'master' into experimental 2021-09-13 12:11:32 +01:00
Fazana
0ffdab82ce Reverted the libz and goddard commit
Couldn't get it to build 😔
2021-09-13 12:08:50 +01:00
Fazana
3bcc61ed90 Merge remote-tracking branch 'upstream/master' 2021-09-13 11:41:09 +01:00
Fazana
d8b48cad5d Merge branch 'experimental' of https://github.com/Reonu/HackerSM64 into experimental 2021-09-13 10:55:53 +01:00
gheskett
9feb8b0cf4 bugfix: booting audio downsampling=1 crashes when setting downsample to 2+ 2021-09-13 00:19:14 -04:00
CrashOveride95
c049b71dad Fix pallete for CI fast64 2021-09-12 20:50:29 -04:00
CrashOveride95
7f872116c3 Add CI support 2021-09-12 20:14:45 -04:00
CrashOveride95
77dd0045fa Fix UNF by moving it's code to engine segment
Additionally update UNF code to latest master
2021-09-12 19:33:32 -04:00
Fazana
e29cc81682 Yiik 2021-09-12 20:31:34 +01:00
CrashOveride95
3ba7236e64 Only build libz/goddard if required 2021-09-12 15:08:08 -04:00
gheskett
21c68cb797 Merge branch 'experimental' of https://github.com/Reonu/HackerSM64 into experimental 2021-09-12 12:26:26 -04:00
Fazana
c67cd55d03 Make 2021-09-12 17:23:59 +01:00
gheskett
f9f360d4a0 bugfix: set start pointer for EU soundAlloc 2021-09-12 11:58:22 -04:00
Fazana
98f24ef2e1 Merge branch 'master' into experimental 2021-09-12 16:49:53 +01:00
gheskett
a526dc7306 more bzero stuffs 2021-09-12 11:30:58 -04:00
Fazana
815d02a685 Strength. 2021-09-12 13:02:45 +01:00
Fazana
5a1a075e35 Puppylights ambient and direction fix 2021-09-12 12:37:15 +01:00
Fazana
d3da54a8de Fix puppyprint debug reading 2021-09-12 10:21:10 +01:00
Fazana
ebcba170ce Merge branch 'experimental' of https://github.com/Reonu/HackerSM64 into experimental 2021-09-12 09:59:27 +01:00
gheskett
b2587170c5 update incorrect comments 2021-09-12 01:21:12 -04:00
gheskett
2583c3df7a Increase EU reverb windows and remove downsampling 2021-09-12 01:18:17 -04:00
gheskett
137a00e80b Some BETTER_REVERB optimizations 2021-09-12 00:59:36 -04:00
gheskett
a242136399 Heavy cleanup of audio buffer allocations and reverb fixes/improvements 2021-09-12 00:39:51 -04:00
Arceveti
38c5475665 Use -Ofast since it doesn't seem to break anything 2021-09-11 20:46:38 -07:00
Fazana
b27fd9711b Merge branch 'master' into experimental 2021-09-11 22:30:10 +01:00
Fazana
df0e11f6a1 Puppyprint CPU reading tweak 2021-09-11 22:29:53 +01:00
Fazana
58ee7f3408 Oops 2021-09-11 21:45:25 +01:00
Fazana
1b79bbd6ce I have become speed destroyer of worlds 2021-09-11 21:25:13 +01:00
Fazana
32241c0edc Society 2021-09-11 21:10:22 +01:00
gheskett
d7c0a1a1d7 remove single-frame audio corruption for US 2021-09-11 15:16:39 -04:00
Arceveti
a1b2080b26 Fix build & build warnings 2021-09-11 10:58:54 -07:00
Fazana
94baa85081 No I don't think I will 2021-09-11 18:47:04 +01:00
Fazana
3b1deb1941 Bronke 2021-09-11 17:57:32 +01:00
Fazana
f34cb5dd3d Puppylights Bugfixes
Distance scaling is now correct on every axis, and there is a new flag, that will ignore the Y axis completely when calculating distance scaling.
Additionally, ambient lights will now only apply brightening once for directional lights, and the light diffuse now approaches the correct value, eliminating light clipping.
2021-09-11 15:24:10 +01:00
Fazana
b9c43bb721 Mario Gaming branded crash screen 2021-09-10 21:37:35 +01:00
Fazana
3562e6ef60 EU now stable™️ 2021-09-10 20:39:49 +01:00
Fazana
3a315de1c3 Small baby tweak small 2021-09-10 15:27:56 +01:00
Fazana
b5f10496d2 Audio pitch correction PoC 2021-09-10 14:18:23 +01:00
Fazana
7f12add23c Merge branch 'master' of https://github.com/Reonu/HackerSM64 2021-09-10 12:17:01 +01:00
Fazana
72ad4966d0 Puppylight crash fix 2021-09-10 12:16:58 +01:00
Fazana
3ca5ef6561 Merge branch 'CrashOveride95:master' into master 2021-09-10 11:45:49 +01:00
CrashOveride95
99daddfc1d Add F3DEX2_Rej 2021-09-10 06:40:52 -04:00
Fazana
295ec48802 Audio just loads once on EU now lol 2021-09-10 11:32:28 +01:00
Fazana
014c2189e9 Audio system loading adjustments 2021-09-09 21:06:26 +01:00
Arceveti
b80529d0e9 Add OBJ_FLAG_VELOCITY_PLATFORM for velocity-based platform displacement for certain objects like the TTC treadmills 2021-09-09 12:09:13 -07:00
Fazana
caab929608 Update README.md 2021-09-09 14:12:35 +01:00
Fazana
660635bc86 Puppylights 2021-09-09 14:06:48 +01:00
Fazana
0afe65462d Update object_helpers.c 2021-09-09 14:06:35 +01:00
Fazana
2894e3cab8 Update spawn_object.c 2021-09-09 14:05:38 +01:00
Fazana
93f8872bd9 Society if Faz commented his code any further 2021-09-09 13:29:13 +01:00
Fazana
8b55b543b3 Rotation fix 😳
Also consolidating the iteration into just one if because legit nothing else is necessary
2021-09-09 13:03:40 +01:00
Fazana
f20e5a24b2 Light polish
Which sounds conceptually impossible, given what light is.
2021-09-09 10:59:50 +01:00
Fazana
b5b886ab26 actually lets not 2021-09-08 20:45:35 +01:00
Fazana
cc0d19592c tweak ☎️ 2021-09-08 20:34:24 +01:00
Fazana
c663ad90ed Area node fix 2021-09-08 19:42:25 +01:00
Fazana
f224f845d2 Allocation fixes 2021-09-08 14:54:02 +01:00
Fazana
00f2afa279 Merge branch 'master' into experimental 2021-09-08 14:53:55 +01:00
Fazana
f0fd048e5b Some puppylight failsafes
In case you mess up your light formatting.
2021-09-07 23:44:46 +01:00
Fazana
f1377af58a Unlock all define, to open every vanilla locked thing 2021-09-07 23:44:09 +01:00
Fazana
315eac02ae Signedness fix 2021-09-07 22:52:12 +01:00
Fazana
ba8cc7cd5c Optimisation 2021-09-07 22:47:01 +01:00
Arceveti
27b90244c6 Fix TTC treadmills' fog 2021-09-07 14:06:55 -07:00
Fazana
fc28d5e791 TTC Fog fix 2021-09-07 21:33:41 +01:00
Fazana
e368b33c0b Ifdef fixes 2021-09-07 18:08:56 +01:00
Fazana
d90d0c7d92 Merge branch 'experimental' of https://github.com/Reonu/HackerSM64 into experimental 2021-09-07 17:58:37 +01:00
Fazana
c9cb181b4c Update puppylights.h 2021-09-07 15:56:01 +01:00
Fazana
98bc1fac82 Update puppylights.c 2021-09-07 15:55:34 +01:00
Fazana
5630194ff3 Update config.h 2021-09-07 15:40:00 +01:00
Fazana
895266d635 Merge branch 'master' into experimental 2021-09-07 15:14:19 +01:00
Fazana
9fd37fba3b Crash Screen Tweaks
Now uses the game's framebuffer so no more clown vomit, and char buffer is now properly cleared before printing float regs.
2021-09-07 15:11:00 +01:00
Fazana
2a78404ef5 Puppylights 2021-09-07 12:13:40 +01:00
gheskett
e94c4ec8f8 Set minimum allowable tempo to 0 rather than 1 2021-09-07 05:28:44 -05:00
Reonu
89952ab89b Merge pull request #50 from PyroJay4/patch-8
Update koopa_shell_underwater.inc.c
2021-09-07 00:28:42 +03:00
Reonu
9b796b6ed1 Merge pull request #49 from PyroJay4/patch-7
Update spawn_object.c
2021-09-07 00:27:04 +03:00
PyroJay4
5a63d5754f Update koopa_shell_underwater.inc.c
pretty sure this fixes a bug where the particles dont spawn correctly
2021-09-06 12:33:54 -04:00
PyroJay4
f29a1694de Update spawn_object.c
remove hardcoded object distance thing
2021-09-06 12:29:11 -04:00
Arceveti
2d58bddd06 Add fix for obj_resolve_object_collisions 2021-09-05 12:18:00 -07:00
Fazana
13db5a7d4e Merge pull request #48 from Reonu/skybox-hotfix
Skybox pointer array is now 8 long
2021-09-05 19:32:02 +01:00
someone2639
09dd17de8a Update game_init.h 2021-09-05 14:30:51 -04:00
someone2639
0de88afc9b Skybox pointer array is now 8 long 2021-09-05 14:29:56 -04:00
someone2639
2966a28dbf Merge pull request #45 from Mineqwerty/skybox
Added a level script function to easily set a skybox for each area
2021-09-05 12:03:47 -04:00
Mineqwerty
e248621a55 Added area number define, fixed undefined init value 2021-09-05 11:35:35 -04:00
Mineqwerty
fdf375faa8 puppycam interference >:( 2021-09-05 11:14:55 -04:00
Mineqwerty
93f163fb56 Merge https://github.com/Reonu/HackerSM64 into skybox 2021-09-05 11:14:15 -04:00
Mineqwerty
aa8c033e2b Clear pointers + misc recommended fixes 2021-09-05 11:00:11 -04:00
someone2639
98286833a1 Merge pull request #47 from aglab2/vc_hacks
gIsVC is introduced, VC_HACKS define is removed
2021-09-05 08:20:30 -04:00
aglab2
03a4b6497f Move gIsVC in vc_check 2021-09-05 20:11:56 +08:00
Fazana
1b9ca2016b Merge pull request #46 from aglab2/jittering-fix
Added puppycamera jittering fix
2021-09-05 12:18:52 +01:00
aglab2
6ba869691b gIsVC is introduced, VC_HACKS define is removed 2021-09-05 16:59:50 +08:00
aglab2
212eae31f6 Added puppycamera jittering fix 2021-09-05 15:23:34 +08:00
Mineqwerty
33fa7013b0 Added a level script function to easily set a skybox for each area
In your level script add the function
CHANGE_AREA_SKYBOX(Area ID, Skybox Segment Start, Skybox Segment End) .
2021-09-04 20:27:21 -04:00
Arceveti
4c655bfdc0 Automatically get optimal collision distance 2021-09-04 09:59:30 -07:00
Fazana
5be32f1c24 pal momento
pal momento
2021-09-03 13:40:57 +01:00
Fazana
35cb92b940 Rom header correction 2021-09-03 10:05:17 +01:00
Fazana
3a0a7f9ddb ROM header now contains correct savetype data
Should you change what save type you use, the rom will have the correct savetype in the header.
2021-09-02 20:47:09 +01:00
gheskett
beb854b2ea One more BETTER_REVERB remark 2021-09-01 15:39:27 -07:00
gheskett
b230f2b73f Reconfigure BETTER_REVERB console default parameters 2021-09-01 15:03:08 -07:00
gheskett
a8eef384fc BETTER_REVERB now properly limited to use with US/JP as to not break EU when enabled 2021-09-01 14:12:03 -07:00
Reonu
5c8ecefa0b I'm very smart and posted a temporary link 2021-08-29 10:58:34 +01:00
Reonu
57c7d2729b Added discord link to readme 2021-08-29 10:57:57 +01:00
Fazana
19b49f3f37 Merge pull request #44 from aglab2/smooth-y-pupper
Puppycam: use softer clamp for Y movement
2021-08-29 10:24:44 +01:00
aglab2
52f3b08a6f Puppycam: use softer clamp for Y movement 2021-08-28 21:41:43 +08:00
Fazana
60612ff1ec Nearclipping now scales with farclipping automatically and correctly
Also stubbed out an experimental PC2 thing I forgot to do the first time lolol
2021-08-27 12:31:43 +01:00
Fazana
1e0d308382 Puppycamera 2.2 + Auto World Render Scale
Puppycam 2.2 introduces splines, with intention to be used for cutscenes.
2021-08-27 12:06:53 +01:00
Fazana
8705dcf77a Puppycamera 2.2 2021-08-26 19:47:48 +01:00
Fazana
8bc9863abe Merge branch 'master' into puppycamera2 2021-08-26 19:45:48 +01:00
gheskett
402ac0986f Remove unnecessary vibrato restriction for JP and US audio 2021-08-25 21:17:59 -05:00
Fazana
49b5d9f35f Update rendering_graph_node.c 2021-08-26 00:20:40 +01:00
Reonu
f74feac3a8 fixed puppyprint 2021-08-25 23:57:44 +01:00
Reonu
2255f8da0f Merge branch 'master' of https://github.com/CrashOveride95/ultrasm64 2021-08-25 23:54:28 +01:00
CrashOveride95
e43c9463d5 Move decompression code to boot segment 2021-08-25 16:09:31 -04:00
aglab2
57b7e5aec3 Removed gdb references from ld 2021-08-25 16:01:10 -04:00
aglab2
46f64263ea Move most of the 'game' to engine segment to avoid 1MB limit 2021-08-25 16:00:24 -04:00
Fazana
da0798f6f6 Puppyprint Logging
Puppyprint now supports logging strings for debugging use. tapping dpad left while inside the puppyprint debugging screen will toggle it
2021-08-25 20:45:26 +01:00
Fazana
c9bf910abf Puppyprint debugging is now correctly ommitted if debugging is set to 0 2021-08-25 19:33:56 +01:00
Fazana
8cda57e716 Update config.h 2021-08-25 19:05:07 +01:00
Fazana
552ef45203 dammit unticked the wrong file 2021-08-25 19:02:45 +01:00
Fazana
5bb14224f7 Make World scale automatic 2021-08-25 19:01:54 +01:00
Fazana
6173fe01f2 Remove sound bank size table
It's literally useless and saves a step when adding extra sound ID's
2021-08-25 13:22:45 +01:00
Reonu
93693e34e5 Merge branch 'master' of https://github.com/CrashOveride95/ultrasm64 2021-08-25 00:57:40 +01:00
Reonu
30fd330755 Reonu not edit the readme 20 times challenge 2021-08-25 00:13:06 +01:00
Reonu
083670df23 Add Lighting Engine mention to main readme 2021-08-25 00:11:51 +01:00
CrashOveride95
43e7eeb869 Fix printing audio data sizes in load.c 2021-08-24 16:26:30 -04:00
Fazana
53acc2cc31 Merge pull request #41 from aglab2/pupper-landing-master
Puppycam: fixed unsmooth landing from the high places
2021-08-24 16:50:38 +01:00
Fazana
8406c39167 Surface typedef tweak 2021-08-24 16:38:32 +01:00
aglab2
28c4ae2e3f Puppycam: fixed unsmooth landing from the high places 2021-08-24 23:34:33 +08:00
Fazana
435e8c74fa Puppycam raycasts moved to engine segment
Also no longer need puppycam enabled to use.
2021-08-24 13:53:04 +01:00
Fazana
710256e9f1 TLB clears fixed for real for real
man.
2021-08-23 18:38:43 +01:00
Fazana
43fae23555 The most important commit to date. 2021-08-23 17:22:46 +01:00
Fazana
bc903a73fc Further TLB fix
Imagine testing 2 segments and having them work perfectly fine, and then you go for the third, and it somehow doesn't work, because clearly you can't trust a system that loads 3 things in a row to just map it to the first 3 :^)
So guess we have a mapping segment table now to track it.
2021-08-23 14:06:27 +01:00
Fazana
bc1fac4b9e Farcall tweaks
You can now safely store code in global banks without the game murdering it. Also fixed some `memory.c` warnings
2021-08-23 12:10:03 +01:00
Fazana
6fe64bc9ab Merge remote-tracking branch 'upstream/master' 2021-08-22 22:11:35 +01:00
Fazana
65d5894b9d Update README.md 2021-08-22 21:52:50 +01:00
Fazana
011459e413 Merge pull request #36 from Reonu/puppycamera2
Farcall
2021-08-22 21:50:59 +01:00
CrashOveride95
587137a5fe whoops didn't commit everything 2021-08-22 11:59:26 -04:00
CrashOveride95
4ea65071f3 Add L3DEX2 mode
Mostly as a "curiosity" mode, not intended to be used for serious mods
(unless you implement ucode loading but that's not being done here)
2021-08-22 11:59:13 -04:00
Fazana
ccfa157455 Farcall 2021-08-22 13:39:47 +01:00
Fazana
ba85b7c017 Puppyprint fix
Makes the test func run only when needed rather than all the time.
2021-08-21 17:59:21 +01:00
Fazana
be3f940714 Update README.md 2021-08-21 00:20:20 +01:00
Fazana
e20a59ed18 Visual Surface envboxes
Visual Surface collisions now include environment boxes.
2021-08-20 23:44:31 +01:00
Fazana
90b52b185e Merge pull request #35 from Reonu/puppycamera2
Visual Collision Debug
2021-08-20 18:03:52 +01:00
Fazana
2469b9e67d fix epic undo fail
fix epic undo fail
2021-08-20 18:00:17 +01:00
Fazana
ced848892c Visual Collision Debug
Added some toggable visuals when enabled.
Allows you to see surface collision, as well as object hitboxes.
2021-08-20 17:39:22 +01:00
Reonu
9fb44f0099 Merge pull request #34 from PyroJay4/patch-6
Update dialogs.h
2021-08-20 16:47:11 +01:00
PyroJay4
7b2391d948 Update dialogs.h 2021-08-20 08:57:22 -04:00
PyroJay4
5f094cacf9 Update dialogs.h
idk i was browsing decomp and this typo bugged me kekw
2021-08-20 08:55:40 -04:00
Fazana
ee1658fdc5 Merge pull request #33 from Reonu/puppycamera2
Collision data type define
Extensively tested now, so all gucci
2021-08-19 18:57:50 +01:00
Fazana
129a29cbb2 Merge branch 'master' into puppycamera2 2021-08-19 18:53:39 +01:00
Fazana
e4e4cca62d header typo fix 2021-08-19 15:52:32 +01:00
Fazana
b5c3433cf9 Lookat Matrix div0 fix 2021-08-19 11:05:42 +01:00
Fazana
57e9301751 Collision data type define
Terrain data can now be configured to be a different type other than s16, for any nefarious reasons
2021-08-18 22:36:42 +01:00
Fazana
a22426a42b Merge pull request #32 from aglab2/pupper2
Added more reasonable values for puppycam, removed profanity
2021-08-18 15:50:10 +01:00
aglab2
0b027cc668 Added more reasonable values for puppycam, removed profanity 2021-08-18 22:30:59 +08:00
Reonu
c18ad0a0d8 Add VC_HACKS info in makefile 2021-08-18 13:04:33 +01:00
Reonu
3fc2cb343b Merge branch 'master' of https://github.com/Reonu/HackerSM64 2021-08-18 13:00:51 +01:00
Reonu
a1be5357e8 Merge branch 'master' of https://github.com/CrashOveride95/ultrasm64 2021-08-18 13:00:03 +01:00
CrashOveride95
74a4ccae5f Merge pull request #20 from CrashOveride95/revert-18-static-ld
Revert "statically link included ld"
2021-08-17 22:11:56 -04:00
CrashOveride95
cf4a527c48 Revert "statically link included ld" 2021-08-17 22:11:38 -04:00
Reonu
9ebdfcdd51 Replaced referenced to old repo name 2021-08-18 01:53:18 +01:00
Reonu
756d8a0a9d removed unnecesary widescreen string 2021-08-17 21:28:26 +01:00
Fazana
0f9202a39b Puppyprint now benchmarks raycasts as collision
title
2021-08-17 20:53:59 +01:00
Reonu
36e4b0013f now requires JP ROM to build 2021-08-17 18:57:39 +01:00
Reonu
66114eec70 Merge branch 'master' of https://github.com/Reonu/HackerSM64 2021-08-17 18:42:35 +01:00
Reonu
cd41a98efe added orig files to gitignore 2021-08-17 18:42:24 +01:00
Fazana
7cf370cf28 Puppycam raycasting improvements
It now can distinguish collision surfaces by type, which will be handy for anyone using it only searching for specific surfaces.
2021-08-17 18:02:04 +01:00
Fazana
d379314e83 small camera speed change
and a classic mode fix
2021-08-17 16:44:33 +01:00
Reonu
7406db57ee fixed reonucam3 again 2021-08-17 16:15:47 +01:00
Reonu
ff9198975a force camera to 8 dir with CAMERA_FIX 2021-08-17 16:12:31 +01:00
Fazana
674514f691 Puppycam Collision Tweaks
Should make some collision a bit smoother now
2021-08-17 10:28:30 +01:00
Fazana
332dbcd2c1 Revert Config
I mean puppycam should be default :^)
but just cleaning up a small oopsie
2021-08-16 22:15:57 +01:00
Fazana
4a35e78587 Merge pull request #31 from FazanaJ/master
Puppycam Incline Look Smoothing
2021-08-16 22:12:38 +01:00
Fazana
064245678a Puppycam Incline Look Smoothing
finally
2021-08-16 22:10:57 +01:00
Reonu
df47e227e0 Merge pull request #30 from FazanaJ/master
EU now successfully builds + misc
2021-08-16 21:40:54 +01:00
Fazana
0395d1a40d EU now successfully builds + misc
And has the language related stuff without the need of ifdef hell
ROM now pads only to 1.1MB
And collision has some unnecessary typecasting removed for performance
2021-08-16 17:41:27 +01:00
Reonu
c1ef7c93d4 Update README.md 2021-08-16 15:17:22 +01:00
Fazana
c294980de2 Rom crash fix and puppycam volume fix
A hasty fix so built roms can actually work
2021-08-16 12:36:03 +01:00
Reonu
f0971b9cb8 Merge pull request #29 from someone2639/shift_segs_2
Shiftable Segments 2.5: I think I actually fixed it this time
2021-08-15 21:06:29 +01:00
someone2639
c0d2820dbc no more hardcoded_syms 2021-08-15 14:55:27 -04:00
someone2639
b3c95a8f5f SS2: Makefile now links the whole rom twice 2021-08-15 14:52:34 -04:00
someone2639
34c27a8971 SS2: getGoddardSize now outputs a file with version in mind 2021-08-15 14:52:15 -04:00
someone2639
77756a5f58 SS2: sm64.ld now has a preliminary mode; no more goddard.ld 2021-08-15 14:51:48 -04:00
Reonu
8a955b51e8 Merge pull request #28 from Reonu/puppycamera2
Puppycamera2
2021-08-15 17:50:08 +01:00
Fazana
20ffa3de16 Antialiasing Changes 2021-08-15 17:26:38 +01:00
Fazana
78ebe1c617 dude I'm actually ook ook 🐒 2021-08-15 15:20:30 +01:00
Fazana
984dcb3d6e oops typo heehee 2021-08-15 15:18:28 +01:00
Fazana
5dc75cf792 Ifdefs and config 2021-08-15 15:15:16 +01:00
Fazana
280baf58ad Merge branch 'master' into puppycamera2 2021-08-15 11:55:57 +01:00
Reonu
37b33cf705 Add puppyprint info to readme 2021-08-15 11:53:33 +01:00
Reonu
4bbc6a67ae Merge pull request #27 from FazanaJ/master
Puppyprint
2021-08-15 11:49:37 +01:00
Fazana
535e8ee382 fix 2021-08-15 11:38:31 +01:00
Fazana
30aeb6841c Puppyprint 2021-08-15 11:30:19 +01:00
Fazana
e55a57314e Merge branch 'master' into puppycamera2 2021-08-15 11:18:21 +01:00
Reonu
4ae923aaa0 Merge pull request #26 from someone2639/shift_segs_2
SS2.1: I fixed it
2021-08-14 21:26:43 +01:00
someone2639
f2ef31a05e SS2: Fix goddard dependency issues; Add color reset after build succeeds so that terminal cursor isnt green 2021-08-14 16:25:31 -04:00
Reonu
b12c46568c made the console check safer 2021-08-14 19:23:57 +01:00
Reonu
6ebfd26741 Merge pull request #25 from someone2639/shift_segs_2
Shiftable Segments 2: Goddard Boogaloo
2021-08-13 23:54:36 +01:00
someone2639
1ecbf1163f SS2: cleanup (removed SEG_GODDARD define once and for all) 2021-08-13 15:31:17 -04:00
someone2639
41c11a2e46 Merge branch 'master' of https://github.com/Reonu/HackerSM64 into shift_segs_2 2021-08-13 15:28:24 -04:00
someone2639
14b9cde767 SS2: move align directives into the linkerscripts themselves 2021-08-13 15:27:56 -04:00
someone2639
865184597d SS2: Add 16 to size just in case, added singular place to put in goddard segment files (in case you ever want to do that) 2021-08-13 15:26:43 -04:00
someone2639
3c46090218 SS2: Goddard size now successfully passed to linker 2021-08-13 15:14:01 -04:00
Reonu
51c1a5c3b2 fixed reonucam3 patch 2021-08-13 01:30:11 +01:00
Fazana
111d2609fc Widescreen option change, puppyvolumes 2021-08-10 21:53:43 +01:00
Reonu
7e3165749e Merge branch 'master' of https://github.com/Reonu/HackerSM64 into puppycamera2 2021-08-08 18:15:36 +01:00
Reonu
9974e5a889 Merge branch 'master' of https://github.com/CrashOveride95/ultrasm64 2021-08-08 18:15:26 +01:00
CrashOveride95
b2eecd4f3e Merge pull request #19 from Reonu/bbpadding
automatic padding for iQue builds
2021-08-08 13:13:03 -04:00
Reonu
cc8c84dfbf automatic padding for iQue builds 2021-08-08 18:00:06 +01:00
Reonu
aac2681290 Merge branch 'master' of https://github.com/Reonu/HackerSM64 into puppycamera2 2021-08-08 15:05:28 +01:00
Arceveti
b8945d5cde Fix a couple hardcoded render layers that were missed 2021-08-07 21:53:16 -07:00
Arceveti
0e8c3c9003 Fixed many hardcoded object flags to use defines 2021-08-07 18:49:10 -07:00
Arceveti
fc4d6c2a0c Fix platform displacement being doubled on some platforms 2021-08-07 18:12:05 -07:00
Arceveti
5bda529a4d Fixed hardcoded render layers to use layer defines 2021-08-06 12:44:48 -07:00
Reonu
f47c3b2d15 Merge branch 'master' of https://github.com/Reonu/HackerSM64 into puppycamera2 2021-08-06 02:32:17 +01:00
Reonu
25341d14d1 fixed treadmills with PD2 and made it default again 2021-08-06 02:20:12 +01:00
Reonu
41a3489e3e Merge branch 'master' of https://github.com/CrashOveride95/ultrasm64 2021-08-05 23:42:30 +01:00
CrashOveride95
b928eda3da Silence dd when stripping gzip header 2021-08-05 18:41:58 -04:00
CrashOveride95
fad8cd6331 Silence slienc and rncpack 2021-08-05 18:39:57 -04:00
Reonu
f27f570844 merged with ultrasm64 2021-08-05 23:23:09 +01:00
CrashOveride95
9fe5ad21b7 Add clang as a compiler 2021-08-05 18:11:55 -04:00
Reonu
1eb659df56 Merge branch 'master' of https://github.com/Reonu/ultrasm64-extbounds 2021-08-05 22:17:22 +01:00
Reonu
2928157655 added custom debug mode 2021-08-05 22:17:09 +01:00
someone2639
d47ba26444 SS2: goddard.ld ready to preprocess 2021-08-05 16:21:24 -04:00
someone2639
9c1bb79b5e SS2: ready to shift in sm64.ld 2021-08-05 16:21:09 -04:00
Reonu
1261db8c72 Update README.md 2021-08-05 21:08:20 +01:00
Reonu
d61122104b added japanese clown font characters 2021-08-05 21:02:55 +01:00
someone2639
f9d8e8f04e SS2: add goddard linker to get size 2021-08-05 15:46:50 -04:00
someone2639
f4d24420a5 SS2: add helpful mainseg assert, remove extraneous commented asserts 2021-08-05 15:46:36 -04:00
Reonu
2ef336f5b8 Merge pull request #24 from gheskett/better-reverb
More reverb improvements
2021-08-05 11:27:25 +01:00
gheskett
24253c7598 Reverb documentation clarification 2021-08-05 02:45:45 -05:00
gheskett
e9d75c55ba Reverb documentation typo 2021-08-05 02:36:28 -05:00
gheskett
bf4cbc304e Balance reverb L/R channels 2021-08-05 02:17:01 -05:00
gheskett
50f472bd40 Fix -Os compilation flag with reverb use 2021-08-05 01:43:25 -05:00
gheskett
1c04c3c3ff Merge branch 'master' into better-reverb 2021-08-05 01:20:40 -05:00
gheskett
f816c1ebd7 Update reverb documentation 2021-08-05 01:19:55 -05:00
gheskett
29cc8055ba Configure delays parameters to allow for reduced filter count to not disrupt the right channel 2021-08-05 01:14:43 -05:00
gheskett
450e5ed829 Forgot to disable reverb 2021-08-05 00:03:42 -05:00
gheskett
382b50541a More configuration parameters to help console performance 2021-08-05 00:02:00 -05:00
gheskett
82334f790b delayBufs now 2 variables 2021-08-04 23:16:03 -05:00
gheskett
646c3aea47 More slight better reverb optimization 2021-08-04 23:05:39 -05:00
gheskett
8031963125 Add mono parameter for reverb 2021-08-04 18:15:38 -05:00
Reonu
8207132908 fixed super responsive controls define 2021-08-05 00:11:17 +01:00
Reonu
fee5f0630b Merge pull request #23 from gheskett/better-reverb
Redocument some reverb parameters and adjust default values
2021-08-04 23:07:49 +01:00
Gregory Heskett
704a8b6291 Merge branch 'Reonu:master' into better-reverb 2021-08-04 17:03:53 -05:00
gheskett
d7c9504aac Redocument more reverb stuff 2021-08-04 17:01:30 -05:00
gheskett
4adeff644e disable BETTER_REVERB by default 2021-08-04 14:59:45 -05:00
gheskett
2b0e9f4803 Redocument some reverb parameters and adjust default values 2021-08-04 14:59:10 -05:00
Fazana
8be1e09124 Classic mode bugfix
oopsiedaisy
2021-08-04 15:20:35 +01:00
Fazana
0a816814a5 Merge branch 'master' into puppycamera2 2021-08-04 15:19:04 +01:00
Reonu
49715e5204 Merge pull request #22 from gheskett/better-reverb
Much more realistic implementation of audio reverb
2021-08-04 12:46:37 +01:00
gheskett
2d7ed3a0f6 Add betterReverbWindowSize parameter 2021-08-04 05:38:16 -05:00
gheskett
01dd1dd918 Merge branch 'master' into better-reverb 2021-08-04 03:19:02 -05:00
gheskett
02fc4a75d5 Better document reverb additions 2021-08-04 03:17:51 -05:00
gheskett
8b039b9032 Mono reverb support 2021-08-04 01:03:07 -05:00
gheskett
f0353ad30d Fix console issue where gIsConsole is checked before being initialized 2021-08-04 00:47:18 -05:00
gheskett
4e3e5c002b Add (possibly unnecessary) buffer safety check 2021-08-03 23:17:36 -05:00
gheskett
86fe86e2d6 More optimizations to better reverb 2021-08-03 22:30:11 -05:00
gheskett
15f29f3814 More optimization 2021-08-03 21:29:06 -05:00
gheskett
4b51444250 Catch major reverb buffer allocation bug 2021-08-03 16:09:53 -05:00
Fazana
e117bdf476 Merge branch 'master' into puppycamera2 2021-08-03 13:05:34 +01:00
gheskett
f828ad38e3 Optimize out a pointless for loop 2021-08-03 07:01:44 -05:00
gheskett
04f538abc6 More reverb optimization 2021-08-03 06:52:21 -05:00
gheskett
832a395bdc gIsConsole check was backwards 2021-08-03 06:36:31 -05:00
gheskett
06a4190481 More comments 2021-08-03 06:03:47 -05:00
gheskett
863aa2235c reverb bugfix 2021-08-03 05:15:56 -05:00
gheskett
2532de0ac6 Accidentally had better-reverb-testing checked out 2021-08-03 02:59:54 -05:00
gheskett
be7418c907 Console exclusive stuffs 2021-08-03 02:55:48 -05:00
gheskett
578415b19e Merge branch 'better-reverb' into better-reverb-testing 2021-08-03 02:12:32 -05:00
gheskett
9922ff1705 More reverb optimizations 2021-08-03 02:12:10 -05:00
gheskett
e56f3e6c83 Convenience settings for testing reverb 2021-08-03 01:54:00 -05:00
gheskett
dc70030149 More reverb fixey stuffs 2021-08-03 01:45:33 -05:00
gheskett
7ef6453316 Speed improvements to the reverb 2021-08-03 00:58:22 -05:00
gheskett
4e97ac71bd Merge branch 'master' into better-reverb 2021-08-03 00:36:02 -05:00
Reonu
2111242bd9 instant input patch now uses gIsConsole 2021-08-03 04:15:46 +01:00
Reonu
328f715ec0 Revert "fixed instant input patch on VC"
This reverts commit 7cd5daf7ea.
2021-08-03 04:12:14 +01:00
Reonu
7cd5daf7ea fixed instant input patch on VC 2021-08-03 03:40:47 +01:00
gheskett
e9f6588d21 Better reverb implementation 2021-08-02 21:14:31 -05:00
Reonu
e2db87516f Merge branch 'master' of https://github.com/CrashOveride95/ultrasm64 2021-08-03 01:51:02 +01:00
CrashOveride95
cd08052d48 Merge pull request #16 from thecozies/master
Print SHA1 with successful builds and message that it was successful
2021-08-02 16:56:59 -04:00
CrashOveride95
0ae8527bdb Merge pull request #18 from 0x766F6964/static-ld
statically link included ld
2021-08-02 16:42:09 -04:00
Reonu
179fc3196b Added global force parameter (thx cozies) 2021-08-02 17:44:03 +01:00
Reonu
cc3ecd1939 Merge pull request #21 from aglab2/vc_hacks
Added temporary VC hacks
2021-08-01 05:04:10 +01:00
aglab2
5621c99d70 Added temporary VC hacks 2021-08-01 11:40:14 +08:00
Randy Palamar
d0c2573b9b re-add now statically linked ld
the binary was compiled with -Os, linked against musl, and stripped to
keep size down

compiled with the following script (assuming you are on a musl based host):

VERSION=2.30

curl -LOC - http://ftp.gnu.org/gnu/binutils/binutils-$VERSION.tar.gz
bsdtar xf binutils-$VERSION.tar.gz
cd binutils-$VERSION
./configure --target=mips-linux-musl \
	--with-gnu-ld \
	--enable-64-bit-bfd \
	--enable-multilib \
	--enable-plugins \
	--disable-gold \
	--disable-shared \
	--disable-werror \
	--disable-nls \
	--prefix=$(pwd)/out || exit 1
make configure-host
make CFLAGS=-Os LDFLAGS="-s -all-static" || exit 1
make install
2021-07-31 12:49:01 -06:00
Randy Palamar
d8ef396b86 remove dynamically linked ld
separate commit to try and keep the git history bloat down
2021-07-31 12:34:24 -06:00
Reonu
4e2d525ad6 Merge branch 'master' of https://github.com/Reonu/ultrasm64-extbounds into puppycamera2 2021-07-26 23:54:06 +01:00
Reonu
cc06704d46 cleaned up widescreen code again 2021-07-26 23:53:39 +01:00
Reonu
9b0cdc3350 Merge branch 'master' of https://github.com/Reonu/ultrasm64-extbounds into puppycamera2 2021-07-26 12:47:16 +01:00
Reonu
4e5b153d20 Merge pull request #20 from gheskett/colored-text
Colored text support
2021-07-26 12:42:17 +01:00
gheskett
6d7de6961f Missed a strIdx rename ;/ 2021-07-26 06:36:55 -05:00
gheskett
732e361784 Color stability check to avoid skipping the terminating character by mistake 2021-07-26 06:34:47 -05:00
gheskett
1ddc677a12 Stop writing to the text string unnecessarily 2021-07-26 06:15:34 -05:00
gheskett
7be62f31ad Update README with colored text 2021-07-26 05:35:41 -05:00
Gregory Heskett
7aa6713645 Merge branch 'Reonu:master' into colored-text 2021-07-26 04:30:17 -05:00
gheskett
73446350b3 Logged minor color related bug 2021-07-26 04:26:45 -05:00
gheskett
68a21d228b Some colored text fixes 2021-07-26 04:10:18 -05:00
gheskett
2b580ab416 Add colored text 2021-07-26 04:08:08 -05:00
Reonu
1b138a2782 Merge remote-tracking branch 'origin/master' into puppycamera2 2021-07-25 19:09:18 +01:00
Reonu
a76a2a04de merged with ultrasm64 2021-07-25 19:08:06 +01:00
Reonu
0d21a79d8e fixed oopsie when organising the config file 2021-07-25 15:46:11 +01:00
Reonu
3ef4588910 cleaned up widescreen code, organised config file 2021-07-25 15:45:23 +01:00
Reonu
f436cdf13e Merge branch 'master' of https://github.com/Reonu/ultrasm64-extbounds 2021-07-25 14:03:05 +01:00
Reonu
75b0d960be Added test level feature 2021-07-25 14:01:49 +01:00
Reonu
626a2ea594 epic typo :) 2021-07-24 16:30:09 +01:00
Reonu
3e9557f363 Added puppycam disclaimer to readme 2021-07-24 16:26:27 +01:00
Fazana
305518ce3c Puppy Camera 2
Now supported with the HackerSM64 repo
2021-07-24 16:14:03 +01:00
Fazana
11af76e1a5 Merge branch 'master' into puppycamera2 2021-07-24 16:07:36 +01:00
Reonu
5b61fed5c9 Update README.md 2021-07-24 11:15:47 +01:00
Reonu
53637e3881 updated reonucam 2021-07-24 11:12:50 +01:00
Reonu
ddb0654f3c removed useless line in patch file 2021-07-24 05:39:28 +01:00
Reonu
805bedb689 updated reonucam3 2021-07-24 05:24:35 +01:00
Reonu
d78a1e0a79 Update README.md 2021-07-24 02:06:18 +01:00
Reonu
2a5de904e6 deleted old reonucam (cringe) 2021-07-24 02:03:38 +01:00
Reonu
83388950dc added reonucam3 as a patch file 2021-07-24 01:58:40 +01:00
CrashOveride95
9282f62990 Merge pull request #15 from Reonu/savefile
soundMode is u8 and uses bitfield
2021-07-20 19:37:36 -04:00
thecozies
78019ea4a0 Print SHA1 with successful builds with message that it was successful 2021-07-20 05:57:51 -05:00
Reonu
922bfe5f61 language is also u8 with bitfield 2021-07-20 04:09:04 +01:00
Reonu
ea7cd2830f soundMode is u8 and uses bitfield 2021-07-20 03:50:39 +01:00
Reonu
ddbb78c638 Merge pull request #19 from gheskett/compiler-warnings
Compiler warnings
2021-07-18 11:39:10 +01:00
gheskett
7dabb29b5d Merge branch 'master' into compiler-warnings 2021-07-18 05:29:32 -05:00
Reonu
d46a217565 made soundMode into a u8 2021-07-18 11:23:31 +01:00
gheskett
57a1d67760 Merge branch 'master' into compiler-warnings 2021-07-18 05:20:58 -05:00
Reonu
28171f51f2 use bitfields in savefile to save space 2021-07-18 11:19:07 +01:00
gheskett
c8352ec8eb Address compiler warnings for build tools 2021-07-18 05:18:28 -05:00
Reonu
1a20512dc7 fixed missing widescreen ifdefs oops 2021-07-18 11:17:20 +01:00
Reonu
f65eef2529 widescreen mode saves to savefile 2021-07-18 11:08:09 +01:00
gheskett
af9f9d6b8b Fix/supress almost every single compiler warning for US 2021-07-18 04:57:37 -05:00
Reonu
11364cbb7f merge with upstream 2021-07-18 04:55:54 +01:00
CrashOveride95
9e9b4dbde8 make RNC1 default compression 2021-07-17 23:52:02 -04:00
Reonu
c968ff8af5 made the widescreen HUD code WAY cleaner 2021-07-18 04:49:41 +01:00
Reonu
a6565d6508 Added define for parallel lakitu cam / aglab cam 2021-07-17 18:19:32 +01:00
Reonu
d11488b1a0 Merge branch 'master' of https://github.com/CrashOveride95/ultrasm64 2021-07-16 02:48:49 +01:00
CrashOveride95
0b91eeb6e6 Merge pull request #14 from Cheezepin/master
haveyourcake but it works
2021-07-15 21:45:50 -04:00
Cheezepin
921be6f0c5 haveyourcake but it works 2021-07-15 11:38:38 -07:00
Cheezepin
350eaaaac0 haveyourcake but it works 2021-07-15 11:34:55 -07:00
Cheezepin
18b562cd85 haveyourcake but it works 2021-07-15 11:33:37 -07:00
CrashOveride95
191835c43b Merge pull request #12 from Reonu/savefile2
auto savefile padding
2021-07-14 20:43:13 -04:00
CrashOveride95
1cc7fb9b50 Revert "haveyourcake"
This reverts commit 1f3a27347b.
2021-07-14 20:28:15 -04:00
CrashOveride95
c799074cff Merge pull request #13 from Reonu/uncringepatch
apply_patch creates conflicts instead of rejects
2021-07-14 20:20:08 -04:00
Reonu
d797cbe494 fix EU SUBTRAHEND 2021-07-15 01:13:20 +01:00
Reonu
793c9aacb2 apply_patch creates conflicts instead of rejects 2021-07-15 01:10:17 +01:00
Reonu
c2ebc5a01e auto savefile padding 2021-07-15 01:06:52 +01:00
Reonu
5ff7236847 define for super responsive controls 2021-07-14 00:23:56 +01:00
Reonu
f547c822e1 Merge branch 'master' of https://github.com/Reonu/ultrasm64-extbounds 2021-07-13 23:57:22 +01:00
Reonu
c80c99c817 added defines for better hanging 2021-07-13 23:57:00 +01:00
Reonu
16b02ce17c Changed name in readme 2021-07-13 19:35:52 +01:00
Reonu
508492a14c Update readme with more accurate config.h info 2021-07-13 19:31:13 +01:00
Reonu
b460464d86 Merge branch 'master' of https://github.com/CrashOveride95/ultrasm64 2021-07-13 17:12:08 +01:00
CrashOveride95
ba670dcdd1 Change sound_data to ASM, lowers build time significantly 2021-07-13 12:10:53 -04:00
Reonu
f74e9ae63e merged with ultrasm64 2021-07-13 17:10:12 +01:00
CrashOveride95
af36951124 Merge pull request #11 from Reonu/haveyourcake
haveyourcake (cake screen fix)
2021-07-13 12:06:51 -04:00
Reonu
a589e17a17 Refresh 14 2021-07-13 16:52:38 +01:00
CrashOveride95
a19e92c255 Merge branch 'master' of https://github.com/CrashOveride95/ultrasm64 2021-07-13 11:43:59 -04:00
CrashOveride95
3b6eb5b5e1 Merge branch 'master' of https://github.com/n64decomp/sm64 2021-07-13 11:40:46 -04:00
Reonu
5c9d94f148 merged with ultrasm64 + cleanup 2021-07-13 14:15:35 +01:00
CrashOveride95
8bd2a8bf62 Merge pull request #10 from Reonu/borderfix
fix search and replace memes
2021-07-13 08:55:05 -04:00
Cheezepin
1f3a27347b haveyourcake 2021-07-13 11:34:58 +01:00
Reonu
5622196d0d fixed search and replace meme 2021-07-13 11:29:43 +01:00
Reonu
1687179ef5 Merge pull request #16 from gheskett/expand_audio_heap
Expand Audio Heap
2021-07-13 11:23:24 +01:00
Reonu
b6cc4a4a1f fix search and replace memes 2021-07-13 04:23:26 +01:00
Reonu
7c7ab88d10 merge 2021-07-13 04:18:06 +01:00
n64
f9982e0ef5 Refresh 14 2021-07-12 23:17:54 -04:00
Reonu
bb3de5030a merged with ultrasm64 2021-07-13 04:16:55 +01:00
CrashOveride95
225c1eef55 Merge pull request #9 from Reonu/hudfix
HUD fix
2021-07-12 22:10:02 -04:00
gheskett
9be9a47b82 Expand audio heap 2021-07-12 19:16:06 -05:00
Reonu
f8cd491f6d HUD fix 2021-07-13 01:03:44 +01:00
CrashOveride95
de8ce9c6f7 reonu do good PR challenge failure
Deleted file that slipped in
2021-07-12 18:13:14 -04:00
Reonu
29864b64a1 Merge branch 'master' of https://github.com/CrashOveride95/ultrasm64 into border 2021-07-12 23:06:56 +01:00
Reonu
fd2eb663a6 Merge branch 'border' of https://github.com/Reonu/ultrasm64-extbounds into border 2021-07-12 23:06:06 +01:00
Reonu
b61837525d deleted file that slipped in 2021-07-12 23:05:56 +01:00
CrashOveride95
87a6c90bf5 Merge pull request #7 from Reonu/border
Add separate defines for console and emulator border heights
2021-07-12 17:50:05 -04:00
Reonu
8a733de07a update readme 2021-07-12 18:41:35 +01:00
Reonu
98a7266529 fixed default console defines for EU and non-N64 2021-07-12 18:33:11 +01:00
Reonu
73649f65ee mention border height & console detection 2021-07-12 18:21:18 +01:00
Reonu
af7009d637 defines for emu and console borders 2021-07-12 18:19:31 +01:00
Reonu
8e370fd050 fixed dubm stupid typo in readme 2021-07-12 17:16:01 +01:00
Reonu
7628e6996e updated readme 2021-07-12 17:14:03 +01:00
Reonu
976e7c7f87 defines for console and emu borders 2021-07-12 17:10:44 +01:00
Reonu
3296d52547 The ROM name can be set in config.h 2021-07-12 16:56:36 +01:00
Reonu
aabd13a08f added extra info on skybox modifier 2021-07-12 14:49:50 +01:00
Reonu
20a9204167 Update README.md 2021-07-12 14:45:09 +01:00
Reonu
7e6f1d1b91 Merge pull request #15 from Mineqwerty/skybox
Added support for different skybox sizes
2021-07-12 14:41:36 +01:00
Reonu
2d86f0a404 Restored the O2 flag 2021-07-12 14:41:23 +01:00
Reonu
e5c0c97e17 Merge branch 'master' into skybox 2021-07-12 14:35:52 +01:00
Reonu
69a1651ab7 removed unnecesary textures from the repo 2021-07-12 14:30:12 +01:00
Reonu
bc594829cd made ia8 coin textures optional 2021-07-12 14:28:41 +01:00
Reonu
d5dc22486d replaced coin textures with better ones 2021-07-12 14:19:41 +01:00
MineQwerty
79e030ac02 Added support for skybox sizes 2021-07-11 22:54:09 -04:00
MineQwerty
fe8243ef14 Added support for bigger skybox sizes 2021-07-11 20:02:12 -04:00
Reonu
a325dc21b6 make the makefile 1% less cringe 2021-07-11 05:17:12 +01:00
Reonu
1344e02ee2 replaced one of the coin textures 2021-07-11 05:05:36 +01:00
Reonu
c5ad88c0d2 oops, force added coin textures 2021-07-11 05:01:49 +01:00
Reonu
dc22d56879 added ia8 coins 2021-07-11 05:00:51 +01:00
Reonu
51b35b88d2 Merge pull request #14 from PyroJay4/patch-5 (Smoke fix)
Smoke fix
2021-07-11 04:44:46 +01:00
PyroJay4
3a3130becf Update model.inc.c 2021-07-10 23:42:22 -04:00
Reonu
060a03fa03 Merge pull request #13 from PyroJay4/patch-4
Update config.h
2021-07-11 04:41:24 +01:00
PyroJay4
c45da1df84 Update config.h
beep bop
2021-07-10 23:33:50 -04:00
Reonu
04ef5e7a83 removed duplicated cap id 2021-07-11 04:21:08 +01:00
Reonu
bc82213436 fixed mario's angle when wallkicking 2021-07-11 04:13:32 +01:00
Reonu
a123c91ff2 Merge branch 'master' of https://github.com/Reonu/ultrasm64-extbounds 2021-07-11 03:45:07 +01:00
Reonu
7f513c1253 added define for firsty frames 2021-07-11 03:44:44 +01:00
Reonu
2eaa86760f Update README.md 2021-07-10 18:39:27 +01:00
Reonu
2128150c3e pyro made a typo lol 2021-07-10 17:36:46 +01:00
Reonu
3d96a43fba Merge pull request #12 from PyroJay4/patch-3
Update README.md
2021-07-10 16:14:02 +01:00
PyroJay4
28f6d5b102 Update README.md 2021-07-10 11:13:11 -04:00
Reonu
b770072757 improved some vanilla textures thanks to pyro 2021-07-10 16:09:50 +01:00
Reonu
2918bc0a5a Update README.md 2021-07-10 15:10:01 +01:00
Reonu
3945d6a16c Merge pull request #11 from PyroJay4/patch-2
Update level_defines.h
2021-07-10 15:09:15 +01:00
Reonu
940239b50c Merge pull request #10 from PyroJay4/patch-1
Update README.md
2021-07-10 15:07:42 +01:00
PyroJay4
d868d1594e Update level_defines.h 2021-07-10 10:04:07 -04:00
PyroJay4
2c0ba4d1de Update README.md
bingus
2021-07-10 09:39:20 -04:00
Reonu
7f9357d801 merged with ultrasm64 2021-07-10 01:12:51 +01:00
CrashOveride95
2d0a9037ab Add LIBGCCDIR flag 2021-07-09 19:20:25 -04:00
Reonu
c22c4deba8 Merge branch 'master' of https://github.com/CrashOveride95/ultrasm64 2021-07-09 23:41:47 +01:00
CrashOveride95
c79d8d4e5d Build libgcc with -mdivide-breaks and -mno-check-zero-division 2021-07-09 18:39:21 -04:00
Reonu
88595164ba Update README.md 2021-07-09 11:28:38 +01:00
Reonu
c9aa4c8fbd Added general defines in object_fields.h (by MrComit) 2021-07-08 04:01:57 +01:00
Reonu
c5fc356426 Merge branch 'master' of https://github.com/CrashOveride95/ultrasm64 2021-07-06 23:21:54 +01:00
CrashOveride95
e70b85e830 Add mention of instant input 2021-07-03 21:01:43 -04:00
CrashOveride95
20675c8eda Add message about GCC requirement 2021-07-03 20:34:30 -04:00
Reonu
f1c1b815e5 added castle music fix 2021-07-03 21:33:17 +01:00
Reonu
ca6a1b80bb epic optimisation 2021-07-03 20:46:12 +01:00
Reonu
91b8a9b1d8 added option to exit course while moving 2021-07-03 20:42:31 +01:00
Reonu
39de47a435 updated readme with far info 2021-07-02 21:28:10 +01:00
Reonu
55dfe128bc made far into a u16 2021-07-02 21:26:34 +01:00
Reonu
8c9e2a48ef Added option to disable BLJs 2021-07-01 10:28:34 +01:00
Reonu
8abd187c6e deleted .orig file 2021-07-01 04:27:15 +01:00
Reonu
bc7f7362b3 solved merge conflict 2021-07-01 00:13:04 +01:00
Reonu
a4aa6f9ec3 update readme 2021-06-30 23:10:36 +01:00
Reonu
99b73fa4f6 Added defines for exit course 2021-06-30 23:10:03 +01:00
CrashOveride95
a58dfb4f7e Merge pull request #5 from Reonu/skipgoddard
skip goddard screen if goddard isn't built
2021-06-30 17:46:56 -04:00
CrashOveride95
439bcc6b4f Merge pull request #6 from Reonu/inputlagpatch
applied instant input patch
2021-06-30 17:46:37 -04:00
Reonu
15c98d5bb3 applied instant input patch 2021-06-30 22:42:48 +01:00
Reonu
f5a5048a73 simplified widescreen code a bit 2021-06-30 22:40:06 +01:00
Reonu
03fc981466 added hanging fix for real 2021-06-30 22:27:43 +01:00
Reonu
7cc986f55e Revert "added hanging fix"
This reverts commit 041bc62f0c.
2021-06-30 22:26:21 +01:00
Reonu
d09c7eb1a0 update readme 2021-06-30 22:24:45 +01:00
Reonu
041bc62f0c added hanging fix 2021-06-30 22:24:18 +01:00
Reonu
689c70d25a skip goddard screen if goddard isn't built 2021-06-29 20:56:38 +01:00
Reonu
287b6d2d02 Added 46 degree wallkicks toggle 2021-06-29 19:35:07 +01:00
Reonu
4bab6123a7 improved the DISABLE_AA define 2021-06-29 15:54:53 +01:00
Reonu
dfa33a2a84 Added obj_set_model and obj_has_model functions 2021-06-28 22:37:47 +01:00
Reonu
63f7aacf62 added warning about rumble crashes 2021-06-28 14:08:49 +01:00
Reonu
07151d5e5d Merge branch 'master' of https://github.com/CrashOveride95/ultrasm64 2021-06-28 14:06:06 +01:00
Reonu
b43483f94a moved c_cpp_properties.json file to the right folder 2021-06-28 04:29:59 +01:00
Reonu
b5f1d94f28 added c_cpp_properties.json file 2021-06-28 02:57:39 +01:00
Reonu
3f33a7de51 updated readme 2021-06-27 22:55:04 +01:00
Reonu
65853fcc85 removed the ifdef hell in file_select.c 2021-06-27 22:54:29 +01:00
Reonu
b51b376bf0 removed the ifdef hell in ingame_menu.c 2021-06-27 22:51:42 +01:00
Reonu
e97aafe1f9 Updated readme 2021-06-27 22:04:30 +01:00
Reonu
15acfce39d Added tree particle fix 2021-06-27 22:04:25 +01:00
Reonu
42a0129e81 Merge branch 'master' of https://github.com/Reonu/ultrasm64-extbounds 2021-06-27 21:27:11 +01:00
Reonu
8849772f56 Made platform displacement 2 optional / toggleable 2021-06-27 21:26:56 +01:00
Reonu
4286c7c7d1 Update README.md 2021-06-27 17:26:01 +01:00
Reonu
e4f7aab31b changed coordinate overflow fix to be automatic 2021-06-27 17:19:09 +01:00
Reonu
700cb0b27a Update README.md 2021-06-27 15:10:28 +01:00
Reonu
86caa20521 Merge pull request #9 from Cheezepin/master
haveyourcake (made by wiseguy, ported by me)
2021-06-27 15:09:28 +01:00
Cheezepin
7a07cd4034 haveyourcake 2021-06-27 08:09:46 -05:00
Reonu
eafbc03c26 updated readme again 2021-06-27 13:08:48 +01:00
Reonu
88885bc823 updated readme 2021-06-27 13:07:46 +01:00
Reonu
89cb118667 added fall damage sound toggle 2021-06-27 13:06:18 +01:00
Reonu
7fbdb2435f added define for the 100 coin star 2021-06-27 13:03:53 +01:00
Reonu
8e70d87f29 added nonstop stars toggle 2021-06-27 13:00:26 +01:00
Reonu
027ffdba95 added toggle to disable fall damage 2021-06-27 12:57:07 +01:00
CrashOveride95
8181edd10f remove unused code from goddard 2021-06-26 15:31:49 -04:00
Reonu
e03f938f12 Merge branch 'master' of https://github.com/CrashOveride95/ultrasm64 2021-06-23 10:11:01 +01:00
CrashOveride95
2e534b1ab2 sorry goddard's printing too much for me 2021-06-22 23:43:26 -04:00
CrashOveride95
3e73a6c094 fix overalignment 2021-06-22 23:39:24 -04:00
CrashOveride95
cb371fff52 Remove version-specific OPT_FLAGS 2021-06-22 23:04:01 -04:00
CrashOveride95
b8f00808cb Fix gzip on debug 2021-06-22 23:03:18 -04:00
Reonu
8fe651d9d7 updated readme with jump kick fix info 2021-06-21 17:35:52 +01:00
Reonu
82b35a0036 added jump kick fix 2021-06-21 17:35:28 +01:00
Reonu
2ddd8ddf89 Update README.md 2021-06-12 09:48:50 +01:00
Reonu
5af8c79868 Update README.md 2021-06-12 09:48:38 +01:00
Reonu
2235e638ba Update README.md 2021-06-12 09:45:32 +01:00
Reonu
73dc2a6683 Added no false ledgegrabs tweak 2021-06-12 09:43:42 +01:00
Reonu
856bff7726 Merge branch 'master' of https://github.com/CrashOveride95/ultrasm64 2021-06-08 18:12:48 +01:00
CrashOveride95
81c18ab7fc Add missing libultra libraries, and make ClearRAM(); optional 2021-06-08 12:39:10 -04:00
Reonu
00acda022c Merge branch 'master' of https://github.com/CrashOveride95/ultrasm64 2021-06-08 11:30:24 +01:00
CrashOveride95
6f1b18bb5b Merge branch 'master' of https://github.com/CrashOveride95/ultrasm64 2021-06-07 23:31:35 -04:00
CrashOveride95
dce56fbac8 Add macros for MIO0 segment compatibility 2021-06-07 23:31:12 -04:00
Reonu
1ea9a0d3ae Update README.md 2021-06-07 01:06:22 +01:00
Reonu
121e446eb2 fixed makefile oopsie 2021-06-02 23:13:48 +01:00
Reonu
a7ab4f88c2 removed debug print 2021-06-02 22:32:05 +01:00
Reonu
0576edcede Update README.md 2021-06-02 22:03:37 +01:00
Reonu
14dba29e5e Merge pull request #7 from someone2639/master
s2dex text engine as a subtree and integrated into the build system
2021-06-02 21:57:07 +01:00
farisawan-2000
7e5eb1ecd2 actually update gitignore 2021-06-02 09:14:29 -04:00
farisawan-2000
03345fecba Update gitignore 2021-06-02 09:14:09 -04:00
farisawan-2000
acf4a9dbc4 no need to define COPY_DIR when cleaning 2021-06-02 09:03:36 -04:00
farisawan-2000
32c06751ba allow font name to be set from external source 2021-06-02 08:36:06 -04:00
farisawan-2000
2a7d8ae098 Default font is impact, again 2021-06-02 07:53:59 -04:00
farisawan-2000
cfefcd729e S2DEX Text Engine integration 2021-06-02 07:52:40 -04:00
farisawan-2000
21d004ba42 Merge branch 'master' of https://github.com/Reonu/ultrasm64-extbounds 2021-06-02 07:20:13 -04:00
farisawan-2000
9f739e45c0 Add 'src/s2d_engine/' from commit 'c27118308f2c910289943e564d47cd8378d224e8'
git-subtree-dir: src/s2d_engine
git-subtree-mainline: 932a4ddb6f
git-subtree-split: c27118308f
2021-06-02 07:20:11 -04:00
farisawan-2000
932a4ddb6f first idea of a build system 2021-06-02 07:20:08 -04:00
farisawan-2000
c27118308f Added build system 2021-06-01 18:24:46 -04:00
farisawan-2000
a773f2733c add gitignore for .a build 2021-06-01 17:50:56 -04:00
Reonu
d2116abc4c added my own custom camera as a patch file (reonu_cam.patch) in the enhancements folder 2021-06-01 20:04:38 +01:00
Reonu
b2cd5030c7 Added instant warp offset fix 2021-06-01 15:55:51 +01:00
farisawan-2000
310e7babdf actually made stuff render on console 2021-05-31 17:01:02 -04:00
Reonu
ebbad05ad2 included config.h in save_file.c 2021-05-31 16:43:42 +01:00
farisawan-2000
cb79fe58cf default font still impact 2021-05-31 03:16:24 -04:00
farisawan-2000
ab40477256 Font Delfino added 2021-05-31 03:16:09 -04:00
farisawan-2000
78e6ee8b4e added emulator check 2021-05-31 03:05:52 -04:00
farisawan-2000
fcd621ef71 f3d printing done! 2021-05-31 03:00:18 -04:00
farisawan-2000
861d8c2ca3 f3d now displaying (now figuring out pool space and why font doesnt look right) 2021-05-31 02:37:39 -04:00
farisawan-2000
5f0b67a38b much faster matrix pipeline, debug condition manager, and start of f3d_draw 2021-05-31 01:32:58 -04:00
Reonu
2664867d59 added an option to disable AA in config.h 2021-05-28 23:40:01 +01:00
Reonu
8b2d211d3b Merge pull request #6 from someone2639/u16_models
U16 models (again)
2021-05-27 19:00:28 +01:00
someone2639
77ef99bd65 set default model count to 256 2021-05-27 13:45:15 -04:00
someone2639
d9712b078c revert model ID to u16 2021-05-27 13:43:46 -04:00
Reonu
f99dc243d5 Merge pull request #5 from someone2639/u16_models
cleaned up my code a bit (also u32 models because eh why not) (also i'm insane)
2021-05-27 18:27:10 +01:00
Reonu
7d3f414da0 Added option to disable lives 2021-05-27 17:35:05 +01:00
Reonu
c4ebebb884 Merge branch 'master' of https://github.com/Reonu/ultrasm64-extbounds 2021-05-27 07:47:12 +01:00
Reonu
f5d37be14c defined config.h in rendering_graph_node.c 2021-05-27 07:46:59 +01:00
someone2639
6beb1dfa9e made the level script code more clear in what it was comparing 2021-05-27 01:21:05 -04:00
someone2639
b6c9fba41a u32 model ID because that makes more sense! 2021-05-27 00:37:03 -04:00
someone2639
0ee319a300 more modularity; fixed an assert in sm64.ld so it doesnt trip if ext ram is defined 2021-05-27 00:34:53 -04:00
someone2639
bd79934f00 make model count a define so it's easier to change in case you need memory 2021-05-27 00:21:37 -04:00
someone2639
2da776c9c0 s32 model ID to make the code cleaner 2021-05-27 00:15:06 -04:00
Reonu
e383b5945f Update README.md
16 bit model IDs info
2021-05-26 23:14:31 +01:00
Reonu
2e5cc9aa38 Merge pull request #4 from someone2639/u16_models
16 bit model IDs
2021-05-26 23:10:55 +01:00
someone2639
03a6eeeb37 fixed up any reference to 8 bit models with the new ModelID type 2021-05-26 18:01:34 -04:00
someone2639
a4a6a85312 updated level script commands to take u16 models 2021-05-26 18:01:34 -04:00
someone2639
2bedce7f1f added ModelID type 2021-05-26 18:01:34 -04:00
someone2639
a45f38f06d model id structure is u16 2021-05-26 18:01:30 -04:00
Reonu
b62c4d8431 update readme 2021-05-26 18:23:46 +01:00
Reonu
7f47086df9 Included actors/group0.c in behavior_data.c 2021-05-26 18:23:09 +01:00
Reonu
9aa91af8cb changed the widescreen text again 2021-05-26 17:51:24 +01:00
Reonu
9e06e078d6 ifdef'd more widescreen code 2021-05-26 17:36:45 +01:00
Reonu
c841546f02 simplified the text strings for the widescreen option 2021-05-26 17:34:38 +01:00
Reonu
9bac5dd2e2 Merge branch 'master' of https://github.com/Reonu/ultrasm64-extbounds 2021-05-26 17:06:56 +01:00
Reonu
6dbe08d20a fixed typo in config.h 2021-05-26 17:06:48 +01:00
Reonu
44baa827f8 Update README.md 2021-05-26 16:36:37 +01:00
Reonu
c292f839e3 updated info in the config file 2021-05-26 16:27:46 +01:00
Reonu
ab44d4b855 update readme 2021-05-26 16:19:55 +01:00
Reonu
8e4fac3885 Added global star IDs, disabled by default, toggleable in config.h 2021-05-26 16:18:42 +01:00
Reonu
a8c24713be Update README.md
added info on patches that can be toggled in config.h
2021-05-26 15:32:17 +01:00
Reonu
953451ba7c Moved the coordinate overflow fix setting to config.h 2021-05-26 15:28:06 +01:00
Reonu
9d2ec5d911 Longer poles patch is now toggleable in config.h 2021-05-26 15:13:36 +01:00
Reonu
dbea1f734b Removing course specific camera processing is now a toggle in config.h 2021-05-26 15:10:32 +01:00
Reonu
aabf12a079 Made peach letter skip toggleable in config.h 2021-05-26 15:07:11 +01:00
Reonu
98a09b0703 Added title screen skip, toggleable in config.h 2021-05-26 15:01:56 +01:00
Reonu
2bff1ea839 made skipping the mario head the default 2021-05-26 14:56:55 +01:00
Reonu
4ec84ad51c Added mario head skip as a toggle in config.h 2021-05-26 14:55:59 +01:00
Reonu
9cae5d864b Made automatic LODs based on console detection toggleable in config.h 2021-05-26 14:44:07 +01:00
Reonu
84d4c8b84b Made widescreen toggleable in config.h. Also made the widescreen variable global while I'm at it. 2021-05-26 14:41:46 +01:00
Reonu
bdf81ba882 disabled course specific camera processing properly 2021-05-25 01:50:46 +01:00
Reonu
033af6273d Revert "removed the vanilla course specific camera processing"
This reverts commit baadb4e52a.
2021-05-25 01:47:53 +01:00
Reonu
bbfd4129ce bparam4 fix 2021-05-24 22:41:42 +01:00
Reonu
8f8b24764a Added extra pole length patch 2021-05-24 22:41:07 +01:00
Reonu
5097e6f666 Disabled rumble by default to prevent crashes 2021-05-24 09:02:40 +01:00
Reonu
8d9dcbf089 Update readme (updated widescreen info + added area specific camera processing info) 2021-05-24 08:59:11 +01:00
Reonu
1c7a69bd78 removed lvl_set_widescreen since it made no sense, and moved the widescreen text to a better position on-screen 2021-05-24 08:57:33 +01:00
Reonu
baadb4e52a removed the vanilla course specific camera processing 2021-05-24 01:42:14 +01:00
Reonu
5ca5e4d558 deleted stupid .orig files that shouldn't be there 2021-05-23 01:28:36 +01:00
Reonu
c3cc860cc4 declared create_dl_scale_matrix in ingame_menu.h (thanks cheeze) 2021-05-20 22:32:19 +01:00
Reonu
6c276dc453 Update README.md 2021-05-18 16:51:04 +01:00
Reonu
5dd931faa0 Updated the coordinate overflow fix info in readme 2021-05-18 16:50:33 +01:00
Reonu
21105b715b Update readme with info on the instant input patch 2021-05-18 00:41:12 +01:00
Reonu
3b4ae07a04 Added instant input patch by Wiseguy 2021-05-18 00:31:54 +01:00
farisawan-2000
36574f5455 added button input 2021-05-16 11:37:06 -04:00
Reonu
5cc810f09e Merged upstream 2021-05-13 21:26:54 +01:00
CrashOveride95
1d447b0dbd Make info prints debug only 2021-05-13 16:20:52 -04:00
CrashOveride95
9570c184e2 Update Makefile 2021-05-13 16:19:49 -04:00
Reonu
bd9684d1b3 Removed old patch files 2021-05-12 11:29:35 +01:00
Reonu
30f76c3aa3 Update readme.md with widescreen info 2021-05-09 22:41:22 +01:00
Reonu
08223110ff Widescreen support. 2021-05-09 22:34:22 +01:00
Reonu
b7e7c82e93 Merge remote-tracking branch 'upstream/master' 2021-05-09 22:16:25 +01:00
Reonu
c6febf909e removed the timestamped file so you can get matching builds (wtf crash) 2021-05-09 20:47:56 +01:00
CrashOveride95
1fe697b02e Add F3DEX2PL 2021-05-08 22:40:59 -04:00
Reonu
31c35469f1 Fixed pole fix for real 2021-05-07 14:58:45 +01:00
Reonu
fef6617890 Fixed pole fix causing the game to crash PJ64 2.4 2021-05-07 14:41:14 +01:00
Reonu
73ec3dd2ed fixed stupid ledgegrab crash 2021-05-07 13:07:40 +01:00
Reonu
47427b89a9 Update README.md 2021-05-07 04:26:59 +01:00
Reonu
8d6b7876c0 Update README.md 2021-05-07 04:22:36 +01:00
Reonu
7e384185e0 Update README.md 2021-05-07 04:13:10 +01:00
Reonu
ff55e705ea Update README.md 2021-05-07 04:09:19 +01:00
Reonu
a4f36bc076 Merge pull request #3 from Cheezepin/master
if this breaks the repo, blame cheeze
2021-05-07 04:08:14 +01:00
Cheezepin
f8ee0c8c1e i hate this 2021-05-06 16:06:18 -07:00
Reonu
3c8def9236 Update README.md 2021-05-06 22:32:58 +01:00
Reonu
a4ddfd8bc8 Mario head skip 2021-05-06 22:32:09 +01:00
Reonu
5b403c4f8f Peach cutscene skip 2021-05-06 22:30:37 +01:00
Reonu
46f20ffc76 Revert "Update README.md"
This reverts commit 314e51c41e.
2021-05-06 22:27:21 +01:00
Reonu
c382ed780c Revert "frame patch"
This reverts commit dce30fb75e.
2021-05-06 22:22:15 +01:00
Reonu
314e51c41e Update README.md 2021-05-06 22:11:26 +01:00
Reonu
75b62fa029 Merge pull request #2 from Cheezepin/master
Frame's patch (rounded corners and quarter-step shenanigans)
2021-05-06 22:10:29 +01:00
Cheezepin
dce30fb75e frame patch 2021-05-06 13:52:12 -07:00
Reonu
c163fbe54a Update README.md 2021-05-04 02:34:06 +01:00
Reonu
116bd92271 Added console detection. LODs will be disabled if emu is detected. 2021-05-04 02:27:20 +01:00
Reonu
1c7935c341 removed unnecesary lines 2021-05-03 21:57:36 +01:00
Reonu
102b266ffa Added FPS counter (thanks Wiseguy) 2021-05-03 21:56:16 +01:00
CrashOveride95
caaf685241 Fix F3DEX1 2021-05-02 09:28:16 -04:00
Reonu
e6539d63eb Update README.md 2021-04-28 22:14:16 +01:00
Reonu
2526ae06f1 Fixed water surface type patch after the exposed ceiling fix messed with it 2021-04-28 16:12:58 +01:00
Reonu
b6fc491dd2 Merge branch 'master' of https://github.com/Reonu/ultrasm64-extbounds 2021-04-27 21:26:47 +01:00
Reonu
a716bee896 Exposed ceilings fix 2021-04-27 21:25:54 +01:00
Reonu
ad1702ecc8 pole fix 2021-04-27 21:25:46 +01:00
Reonu
58146790aa Slope fix 2021-04-27 21:18:07 +01:00
Reonu
6965916974 Merge pull request #1 from thecozies/fix_water_downslopes
Fixed moving towards water downslopes
2021-04-27 12:31:12 +01:00
thecozies
ab42e08688 Fixed moving towards water downslopes 2021-04-27 06:25:07 -05:00
Reonu
52c8acdf5e removed black borders 2021-04-27 12:12:11 +01:00
Reonu
4a5dcdb7b3 merged platform displacement 2 by arthur 2021-04-27 12:10:40 +01:00
Reonu
cbcba7b6f9 applied falcobuster's long render distance fix 2021-04-27 11:54:51 +01:00
Reonu
960f695115 uncringed the patching behaviour 2021-04-27 11:54:02 +01:00
Reonu
7f65d72270 Merge remote-tracking branch 'thecozies/water-surface-type' 2021-04-27 11:52:36 +01:00
farisawan-2000
9badbc2093 fix readme 2021-04-20 10:01:05 -04:00
farisawan-2000
e1d5ecc622 update readme; deprecate rotation 2021-04-20 10:00:15 -04:00
farisawan-2000
dd2afd23dc added papyrus; 5 fonts are done! 2021-04-20 09:34:45 -04:00
farisawan-2000
ef7eec5e5d add Ubuntu and Times New Roman fonts 2021-04-20 08:51:19 -04:00
farisawan-2000
b41e9ca3bb new defines for font changing; regenerated impact/comic sans; dropshadow WIP pixel offset 2021-04-20 03:00:55 -04:00
farisawan-2000
bd29ff7f70 brand new impact font 2021-04-20 01:27:59 -04:00
farisawan-2000
6c8acc2d39 add new fonts very easily; comic sans font added 2021-04-20 00:50:13 -04:00
CrashOveride95
51c34079b3 Add uncompressed (lol) 2021-04-18 13:37:52 -04:00
CrashOveride95
69c5d0cbb1 Remove GDB because it was broken to begin with 2021-04-18 12:29:43 -04:00
CrashOveride95
4068afb39f Start GDB work (broken rn) 2021-04-16 20:50:06 -04:00
CrashOveride95
cf77e2db67 Fix up printing and begin GDB 2021-04-16 20:02:56 -04:00
CrashOveride95
8a8253291a Add UNF to readme 2021-04-16 17:56:32 -04:00
CrashOveride95
845c4abb0f Merge pull request #4 from Mr-Wiseguy/usb-fix
Fixed usb library
2021-04-16 17:48:34 -04:00
Mr-Wiseguy
3ae5eeb1e8 Fixed usb library 2021-04-15 21:30:00 -04:00
CrashOveride95
829de0d2ed remove VERSION_JP_US (why was this here?) 2021-04-12 18:47:40 -04:00
CrashOveride95
ebe997d8e0 Make final link use gc-sections 2021-04-12 18:21:14 -04:00
CrashOveride95
ca05f4a5fd Add IS-Viewer faking 2021-04-11 20:49:21 -04:00
CrashOveride95
5048caff1e Update UNF (still broken though ) :( 2021-04-11 18:20:32 -04:00
CrashOveride95
623bf3bfcb Merge pull request #3 from jopadan/master
Add mips64-ld compiler prefix to support standard glankk/n64
2021-03-29 20:08:52 -04:00
Jon Daniel
05289c851b Change order of compiler prefix and add more 2021-03-29 23:27:16 +00:00
Jon Daniel
72ae87d1ca Add mips64-ld to support glankk/n64 2021-03-29 23:19:33 +00:00
CrashOveride95
da1c4fbad7 Merge pull request #2 from Mr-Wiseguy/rnc1-dev
RNC1 optimizations
2021-03-29 16:32:16 -04:00
CrashOveride95
ea6c7d60e1 Add goddard as togglable and stop linking segments seperately 2021-03-28 20:54:54 -04:00
Mr-Wiseguy
0fdb2d0ace RNC1 optimizations 2021-03-28 15:56:47 -04:00
CrashOveride95
359ba19531 Create linked segments for main and engine
simplifying the linkerscript
2021-03-27 21:12:27 -04:00
CrashOveride95
756b21db88 Add fix for LOAD_MIO0 stuff 2021-03-23 17:46:54 -04:00
CrashOveride95
3df95c8302 Merge branch 'master' of https://github.com/CrashOveride95/ultrasm64 2021-03-23 17:41:17 -04:00
CrashOveride95
9fb5f79e97 Add MIO0 🧌 2021-03-23 17:41:15 -04:00
CrashOveride95
07900b37ea Merge pull request #1 from 0xfedfedfe/filesizer
Rewrite filesizer
2021-03-21 22:40:03 -04:00
0xfedfedfe
fb2ec6f067 Fix misspelling in Makefile 2021-03-21 15:44:17 +00:00
farisawan-2000
24e3e0060c deferred prints! 2021-03-13 13:06:42 -05:00
farisawan-2000
4eed305ebc added error handling; fixed a few warnings 2021-03-11 16:50:55 -05:00
0xfedfedfe
ec6ca8c087 Rewrite filesizer 2021-03-06 21:12:51 +00:00
thecozies
571bae013e Added water surface type patch 2021-03-03 08:05:11 -06:00
thecozies
545eb58102 Added extended bounds patch 2021-03-03 07:02:34 -06:00
Axollyon
6c19190175 Text alignment and reset character (#1)
Co-authored-by: Axollyon <Axollyon@users.noreply.github.com>
2021-02-24 12:28:46 -05:00
farisawan-2000
2dcd82edbf added defines for rsp/rdp init 2021-02-23 19:54:31 -05:00
farisawan-2000
f950d7f8fe re-init rsp/rdp so no memes happen after s2d is unloaded 2021-02-23 19:47:06 -05:00
CrashOveride95
312906439d Add VI res changing 2021-02-13 18:17:45 -05:00
CrashOveride95
6852d59d54 Remove unneeded align 2021-02-07 19:39:18 -05:00
CrashOveride95
1d564a8043 Remove unused buffers 2021-02-02 17:50:20 -05:00
CrashOveride95
82f1b1c433 clean more 2021-02-01 18:54:23 -05:00
CrashOveride95
df683203aa Clean up a bit 2021-02-01 18:43:44 -05:00
CrashOveride95
17b936a3ad Remove IDO 2021-02-01 18:23:36 -05:00
CrashOveride95
906f34af45 Fix sound player again 2021-01-30 21:07:43 -05:00
CrashOveride95
e1df506e72 rncpack license details 2021-01-30 20:46:06 -05:00
CrashOveride95
66b177dc5b Fix shindou again 2021-01-30 20:43:39 -05:00
CrashOveride95
dd2449db79 Use gcc for assembly if gcc is the compiler 2021-01-30 18:14:50 -05:00
CrashOveride95
4e5b204c15 Fix other compressions 2021-01-26 15:56:34 -05:00
CrashOveride95
0d513080a6 Build libz from source 2021-01-25 22:55:36 -05:00
CrashOveride95
90371f0a8d Add RNC compression and make cpp preprocess asm 2021-01-25 22:21:15 -05:00
CrashOveride95
d0e19eaf23 Update README.md 2021-01-25 12:42:24 -05:00
CrashOveride95
c2fefc503f Now just the ELF and Z64 are made 2021-01-25 00:44:33 -05:00
CrashOveride95
e8c8f4bdf0 lol i broke it by using no -O2 lmao 2021-01-25 00:05:45 -05:00
CrashOveride95
5b88275a92 lib fixes 2021-01-24 21:34:11 -05:00
CrashOveride95
3a9ee0ca7c pad to 8mb again 2021-01-24 14:10:40 -05:00
CrashOveride95
01826fd85b Make gzip work 2021-01-24 14:06:58 -05:00
CrashOveride95
63cfef85a6 add check for modernsdk toolchain 2021-01-23 13:28:35 -05:00
farisawan-2000
299b6bc1f5 explicit initialization of result in s2d_strlen 2021-01-15 17:26:07 -05:00
CrashOveride95
3e18c5f614 Fix bug in sram funcs
The offset would be divided by 8/shifted by 3 due to EEPROM being accessed in 8byte blocks
2021-01-12 16:58:18 -05:00
CrashOveride95
3d5e3661fb Align size for SRAM to fix issue with a certain crap emu 2021-01-11 01:16:49 -05:00
CrashOveride95
02e6466e5c SRAM support 2021-01-11 00:46:56 -05:00
CrashOveride95
ba58de803a Clean up slidec a bit 2021-01-10 09:41:39 -05:00
farisawan-2000
e6e134fff6 added separator character to be able to separate parameters and numbers without a space 2021-01-09 21:53:27 -05:00
farisawan-2000
5a3770e8b2 added dropshadow docs 2021-01-07 14:08:17 -05:00
farisawan-2000
13e5ecbdbb updated readme to have some better sample code 2021-01-07 14:07:27 -05:00
CrashOveride95
d15c2d494d Fix most gzip things *EXCEPT THE ACTUAL DECOMPRESSION*
AYY LMAO
2021-01-04 00:44:54 -05:00
CrashOveride95
9e0fc1b088 align compsize 2021-01-03 15:57:53 -05:00
CrashOveride95
163cd9a17b Append size of uncomp data to end of gzip 2021-01-03 15:48:35 -05:00
CrashOveride95
a422d92b16 whoops wrong argument 2021-01-03 13:21:10 -05:00
CrashOveride95
fc0aabe98e Add NON-WORKING gzip DEFLATE support 2021-01-03 13:09:20 -05:00
CrashOveride95
08f47d350b Remove old comment 2021-01-02 22:53:51 -05:00
CrashOveride95
18d84b1351 Change ique to bb in makefile 2021-01-02 22:52:48 -05:00
CrashOveride95
d242a07102 Add iQue support 2021-01-02 22:48:12 -05:00
CrashOveride95
4eb3896bd8 Make HVQM disableable, making IDO usable again 2021-01-02 21:19:27 -05:00
CrashOveride95
c621be8f1d UNF Progress (still broken LOL) 2021-01-01 15:42:01 -05:00
farisawan-2000
be343003fc added initial support for kerning tables 2020-12-28 17:40:57 -05:00
farisawan-2000
2710f4e36a general updates 2020-12-28 13:27:53 -05:00
farisawan-2000
0d0ee9b86a optimized RDP command execution 2020-12-19 14:16:59 -05:00
farisawan-2000
14937ef62b this belongs on the other branch 2020-12-18 23:53:29 -05:00
CrashOveride95
dba8608561 *it still lags* 2020-12-18 22:36:09 -05:00
farisawan-2000
75e39c574c added more cool defines! 2020-12-18 20:10:22 -05:00
farisawan-2000
ae91cbaf50 added simple drop shadow support 2020-12-18 18:38:27 -05:00
farisawan-2000
907ed074fb fixed typo in readme 2020-12-17 23:57:38 -05:00
farisawan-2000
0e481ef42b Added readme 2020-12-17 23:55:17 -05:00
farisawan-2000
6477265539 cleanup; refactoring 2020-12-16 18:06:46 -05:00
farisawan-2000
6a5e971bd2 shelved s2d_vsprint 2020-12-16 01:12:08 -05:00
farisawan-2000
8f7a3b6f0b cleanup 2020-12-16 00:57:28 -05:00
farisawan-2000
a11d88c2a7 cleanup 2020-12-15 23:37:44 -05:00
farisawan-2000
7405b27509 added \t, \v, \n 2020-12-15 23:36:40 -05:00
farisawan-2000
9597bc91c3 updated headers to reduce warnings 2020-12-15 23:10:28 -05:00
farisawan-2000
93283ed408 added s2d_print stuff to header 2020-12-15 23:07:38 -05:00
farisawan-2000
80672dafb7 added newlines 2020-12-15 23:06:09 -05:00
farisawan-2000
9f367cea26 saved a file 2020-12-15 22:58:29 -05:00
farisawan-2000
63bdf9ddec text typing now works; implemented initial vsprint 2020-12-15 22:57:04 -05:00
farisawan-2000
3a5aac7c23 fixed rotate typing 2020-12-15 22:08:58 -05:00
farisawan-2000
4692fba7e5 reverted atoi 2020-12-15 21:21:02 -05:00
farisawan-2000
10e50664f0 initial rotation typing support 2020-12-15 17:50:40 -05:00
farisawan-2000
ac3c4dbf75 text typing now in a suitable release state 2020-12-15 17:46:07 -05:00
farisawan-2000
29855712a8 initial tests for text speed 2020-12-13 22:30:24 -05:00
farisawan-2000
1d7881bf3c remove infinite loop 2020-12-13 22:24:18 -05:00
farisawan-2000
54869be8a3 actually removed stack.c 2020-12-13 18:42:49 -05:00
farisawan-2000
5f64fc0797 removed unnecessary stack.c; refactoring stuff 2020-12-13 18:31:42 -05:00
farisawan-2000
e1a732adb0 removed fillrect func for now 2020-12-12 22:03:04 -05:00
farisawan-2000
ce1f5b38e7 start infrastructure for new text features: scrolling, typing, backgrounds 2020-12-12 21:56:36 -05:00
farisawan-2000
738c0a220e using gdl_head to tie the engine less to SM64 2020-12-12 20:28:07 -05:00
farisawan-2000
c52a054fdb color macro 2020-12-12 19:45:53 -05:00
farisawan-2000
87b4a3195e rotation and translation work 2020-12-12 18:50:26 -05:00
farisawan-2000
aef2b9c8af scaling and printing confirmed working, rotation does something 2020-12-12 16:20:37 -05:00
farisawan-2000
b081365e42 mtx pipeline2 works 2020-12-12 15:47:12 -05:00
farisawan-2000
72703d9b61 save state: printing works 2020-12-12 15:35:29 -05:00
farisawan-2000
d5f43751a9 save state 2020-12-12 15:33:14 -05:00
farisawan-2000
a7e593f333 add arbitrary scaling functionality 2020-12-11 22:51:58 -05:00
farisawan-2000
871eed30af init 2020-12-11 21:47:11 -05:00
CrashOveride95
84c58a66d2 Remove unused functions 2020-12-09 19:36:09 -05:00
CrashOveride95
5b97e1072a Add (BROKEN) UNFLoader 2020-12-09 16:38:26 -05:00
CrashOveride95
d5106362b9 Add crash custom 2020-12-09 14:48:05 -05:00
CrashOveride95
e64a136976 Fix one rumble outlier 2020-12-09 14:21:38 -05:00
CrashOveride95
d643eda27f HVQM no lag!! 2020-12-09 14:10:43 -05:00
CrashOveride95
a242b18d99 Clean up HVQM code a little 2020-12-09 09:23:26 -05:00
CrashOveride95
7f4cefdc36 Get HVQM working 2020-12-09 09:05:40 -05:00
CrashOveride95
5e042fd82c Begin HVQM support 2020-12-08 21:41:03 -05:00
CrashOveride95
7627c8511d Add Rumble support 2020-12-08 19:28:12 -05:00
CrashOveride95
f9e6070f29 Fix bfd 2020-12-04 06:25:07 -05:00
CrashOveride95
7240c46420 Fix warnings 2020-12-03 22:27:06 -05:00
CrashOveride95
5d16f873c5 Fix Shindou 2020-12-03 22:19:14 -05:00
CrashOveride95
ad09c29ebc Merge remote-tracking branch 'sm64pub/master' 2020-12-03 22:10:46 -05:00
mountainflaw
ecd3d152fb Update README.md 2020-12-03 21:00:33 -05:00
n64
a53de1e70c Refresh 13 2 2020-12-03 20:57:48 -05:00
CrashOveride95
15c0bfedbb Port libultra and yay0 (shindou is broken currently) 2020-12-03 20:19:03 -05:00
CrashOveride95
6a80548e8f Disable compare 2020-12-03 19:23:06 -05:00
CrashOveride95
d2cfdfbce6 fix merge conf 2020-12-03 19:16:09 -05:00
CrashOveride95
ce407f3112 Update README.md 2020-12-03 15:48:30 -05:00
n64
6d87c424b8 Refresh 13 2020-12-03 14:26:38 -05:00
someone2639
1d45b3663a added smallest working alignment to engine segment 2020-11-05 14:45:20 -05:00
farisawan-2000
325126e3b3 made load_engine_code_segment use linker symbols instead of old hardcoded segments 2020-11-05 14:23:37 -05:00
farisawan-2000
3f8f49c726 replaced SEG_POOL_END in main_pool_init with a dynamic end that depends on POOL_SIZE instead 2020-11-05 14:22:57 -05:00
farisawan-2000
b84d4ea715 refactor linker script so segments are shiftable 2020-11-05 14:22:02 -05:00
farisawan-2000
475390ac27 Added additional externs at segment_symbols.h 2020-11-05 14:21:40 -05:00
farisawan-2000
2d950b7099 Patched Segments.h 2020-11-05 14:21:07 -05:00
farisawan-2000
8d2aa3cb16 Revert typo in segments.h 2020-11-05 14:20:19 -05:00
n64
8b872a71e8 Refresh 12 2020-09-20 11:15:47 -04:00
n64
9214dddabc Refresh 11 2020-07-04 11:18:55 -04:00
n64
05c7d7031c Refresh 10.1 2020-06-17 22:14:59 -04:00
n64
d43d9b7f20 Refresh 10 2020-06-02 12:44:34 -04:00
mountainflaw
e58669b4b3 Use new Discord invite link 2020-05-13 18:11:50 -04:00
Matt Kempster
9a40d86f6a Merge pull request #36 from ahouts/master
Add Docker Support
2020-04-19 12:06:42 -07:00
n64
c45aa301bb Refresh 8 2020-04-03 14:57:26 -04:00
Andrew Houts
0987c9c91d incorporate streetster's suggestions 2020-04-02 11:00:05 -07:00
Andrew Houts
a48d6b03d6 add docker config 2020-03-31 20:28:58 -07:00
n64
06ec56df7f Refresh 7 2020-03-01 22:42:52 -05:00
n64
9a801cb96d refresh 6 2020-02-03 00:51:26 -05:00
n64
9273f38df1 refresh 5 2020-01-03 10:38:57 -05:00
n64
04732af90b refresh 4 2019-12-01 21:52:53 -05:00
n64
a7c423cb43 Refresh 3 2019-11-03 14:36:27 -05:00
n64
6b8bc9b9ec Refresh #2a (hotfix) 2019-10-05 19:41:44 -04:00
n64
b1665cdfdb HOTFIX: Text Makefile dependency 2019-10-05 19:40:22 -04:00
n64
52e605f075 Refresh 2 2019-10-05 15:08:05 -04:00
n64
1ef98ec785 Refresh 1 2019-09-01 15:50:50 -04:00
mountainflaw
c6102eb802 Merge pull request #1 from bramhaag/patch-2
Fixed formatting issue in README.md
2019-08-25 17:34:16 -04:00
Bram Hagens
50abf504a9 Fixed formatting issue 2019-08-25 08:41:24 +02:00
5686 changed files with 670733 additions and 529787 deletions

View File

@@ -1,4 +1,5 @@
IndentWidth: 4
Language: Cpp
AlignAfterOpenBracket: Align
SortIncludes: false
ColumnLimit: 104
@@ -8,8 +9,10 @@ AllowShortIfStatementsOnASingleLine: false
BinPackArguments: true
BinPackParameters: true
SpaceAfterCStyleCast: true
BreakBeforeBraces: Attach
BreakBeforeTernaryOperators: true
BreakBeforeBinaryOperators: NonAssignment
Cpp11BracedListStyle: false
IndentCaseLabels: true
AlignTrailingComments: true
UseTab: Never

6
.clang-tidy Normal file
View File

@@ -0,0 +1,6 @@
---
Checks: '-*,readability-braces-around-statements'
WarningsAsErrors: ''
HeaderFilterRegex: '(src|include|enhancements)\/.*\.h$'
FormatStyle: 'file'
CheckOptions:

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto
# List text files in case git doesn't characterize correctly
*.c text
*.h text
*.s text
*.in text
*.js text
*.md text
*.py text
*.sh text
*.ld text
*.inc text
*.txt text
*.json text
*.yaml text
# Same for binary
*.bin binary
*.m64 binary
*.png binary
*.aiff binary

2114
.gitignore vendored

File diff suppressed because it is too large Load Diff

40
.vscode/c_cpp_properties.json vendored Normal file
View File

@@ -0,0 +1,40 @@
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/include/n64/**",
"${workspaceFolder}/include/**",
"${workspaceFolder}/textures/**",
"${workspaceFolder}/build/us_n64/**",
"${workspaceFolder}/**"
],
"forcedInclude": [
"${workspaceFolder}/include/types.h",
"${workspaceFolder}/include/n64/ultra64.h",
"${workspaceFolder}/include/sm64.h",
"${workspaceFolder}/include/config.h",
"${workspaceFolder}/include/make_const_nonconst.h",
"${workspaceFolder}/include/geo_commands.h",
"${workspaceFolder}/include/level_commands.h",
"${workspaceFolder}/include/segment_symbols.h",
"${workspaceFolder}/include/command_macros_base.h",
"${workspaceFolder}/include/object_constants.h"
],
"defines": [
"TARGET_N64=1",
"VERSION_US=1",
"F3DEX_GBI_2=1",
"F3DZEX_NON_GBI_2=1",
"F3DEX_GBI_SHARED=1",
"NON_MATCHING=1",
"AVOID_UB=1"
],
"compilerPath": "/usr/bin/mips-linux-gnu-gcc",
"cStandard": "gnu17",
"cppStandard": "gnu++14",
"intelliSenseMode": "linux-gcc-x86"
}
],
"version": 4
}

416
CHANGES Normal file
View File

@@ -0,0 +1,416 @@
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)
2.) Generate MIO0 object files using binutils `ld` instead of `as` (#1173)
3.) Bowser documentation (#1166)
4.) Fix comment syntax in 00_sound_player.0 (#1172)
5.) Rename in-game menu variables (#1163)
6.) Document double red coin sound and JP sound glitch (#1170)
7.) Document different bug in external.c (#1168)
8.) updated names/types of octagonal platform data (#1164)
9.) Label a number of unnamed variables. (#1169)
10.) Document JP PU sound glitch (#1167)
11.) Set model ids to spawn_triangle_break_particles (#1165)
12.) Fix borders in clear_frame_buffer (#1162)
13.) Fix seq header files for 64-bit (#1161)
14.) Game_init.c remaining doc (#1158)
15.) Label a couple static variables in sound_init.c (#1159)
16.) Properly define dialog values (status, flags, cutscenes) (#1153)
17.) Label all of amp's assets. (#1018)
18.) Split audio/synthesis.c into Shindou/non-Shindou files (#1144)
19.) Avoid CC_CHECK warnings when using gcc (#1157)
20.) level_select_menu.c => title_screen.c (#1152)
21.) Use C preprocessor on assembly files (#1126)
22.) Replace output_level_headers.py with sed equivalent (#1109)
23.) Fix CC_CHECK warnings related to unused symbols and UB (#1155)
24.) Define remaining floor lower limit values (#1147)
25.) use r+b mode for libultra.a patch tool (#1148)
26.) Use proper values for gPrevFrameObjectCount ifs (#1146)
27.) Some minor bowser.inc.c labelling. (#1150)
28.) fix king bob-omb texture pointers (#1145)
29.) Split audio/load.c into Shindou/non-Shindou files (#1143)
30.) Small Shindou audio cleanups (#1142)
31.) Fix endians in ALSeqData (#1141)
32.) Document S8 decoder rsp operation and some more (#1139)
33.) Fix Shindou synthesis_process_note fake match (#1140)
34.) More audio documentation, for the new rsp code and other fixes (#1138)
35.) Build fixes for macOS: cpp, clang, recomp, aiff_extract_codebook (#1135)
36.) Add ENABLE_RUMBLE to config.h (#1122)
37.) Reduce recomp memory consumption by using smaller disassembly blocks (#1128)
38.) Makefile fixes (#1123)
39.) Update README.md
40.) Update README.md
41.) Reflect current decompilation status
42.) Allow both archives and ELF objects to be patched (#1127)
43.) Remove WIP mention in README for sh version.
Refresh 13 2
- No more nonmatchings remain for all builds including Shindou.
1.) Shindou OK (#1118)
2.) Match shindou sequence_player_process_sequence (#1117)
3.) Match func_sh_802f4e50 (#1116)
Refresh 13
- No more nonmatchings remain for US, JP, or EU builds. Three(!!!) remain for Shindou (SH).
*) SHINDOU MATCHING (#1081)
*) Makefile gcc fixes (#1114)
1.) Update diff.py (#1113)
2.) Add support for generating C arrays from n64graphics and add Texture typedef (#1032)
3.) Update README and Dockerfile with recomp info (#1105)
4.) Support building tools with MSYS2 (#1112)
5.) Support building tools with clang and macOS (#1106)
6.) Clean tools directory when running distclean target (#1104)
7.) Make build output cleaner (#1095)
8.) Added 2 surface defines to bowser.inc.c (#1111)
9.) fix fake matchings (#1108)
10.) Use statically recompiled IDO instead of qemu-irix (#1099)
11.) Add VERBOSE=1 to Jenkinsfile
12.) updated intro_geo to use layer defines for geo flags (#1090)
13.) Fix F3DZEX (#1097)
14.) layer_transpose should take an s8 (#1093)
15.) Fix tools/ build (#1082)
16.) Relabel and document fish.inc.c (#1077)
17.) Ensure all calls to .py files use $(PYTHON) (#1080)
18.) Name Mario, Peach, and instrument sound files (#1078)
19.) Goddard labeling, part 2 (#1076)
20.) Fix envfx_snow and envfx_bubbles fake matches (#1075)
21.) Use array subscripts instead of pointer math in 2 files (#1074)
22.) refactor Makefile a bit (#1068)
23.) Further improvements on field names (#1059)
24.) Label and document manta_ray.inc.c (#1073)
25.) Fix level_script and behavior fake matches (#1072)
26.) Proper cell defines and more floor lower limit values. (#1065)
27.) Document and re-label some goddard/intro code (#1069)
28.) Match remaining functions (#1070)
29.) match 'spawn_special_objects' (#1071)
30.) Document parts of external.c and format sound defines (#1067)
Refresh 12
1.) Debug box improvements (#1066)
2.) Improve 'geo_render_mirror_mario' (#1064)
3.) Cleanup and small labeling (#1063)
4.) Anim renames and other related renames (#1062)
5.) remove do while 0 and make one line comments consistent (#1061)
6.) fixed typo in segments.h (#1060)
7.) Name unknown fields (from public repo) (#1058)
8.) Change 'void *' to 'struct MainPoolState *' (#1057)
9.) Fix type of freeList (#1056)
10.) Newer version of diff script (#1055)
11.) Add stubbed_printfs based on unused audio strings (#1054)
12.) Fix comment in paintings.c (#1053)
13.) Add defines for hardcoded cell/floor height values (#1051)
14.) Update README.md: Remove GitHub specific Markdown syntax (#1052)
15.) Properly label interation status that handle's Bowser's shockwave attack (#1050)
Refresh 11
1.) Make geo_process_level_of_detail endian-independent (#1049)
2.) Label oMoveFlags and slight cleanup. (#1046)
3.) Avoid UB in synthesis_resample_and_mix_reverb (#1048)
4.) Change some void * to correct type (#1047)
5.) Remove oPathedWaypointsS16 and convert all paths to Trajectory struct. (#1045)
6.) Mr Blizzard documentation, Tox Box Unks (#1042)
7.) Pipe input to textconv. (#1041)
8.) Remove erroneous long double casts from audiofile.cpp (#1039)
9.) Replace fixed dialogID in play_dialog_sound to DIALOG_COUNT (#1040)
Refresh #10.1
1.) Diff update (#1033)
2.) Fix texture dimensions for exclamation boxes (#1034)
3.) Fix armips compilation on Windows by changing order of inclusion files (#1035)
4.) Embed libaudiofile into the repo as a single file (#1036)
5.) Fix some tools issues found while compiling on MSYS2 (#1037)
Refresh #10
1.) GCC 9 noreturn UB fixes (#961)
2.) List supported binutils variants in README.md (#960)
3.) fix fly guy's possible values for target roll
4.) clarify that 1 is an exclusive bound in random_float (#962)
5.) replace unkB8 with prevNumStarsForDialog (#963)
6.) Replace "BulletBillUnkF8" with "BulletBillInitialMoveYaw" (#966)
7.) Renamed more warp behaviors and spawn types (#949)
8.) EU bss cleanups (#965)
9.) Add -fno-zero-initialized-in-bss to GCC CFLAGS (#968)
10.) Use empty .SECONDARY target instead of .PRECIOUS (#964)
11.) Match EU seq_channel_layer_process_script (#969)
12.) Fix version variable overwriting bug for non-matching compilations (#974)
13.) small bhv_collect_star_init labeling (#972)
14.) Align SI DMA command buffers, add more names to osCont code (#973)
15.) Minor for loop fix in playback.c (#976)
16.) Add Docker config (Public #36)
17.) Fix usage output crash for skyconv (#977)
18.) Cleanup tools and their build flags (#978)
19.) Print more detailed file reading error messages in extract_assets (#982)
20.) Remove asmdiff (#983)
21.) Fixed tabledesign makefile bug (#985)
22.) Improve first-diff.py (#987)
23.) Bring in some enhancements such as widescreen enhancements (#981)
24.) Fix background shadow border if widescreen in shade_screen (#988)
25.) Merge common EU sections in osExceptionPreamble (#990)
26.) Introduce the NO_SEGMENTED_MEMORY define (#989)
27.) NO_SEGMENTED_MEMORY comments (#992)
28.) Introduce f3dex2e and a GBI_FLOATS setting (#993)
29.) Audio uses signed 16-bit integers as samples, not unsigned (#995)
30.) Assemble RSP ucode with armips (#970)
31.) Label Mr. Blizzard, Yoshi, Whomp, Wiggler, Wood Piece oFields. (#996)
32.) update crash enhancement (#1003)
33.) Update README.md to use new public Discord server invite
34.) Label variables in act_idle. (#1005)
35.) Fix a typo in camera.h (#1009)
36.) Fixed up profiler.c (#1010)
37.) Add -d to first-diff.py (#1012)
38.) Fix typo in first-diff.py (#1013)
39.) Remove binutils 2.27 dependency check (#1015)
40.) Update armips to v0.11.0 tag and add generator script (#1004)
41.) Extract IPL3 font from ROM (#1011)
42.) Documented audio playback flags (#1021)
43.) Change RSP register notation to dollar-prefixed numbers (#1022)
44.) Only check for QEMU_IRIX in Makefile when compiling with IDO (#1023)
45.) Clean up header files and update function prototypes (#1000)
46.) Named local variables in geo_update_layer_transparency (#1019)
47.) Extract crash screen font textures from EU and SH ROMs (#1025)
48.) Use ACTIVE_FLAG defines where appropriate (#1026)
49.) Changed type of actor collision from s16 to Collision (#1024)
50.) Implement sqrtf in assembly file (#1028)
51.) Rename Struct8032FCE8 as OpenableGrill and identify data members (#1029)
52.) Fix some mistakes in the abi doc (#1031)
53.) The README.md PR (#979)
Refresh #8
1.) Use INT_STATUS_ macros for oInteractStatus (#911)
2.) Update bullet_bill.inc.c (#912)
3.) Make geo.c in levels nonconst to reduce diffs with gcc enhancement patch in future (#913)
4.) Improve process_level_music_dynamics (#915)
5.) add AVOID_UB define for fixing libultra aliasing. (#916)
6.) const hack to TARGET_N64 and tweak ld script (#918)
7.) Replace raw level/course numbers with defines (#919)
8.) Label all graph node flags. (#920)
9.) readme.md capitalization
10.) The Big Function PR (Part 5) (#910)
11.) Label hardware registers (#922)
12.) Match EU synthesis_process_note (#923)
13.) Some quick value changes (#909)
14.) Added sequence player defines (#926)
15.) Shindou diffs 2 [merge game.c and display.c, required for SH] (#927)
16.) Match synthesis_process_notes and use -sopt for synthesis.c (#928)
17.) Fix mips64-binutils for Fedora 31 and similar Linux distros (#931)
18.) Update first-diff.py to work with Shindou (#933)
19.) Labelled behavior_script.c (#929)
20.) shindou diffs up to level_update (#932)
21.) Update diff.py and diff_settings.py to work with SH (#936)
22.) Add some Shindou resources to extract_assets.py (#939)
23.) Label and document gd_math.c (#930)
24.) Label all of Mario's actions. (#941)
25.) Label all particles. (#940)
26.) Renamed death related warpBhvs (#942)
27.) Small Shindou differences (#945)
28.) match player_performed_grab_escape_action in all versions (#943)
29.) add main alignment (aglab2, #947)
30.) Match a bunch of fake EU matchings (#944)
31.) Shindou diffs round 4 (#937)
32.) Easy PAL fake matchings (#946)
33.) Merge object_helpers and object_helpers2 headers (#948)
34.) match cap_check_quicksand (#950)
35.) Shindou crash screen diffs (#938)
36.) Thread6 (#951)
37.) Correct IPL3 function and label addresses (#952)
38.) Add COMPILER flag for Makefile and add official mips gcc support. (#953)
39.) add align to sequence_00 (fixes gcc build) (#957)
40.) Fixed itty bitty typo (#959)
Refresh #7
1.) update README.md (#861)
2.) [eu] fix decompilation bugs in synthesis_process_note (#862)
3.) Label and document Snufit.inc.c (#863)
4.) Label and document Snufit.inc.c (#863)
5.) Match append_bubble_vertex_buffer, append_snowflake_vertex_buffer (#860)
6.) Compile audio/effects.c with -sopt (#870)
7.) Match handle_dialog_text_and_pages (#872)
8.) Remove improperly used LEVEL_SA define. (#875)
9.) Remove unused EU ASM files (#873)
10.) Shindou build flag support (#876)
11.) The Big Function PR (Part 1) (#864)
12.) "Re-document" file_select and star_select for EU (#877)
13.) Document paintings.c (#868)
14.) Minor interaction.c labelling/documentation. (#882)
15.) Match synthesis_execute, prepare_reverb_ring_buffer, func_eu_802e00d8 (#886)
16.) The Big Function PR (Part 2) (#874)
17.) Additional painting documentation (#883)
18.) Some EU audio labelling (#885)
19.) Bring synthesis_do_one_audio_update a bit closer to matching (#887)
20.) Misleading comment, this actually contols Bowser's init action (#889)
21.) Match synthesis_do_one_audio_update (#890)
22.) Remove unneeded if(1) in synthesis_do_one_audio_update (#891)
23.) Match synthesis_resample_and_mix_reverb (#893)
24.) Set LANG=C (#896)
25.) Match note_apply_headset_pan_effects (#897)
26.) Match play_sequence (#898)
27.) Match sequence_channel_enable (#899)
28.) Match sequence_player_process_sequence (#900)
29.) Match (eu) alloc_bank_or_seq (#901)
30.) Match alloc_bank_or_seq (#903)
31.) Update README.md (again)
32.) Documented behaviour/fish.inc.c & blue_fish.inc.c (#894)
33.) Labelled 4 behavior files, made object_helper functions consistent (#881)
34.) Add a make target for .copt (#902)
35.) The Big Function PR (Part 3) (#888)
36.) The Big Function PR (Part 4) (#906)
37.) Rename src/audio/memory.c -> heap.c (#907)
38.) Fix BBH texture (#908)
Refresh #6
1.) Make tools work on MinGW (#804)
2.) Document mario_misc (#628)
3.) add patch_libmalloc.py script to work around compiler crashes (#811)
4.) Label the coffins file. (#829)
5.) Convert enhancements into patches (#827)
6.) Document Tweester.inc.c (#840)
7.) EU OK and cleanup EU (#782)
Refresh #5
1.) mem_error_screen.inc.c updated for C (#775)
2.) updated patch_libultra_math to work directly on libultra.a (#781)
3.) Enhancement: Debug boxes (#783)
4.) Label effects MemoryPool (#784)
5.) Use full-width characters for JP text and rename mislabeled stuff (#772)
6.) Small asset extraction fixes (#785)
7.) Fix incremental asset extraction after the last PR (#790)
8.) Labelled behavior script commands, tidied up behavior scripts and ren…
9.) Document camera.c (#741)
10.) Fix a HMC texture asset (#795)
11.) Fix UB in angle conversion for paintings. Needed for pc-port. (#796)
12.) Fix PSS texture assets (#801)
13.) Fix some camera typos (#802)
Refresh #4
1.) Label screen_transition.c (#737)
2.) Revamp macros (#738)
3.) Simplify the cake makefile logic (#739)
4.) Move zbuffer to C (#742)
5.) Audio blob endian/64-bit fixes (#740)
6.) Ub fixes (#745)
7.) process_level_music_dynamics: slightly better stack and regalloc (#746)
8.) move level order specific definitions out to levels/level_defines.h (#743)
9.) Renamed some mislabelled sound effects (#748)
10.) Very minor white space fixes in Mario.c (#752)
11.) Renamed GRAVITY to OBJ_PHYSICS (#755)
12.) Use defined macros instead of literal values for interactions in behavior_data.c (#754)
13.) iQue Player console detection + full support (#756)
14.) Fix Goddard Mario head for little endian etc. (#757)
15.) Small bits of audio doc (#749)
16.) Update diff script (#750)
17.) Nicer format for course/dialog text, enum for dialog IDs (#753)
18.) first-diff: store most recent mtime during check (#759)
19.) Use Lights1 struct for light values (#760)
20.) Detect mips64-elf in diff.py (#761)
21.) Name display lists in gd renderer.c (#764)
22.) Document a variety of PU type crashes. (#765)
23.) Label object_behaviors. (#716)
24.) Update swoop.inc.c (#767)
25.) Label tilting_pyramid.inc.c (#768)
26.) Label red_coin.inc.c (#770)
27.) Use more level defines (#758)
28.) Named Mario actions 6, 7, and 8 and noted causes of hands-free holding glitch (#769)
Refresh #3
1.) Small bits of sound sample labelling
2.) Append 'b' to fopen calls in n64graphics to satisfy Windows
3.) Document synthesis.c and abi.h
4.) Remove gbi_old.h and use gbi.h instead for F3D_OLD
5.) Fix and change most values used by f3d commands
6.) Convert actors to C
7.) Make extract_assets.py fail on bad baserom
8.) Fix some (pragma-ignored) warnings
9.) Convert trig tables and data/ buffers into C
10.) Document intro behaviors and some of camera.c
11.) Match dma_sample_data
12.) Convert levels, bin, text, goddard_tex_dl to C
13.) Remove .bss size hardcoding
14.) Add mips64 fallback and alt dump option to diff.sh
15.) Convert behavior_data to C
16.) Get rid of the enum in behavior_data.
17.) Change more values used by f3d commands
18.) Document game/skybox.c
19.) Actors levels fixup
20.) Convert Mario animations to C (kind of)
22.) generate skybox data from 248x248 images
23.) 64-bit fixes
24.) Move demo data to C
25.) Change uintptr_t to GeoLayout for actors
26.) Move libc includes to include/libc/
Refresh #2a (hotfix)
Changes from Refresh #2:
1.) Fixed text Makefile dependencies"
Refresh #2
Changes from Refresh #1:
1.) Label src/game/behaviors/boo.inc.c
2.) Verify half of audio_defines.h
3.) Label ingame_menu.c and some dialog stuff
4.) Improve handle_dialog_text_and_pages EU non-matching
5.) Fix texture format for water splash/sparkle
6.) Merge ucode.bin and ucode_unk.bin
7.) 64-bit fixes
8.) [AUDIO] Match func_80316928
9.) Documented bug in Tuxie's mother's code
10.) [AUDIO] Slightly closer matching for process_level_music_dynamics
11.) Name channel scripts in sequence 0
12.) Nicer error message when sha1sum doesn't match
13.) Refactor object fields
14.) Document file_select.c
15.) Document star_select.c
16.) Add uncompressed string support to textconv
17.) Document main_menu geo and leveldata
18.) Document hud.c and rename char textures
19.) Correct gSPTextureRectangle values
20.) Linker script wildcard
- Fixes "undefined reference to x in discarded section y" linker errors.
- Also means that you no longer have to add linker script entries for source files.
21.) Reference qemu-irix package and add project structure
- Installing qemu-irix is as simple as installing the provided Debian package on the GitHub "Releases" tab
(https://github.com/n64decomp/qemu-irix).
- Old qemu-irix installs are unaffected by this change, and it is still possible to install qemu-irix with the older method.
Refresh #1
Changes from initial release:
1.) More README cleanups and documentation
2.) Fix .gitignore in tools/
3.) More README cleanups and corrections
4.) oUnk190 -> oInteractionSubtype
5.) Normalize line endings
6.) Replace bank_sets.s by sequences.json + build magic
7.) Fix tabledesign in .gitignore
8.) Cleaned and documented arrays in audio/
9.) Change minimum Python 3 requirement in README.md to 3.6
10.) Remove whitespace in ingame_menu.c, save_file.c, and star_select.c
11.) Documentation comment style fixed
12.) sm64.map -> sm64.version.map (ex: sm64.us.map)
13.) Decompile EU versions of HUD and obj behaviors
14.) Label ukiki.inc.c and ukiki_cage.inc.c
15.) Add missing OS header includes
16.) Fix alignment issue in model_ids.h
17.) A bunch of behavior changes:
a.) Made styles consistent with function names (ex: BehBehaviorLoop -> beh_behavior_loop)
b.) Split obj_behaviors_2.c into multiple .inc.c files in behaviors/
c.) bhvHauntedRoomCheck -> bhvCoffinManager
18.) Update README.md notes on WSL and add links
19.) Added tidy.sh and also bracing around single-line ifs and loops

13
CODEOWNERS Normal file
View File

@@ -0,0 +1,13 @@
# 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
* @gheskett
# 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.

17
Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
FROM ubuntu:18.04 as build
RUN apt-get update && \
apt-get install -y \
binutils-mips-linux-gnu \
bsdmainutils \
build-essential \
libcapstone-dev \
pkgconf \
python3
RUN mkdir /sm64
WORKDIR /sm64
ENV PATH="/sm64/tools:${PATH}"
CMD echo 'usage: docker run --rm --mount type=bind,source="$(pwd)",destination=/sm64 sm64 make VERSION=us -j4\n' \
'see https://github.com/n64decomp/sm64/blob/master/README.md for advanced usage'

View File

@@ -2089,7 +2089,7 @@ INCLUDE_FILE_PATTERNS =
# recursively expanded use the := operator instead of the = operator.
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
PREDEFINED = NON_MATCHING
PREDEFINED = NON_MATCHING AVOID_UB
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
# tag can be used to specify a list of macro names that should be expanded. The

37
Jenkinsfile vendored
View File

@@ -11,30 +11,45 @@ pipeline {
sh 'ln -s "$ROMS_DIR/Super Mario 64 (J) [!].z64" baserom.jp.z64'
sh 'ln -s "$ROMS_DIR/Super Mario 64 (U) [!].z64" baserom.us.z64'
sh 'ln -s "$ROMS_DIR/Super Mario 64 (E) (M3) [!].z64" baserom.eu.z64'
sh 'ln -s "$ROMS_DIR/Super Mario 64 - Shindou Edition (J) [!].z64" baserom.sh.z64'
// verify no assets were committed to repo
sh '[ -z "$(find {actors,levels,textures}/ -name \'*.png\')" ]'
sh '[ -z "$(find assets/ -name \'*.m64\' -or \'*.bin\')" ]'
sh './extract_assets.py jp us eu'
}
}
stage('Build J Source') {
steps {
sh 'make -j4 VERSION=jp'
sh './extract_assets.py jp us eu sh'
}
}
stage('Build U Source') {
steps {
sh 'make -j4 VERSION=us'
sh 'make -j4 VERSION=us VERBOSE=1 COLOR=0'
}
}
stage('Build J Source, NON_MATCHING') {
stage('Build S Source') {
steps {
sh 'make -j4 VERSION=jp NON_MATCHING=1'
sh 'make -j4 VERSION=sh VERBOSE=1 COLOR=0'
}
}
stage('Build U Source, NON_MATCHING') {
stage('Build E Source') {
steps {
sh 'make -j4 VERSION=us NON_MATCHING=1'
sh 'make -j4 VERSION=eu VERBOSE=1 COLOR=0'
}
}
stage('Build J Source') {
steps {
sh 'make -j4 VERSION=jp VERBOSE=1 COLOR=0'
}
}
stage('Test Enhancements') {
steps {
sh '''
set -e
for f in enhancements/*.patch
do
git clean -fd .
git checkout -- .
echo 'y' | tools/apply_patch.sh "$f"
make -j4 VERSION=us COMPARE=0 VERBOSE=1
done
'''
}
}
}

1100
Makefile

File diff suppressed because it is too large Load Diff

View File

@@ -2,10 +2,16 @@
# General Rules
# --------------------------------------
# obtain a list of segments from the *.s files in bin directory
SEGMENTS := $(notdir $(basename $(wildcard bin/*.s))) $(addprefix $(VERSION)/,$(notdir $(basename $(wildcard bin/$(VERSION)/*.s))))
ACTORS := $(filter %/,$(wildcard actors/*/))
TEXTURE_DIRS := $(addprefix textures/,$(SEGMENTS)) $(ACTORS) textures/intro_raw
# obtain a list of segments from the *.c files in bin directory
SEGMENTS := \
$(notdir $(basename $(wildcard bin/*.c))) \
$(addprefix $(VERSION)/,$(notdir $(basename $(wildcard bin/$(VERSION)/*.c)))) \
$(addsuffix _skybox,$(notdir $(basename $(wildcard textures/skyboxes/*.png))))
# Directories containing PNG files
TEXTURE_DIRS := \
$(wildcard textures/*/) \
$(filter %/,$(wildcard actors/*/))
# NOTE: textures assume naming convention "texture.<encoding>.png" generates "texture.<encoding>"
@@ -32,12 +38,19 @@ ACTOR_GROUPS := \
common1
LEVEL_FILES := $(addsuffix leveldata,$(LEVEL_DIRS))
MIO0_FILES := $(addprefix $(MIO0_DIR)/,$(addsuffix .mio0,$(SEGMENTS) $(ACTOR_GROUPS) $(LEVEL_FILES)))
MIO0_OBJ_FILES := $(MIO0_FILES:.mio0=.mio0.o)
SEGMENT_ELF_FILES := $(addprefix $(BUILD_DIR)/bin/,$(addsuffix .elf,$(SEGMENTS)))
ACTOR_ELF_FILES := $(addprefix $(BUILD_DIR)/bin/,$(addsuffix .elf,$(ACTOR_GROUPS)))
LEVEL_ELF_FILES := $(addprefix $(BUILD_DIR)/bin/,$(addsuffix .elf,$(LEVEL_FILES)))
SEG_FILES := \
$(SEGMENTS:%=$(BUILD_DIR)/bin/%.elf) \
$(ACTOR_GROUPS:%=$(BUILD_DIR)/actors/%.elf) \
$(LEVEL_FILES:%=$(BUILD_DIR)/levels/%.elf)
YAY0_FILES := \
$(SEGMENTS:%=$(BUILD_DIR)/bin/%.szp) \
$(ACTOR_GROUPS:%=$(BUILD_DIR)/actors/%.szp) \
$(LEVEL_FILES:%=$(BUILD_DIR)/levels/%.szp)
YAY0_OBJ_FILES := $(YAY0_FILES:.szp=.szp.o)
# --------------------------------------
# Actor Rules
@@ -53,8 +66,8 @@ 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
BUBBA_DIRS := bubba wiggler lakitu_enemy spiny_egg spiny
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
SEA_DIRS := clam_shell manta sushi unagi whirlpool
@@ -63,231 +76,195 @@ 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_waves 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 Files
AMP_CHUCKYA_FILES := $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(AMP_DIRS)),$(basename $(wildcard $(dir)/*.png)))
BOBOMBS_BUBBLE_FILES := $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(KING_BOBOMB_DIRS)),$(basename $(wildcard $(dir)/*.png)))
BOO_BOOKEND_FILES := $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(BOO_DIRS)),$(basename $(wildcard $(dir)/*.png)))
CAPSWITCH_SPRINGBOARD_FILES := $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(CAPSWITCH_DIRS)),$(basename $(wildcard $(dir)/*.png)))
COINS_PIPE_FILES := $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(COINS_DIRS)),$(basename $(wildcard $(dir)/*.png)))
BOWSER_FLAMES_FILES := $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(BOWSER_DIRS)),$(basename $(wildcard $(dir)/*.png)))
BUBBA_WIGGLER_FILES := $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(BUBBA_DIRS)),$(basename $(wildcard $(dir)/*.png)))
BULLY_BLARGG_FILES := $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(BULLY_DIRS)),$(basename $(wildcard $(dir)/*.png)))
CHILLYCHIEF_FILES := $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(CHILLYCHIEF_DIRS)),$(basename $(wildcard $(dir)/*.png)))
HOOT_THWOMP_FILES := $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(HOOT_DIRS)),$(basename $(wildcard $(dir)/*.png)))
KOOPA_LOG_FILES := $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(KOOPA_DIRS)),$(basename $(wildcard $(dir)/*.png)))
KLEPTO_EYEROK_FILES := $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(KLEPTO_DIRS)),$(basename $(wildcard $(dir)/*.png)))
LAKITU_TOAD_FILES := $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(LAKITU_DIRS)),$(basename $(wildcard $(dir)/*.png)))
MARIO_WATER_FILES := $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(MARIO_DIRS)),$(basename $(wildcard $(dir)/*.png)))
MOLE_UKIKI_FILES := $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(MOLE_DIRS)),$(basename $(wildcard $(dir)/*.png)))
MR_I_SWOOP_FILES := $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(MR_I_DIRS)),$(basename $(wildcard $(dir)/*.png)))
PEACH_TOADSTOOL_FILES := $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(PEACH_DIRS)),$(basename $(wildcard $(dir)/*.png)))
SEA_CREATURES_FILES := $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(SEA_DIRS)),$(basename $(wildcard $(dir)/*.png)))
SKEETER_FISH_FILES := $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(SKEETER_DIRS)),$(basename $(wildcard $(dir)/*.png)))
SPINDRIFT_PENGUIN_FILES := $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(SPINDRIFT_DIRS)),$(basename $(wildcard $(dir)/*.png)))
# Actor Textures
AMP_CHUCKYA_TEXTURES := $(foreach dir,$(AMP_DIRS), $(wildcard actors/$(dir)/*.png))
BOBOMBS_BUBBLE_TEXTURES := $(foreach dir,$(KING_BOBOMB_DIRS),$(wildcard actors/$(dir)/*.png))
BOO_BOOKEND_TEXTURES := $(foreach dir,$(BOO_DIRS), $(wildcard actors/$(dir)/*.png))
CAPSWITCH_SPRINGBOARD_TEXTURES := $(foreach dir,$(CAPSWITCH_DIRS), $(wildcard actors/$(dir)/*.png))
COINS_PIPE_TEXTURES := $(foreach dir,$(COINS_DIRS), $(wildcard actors/$(dir)/*.png))
BOWSER_FLAMES_TEXTURES := $(foreach dir,$(BOWSER_DIRS), $(wildcard actors/$(dir)/*.png))
BUBBA_WIGGLER_TEXTURES := $(foreach dir,$(BUBBA_DIRS), $(wildcard actors/$(dir)/*.png))
BULLY_BLARGG_TEXTURES := $(foreach dir,$(BULLY_DIRS), $(wildcard actors/$(dir)/*.png))
CHILLYCHIEF_TEXTURES := $(foreach dir,$(CHILLYCHIEF_DIRS),$(wildcard actors/$(dir)/*.png))
HOOT_THWOMP_TEXTURES := $(foreach dir,$(HOOT_DIRS), $(wildcard actors/$(dir)/*.png))
KOOPA_LOG_TEXTURES := $(foreach dir,$(KOOPA_DIRS), $(wildcard actors/$(dir)/*.png))
KLEPTO_EYEROK_TEXTURES := $(foreach dir,$(KLEPTO_DIRS), $(wildcard actors/$(dir)/*.png))
LAKITU_TOAD_TEXTURES := $(foreach dir,$(LAKITU_DIRS), $(wildcard actors/$(dir)/*.png))
MARIO_WATER_TEXTURES := $(foreach dir,$(MARIO_DIRS), $(wildcard actors/$(dir)/*.png))
MOLE_UKIKI_TEXTURES := $(foreach dir,$(MOLE_DIRS), $(wildcard actors/$(dir)/*.png))
MR_I_SWOOP_TEXTURES := $(foreach dir,$(MR_I_DIRS), $(wildcard actors/$(dir)/*.png))
PEACH_TOADSTOOL_TEXTURES := $(foreach dir,$(PEACH_DIRS), $(wildcard actors/$(dir)/*.png))
SEA_CREATURES_TEXTURES := $(foreach dir,$(SEA_DIRS), $(wildcard actors/$(dir)/*.png))
SKEETER_FISH_TEXTURES := $(foreach dir,$(SKEETER_DIRS), $(wildcard actors/$(dir)/*.png))
SPINDRIFT_PENGUIN_TEXTURES := $(foreach dir,$(SPINDRIFT_DIRS), $(wildcard actors/$(dir)/*.png))
# Actor dependencies
$(BUILD_DIR)/bin/group0.o: $(addprefix $(BUILD_DIR)/,$(MARIO_WATER_FILES)) $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(MARIO_DIRS)),$(wildcard $(dir)/*.s))
$(BUILD_DIR)/bin/group1.o: $(addprefix $(BUILD_DIR)/,$(HOOT_THWOMP_FILES)) $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(HOOT_DIRS)),$(wildcard $(dir)/*.s))
$(BUILD_DIR)/bin/group2.o: $(addprefix $(BUILD_DIR)/,$(BULLY_BLARGG_FILES)) $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(BULLY_DIRS)),$(wildcard $(dir)/*.s))
$(BUILD_DIR)/bin/group3.o: $(addprefix $(BUILD_DIR)/,$(BOBOMBS_BUBBLE_FILES)) $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(KING_BOBOMB_DIRS)),$(wildcard $(dir)/*.s))
$(BUILD_DIR)/bin/group4.o: $(addprefix $(BUILD_DIR)/,$(SEA_CREATURES_FILES)) $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(SEA_DIRS)),$(wildcard $(dir)/*.s))
$(BUILD_DIR)/bin/group5.o: $(addprefix $(BUILD_DIR)/,$(KLEPTO_EYEROK_FILES)) $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(KLEPTO_DIRS)),$(wildcard $(dir)/*.s))
$(BUILD_DIR)/bin/group6.o: $(addprefix $(BUILD_DIR)/,$(MOLE_UKIKI_FILES)) $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(MOLE_DIRS)),$(wildcard $(dir)/*.s))
$(BUILD_DIR)/bin/group7.o: $(addprefix $(BUILD_DIR)/,$(SPINDRIFT_PENGUIN_FILES)) $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(SPINDRIFT_DIRS)),$(wildcard $(dir)/*.s))
$(BUILD_DIR)/bin/group8.o: $(addprefix $(BUILD_DIR)/,$(CAPSWITCH_SPRINGBOARD_FILES)) $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(CAPSWITCH_DIRS)),$(wildcard $(dir)/*.s))
$(BUILD_DIR)/bin/group9.o: $(addprefix $(BUILD_DIR)/,$(BOO_BOOKEND_FILES)) $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(BOO_DIRS)),$(wildcard $(dir)/*.s))
$(BUILD_DIR)/bin/group10.o: $(addprefix $(BUILD_DIR)/,$(PEACH_TOADSTOOL_FILES)) $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(PEACH_DIRS)),$(wildcard $(dir)/*.s))
$(BUILD_DIR)/bin/group11.o: $(addprefix $(BUILD_DIR)/,$(BUBBA_WIGGLER_FILES)) $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(BUBBA_DIRS)),$(wildcard $(dir)/*.s))
$(BUILD_DIR)/bin/group12.o: $(addprefix $(BUILD_DIR)/,$(BOWSER_FLAMES_FILES)) $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(BOWSER_DIRS)),$(wildcard $(dir)/*.s))
$(BUILD_DIR)/bin/group13.o: $(addprefix $(BUILD_DIR)/,$(SKEETER_FISH_FILES)) $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(SKEETER_DIRS)),$(wildcard $(dir)/*.s))
$(BUILD_DIR)/bin/group14.o: $(addprefix $(BUILD_DIR)/,$(KOOPA_LOG_FILES)) $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(KOOPA_DIRS)),$(wildcard $(dir)/*.s))
$(BUILD_DIR)/bin/group15.o: $(addprefix $(BUILD_DIR)/,$(LAKITU_TOAD_FILES)) $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(LAKITU_DIRS)),$(wildcard $(dir)/*.s))
$(BUILD_DIR)/bin/group16.o: $(addprefix $(BUILD_DIR)/,$(CHILLYCHIEF_FILES)) $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(CHILLYCHIEF_DIRS)),$(wildcard $(dir)/*.s))
$(BUILD_DIR)/bin/group17.o: $(addprefix $(BUILD_DIR)/,$(MR_I_SWOOP_FILES)) $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(MR_I_DIRS)),$(wildcard $(dir)/*.s))
$(BUILD_DIR)/bin/common0.o: $(addprefix $(BUILD_DIR)/,$(AMP_CHUCKYA_FILES)) $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(AMP_DIRS)),$(wildcard $(dir)/*.s))
$(BUILD_DIR)/bin/common1.o: $(addprefix $(BUILD_DIR)/,$(COINS_PIPE_FILES)) $(foreach dir,$(addprefix $(ACTOR_DIR)/,$(COINS_DIRS)),$(wildcard $(dir)/*.s))
$(BUILD_DIR)/actors/group0.o: $(MARIO_WATER_TEXTURES:%.png=$(BUILD_DIR)/%.inc.c)
$(BUILD_DIR)/actors/group1.o: $(HOOT_THWOMP_TEXTURES:%.png=$(BUILD_DIR)/%.inc.c)
$(BUILD_DIR)/actors/group2.o: $(BULLY_BLARGG_TEXTURES:%.png=$(BUILD_DIR)/%.inc.c)
$(BUILD_DIR)/actors/group3.o: $(BOBOMBS_BUBBLE_TEXTURES:%.png=$(BUILD_DIR)/%.inc.c)
$(BUILD_DIR)/actors/group4.o: $(SEA_CREATURES_TEXTURES:%.png=$(BUILD_DIR)/%.inc.c)
$(BUILD_DIR)/actors/group5.o: $(KLEPTO_EYEROK_TEXTURES:%.png=$(BUILD_DIR)/%.inc.c)
$(BUILD_DIR)/actors/group6.o: $(MOLE_UKIKI_TEXTURES:%.png=$(BUILD_DIR)/%.inc.c)
$(BUILD_DIR)/actors/group7.o: $(SPINDRIFT_PENGUIN_TEXTURES:%.png=$(BUILD_DIR)/%.inc.c)
$(BUILD_DIR)/actors/group8.o: $(CAPSWITCH_SPRINGBOARD_TEXTURES:%.png=$(BUILD_DIR)/%.inc.c)
$(BUILD_DIR)/actors/group9.o: $(BOO_BOOKEND_TEXTURES:%.png=$(BUILD_DIR)/%.inc.c)
$(BUILD_DIR)/actors/group10.o: $(PEACH_TOADSTOOL_TEXTURES:%.png=$(BUILD_DIR)/%.inc.c)
$(BUILD_DIR)/actors/group11.o: $(BUBBA_WIGGLER_TEXTURES:%.png=$(BUILD_DIR)/%.inc.c)
$(BUILD_DIR)/actors/group12.o: $(BOWSER_FLAMES_TEXTURES:%.png=$(BUILD_DIR)/%.inc.c)
$(BUILD_DIR)/actors/group13.o: $(SKEETER_FISH_TEXTURES:%.png=$(BUILD_DIR)/%.inc.c)
$(BUILD_DIR)/actors/group14.o: $(KOOPA_LOG_TEXTURES:%.png=$(BUILD_DIR)/%.inc.c)
$(BUILD_DIR)/actors/group15.o: $(LAKITU_TOAD_TEXTURES:%.png=$(BUILD_DIR)/%.inc.c)
$(BUILD_DIR)/actors/group16.o: $(CHILLYCHIEF_TEXTURES:%.png=$(BUILD_DIR)/%.inc.c)
$(BUILD_DIR)/actors/group17.o: $(MR_I_SWOOP_TEXTURES:%.png=$(BUILD_DIR)/%.inc.c)
$(BUILD_DIR)/actors/common0.o: $(AMP_CHUCKYA_TEXTURES:%.png=$(BUILD_DIR)/%.inc.c)
$(BUILD_DIR)/actors/common1.o: $(COINS_PIPE_TEXTURES:%.png=$(BUILD_DIR)/%.inc.c)
# Actor Elf Files
$(BUILD_DIR)/bin/group0.elf: SEGMENT_ADDRESS := 0x04000000
$(BUILD_DIR)/bin/group1.elf: SEGMENT_ADDRESS := 0x05000000
$(BUILD_DIR)/bin/group2.elf: SEGMENT_ADDRESS := 0x05000000
$(BUILD_DIR)/bin/group3.elf: SEGMENT_ADDRESS := 0x05000000
$(BUILD_DIR)/bin/group4.elf: SEGMENT_ADDRESS := 0x05000000
$(BUILD_DIR)/bin/group5.elf: SEGMENT_ADDRESS := 0x05000000
$(BUILD_DIR)/bin/group6.elf: SEGMENT_ADDRESS := 0x05000000
$(BUILD_DIR)/bin/group7.elf: SEGMENT_ADDRESS := 0x05000000
$(BUILD_DIR)/bin/group8.elf: SEGMENT_ADDRESS := 0x05000000
$(BUILD_DIR)/bin/group9.elf: SEGMENT_ADDRESS := 0x05000000
$(BUILD_DIR)/bin/group10.elf: SEGMENT_ADDRESS := 0x05000000
$(BUILD_DIR)/bin/group11.elf: SEGMENT_ADDRESS := 0x05000000
$(BUILD_DIR)/bin/group12.elf: SEGMENT_ADDRESS := 0x06000000
$(BUILD_DIR)/bin/group13.elf: SEGMENT_ADDRESS := 0x06000000
$(BUILD_DIR)/bin/group14.elf: SEGMENT_ADDRESS := 0x06000000
$(BUILD_DIR)/bin/group15.elf: SEGMENT_ADDRESS := 0x06000000
$(BUILD_DIR)/bin/group16.elf: SEGMENT_ADDRESS := 0x06000000
$(BUILD_DIR)/bin/group17.elf: SEGMENT_ADDRESS := 0x06000000
$(BUILD_DIR)/bin/common0.elf: SEGMENT_ADDRESS := 0x08000000
$(BUILD_DIR)/bin/common1.elf: SEGMENT_ADDRESS := 0x03000000
$(BUILD_DIR)/actors/group0.elf: SEGMENT_ADDRESS := 0x04000000
$(BUILD_DIR)/actors/group1.elf: SEGMENT_ADDRESS := 0x05000000
$(BUILD_DIR)/actors/group2.elf: SEGMENT_ADDRESS := 0x05000000
$(BUILD_DIR)/actors/group3.elf: SEGMENT_ADDRESS := 0x05000000
$(BUILD_DIR)/actors/group4.elf: SEGMENT_ADDRESS := 0x05000000
$(BUILD_DIR)/actors/group5.elf: SEGMENT_ADDRESS := 0x05000000
$(BUILD_DIR)/actors/group6.elf: SEGMENT_ADDRESS := 0x05000000
$(BUILD_DIR)/actors/group7.elf: SEGMENT_ADDRESS := 0x05000000
$(BUILD_DIR)/actors/group8.elf: SEGMENT_ADDRESS := 0x05000000
$(BUILD_DIR)/actors/group9.elf: SEGMENT_ADDRESS := 0x05000000
$(BUILD_DIR)/actors/group10.elf: SEGMENT_ADDRESS := 0x05000000
$(BUILD_DIR)/actors/group11.elf: SEGMENT_ADDRESS := 0x05000000
$(BUILD_DIR)/actors/group12.elf: SEGMENT_ADDRESS := 0x06000000
$(BUILD_DIR)/actors/group13.elf: SEGMENT_ADDRESS := 0x06000000
$(BUILD_DIR)/actors/group14.elf: SEGMENT_ADDRESS := 0x06000000
$(BUILD_DIR)/actors/group15.elf: SEGMENT_ADDRESS := 0x06000000
$(BUILD_DIR)/actors/group16.elf: SEGMENT_ADDRESS := 0x06000000
$(BUILD_DIR)/actors/group17.elf: SEGMENT_ADDRESS := 0x06000000
$(BUILD_DIR)/actors/common0.elf: SEGMENT_ADDRESS := 0x08000000
$(BUILD_DIR)/actors/common1.elf: SEGMENT_ADDRESS := 0x03000000
# --------------------------------------
# Level Rules
# --------------------------------------
# Using these rules:
# When defining a level, define the 3 variables needed and copy the rules
# as-is.
$(BUILD_DIR)/levels/%/leveldata.elf: SEGMENT_ADDRESS := 0x07000000
# TODO: Generate these rules from the level configs?
define level_rules =
$(1)_SEG7_FILES := $$(basename $$(notdir $$(wildcard levels/$(1)/*.png)))
$(1)_SEG7_FILES_RAW := $(shell find levels/$(1)/ -type f -iname '*')
$$(BUILD_DIR)/bin/$(1)/leveldata.o: $$(addprefix $$(BUILD_DIR)/levels/$(1)/,$$($(1)_SEG7_FILES)) $$($(1)_SEG7_FILES_RAW)
$$(BUILD_DIR)/bin/$(1)/leveldata.elf: SEGMENT_ADDRESS := $(2)
$$(BUILD_DIR)/bin/$(1)/leveldata.elf: TEXTURE_BIN := $(3)
define level_rules =
$(1)_SEG7_FILES := $$(patsubst %.png,%.inc.c,$$(wildcard levels/$(1)/*.png))
$$(BUILD_DIR)/levels/$(1)/leveldata.o: $$(addprefix $$(BUILD_DIR)/,$$($(1)_SEG7_FILES))
$$(BUILD_DIR)/levels/$(1)/leveldata.elf: TEXTURE_BIN := $(2)
endef
$(eval $(call level_rules,bbh,0x07000000,spooky)) # BBH (Big Boo's Haunt)
$(eval $(call level_rules,ccm,0x07000000,snow)) # CCM (Cool Cool Mountain)
$(eval $(call level_rules,castle_inside,0x07000000,inside)) # Castle Inside (Inside Princess Peach's Castle)
$(eval $(call level_rules,hmc,0x07000000,cave))# HMC (Hazy Maze Cave)
$(eval $(call level_rules,ssl,0x07000000,generic)) # SSL (Shifting Sand Land)
$(eval $(call level_rules,bob,0x07000000,generic)) # BOB (Bob-Omb Battlefield)
$(eval $(call level_rules,sl,0x07000000,snow)) # SL (Snowman's Land)
$(eval $(call level_rules,wdw,0x07000000,grass)) # WDW (Wet Dry World)
$(eval $(call level_rules,jrb,0x07000000,water)) # JRB (Jolly Roger Bay)
$(eval $(call level_rules,thi,0x07000000,grass)) # THI (Tiny Huge Island)
$(eval $(call level_rules,ttc,0x07000000,machine)) # TTC (Tick Tock Clock)
$(eval $(call level_rules,rr,0x07000000,sky)) # RR (Rainbow Ride)
$(eval $(call level_rules,castle_grounds,0x07000000,outside)) # Castle Grounds (Outside Princess Peach's Castle)
$(eval $(call level_rules,bitdw,0x07000000,sky)) # BitDW (Bowser in the Dark World)
$(eval $(call level_rules,vcutm,0x07000000,outside)) # VCUTM (Vanish Cap under the Moat)
$(eval $(call level_rules,bitfs,0x07000000,sky)) # BITFS (Bowser in the Fire Sea)
$(eval $(call level_rules,sa,0x07000000,inside)) # SA (The Secret Aquarium)
$(eval $(call level_rules,bits,0x07000000,sky)) # BITS (Bowser in the Sky)
$(eval $(call level_rules,lll,0x07000000,fire)) # LLL (Lethal Lava Land)
$(eval $(call level_rules,ddd,0x07000000,water)) # DDD (Dire Dire Docks)
$(eval $(call level_rules,wf,0x07000000,grass)) # WF (Whomp's Fortress)
$(eval $(call level_rules,ending,0x07000000,generic)) # Ending
$(eval $(call level_rules,castle_courtyard,0x07000000,outside)) # Castle Courtyard (The Courtyard of Princess Peach's Castle)
$(eval $(call level_rules,pss,0x07000000,mountain)) # PSS (The Princess's Secret Slide)
$(eval $(call level_rules,cotmc,0x07000000,cave)) # COTMC (Cavern of the Metal Cap)
$(eval $(call level_rules,totwc,0x07000000,sky)) # TOTWC (Tower of the Wing Cap)
$(eval $(call level_rules,bowser_1,0x07000000,generic)) # BOWSER_1 (Bowser in the Dark World [Boss Area])
$(eval $(call level_rules,wmotr,0x07000000,generic)) # WMOTR (Wing Mario over the Rainbow)
$(eval $(call level_rules,bowser_2,0x07000000,fire)) # BOWSER_2 (Bowser in the Fire Sea [Boss Area])
$(eval $(call level_rules,bowser_3,0x07000000,generic)) # BOWSER_3 (Bowser in the Sky [Boss Area])
$(eval $(call level_rules,totwc,0x07000000,sky)) # TOTWC (Tower of the Wing Cap)
$(eval $(call level_rules,ttm,0x07000000,mountain)) # TTM (Tall Tall Mountain)
$(eval $(call level_rules,intro,0x07000000,generic)) # Intro (Super Mario 64 Logo)
$(eval $(call level_rules,menu,0x07000000,generic)) # Menu (File Select)
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(MAKECMDGOALS),distclean)
$(BUILD_DIR)/level_rules.mk: levels/level_rules.mk levels/level_defines.h
$(call print,Preprocessing level make rules:,$<,$@)
$(V)$(CPP) $(CPPFLAGS) $(VERSION_CFLAGS) -I . -o $@ $<
include $(BUILD_DIR)/level_rules.mk
endif
endif
# --------------------------------------
# Extra Level Rules
# --------------------------------------
$(eval $(call level_rules,intro,generic)) # Intro (Super Mario 64 Logo)
$(eval $(call level_rules,menu,generic)) # Menu (File Select)
# --------------------------------------
# Cake Texture Rules
# --------------------------------------
# Ending cake textures are generated in a special way
$(BUILD_DIR)/levels/ending/cake_eu.inc.c: levels/ending/cake_eu.png
$(call print,Splitting:,$<,$@)
$(V)$(SKYCONV) --type cake-eu --split $^ $(BUILD_DIR)/levels/ending
$(BUILD_DIR)/levels/ending/cake.inc.c: levels/ending/cake.png
$(call print,Splitting:,$<,$@)
$(V)$(SKYCONV) --type cake --split $^ $(BUILD_DIR)/levels/ending
# --------------------------------------
# Texture Bin Rules
# --------------------------------------
# Others
SEGMENT2_FILES := $(basename $(wildcard $(TEXTURE_DIR)/segment2/*.png))
TITLE_SCREEN_BG_FILES := $(basename $(wildcard $(TEXTURE_DIR)/title_screen_bg/*.png))
SPOOKY_FILES := $(basename $(wildcard $(TEXTURE_DIR)/spooky/*.png))
GENERIC_FILES := $(basename $(wildcard $(TEXTURE_DIR)/generic/*.png))
OUTSIDE_FILES := $(basename $(wildcard $(TEXTURE_DIR)/outside/*.png))
SNOW_FILES := $(basename $(wildcard $(TEXTURE_DIR)/snow/*.png))
EFFECT_FILES := $(basename $(wildcard $(TEXTURE_DIR)/effect/*.png))
CAVE_FILES := $(basename $(wildcard $(TEXTURE_DIR)/cave/*.png))
INSIDE_FILES := $(basename $(wildcard $(TEXTURE_DIR)/inside/*.png))
WATER_FILES := $(basename $(wildcard $(TEXTURE_DIR)/water/*.png))
FIRE_TEXTURES_FILES := $(basename $(wildcard $(TEXTURE_DIR)/fire/*.png))
SKY_FILES := $(basename $(wildcard $(TEXTURE_DIR)/sky/*.png))
MACHINE_FILES := $(basename $(wildcard $(TEXTURE_DIR)/machine/*.png))
MOUNTAIN_FILES := $(basename $(wildcard $(TEXTURE_DIR)/mountain/*.png))
GRASS_FILES := $(basename $(wildcard $(TEXTURE_DIR)/grass/*.png))
SEGMENT2_TEXTURES := $(wildcard $(TEXTURE_DIR)/segment2/*.png)
TITLE_SCREEN_BG_TEXTURES := $(wildcard $(TEXTURE_DIR)/title_screen_bg/*.png)
SPOOKY_TEXTURES := $(wildcard $(TEXTURE_DIR)/spooky/*.png)
GENERIC_TEXTURES := $(wildcard $(TEXTURE_DIR)/generic/*.png)
OUTSIDE_TEXTURES := $(wildcard $(TEXTURE_DIR)/outside/*.png)
SNOW_TEXTURES := $(wildcard $(TEXTURE_DIR)/snow/*.png)
EFFECT_TEXTURES := $(wildcard $(TEXTURE_DIR)/effect/*.png)
CAVE_TEXTURES := $(wildcard $(TEXTURE_DIR)/cave/*.png)
INSIDE_TEXTURES := $(wildcard $(TEXTURE_DIR)/inside/*.png)
WATER_TEXTURES := $(wildcard $(TEXTURE_DIR)/water/*.png)
FIRE_TEXTURES_TEXTURES := $(wildcard $(TEXTURE_DIR)/fire/*.png)
SKY_TEXTURES := $(wildcard $(TEXTURE_DIR)/sky/*.png)
MACHINE_TEXTURES := $(wildcard $(TEXTURE_DIR)/machine/*.png)
MOUNTAIN_TEXTURES := $(wildcard $(TEXTURE_DIR)/mountain/*.png)
GRASS_TEXTURES := $(wildcard $(TEXTURE_DIR)/grass/*.png)
# Texture Files
$(BUILD_DIR)/bin/segment2.o: $(addprefix $(BUILD_DIR)/,$(SEGMENT2_FILES))
$(BUILD_DIR)/bin/title_screen_bg.o: $(addprefix $(BUILD_DIR)/,$(TITLE_SCREEN_BG_FILES))
$(BUILD_DIR)/bin/spooky.o: $(addprefix $(BUILD_DIR)/,$(SPOOKY_FILES))
$(BUILD_DIR)/bin/generic.o: $(addprefix $(BUILD_DIR)/,$(GENERIC_FILES))
$(BUILD_DIR)/bin/outside.o: $(addprefix $(BUILD_DIR)/,$(OUTSIDE_FILES))
$(BUILD_DIR)/bin/snow.o: $(addprefix $(BUILD_DIR)/,$(SNOW_FILES))
$(BUILD_DIR)/bin/effect.o: $(addprefix $(BUILD_DIR)/,$(EFFECT_FILES))
$(BUILD_DIR)/bin/cave.o: $(addprefix $(BUILD_DIR)/,$(CAVE_FILES))
$(BUILD_DIR)/bin/inside.o: $(addprefix $(BUILD_DIR)/,$(INSIDE_FILES))
$(BUILD_DIR)/bin/water.o: $(addprefix $(BUILD_DIR)/,$(WATER_FILES))
$(BUILD_DIR)/bin/fire.o: $(addprefix $(BUILD_DIR)/,$(FIRE_TEXTURES_FILES))
$(BUILD_DIR)/bin/sky.o: $(addprefix $(BUILD_DIR)/,$(SKY_FILES))
$(BUILD_DIR)/bin/machine.o: $(addprefix $(BUILD_DIR)/,$(MACHINE_FILES))
$(BUILD_DIR)/bin/mountain.o: $(addprefix $(BUILD_DIR)/,$(MOUNTAIN_FILES))
$(BUILD_DIR)/bin/grass.o: $(addprefix $(BUILD_DIR)/,$(GRASS_FILES))
$(BUILD_DIR)/bin/segment2.o: $(SEGMENT2_TEXTURES:%.png=$(BUILD_DIR)/%.inc.c)
$(BUILD_DIR)/bin/title_screen_bg.o: $(TITLE_SCREEN_BG_TEXTURES:%.png=$(BUILD_DIR)/%.inc.c)
$(BUILD_DIR)/bin/spooky.o: $(SPOOKY_TEXTURES:%.png=$(BUILD_DIR)/%.inc.c)
$(BUILD_DIR)/bin/generic.o: $(GENERIC_TEXTURES:%.png=$(BUILD_DIR)/%.inc.c)
$(BUILD_DIR)/bin/outside.o: $(OUTSIDE_TEXTURES:%.png=$(BUILD_DIR)/%.inc.c)
$(BUILD_DIR)/bin/snow.o: $(SNOW_TEXTURES:%.png=$(BUILD_DIR)/%.inc.c)
$(BUILD_DIR)/bin/effect.o: $(EFFECT_TEXTURES:%.png=$(BUILD_DIR)/%.inc.c)
$(BUILD_DIR)/bin/cave.o: $(CAVE_TEXTURES:%.png=$(BUILD_DIR)/%.inc.c)
$(BUILD_DIR)/bin/inside.o: $(INSIDE_TEXTURES:%.png=$(BUILD_DIR)/%.inc.c)
$(BUILD_DIR)/bin/water.o: $(WATER_TEXTURES:%.png=$(BUILD_DIR)/%.inc.c)
$(BUILD_DIR)/bin/fire.o: $(FIRE_TEXTURES_TEXTURES:%.png=$(BUILD_DIR)/%.inc.c)
$(BUILD_DIR)/bin/sky.o: $(SKY_TEXTURES:%.png=$(BUILD_DIR)/%.inc.c)
$(BUILD_DIR)/bin/machine.o: $(MACHINE_TEXTURES:%.png=$(BUILD_DIR)/%.inc.c)
$(BUILD_DIR)/bin/mountain.o: $(MOUNTAIN_TEXTURES:%.png=$(BUILD_DIR)/%.inc.c)
$(BUILD_DIR)/bin/grass.o: $(GRASS_TEXTURES:%.png=$(BUILD_DIR)/%.inc.c)
# Others
$(BUILD_DIR)/bin/segment2.elf: SEGMENT_ADDRESS := 0x02000000
$(BUILD_DIR)/bin/title_screen_bg.elf: SEGMENT_ADDRESS := 0x0A000000
$(BUILD_DIR)/bin/segment2.elf: SEGMENT_ADDRESS := 0x02000000
$(BUILD_DIR)/bin/title_screen_bg.elf: SEGMENT_ADDRESS := 0x0A000000
$(BUILD_DIR)/bin/debug_level_select.elf: SEGMENT_ADDRESS := 0x07000000
$(BUILD_DIR)/bin/effect.elf: SEGMENT_ADDRESS := 0x0B000000
$(BUILD_DIR)/bin/spooky.elf: SEGMENT_ADDRESS := 0x09000000
$(BUILD_DIR)/bin/generic.elf: SEGMENT_ADDRESS := 0x09000000
$(BUILD_DIR)/bin/outside.elf: SEGMENT_ADDRESS := 0x09000000
$(BUILD_DIR)/bin/snow.elf: SEGMENT_ADDRESS := 0x09000000
$(BUILD_DIR)/bin/cave.elf: SEGMENT_ADDRESS := 0x09000000
$(BUILD_DIR)/bin/inside.elf: SEGMENT_ADDRESS := 0x09000000
$(BUILD_DIR)/bin/water.elf: SEGMENT_ADDRESS := 0x09000000
$(BUILD_DIR)/bin/fire.elf: SEGMENT_ADDRESS := 0x09000000
$(BUILD_DIR)/bin/sky.elf: SEGMENT_ADDRESS := 0x09000000
$(BUILD_DIR)/bin/machine.elf: SEGMENT_ADDRESS := 0x09000000
$(BUILD_DIR)/bin/mountain.elf: SEGMENT_ADDRESS := 0x09000000
$(BUILD_DIR)/bin/grass.elf: SEGMENT_ADDRESS := 0x09000000
$(BUILD_DIR)/bin/effect.elf: SEGMENT_ADDRESS := 0x0B000000
$(BUILD_DIR)/bin/spooky.elf: SEGMENT_ADDRESS := 0x09000000
$(BUILD_DIR)/bin/generic.elf: SEGMENT_ADDRESS := 0x09000000
$(BUILD_DIR)/bin/outside.elf: SEGMENT_ADDRESS := 0x09000000
$(BUILD_DIR)/bin/snow.elf: SEGMENT_ADDRESS := 0x09000000
$(BUILD_DIR)/bin/cave.elf: SEGMENT_ADDRESS := 0x09000000
$(BUILD_DIR)/bin/inside.elf: SEGMENT_ADDRESS := 0x09000000
$(BUILD_DIR)/bin/water.elf: SEGMENT_ADDRESS := 0x09000000
$(BUILD_DIR)/bin/fire.elf: SEGMENT_ADDRESS := 0x09000000
$(BUILD_DIR)/bin/sky.elf: SEGMENT_ADDRESS := 0x09000000
$(BUILD_DIR)/bin/machine.elf: SEGMENT_ADDRESS := 0x09000000
$(BUILD_DIR)/bin/mountain.elf: SEGMENT_ADDRESS := 0x09000000
$(BUILD_DIR)/bin/grass.elf: SEGMENT_ADDRESS := 0x09000000
# EU segment 19 translations
$(BUILD_DIR)/bin/$(VERSION)/translation_de.elf: SEGMENT_ADDRESS := 0x19000000
$(BUILD_DIR)/bin/$(VERSION)/translation_en.elf: SEGMENT_ADDRESS := 0x19000000
$(BUILD_DIR)/bin/$(VERSION)/translation_fr.elf: SEGMENT_ADDRESS := 0x19000000
$(BUILD_DIR)/bin/eu/translation_de.elf: SEGMENT_ADDRESS := 0x19000000
$(BUILD_DIR)/bin/eu/translation_en.elf: SEGMENT_ADDRESS := 0x19000000
$(BUILD_DIR)/bin/eu/translation_fr.elf: SEGMENT_ADDRESS := 0x19000000
# --------------------------------------
# Skybox Rules
# --------------------------------------
# Skybox Files
BBH_SKYBOX_FILES := $(basename $(wildcard $(TEXTURE_DIR)/bbh_skybox/*.png))
BIDW_SKYBOX_FILES := $(basename $(wildcard $(TEXTURE_DIR)/bidw_skybox/*.png))
BITFS_SKYBOX_FILES := $(basename $(wildcard $(TEXTURE_DIR)/bitfs_skybox/*.png))
BITS_SKYBOX_FILES := $(basename $(wildcard $(TEXTURE_DIR)/bits_skybox/*.png))
CCM_SKYBOX_FILES := $(basename $(wildcard $(TEXTURE_DIR)/ccm_skybox/*.png))
CLOUD_FLOOR_SKYBOX_FILES := $(basename $(wildcard $(TEXTURE_DIR)/cloud_floor_skybox/*.png))
CLOUDS_SKYBOX_FILES := $(basename $(wildcard $(TEXTURE_DIR)/clouds_skybox/*.png))
SSL_SKYBOX_FILES := $(basename $(wildcard $(TEXTURE_DIR)/ssl_skybox/*.png))
WATER_SKYBOX_FILES := $(basename $(wildcard $(TEXTURE_DIR)/water_skybox/*.png))
WDW_SKYBOX_FILES := $(basename $(wildcard $(TEXTURE_DIR)/wdw_skybox/*.png))
$(BUILD_DIR)/bin/%_skybox.c: textures/skyboxes/%.png
$(call print,Splitting:,$<,$@)
$(V)$(SKYCONV) --type sky --split $^ $(BUILD_DIR)/bin
# Skybox Files
$(BUILD_DIR)/bin/bbh_skybox.o: $(addprefix $(BUILD_DIR)/,$(BBH_SKYBOX_FILES))
$(BUILD_DIR)/bin/bidw_skybox.o: $(addprefix $(BUILD_DIR)/,$(BIDW_SKYBOX_FILES))
$(BUILD_DIR)/bin/bitfs_skybox.o: $(addprefix $(BUILD_DIR)/,$(BITFS_SKYBOX_FILES))
$(BUILD_DIR)/bin/bits_skybox.o: $(addprefix $(BUILD_DIR)/,$(BITS_SKYBOX_FILES))
$(BUILD_DIR)/bin/ccm_skybox.o: $(addprefix $(BUILD_DIR)/,$(CCM_SKYBOX_FILES))
$(BUILD_DIR)/bin/cloud_floor_skybox.o: $(addprefix $(BUILD_DIR)/,$(CLOUD_FLOOR_SKYBOX_FILES))
$(BUILD_DIR)/bin/clouds_skybox.o: $(addprefix $(BUILD_DIR)/,$(CLOUDS_SKYBOX_FILES))
$(BUILD_DIR)/bin/ssl_skybox.o: $(addprefix $(BUILD_DIR)/,$(SSL_SKYBOX_FILES))
$(BUILD_DIR)/bin/water_skybox.o: $(addprefix $(BUILD_DIR)/,$(WATER_SKYBOX_FILES))
$(BUILD_DIR)/bin/wdw_skybox.o: $(addprefix $(BUILD_DIR)/,$(WDW_SKYBOX_FILES))
# Skybox Files
$(BUILD_DIR)/bin/bbh_skybox.elf: SEGMENT_ADDRESS := 0x0A000000
$(BUILD_DIR)/bin/bidw_skybox.elf: SEGMENT_ADDRESS := 0x0A000000
$(BUILD_DIR)/bin/bitfs_skybox.elf: SEGMENT_ADDRESS := 0x0A000000
$(BUILD_DIR)/bin/bits_skybox.elf: SEGMENT_ADDRESS := 0x0A000000
$(BUILD_DIR)/bin/ccm_skybox.elf: SEGMENT_ADDRESS := 0x0A000000
$(BUILD_DIR)/bin/cloud_floor_skybox.elf: SEGMENT_ADDRESS := 0x0A000000
$(BUILD_DIR)/bin/clouds_skybox.elf: SEGMENT_ADDRESS := 0x0A000000
$(BUILD_DIR)/bin/ssl_skybox.elf: SEGMENT_ADDRESS := 0x0A000000
$(BUILD_DIR)/bin/water_skybox.elf: SEGMENT_ADDRESS := 0x0A000000
$(BUILD_DIR)/bin/wdw_skybox.elf: SEGMENT_ADDRESS := 0x0A000000
$(BUILD_DIR)/bin/%_skybox.elf: SEGMENT_ADDRESS := 0x0A000000
# --------------------------------------
# Misc Rules
# --------------------------------------
# intro_raw textures are not compressed
INTRO_RAW_FILES := $(basename $(notdir $(wildcard $(TEXTURE_DIR)/intro_raw/*.png)))
$(BUILD_DIR)/data/goddard_tex_dl.o: $(addprefix $(BUILD_DIR)/textures/intro_raw/,$(INTRO_RAW_FILES))
# intro and ipl3 textures are not compressed
INTRO_RAW_FILES := $(wildcard $(TEXTURE_DIR)/intro_raw/*.png)
$(BUILD_DIR)/src/goddard/renderer.o: $(addprefix $(BUILD_DIR)/,$(patsubst %.png,%.inc.c,$(INTRO_RAW_FILES)))
IPL3_TEXTURE_FILES := $(wildcard $(TEXTURE_DIR)/ipl3_raw/*.png)
IPL3_RAW_FILES := $(addprefix $(BUILD_DIR)/,$(patsubst %.png,%,$(IPL3_TEXTURE_FILES)))
CRASH_TEXTURE_FILES := $(wildcard $(TEXTURE_DIR)/crash_custom/*.png)
CRASH_TEXTURE_C_FILES := $(addprefix $(BUILD_DIR)/,$(patsubst %.png,%.inc.c,$(CRASH_TEXTURE_FILES)))

251
README.md
View File

@@ -1,82 +1,213 @@
# Super Mario 64
# ![](https://i.imgur.com/CeOukzk.gif) HackerSM64 ![](https://i.imgur.com/s0LUbTo.gif)
This repo contains a full decompilation of Super Mario 64 (J) and (U).
The source and data have been decompiled but complete naming and documentation
all of the code and data is still a work in progress. Decompiling the (E) ROM
is also an ongoing effort.
**AFTER CLONING THE REPO, CHECK OUT THE `include/config` FOLDER BEFORE ANYTHING ELSE! THERE'S A LOT OF STUFF IN THIS REPO THAT CAN BE TOGGLED THERE.**
It builds the following ROMs:
HackerSM64 now has a discord server! https://discord.gg/brETAakcXr
* sm64.jp.z64 `sha1: 8a20a5c83d6ceb0f0506cfc9fa20d8f438cafe51`
* sm64.us.z64 `sha1: 9bef1128717f958171a4afac3ed78ee2bb4e86ce`
This repo requires BOTH a US ROM and a JP ROM in order to build. Place baserom.us.z64 in the repo as usual and ALSO include baserom.jp.z64.
This repo does not include all assets necessary for compiling the ROMs.
A prior copy of the game is required to extract the required assets.
This repo needs gcc in order to be able to build it. To install it, run `sudo apt install gcc-mips-linux-gnu`
## Installation
This is a fork of the ultrasm64 repo by CrashOveride which includes the following commonly used patches (patches marked with `*` are toggleable in the config files):
### Linux
**Credits**
- **ArcticJaguar725**: Most audio configuration and layout changes, colored ia4 text, floombas, various bugfixes, and more
- **CowQuack**: Adjustable skybox sizes, area-specific skybox function
- **thecozies**: Water surface types, general maintenance, and time
- **MrComit**: General use object defines, JUMP_KICK_FIX
- **aglab2**: Bugfixes (particularly puppycam), refactor stuff
- **someone2639**: math.s and crash screen disam, stack trace, map packing, shiftable segments 2, S2DEX engine
- **Arthurtilly**: Platform Displacement 2
- **Fazana**: PuppyLib, ucode swapping, audio load time optimisations (with Arctic), general hacker qol improvements, visual debug
- **Reonu**: Starting the project/repo, widescreen, reonucam, various defines for hacker QoL
- **JoshDuMan**: Decomp guy, general assistance
- **Arceveti**: Silhouette, shadow optimisation, better hanging, breath meter
- **axollyon**: Console testing, bugfixes, idea-guying, and had a hand in silhouettes
- **Wiseguy**: World scale reimplementation, silhouette, graph node optimisations, instant input patch, cake screen fix, segmented code support, and various optimizations/fixes
- **Kaze**: Graph node optimisations, automatic optimal collision distance
- **Pyro Jay**: Texture improvements, repo banner art, some QoL stuff
- **CrashOveride**: creating the [ultrasm64](https://github.com/CrashOveride95/ultrasm64) repo
- **falcobuster**: Original coordinate overflow fix (world scale), ASM version of extended bounds
- **anonymous_moose**: porting falco's extended bounds to decomp
- **tuxlovesyou**: `LOAD_MIO0_TEXTURE` macro and moral support
1. For each version (jp/us/eu) that you want to build a ROM for, put an existing ROM at
`./baserom.<version>.z64` for asset extraction.
Thanks to Frame#5375 and AloXado320 for also helping with silhouette stuff
2. Install the following packages:
**Lighting Engine by Wiseguy**
- Lighting Engine is available on a separate branch ([base/lighting-engine](https://github.com/Reonu/HackerSM64/tree/base/lighting-engine)). Instructions on how to use it are in the readme of that branch.
- Alternatively, the main repo has `Puppylights` available, which is a more lightweight, but limited lighting library intended to be used to modify existing light properties. You can look at `puppylights.c` to find out how to use it.
__Debian / Ubuntu__
* git
* binutils-mips-linux-gnu / mips64-elf (>= 2.27)
* python3 (>= 3.7)
* build-essential
* pkg-config
* zlib1g-dev
* libaudiofile-dev
**Puppycam**
- Puppycam is available on the master branch now, you can toggle it in `config/config_camera.h`. *
__Arch Linux__
* base-devel
* python
* audiofile
* [mips64-elf-binutils](https://aur.archlinux.org/packages/mips64-elf-binutils) (AUR)
* [qemu-irix-git](https://aur.archlinux.org/packages/qemu-irix-git) (AUR)
**Collision:**
- Slope fix and exposed ceilings fix
- No false ledgegrabs fix *
- Jump kick 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) *
- Platform Displacement 2 by Arthurtilly *
- Water Surface Type patch by thecozies
- Better wall collision with rounded corners by FramePerfection, merged by Cheezepin & Arceveti
- Automatically calculate the optimal collision distance for an object based on its vertices, by Kaze *
**Common Hack Changes:**
- Better extended boundaries by anonymous_moose
- Mario head skip *
- Peach letter cutscene skip *
- Exit course while moving *
- Toggle to disable fall damage and the fall damage sound *
- Nonstop stars *
- Removed course-specific camera processing *
- Ability to set Mario's movement speed when hanging from a ceiling *
- Tighter hanging controls (Mario will face the direction of the analog stick directly while hanging from a ceiling) *
- reonucam3: custom camera by Reonu. This is included as a .patch file in the enhancements folder, you need to apply it if you want this camera.
This video shows a rundown of the features: https://youtu.be/TQNkznX9Z3k
- Ability to disable Mario getting suck in snow or sand
3. Install qemu-irix
**Hacker QOL:**
- Global, non-level based, star IDs (off by default) *
- Debug mode: prints mario's coordinates, angle and speed, and a FPS counter.
- Automatic console/emulator detection. If emulator is detected, LODs are disabled. *
- Ability to configure whether there's a 100 coin star at all and how many coins are required to spawn it *
- Ability to easily change the warp that EXIT COURSE takes you to via `config/config_menu.h`, or disable it entirely. *
- 16 bit model IDs by someone2639. This means you can have up to 65536 models (lol). You can set the maximum number of model IDs in `config/config_game.h`.
- Apply_patch.sh improved
- Removed the ifdef hell in `file_select.c` and `ingame_menu.c`
- Added Blake's custom function for object model stuff: `obj_set_model` and `obj_has_model`
- Added function to get the model ID from an object: `obj_get_model_id` (by Arceveti)
- The "far" variable is now u16, allowing you to increase the farclip (the max distance at which geometry is rendered). However, when increasing the farclip, make sure to increase the nearclip by the same ratio, or rendering will break on console and LLE plugins.
- Many general use defines for object struct members, meant for use in custom object behaviors. Check `include/object_fields.h` for more info on this. (By MrComit)
- Included `actors/group0.c` in `behavior_data.c`
- The internal ROM name is now set with a define in `config/config_rom.h` to make it simpler
- There is a `gIsConsole` variable that is 1 when running on console and 0 when running on emulator. This way you can wrap your code in a console check.
- Expanded audio heap allows for a larger concurrent note count and the importing of more m64 sequences and sound banks (By ArcticJaguar725) *
- You can set a test level in `config/config_debug.h` in order to boot straight into it, so you can quickly test the level you're working on. *
- Allow all surfaces in the game to have a `force` parameter. Activating this doesn't REQUIRE you to set `force` for every surface: If you don't set, it will default to 0x0000 rather than crashing. Increases RAM usage of collision. *
- The clown font includes the entire English alphabet.
- Colored ia4 text support. Format: `"@XXXXXXXX[YOUR TEXT]@--------"` (By ArcticJaguar725)
- 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/config_debug.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. *
3.a Options:
1. Clone https://github.com/n64decomp/qemu-irix to somewhere and follow its
install instructions in the README.
2. Optionally, grab the prebuilt qemu-irix from the Releases section.
3. (Arch) Use AUR package [qemu-irix-git](https://aur.archlinux.org/packages/qemu-irix-git)
**Other Bugfixes:**
- Castle music fix (fixes the castle music sometimes triggering after getting a dialog) *
- bparam4 fix (the game no longer uses bparam4 to check if an object is Mario and therefore you can safely use it)
- Instant warp offset fix (makes the instant warp offset work even when warping to a different area) *
- haveyourcake, also known as cake screen fix. Made by Wiseguy and ported/PR'd by Cheezepin
- Tree particle fix (Whether a tree uses snow particles or not is decided via the model IDs instead of the course number) *
- Adjustable world scale. You can change the geometry scaling of your level, which allow large levels to render correctly on console and LLE emulators while not hurting anything on HLE plugins.
- A couple vanilla texture fixes
- Smoke fix (the smoke texture uses the correct texture format)
3.b (For options 1 or 2), copy executable `qemu-irix` from irix-linux-user to
somewhere convenient with a relatively short path.
```
mkdir -p /opt/qemu-irix/bin
cp irix-linux-user/qemu-irix /opt/qemu-irix/bin
```
**Neat Misc. Changes:**
- Instant Input patch by Wiseguy (Removes all input lag caused by plugins supporting framebuffer)
- This means that you'll have to do your framebuffer effects on buffer 0 for emulator, but NOT for console. You can use the `gIsConsole` variable to check for console when doing your framebuffer effects.
- 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 (64x64) coins, the vanilla coin texture is upgraded to accomodate. *
- ia8 (64x64) 30 FPS coins (Textures by InTheBeef, cleaned up by Arceveti). *
- Floombas! Simply just retextured goombas with customizable 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/config_graphics.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. *
- This repo supports a much better implementation of reverb over vanilla's fake echo reverb. Great for caves or eerie levels, as well as just a better audio experience in general. See `audio/synthesis.c` for more details and configuration info. (By ArcticJaguar725) *
- Fazana's "puppyprint" text engine. *
- Use `print_small_text` to print normal text. The two last params are aligment and how many characters to print (-1 means PRINT_ALL).
- Use `render_multi_image` to draw large texture rectangles consisting of multiple images on the screen.
- More info in `puppyprint.c`
- Wiseguy's Farcall TLB mapping allows to store executable code inside uncompressed segments, that can be loaded and ran as needed, instead of it having to be loaded at all times. See `farcall.h` in the include folder for instructions and details.
3.c Define `QEMU_IRIX` environment variable in your `~/.bashrc` to point to
this qemu-irix executable.
```
export QEMU_IRIX=/opt/qemu-irix/bin/qemu-irix
```
# UltraSM64
6. Run `make` to build the ROM (defaults to us version). Make sure your path to
the repo is not too long or else this process will error, as the emulated
IDO compiler cannot handle paths longer than 255 characters.
Build examples:
```
make VERSION=jp -j4 # build (J) version instead with 4 jobs
make VERSION=eu COMPARE=0 # non-matching EU version still WIP
- This repo contains a full decompilation of Super Mario 64 (J), (U), (E), and (SH).
- Naming and documentation of the source code and data structures are in progress.
- It has been edited to allow for the usage of the final "N64 OS" library, version ``2.0L``
- Shindou Rumble Pak code is on for all regions.
- Targeting the iQue Player is supported.
- Saving to 32kbyte/256kbit SRAM is supported.
- Newer compression options are supported.
- UNFLoader (flashcart USB library) is supported, allowing for debugging on EverDrive/64Drive.
- It has been patched with someone2639's shiftable segments patch
- Wiseguy's instant input patch has been added to allow for less input lag on emulation (Does not affect console)
This does mean that any framebuffer effects will have to be done on buffer 0 if targeting emulators
- Automatic console and emulator detection: Use the `gIsConsole` variable to wrap your code in an emulator check.
- Separate defines for emulator and console black border height.
- Getting HVQM FMV support to work with the game is WIP.
## Windows
Requirements are the same as regular SM64, however a GCC MIPS cross compiler is also required. If you're on Debian-like Linux, you can use the ``gcc-mips-linux-gnu`` package. The toolchain that comes with my SDK is also supported.
For Windows, install WSL and a distro of your choice and follow the Linux guide.
## Additional Prerequisites
## Contributing
BinPNG (the CI texture converter) requires some python3 dependencies. Use pip to install them.
Pull requests are welcome. For major changes, please open an issue first to
discuss what you would like to change.
``pip install pypng bitstring``
Run clang-format on your code to ensure it meets the project's coding standards.
## UNFLoader support
Official discord: https://discord.gg/27JtCWs
The repository supports UNFLoader for debugging.
To build with UNF, run make with ``UNF=1``.
Further instructions can be found at the [official repository](https://github.com/buu342/N64-UNFLoader)
**NOTE: Closing the UNFLoader window will result in your game eventually hanging due to lacking a USB device to send messages to, so beware of that**
## Multi-Save support
The repository supports SRAM in addition to EEPROM. The standard save data functions are #ifdef'd to accommedate this.
To build with SRAM support, run make with ``SAVETYPE=sram``.
I may attempt FlashRAM in the future.
## Multi-Console support
The repository supports targeting the iQue Player in addition to the N64. The iQue libultra is ***NOT*** compatible with N64 in many ways, so it is currently NOT possible to have one build for both consoles.
To target iQue, run make with the ``CONSOLE=bb`` argument.
## Compression
The repo also supports RNC (Rob Northen Compression). RNC has two methods.
Method 1 is designed to compress as small as possible, while method 2 is designed so that decompression is as fast as possible.
Method 1 is the current default, and is the best all-rounder in terms of speed and ratio.
Both methods are fast. Method 1 has better compression than 2, so I suggest using method 1 if using RNC.
To switch to RNC, run make with either ``COMPRESS=rnc1`` or ``COMPRESS=rnc2``, depending on preferred method.
The repository also supports using DEFLATE compression. This boasts a better compression ratio, but at a slight cost to load times.
On average I'd estimate that the bottleneck on decompression is about 1-2 seconds.
To switch to gzip, run make with the ``COMPRESS=gzip`` argument.
The repo also supports gziping with ``libdeflate-gzip``. This compresses at a slightly better ratio than standard ``gzip``, with no real downside from a decompression standpoint.
To use ``libdeflate-gzip``, first clone the [repo](https://github.com/ebiggers/libdeflate), then `make` and `make install` it.
Then run make for sm64 with ``GZIPVER=libdef`` in addition to ``COMPRESS=gzip``
The repo also supports building a ROM with no compression.
This is not recommended as it increases ROM size significantly, with little point other than load times decreased to almost nothing.
To switch to no compression, run make with the ``COMPRESS=uncomp`` argument.
## FAQ
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
Q: Will this allow me to use FlashRAM/Transfer Pak/microcode swapping/Other Cool N64 Features?
A: Theoretically, all yes.
## Installation help
Go read the original SM64 repo README.md

1
VERSION.txt Normal file
View File

@@ -0,0 +1 @@
v2.0.8

View File

@@ -0,0 +1,51 @@
static const s16 dAmpAnimValue[] = {
0x0000, 0x0000, 0x0D79, 0x1AF2, 0x286B, 0x35E4, 0x435D, 0x50D6,
0x5E50, 0x6BC9, 0x7942, 0x86BE, 0x9437, 0xA1B0, 0xAF2A, 0xBCA3,
0xCA1C, 0xD795, 0xE50E, 0xF287, 0x1872, 0x0000, 0x1AF2, 0x35E4,
0x50D6, 0x6BC9, 0x86BE, 0xA1B0, 0xBCA3, 0xD795, 0xF287, 0x0D79,
0x286B, 0x435D, 0x5E50, 0x7942, 0x9437, 0xAF2A, 0xCA1C, 0xE50E,
0x0000, 0x1AF2, 0x35E4, 0x50D6, 0x6BC9, 0x86BE, 0xA1B0, 0xBCA3,
0xD795, 0xF287, 0x0D79, 0x286B, 0x435D, 0x5E50, 0x7942, 0x9437,
0xAF2A, 0xCA1C, 0xE50E, 0x8001, 0x5793, 0x2F28, 0x06BC, 0xDE52,
0xB5E6, 0x8D7B, 0x650C, 0x3CA1, 0x1435, 0xEBCB, 0xC35F, 0x9AF4,
0x7285, 0x4A1A, 0x21AE, 0xF944, 0xD0D8, 0xA86D, 0x3FFF, 0x0000,
0x0D7C, 0x1AF9, 0x2876, 0x35F3, 0x4370, 0x50ED, 0x5E6A, 0x6BE7,
0x7964, 0x86E3, 0x9460, 0xA1DD, 0xAF5A, 0xBCD7, 0xCA54, 0xD7D1,
0xE54E, 0xF2CB, 0xC001, 0x3FFF, 0x0000, 0x0D7B, 0x1AF7, 0x2873,
0x35EF, 0x436B, 0x50E6, 0x5E62, 0x6BDE, 0x795A, 0x86D9, 0x9455,
0xA1D0, 0xAF4C, 0xBCC8, 0xCA44, 0xD7C0, 0xE53B, 0xF2B7, 0xC001,
0x3FFF, 0xC001, 0xCD7A, 0xDAF2, 0xE86B, 0xF5E3, 0x035B, 0x10D3,
0x1E4C, 0x2BC4, 0x393D, 0x46B5, 0x542E, 0x61A6, 0x6F1F, 0x7C97,
0x8A13, 0x978B, 0xA504, 0xB27D, 0xC001, 0x3FFF, 0x4D79, 0x5AF2,
0x686C, 0x75E5, 0x8362, 0x90DB, 0x9E55, 0xABCF, 0xB948, 0xC6C2,
0xD43B, 0xE1B5, 0xEF2F, 0xFCA8, 0x0A21, 0x179A, 0x2514, 0x328D,
0xC001, 0x3FFF,
};
static const u16 dAmpAnimIndex[] = {
0x0001, 0x0000, 0x0001, 0x0000, 0x0001, 0x0000, 0x0001, 0x0000, 0x0001, 0x0000, 0x0001, 0x0000,
0x0001, 0x0000, 0x0001, 0x0000, 0x0001, 0x00A1,
0x0001, 0x0000, 0x0013, 0x008D, 0x0001, 0x00A0,
0x0001, 0x0000, 0x0001, 0x0000, 0x0013, 0x0001,
0x0001, 0x0000, 0x0013, 0x0079, 0x0001, 0x008C,
0x0001, 0x0014, 0x0001, 0x0000, 0x0013, 0x0015,
0x0001, 0x0000, 0x0013, 0x0064, 0x0001, 0x0077,
0x0001, 0x0000, 0x0001, 0x0000, 0x0013, 0x0028,
0x0001, 0x0000, 0x0013, 0x004F, 0x0001, 0x0062,
0x0001, 0x0000, 0x0001, 0x0000, 0x0013, 0x003B,
0x0001, 0x0000, 0x0001, 0x0000, 0x0001, 0x0078,
0x0001, 0x0000, 0x0001, 0x0000, 0x0001, 0x0063,
0x0001, 0x0000, 0x0001, 0x0000, 0x0001, 0x004E,
};
static const struct Animation dAmpAnimation = {
0,
0,
0,
0,
0x13,
ANIMINDEX_NUMPARTS(dAmpAnimIndex),
dAmpAnimValue,
dAmpAnimIndex,
0,
};

View File

@@ -0,0 +1 @@
#include "animation.inc.c"

View File

@@ -0,0 +1,3 @@
const struct Animation *const dAmpAnimsList[] = {
&dAmpAnimation,
};

View File

@@ -1,2 +0,0 @@
# Amp

55
actors/amp/geo.inc.c Normal file
View File

@@ -0,0 +1,55 @@
const GeoLayout dAmpGeo[] = {
GEO_SHADOW(SHADOW_CIRCLE_4_VERTS, 0xC8, 100),
GEO_OPEN_NODE(),
GEO_SCALE(0x00, 16384),
GEO_OPEN_NODE(),
GEO_ANIMATED_PART(LAYER_OCCLUDE_SILHOUETTE_OPAQUE, 0, 0, 0, NULL),
GEO_OPEN_NODE(),
GEO_ANIMATED_PART(LAYER_OCCLUDE_SILHOUETTE_ALPHA, 0, 0, 0, dAmpEyeDl),
GEO_OPEN_NODE(),
GEO_ANIMATED_PART(LAYER_OCCLUDE_SILHOUETTE_OPAQUE, 0, 0, 0, NULL),
GEO_OPEN_NODE(),
GEO_SWITCH_CASE(2, geo_switch_anim_state),
GEO_OPEN_NODE(),
GEO_ANIMATED_PART(LAYER_OCCLUDE_SILHOUETTE_OPAQUE, 0, 0, 0, NULL),
GEO_ANIMATED_PART(LAYER_OCCLUDE_SILHOUETTE_ALPHA, 0, 0, 0, dAmpElectricityDl),
GEO_CLOSE_NODE(),
GEO_CLOSE_NODE(),
GEO_ANIMATED_PART(LAYER_OCCLUDE_SILHOUETTE_OPAQUE, 0, 0, 0, NULL),
GEO_OPEN_NODE(),
GEO_SWITCH_CASE(2, geo_switch_anim_state),
GEO_OPEN_NODE(),
GEO_ANIMATED_PART(LAYER_OCCLUDE_SILHOUETTE_OPAQUE, 0, 0, 0, NULL),
GEO_ANIMATED_PART(LAYER_OCCLUDE_SILHOUETTE_ALPHA, 0, 0, 0, dAmpElectricityDl),
GEO_CLOSE_NODE(),
GEO_CLOSE_NODE(),
GEO_ANIMATED_PART(LAYER_OCCLUDE_SILHOUETTE_OPAQUE, 0, 0, 0, NULL),
GEO_OPEN_NODE(),
GEO_SWITCH_CASE(2, geo_switch_anim_state),
GEO_OPEN_NODE(),
GEO_ANIMATED_PART(LAYER_OCCLUDE_SILHOUETTE_OPAQUE, 0, 0, 0, NULL),
GEO_ANIMATED_PART(LAYER_OCCLUDE_SILHOUETTE_ALPHA, 0, 0, 0, dAmpElectricityDl),
GEO_CLOSE_NODE(),
GEO_CLOSE_NODE(),
GEO_ANIMATED_PART(LAYER_OCCLUDE_SILHOUETTE_OPAQUE, 0, 0, 0, NULL),
GEO_OPEN_NODE(),
GEO_SWITCH_CASE(2, geo_switch_anim_state),
GEO_OPEN_NODE(),
GEO_ANIMATED_PART(LAYER_OCCLUDE_SILHOUETTE_OPAQUE, 0, 0, 0, NULL),
GEO_ANIMATED_PART(LAYER_OCCLUDE_SILHOUETTE_ALPHA, 0, 0, 0, dAmpElectricityDl),
GEO_CLOSE_NODE(),
GEO_CLOSE_NODE(),
GEO_CLOSE_NODE(),
GEO_ANIMATED_PART(LAYER_OCCLUDE_SILHOUETTE_ALPHA, 0, 0, 0, dAmpMouthDl),
GEO_ANIMATED_PART(LAYER_OCCLUDE_SILHOUETTE_OPAQUE, 0, 0, 0, NULL),
GEO_OPEN_NODE(),
GEO_BILLBOARD(),
GEO_OPEN_NODE(),
GEO_DISPLAY_LIST(LAYER_OCCLUDE_SILHOUETTE_ALPHA, dAmpBodyDl),
GEO_CLOSE_NODE(),
GEO_CLOSE_NODE(),
GEO_CLOSE_NODE(),
GEO_CLOSE_NODE(),
GEO_CLOSE_NODE(),
GEO_END(),
};

View File

@@ -1,54 +0,0 @@
glabel amp_geo # 0x0F000028
geo_shadow SHADOW_CIRCLE_4_VERTS, 0xC8, 100
geo_open_node
geo_scale 0x00, 16384
geo_open_node
geo_animated_part LAYER_OPAQUE, 0, 0, 0
geo_open_node
geo_animated_part LAYER_ALPHA, 0, 0, 0, amp_seg8_dl_08002C88
geo_open_node
geo_animated_part LAYER_OPAQUE, 0, 0, 0
geo_open_node
geo_switch_case 2, geo_switch_anim_state
geo_open_node
geo_animated_part LAYER_OPAQUE, 0, 0, 0
geo_animated_part LAYER_ALPHA, 0, 0, 0, amp_seg8_dl_08002BA0
geo_close_node
geo_close_node
geo_animated_part LAYER_OPAQUE, 0, 0, 0
geo_open_node
geo_switch_case 2, geo_switch_anim_state
geo_open_node
geo_animated_part LAYER_OPAQUE, 0, 0, 0
geo_animated_part LAYER_ALPHA, 0, 0, 0, amp_seg8_dl_08002BA0
geo_close_node
geo_close_node
geo_animated_part LAYER_OPAQUE, 0, 0, 0
geo_open_node
geo_switch_case 2, geo_switch_anim_state
geo_open_node
geo_animated_part LAYER_OPAQUE, 0, 0, 0
geo_animated_part LAYER_ALPHA, 0, 0, 0, amp_seg8_dl_08002BA0
geo_close_node
geo_close_node
geo_animated_part LAYER_OPAQUE, 0, 0, 0
geo_open_node
geo_switch_case 2, geo_switch_anim_state
geo_open_node
geo_animated_part LAYER_OPAQUE, 0, 0, 0
geo_animated_part LAYER_ALPHA, 0, 0, 0, amp_seg8_dl_08002BA0
geo_close_node
geo_close_node
geo_close_node
geo_animated_part LAYER_ALPHA, 0, 0, 0, amp_seg8_dl_08002D70
geo_animated_part LAYER_OPAQUE, 0, 0, 0
geo_open_node
geo_billboard
geo_open_node
geo_display_list LAYER_ALPHA, amp_seg8_dl_08002E58
geo_close_node
geo_close_node
geo_close_node
geo_close_node
geo_close_node
geo_end

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