ManDude
4665b5a246
change type of seconds and clean up opengl includes ( #887 )
...
* change type of `seconds`
* fixes to pc pad input (visual only)
* strip down openGL to the version we're actually using for now (4.3 no extensions)
* turn on this opengl message
* really minor inconsequential change
2021-10-06 19:32:58 -04:00
water111
845802ca45
memory cards (in progress) ( #868 )
...
* c++ memory card stuff
* saving kinda works
* load working
* more progress
* clean up
2021-10-01 23:12:34 -04:00
Tyler Wilding
fbcc1542f3
decomp: decompile remaining particle files ( #865 )
...
* decomp: finish `beach-part`
* decomp: finish `citadel-part`
* decomp: finish `robotboss-part`
* decomp: finish `sage-finalboss-part`
* decomp: finish `jungle-part`
* decomp: finish `flut-part`
* decomp: finish `firecanyon-part`
* decomp: finish `village2-part2`
* decomp: finish `swamp-part`
* decomp: finish `maincave-part`
* decomp: finish `sunken-part0-5`
* decomp: finish `ogre-part`
* decomp: finish `robocave-part` and `snow-part`
* decomp: finish `collectables-part`
* decomp: finish `village1-part`
* decomp: finish `village1-part2
* decomp: finish `training-part`
* decomp: finish `misty-part`
* decomp: finish `village2-part`
* decomp: finish `village3-part`
* decomp: finish `lavatube-part`
* decomp: finish `hud-h`, `target-racer-h`, `racer-part`
* address feedback
2021-09-29 20:33:40 -04:00
Tyler Wilding
dd959d0d0d
decomp: Continuing full pass of gameplay code ( #839 )
...
* decomp: finish `babak` - :code is called in `(code nav-enemy-patrol babak)`
* decomp: almost finish `process-taskable`
* blocked: mistycannon / pelican
* decomp: finish `babak-with-cannon` write a script to fix gsrc
* decomp: finish `process-taskable`
* decomp: finish `flutflut` and `yakow`
* decomp: finish `fishermans-boat`
* blocked: state decomp `training-obs`
* decomp: finish `muse`
* decomp: finish `bonelurker`
* blocked: state decomp in `quicksandlurker`| `balloonlurker`
* decomp: finish `assistant-village2`
* scripts: script to help updating goal_src
* starting to update goal_src
* tests: update ref tests
* src: more src updating
* src: waiting on `process-taskable` and `muse`
* blocked: `citb-plat` state decomp
* decomp: finish `square-platform`
* blocked: `orbit-plat` due to overlays + static data
* decomp: finish `qbert-plat`
* blocked: almost finish `misty-conveyor`, sparticle-callback
* blocked: jungle-mirrors
* blocked: state decomp in `swamp-blimp`
* decomp: finish `swamp-bat`
* decomp: finish `swamp-rat`
* decomp: finish `swamp-rat-nest`
* blocked: state decomp `kermit`
* decomp: finish `cavecrystal-light`
* decomp: finish `spiderwebs`
* blocked: state decomp `dark-crystal`
* decomp: finish `baby-spider`
* decomp: finish `mother-spider-h`
* decomp: finish `mother-spider-proj`
* blocked: state decomp in `gnawer`
* blocked: state decomp in `driller-lurker`
* blocked: `sun-exit-chamber` breaks when adding handle cast
* decomp: finish `sunken-water`
* blocked: `target-tube` ShortCircuitElement::push_to_stack
* decomp: finish `sunken-fish`
* blocked: `minecart` decomp crash when adding stack cast
* decomp: finish `assistant-village3`
* decomp: finish `sage-village3`
* blocked: `cave-trap` done but ran into `go` issue
* blocked: `spider-egg` state decomp
* decomp: finish `target-snowball`
* blocked/stuck: `target-ice` decomp issue around cpad
* pausing: ice-cube has some weird collide-shape-prim handling
* blocked: `snow-ball` state decomp
* blocked: `snow-bumper` state decomp
* decomp: finish `snow-ram-h`
* decomp: finish `yeti`
* decomp: finish `assistant-lavatube`
* re-enable the float cast log
* decomp: updating to new sparticle definitions
* decomp: address feedback up to `swamp-rat-nest`
* address remaining feedback
* all-types: move the `pointer` def
* add back temporary `hud-hidden?`
2021-09-28 20:42:00 -04:00
water111
f0ceea8b2e
[sparticle] 2d hud particles ( #849 )
...
* wip, taking a break to work on asm stuff first
* the goal code for sparticle
* mips2c the first sparticle asm function
* temp
* particle processing no longer crashing
* temp
* working texture cache for vi1 and hud textures
* sprites
* cleanup 1
* temp
* temp
* add zstd library
* temp
* working
* tests
* include fix
* uncomment
* better decomp of sparticle stuff, part 1
* update references
2021-09-26 11:41:58 -04:00
ManDude
d8e659df66
[decomp] flying-lurker ( #846 )
...
* `flying-lurker`
* why'd this get left behind?
* also `ambient` and add a `banned_objects` config and fix offline tests
* clang
* fix `ambient-type-sound`
2021-09-21 18:40:38 -04:00
ManDude
89ccb8cbc7
[decomp] progress ( #780 )
...
* cleanup `main`
* whitespace
* start `progress` decomp pt1
* fill in more stuff
* Update label_types.jsonc
* run cheats
* clang
* make most of `progress` decompile
* `progress` pt 2
* [decompiler] support dynamic format strings
* Make `progress-draw` decompile and almost all `progress`
* make clang shut up
* fix unhandled format string
* fix `progress-draw`
* Update DecompilerTypeSystem.cpp
* fix?
* fixes
* fix a few functions
* make `language-enum`
* warn on weird floats
* fix minor pad bug
* dump stuff in `progress`
* make `progress-screen` enum
* progress progress
* update refs and fix stupid bug
* trying to get it to work
* it works!?
* disable sound functions
* fixes
* final touches
* tests
* tests
* add process allocations
* use the right register for windows
* another try for windows, counting is hard
* one more try
* use process allocations
Co-authored-by: water <awaterford111445@gmail.com >
2021-09-06 20:35:03 -04:00
Tyler Wilding
d1f16b34ff
decomp: another batch of easy files ( #823 )
...
* decomp: finish `sharkey`
* decomp: finish `lurkercrab`
* decomp: finish `lurkerpuppy`
* decomp: finish `assistant-citadel`
* decomp: finish `static-screen`
* decomp: finish `robotboss-h`
* decomp: finish `final-door`
* decomp: finish `aphid`
* addressed review
2021-09-06 15:34:31 -04:00
water111
9b0480c50d
[decompiler] process initialization macros ( #807 )
...
* implementation and a few working cases
* fix self issue
* fix run-function-in-process
* fix up set-to-run
2021-09-01 16:59:26 -04:00
water111
6d120c1ac8
fix self issue ( #808 )
2021-09-01 16:42:24 -04:00
Tyler Wilding
42f7a675b2
decomp: a few files that were done except for sp-launch-group ( #802 )
...
* decomp: dark-eco-pool blocked by sparticle-launch-group label
* decomp: finalize `dark-eco-pool`
* decomp: mostly finish `beach-rocks` waiting for sparticle label supp
* decomp: almost done `beach-rocks` but potential new handle case
* decomp: finish `beach-rocks`
* decomp: finish `assistant`
* decomp: finish `miners`
2021-09-01 11:20:05 -04:00
water111
41507f1aee
nest floating point addition and multiply operations ( #794 )
...
* nest floating point addition and multiply operations
* fix mood
2021-08-31 12:04:46 -04:00
water111
403bb5f4de
[decomp] game-info ( #779 )
...
* support more process stuff
* more of game info
* add ref file
* progress on save
2021-08-22 20:12:47 -04:00
water111
11e11d2c04
[decompiler] Several small fixes ( #775 )
...
* fix assorted bugs
* stricter return types
* only look for functions in code files
2021-08-19 20:35:12 -04:00
Tyler Wilding
253d7996e8
decomp: almost all of the NPCs! ( #748 )
...
* all-types: add all missing `:heap-base`s
* decomp: error encountered when compiling `mayor`
`IR_StoreConstOffset::do_codegen can't handle this` for method `play-anim!`
* decomp: finalize `mayor`
* decomp: finish `bird-lady`
* decomp: finish `bird-lady-beach`
* decomp: finish `sculptor`
* decomp: finish `geologist`
* decomp: finish `oracle`
* decomp: finish `farmer` | `explorer` | almost `assistant`
blocked on sparticle-launch-group
* decomp: finish `sage`
* decomp: finish `gambler`
* decomp: finish `warrior`
* decomp: mostly finish `miners`, blocked by sp-launch-group
* fix issue in `sage`
* fix all the reference tests to use the new state stuff
* fix all of goal_src
* address feedback
* re-gen with `until` fixes
2021-08-18 21:33:31 -04:00
Tyler Wilding
2f2ad69a0c
remove unneeded casts, switch to :allow-misaligned
2021-08-11 19:54:03 -04:00
Tyler Wilding
11efc31e5c
Merge remote-tracking branch 'water111/master' into decomp/twister
2021-08-10 20:44:22 -04:00
Tyler Wilding
38d2b2d02e
fix dynamic element
2021-08-10 20:43:25 -04:00
Tyler Wilding
bcae0d0b5f
decomp: finish wobbler ( #745 )
...
Co-authored-by: water <awaterford111445@gmail.com >
2021-08-09 22:07:39 -04:00
Tyler Wilding
0d0442eeb4
decomp: finish twister
2021-08-08 13:28:47 -04:00
Tyler Wilding
3219180e60
decomp: finish air ( #683 )
2021-07-09 21:44:48 -04:00
water111
a6d5c4eda3
[decompiler] clean up vector detection and add vector float product detection ( #638 )
...
* change
* recognize vector float product and update tests
2021-06-27 17:24:35 -04:00
water111
06ae38d464
[decomp] clean up type def formatting and remove all-forward-definitions.gc ( #608 )
...
* clean up
* fix test
2021-06-19 15:50:52 -04:00
water111
409c1f5a7d
[Decompiler] WIP new type analysis tools ( #601 )
...
* add multi-lookup
* use multi-lookup
2021-06-17 21:50:36 -04:00
Tyler Wilding
506b5d8ceb
Decompile: prototype | video | vol-h | air-h | nav-enemy-h | rigid-body-h ( #575 )
...
* decomp: `prototype` done
* tests/ref: Update all reference tests
* decomp: `video` done
* decomp: Add `video` to src
* decomp: `vol-h` done
* tests/ref: Update reference tests again
* decomp: Add `vol-h` to ref tests, leave `entity` in process as a `basic` for now!
* decomp: `air-h` done, compiler issue though
* decomp: `nav-enemy-h` done, compiler issue though
* decomp: `rigid-body-h` done, compiler issue though
* Address feedback and fix the failing to compile files
* linting
* finish `video` off
2021-06-12 21:52:55 -04:00