Commit Graph

847 Commits

Author SHA1 Message Date
Sauraen
6457daddf0 Fixed occlusion planes culling pause screen and A button 2024-06-19 11:01:59 -07:00
Sauraen
cda38b1013 Occlusion plane system (#132)
* Initial working version

* Initial move of files

* Added occluding skybox

* Revert GBI changes

* Initial cleanup

* Cleanup

* Improvements

* Moved occlusion planes from per-scene to per-room

* Fixes

* Improvements

* Fixes

* Formatted

* Fixed building without EX3

* Reverted sky change

* Removed commented out stuff
2024-06-16 18:39:25 -07:00
Tharo
e2bcacb436 A few debugging quality-of-life improvements (#134)
* Change macros that take file name and line number args to report the true file name and line number.
 * Ensure that (in debug builds) open/close disps always inserts the no-op debug markers.
 * Move sPrevTaskWorkBuffer to global gPrevTaskWorkBuffer for easy access to the address in the map file.
2024-06-16 00:34:53 +02:00
Sauraen
3251456d2e Merge pull request #130 from HackerN64/F3DEX3Memset
Use F3DEX3 memset to clear Z buffer for RDP time savings
2024-06-05 20:07:32 -07:00
Sauraen
794090fc6d Draft 2024-06-02 11:04:39 -07:00
Sauraen
42341eca12 Memset Z buffer works and saves time 2024-06-01 18:01:04 -07:00
Sauraen
9ceccd50fd Fix rupees and boulder particles by adding F3DEX3 command to locally disable skipping texture loads optimization (#128)
* Fixed rupees and boulder particles

* clang-format
2024-06-02 00:10:36 +02:00
Sauraen
043fdacbab Fixed rupees and boulder particles 2024-05-31 22:57:16 -07:00
Thar0
3d03c3b781 Full-screen fill rectangle optimizations 2024-05-28 20:42:08 +01:00
Sauraen
c2892d8507 Clean up F3DEX3 support (#118)
* Basic cleanup

* Added specular light sizes

* Added camera world changes

* Forgot specular size in the unused function
2024-05-28 14:33:44 +02:00
Sauraen
ae2010e9b5 New profiler with RSP and CPU tracing, replacing vanilla SPEEDMETER (#116)
* Working on it

* Loading ucode from ROM working

* Menu implemented

* Fixed ifdefs in debug

* Fixed crashing

* Cleanup

* Suppressed make auto generated messages

* Reorganized RSP wrapper assembly files

* Fixed merge bug

* Removing speed_meter

* Porting profiler

* Basics working

* Port basically complete

* Basic tracing working

* CPU tracing working

* Added colors to CPU trace

* Fixed some issues

* Profiler basically done

* Update F3DEX3 to resolve issues

* Cleanup

* Cleaned up things for profiler or F3DEX3 disabled

* Fixed a couple counter names
2024-05-27 18:38:44 +02:00
krm01
a44fc4394b fix falling from vine edges (#114)
* fix falling from vine edges

* Update src/overlays/actors/ovl_player_actor/z_player.c

Co-authored-by: Yanis <35189056+Yanis42@users.noreply.github.com>

* fix bad merge

---------

Co-authored-by: Yanis <35189056+Yanis42@users.noreply.github.com>
2024-05-18 16:27:38 +02:00
Sauraen
cd5eb31dc8 Multiple F3DEX3 versions (#112)
* Working on it

* Loading ucode from ROM working

* Menu implemented

* Fixed ifdefs in debug

* Fixed crashing

* Cleanup

* Suppressed make auto generated messages

* Reorganized RSP wrapper assembly files

* Fixed merge bug
2024-05-17 15:35:01 +02:00
Yanis
b696dfffcd Updated Example Scene (#113) 2024-05-15 13:26:53 +02:00
Reonu
48a1c72e79 60 Hz on PAL consoles with correct audio (#105)
* 60 Hz on PAL consoles with correct audio

* account for MPAL

* PAL60 VI Mode, Region Free ROM Header

* crop corrupted bottom lines on PAL consoles

---------

Co-authored-by: Thar0 <17233964+Thar0@users.noreply.github.com>
2024-05-15 13:26:17 +02:00
Yanis
20a0613120 Merge zeldaret/main (#106)
* Match retail BSS ordering (#1927)

* Match retail BSS ordering

* Revert moving some global variables to headers

* Adjust block numbers after header changes

* Fix debug build

* Overlay bss ordering

* Fix BSS ordering after header changes

* gc-eu-mq OK

* Implement preprocessor for #pragma increment_block_number

* Transfer usage comment from reencode.sh

* Use temporary directory instead of temporary file

* Move ColChkMassType back

* Player: Document "WaitForPutAway"  (#1936)

* document put away delay

* functions.txt

* add a note on delaying indefinitely

* format

* typo

* delay -> wait for put away

* revert unintended formatting change

* add comment to struct member

* format

* fix functions.txt

* Set up gc-eu and match all code (#1938)

* Set up gc-eu and match all code

* Format

* Mark gc-eu-mq as WIP until it builds OK

* Move original/MQ map mark data to separate files

* Add #includes to .inc.c files to help out VS Code

* Use #if in spec instead of .inc.c files

* Delete disassembly data for gc-eu-mq (#1942)

* Player Docs: "sUpperBodyIsBusy" (#1944)

* document upperbodybusy

* change wording for comment and rename upperanimblendweight

* format

* review

* Fix miscategorized scenes (#1946)

* Fix miscategorized scenes

* Sort includes

* Player Docs: Action Interrupt (#1947)

* document action interrupt

* format

* new function comment

* format

* add a note about items

* format

* Add gc-eu-mq to CI (#1943)

* Add gc-eu-mq to CI

* Give up on scripting

* Revert quotes changes

* Player Docs: Name some high level update calls (#1593)

* name some low hanging fruit

* revert burn and shock, doing in seperate pr

* add some function comments

* yaw func

* adjust comment

* some review

* unname UpdateZTarget

* Player_DetectRumbleSecrets

* fix dive do action name

* Player Docs: Control stick buffers (#1945)

* name vars and add enum

* name some spin attack stuff

* fix right and left

* forward/backward

* format

* fix retail bss

* sControlStickWorldYaw

* Force string.o to be in boot for gcc builds (#1948)

In retail builds, memcpy is linked in code, not boot, but GCC likes to call memcpy when copying structs so currently GCC builds immediately crash in __osInitialize_common.

* Rename yDistToWater -> depthInWater (#1950)

* Rename yDistToWater -> yDistUnderWater

* yDistUnderWater -> depthInWater

* Check baserom hash before decompression (#1952)

* Remove Cygwin support (#1951)

* update installation docs

* setup fixes

* tabs

---------

Co-authored-by: cadmic <cadmic24@gmail.com>
Co-authored-by: fig02 <fig02srl@gmail.com>
2024-05-10 18:21:07 +02:00
Yanis
b65f664159 Started Debug Menu (#104)
* started basic debugger

* documentation and added rectangle configurator

* updated f3dex3 patches + made some for profiling stuff

* started profiler

* fix issues and moved profiler functions to gamestate/hide by default

* fix folders not being created properly

* started menu

* memory management

* fix english

* debug disp

* started collision view

* improvements

* basic collider view

* revert profiler changes

* improvements
2024-05-08 12:04:46 +02:00
Yanis
4b0858ec14 Add Gamecube support (#102)
* updated gzinject to use cadmic's iso support

* first part

* changes

* fixed gzinject issues (cadmic)

* fixed issue where last scene doesn't get its romend

* fixed small "issue" with iso terminal printing

* better safeguard for f3dex3

* fixed libultra issues (thanks to cadmic)

* revert unwanted change

* small fix
2024-05-08 11:58:56 +02:00
krm01
521cbb3f3f Better noclip (#103)
* remove unused noclip control defines

* rework player noclip controls

* fix whitespace
2024-05-06 18:30:23 +02:00
Yanis
a10bfb24e5 Added a config file for memory stuff (#100)
* memory management

* fix english

* debug disp
2024-04-25 22:14:57 +02:00
Reonu
e1aca67f70 Add GPU timings detection (gGPUTimingsExist) (#96)
* Add console detection (gIsConsole)

* Add vscode configuration

* renamed gIsConsole to gGPUTimingsExist
2024-04-23 03:11:53 +02:00
Yanis
8b99d614ad Force deterministic builds and introduce `make verify` (#93)
* force deterministic builds + other things

* remove checksum comparison and check for modern sdk first

* remove package_author from makefile

* remove the build date entirely
2024-04-22 19:55:44 +02:00
Reonu
8ede2a63a7 Add ENABLE_LINK_LOD define and config_graphics.h (#92)
* add ENABLE_LINK_LOD define

* Add missing newline
2024-04-22 19:55:23 +02:00
Yanis42
1dc6105517 Merge remote-tracking branch 'upstream/main' into mod_assets 2024-04-21 17:47:38 +02:00
Yanis
9d89f6a7c3 Merge pull request #90 from Yanis42/rainbow_v2
Rainbow system
2024-04-21 16:27:38 +02:00