Commit graph

255 commits

Author SHA1 Message Date
water111 b2ed9313bd
[graphics] First part of shrub extraction (#1258)
* decompile 90% of shrubbery

* some more progress

* some more

* big function decompiled

* went through `draw-prototype-inline-array-shrub` and made more notes

* shrub: start implementing extract_shrub

* read through current notes and add the info to current decomp

* decomp: allow skipping inline-asm from output

* add code to BspHeader to get GOAL types for shrubs

* add doc

* wip

* fix bad merge

Co-authored-by: Tyler Wilding <xtvaser@gmail.com>
Co-authored-by: Tyler Wilding <xTVaser@users.noreply.github.com>
2022-03-28 18:14:25 -04:00
ManDude 968531ee51
[game] rewrite memcard and game-save code (#1222)
* rewrite memcard and game-save code

* fix memcard status and bank check

* more robustness

* fix bank pick on card update

* fix load file bugs

* bug fixes and final touches

* add timers and turn off prints

* optimization?

* update pics

* make money starburst slightly easier to see

* fix first time save bug

* reduce filesystem load a bit

* too bright

* Optimize `file_is_present`
2022-03-06 18:58:22 -05:00
water111 a5b383c78a
[graphics] Rewrite of texture system (#1212)
* loading cleanup

* temp

* add texture replacement

* fix windows

* oops

* fix windows

* final cleanup
2022-03-02 20:01:37 -05:00
ManDude 3a54a521e3
[runtime] bug & crash fixes (#1211)
* bug & crash fixes

* relax fog hack slightly

* buff particles more

* borderless hack

* tone down sprite hack

* int consts in `deftype` + increase sparticle queue

* move a menu button around

* clang + test fixes

* less confusing image

* add test for new deftype feature
2022-03-01 20:15:15 -05:00
water111 ff6362d181
compiler startup speed, decomp options, add some shrub docs (#1187) 2022-02-19 21:31:24 -05:00
Tyler Wilding e4c841f9f5
docs: delete content that now lives in another repo (#1160) 2022-02-12 23:20:43 -05:00
Tyler Wilding ffb04ddd10
Documentation cleanup and some feature improvements (#1155)
* ci: switch to codacy for coverage

* docs: update badges

* decomp: allow overriding config flags via CLI

* cleanup: top level file cleanup

* docs: big README overhaul

Attempt to close #1128 and #1086

* decomp: attempt to detect if `iso_data` is missing or wrongly extracted

* game: switch to `fpng` for screenshots, allow for compression

closes #1035

* game: switch vsync control to a checkbox

* lint: format cpp files

* lint: format json files

* docs/scripts: organize taskfile
2022-02-12 17:48:50 -05:00
github-actions 738db287b4 Updated github pages site 2022-02-04 23:39:04 +00:00
ManDude 32d8ae9b6e
streamline newbie decomp/run process, update readme and gallery with new/updated information and pictures (#1132)
* streamline newbie decomp/run process, update readme and gallery with new/updated information and pictures

* and of course

* Fix errors

* fix gallery
2022-02-04 18:37:48 -05:00
github-actions 0816a1bf25 Updated github pages site 2022-02-04 03:46:57 +00:00
github-actions 3d7228ec77 Updated github pages site 2022-02-01 01:46:27 +00:00
github-actions 41888aac8f Updated github pages site 2022-01-29 02:33:29 +00:00
water111 57649d243f
[bones] Part 1: Joint (#1110)
* joints

* bones

* align spr to 16k

* fix bug

* lack of sound hack

* clean up
2022-01-28 21:32:03 -05:00
water111 35bdc9b1d3
add an optional, less-accurate-but-faster sprite render and fix silly math bug (#1102)
* also add a new sprite renderer

* claaaang

* goal build fix

* fix tests, add stack singleton option

* make all event-message-blocks the same

* diskboot
2022-01-21 21:11:57 -05:00
github-actions 751fd06513 Updated github pages site 2022-01-20 05:19:12 +00:00
Tyler Wilding 90438523cd
docs: mobile optimize docs portal, support videos, better gallery features (#1099)
* docs: quick update of readme and windows screenshots for vs 2022

* update the docs portal to be better on mobile, support videos, and better gallery

* docs: re-generate site
2022-01-20 00:17:39 -05:00
github-actions 264dc83379 Updated github pages site 2022-01-20 00:40:48 +00:00
github-actions 911ac07da4 Updated github pages site 2022-01-18 06:16:09 +00:00
github-actions f8fa95f9bf Updated github pages site 2022-01-17 19:37:41 +00:00
github-actions dc77c3ccd2 Updated github pages site 2022-01-17 16:52:49 +00:00
github-actions 39c654b467 Updated github pages site 2022-01-16 03:35:06 +00:00
water111 c043367094
[goalc] fix 0 in xmm128, be more strict with none in comparison (#1079)
* fix a few small bugs

* merge fixup

* 0 constant fix
2022-01-15 22:33:53 -05:00
github-actions e018951d38 Updated github pages site 2022-01-16 01:34:26 +00:00
github-actions 372b6a8746 Updated github pages site 2022-01-16 01:02:50 +00:00
github-actions f757f1b9ac Updated github pages site 2022-01-15 21:54:00 +00:00
github-actions 79ac3a0c3a Updated github pages site 2022-01-15 17:32:52 +00:00
ManDude 67bb1193a8
[runtime] GPU sprite renderer (#1075)
* sprite_3d first attempt

* fixs

* fix Q usage

* ??

* attempt 2

* Update sprite_3d.vert

* works-ish

* works properly!

* scissor fix

* simplify shader

* texture support except everything is broken for some reason

* stuff

* Update SpriteRenderer.cpp

* meltdown

* Revert "simplify shader"

This reverts commit 97bd9b77be.

* Revert "Revert "simplify shader""

This reverts commit 32fb46ce90.

* fix blend

* fix blend and prim

* fix depth write and texture rendering

* fix bugs

* remove noperspective

* fix and finalize sprite 3D vert shader

* optimize 3D program

* 2D sprites! almost first try

* fixes + merge shader code

* HUD sprite support and clean up code

* oopsie

* fix 3d sprites

* minor cleanup and increase sprite buffer to 8k sprites

* clang

* replace some uses of `glBufferSubData` with `glBufferData`
2022-01-15 12:31:38 -05:00
github-actions f76c87d7fe Updated github pages site 2022-01-12 15:48:40 +00:00
github-actions 4bb1cbf304 Updated github pages site 2022-01-11 00:29:35 +00:00
github-actions 599f8f7e26 Updated github pages site 2022-01-09 22:46:32 +00:00
github-actions 950f8a79bc Updated github pages site 2022-01-09 22:44:37 +00:00
github-actions ac37d82a44 Updated github pages site 2022-01-09 16:44:15 +00:00
github-actions d9b01de007 Updated github pages site 2022-01-09 16:40:45 +00:00
github-actions 1aab98b335 Updated github pages site 2022-01-09 01:59:14 +00:00
github-actions bc94822ed1 Updated github pages site 2022-01-08 23:24:53 +00:00
github-actions 7b1572883c Updated github pages site 2022-01-08 18:40:32 +00:00
github-actions 3ceeafbd46 Updated github pages site 2022-01-07 21:14:45 +00:00
github-actions 06541db768 Updated github pages site 2022-01-07 16:53:53 +00:00
github-actions 026c7245a2 Updated github pages site 2022-01-07 13:50:39 +00:00
github-actions 833115a76d Updated github pages site 2022-01-06 23:48:36 +00:00
ManDude 2e18cb605a
[runtime] optimize DirectRenderer for multiple textures + optimize sprite renderer (#1054)
* optimize sprite texture flush + update shaders

* fix bugs

* change logic a bit

* crunch PNGs

* hud size fix

* clang

* remove shaders from list

* use really small alpha cut-off point for sprites

* ad `flat` to vertex shaders too

* increase cut-off very slightly

* take *2 into account

* ok for real this should be good enough
2022-01-06 18:47:20 -05:00
github-actions 74a791c67f Updated github pages site 2022-01-05 04:38:09 +00:00
github-actions b84a04a14c Updated github pages site 2022-01-05 04:17:40 +00:00
github-actions b11a45d836 Updated github pages site 2022-01-05 04:12:12 +00:00
github-actions c35ab4a223 Updated github pages site 2022-01-05 02:58:20 +00:00
Tyler Wilding 60cbeedaa5
docs: fix link to gallery (#1052) 2022-01-04 21:57:05 -05:00
github-actions 7aa5322a0e Updated github pages site 2022-01-05 02:06:42 +00:00
Tyler Wilding 7117a512c7
docs: Refresh the homepage and add some basic gallery support (#1051)
* docs: refresh the homepage

* docs: basic gallery support added

* homepage background image back to jpg

* docs: remove data file tracker, as it's soon to be removed
2022-01-04 21:05:27 -05:00
github-actions db563d9b55 Updated github pages site 2022-01-05 01:33:48 +00:00
github-actions 1c8080a687 Updated github pages site 2022-01-03 04:20:17 +00:00