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
bfb1fbe1fc
[decompiler] recognize more inlined vector functions ( #637 )
...
* detect vector+
* recognize reset
2021-06-27 12:11:30 -04:00
water111
b19a2c82f0
[decomp] detect vector-! inlined. ( #633 )
...
* fix flipped order
* format
* parser hack
* actually flip
* detect
2021-06-26 22:52:52 -04:00
water111
69e24ae577
recognize vector, matrix, quaternion constructors in a better way ( #630 )
...
* recognize vector, matrix, quaternion constructors in a better way
* fix bad bug
2021-06-26 18:30:35 -04:00
water111
1ffd42e090
[decomp] clean up and make level-update-after-load
work ( #628 )
...
* temp
* make level-update-after-load work
* add missing const
2021-06-26 13:03:31 -04:00
water111
490633d434
add countdown ( #627 )
2021-06-25 20:51:25 -04:00
water111
bfc1173ed5
Clean up files in kernel ( #625 )
...
* clean up gcommon
* cleanup kernel
2021-06-25 17:55:50 -04:00
water111
9e6dec9829
[decomp] make bg decompile ( #624 )
...
* make bg decopmile
* fix parent method call
2021-06-24 20:06:12 -04:00
Tyler Wilding
d54eb0b98d
decomp: entity-table
( #614 )
...
* decomp: `entity-table` done but problem with the label cast
* decomp: `entity-table`
* decomp: finalize `entity-table`
2021-06-23 23:29:24 -04:00
ManDude
997d5b57db
[memdump] Make it work on fields of type (array basic)
( #620 )
...
* use `std::function` for this because that's what you're meant to do
* [memdump] Analyze fields of type `(array basic)`
* fix test
* Massively simplify things.
2021-06-23 22:07:17 -04:00
Tyler Wilding
fc105e1f55
decomp: collide-frag
( #618 )
...
* decomp: Good portion of `collide-frag`
* decomp: Remove redundant method declarations for drawable types
* decomp: Finish `collide-frag`
Co-authored-by: water111 <48171810+water111@users.noreply.github.com>
2021-06-21 20:18:27 -04:00
ManDude
a123f02c32
[decomp] prepare for some files, fill in some types ( #617 )
...
* [mips disasm] don't multiply `vcallms` parameter by 8
* [decomp] prep some game loop files
2021-06-21 19:47:39 -04:00
Tyler Wilding
87961bdb3b
decomp: generic
( #611 )
...
* decomp: Fix casting issue with uint64's from static data
* decomp: `generic`
* add forward declaration
Co-authored-by: water111 <48171810+water111@users.noreply.github.com>
2021-06-20 16:02:15 -04:00
water111
4f8403d8e6
support type-ref ( #613 )
2021-06-20 12:59:39 -04:00
ManDude
46b83bda2a
[decomp] debug
( #607 )
...
* [decomp] `debug`
* shut up
2021-06-19 14:24:55 -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
water111
d79937fb62
Improve forward declaring types ( #596 )
...
* improve forward declare type
* display type differences
* make codacy happy
2021-06-15 21:03:55 -04:00
ManDude
928673cd13
[decomp] prepare joint
stuff ( #594 )
...
* [decomp] prepare `joint` stuff
* fix types
* fix a missing declaration
* update references
2021-06-14 23:45:21 -04:00
water111
0aa474f12b
[decomp] finish actor-link-h and a few more ( #592 )
...
* finish actor-link-h
* decompile files
* fix pp issue
2021-06-14 20:46:54 -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
water111
8faded6400
[decompiler] bitfield support for sound-name
( #582 )
...
* fix 64-bit fields in 128-bit bitfields
* support sound-name
* fix merge
* support some more sound stuff in overlord
2021-06-12 12:55:38 -04:00
ManDude
877e3d161c
[decomp] gsound
( #583 )
2021-06-12 10:48:38 -04:00
water111
50fbbc45aa
[decomp] start on actor-link-h
( #579 )
...
* wip
* fix tests
2021-06-11 19:04:47 -04:00
water111
92afd62e2c
[decompiler] fix missing casts issue ( #573 )
...
* fix casts issue
* fix bug
* one last small fix
2021-06-09 21:35:13 -04:00
water111
5b24e43143
Change syntax for boxed array to support different length and allocated-length ( #568 )
...
* change syntax for boxed array
* fix test and make the flava thing kind of work
2021-06-07 20:22:06 -04:00
water111
f516737cf7
[decompile] bsp-h ( #562 )
...
* decompile bsp-h
* a few more
* some more
* fix merge conflicts
2021-06-07 18:30:16 -04:00
ManDude
e0a15d5990
[decomp] yet even more res
( #565 )
2021-06-07 16:26:21 -04:00
Tyler Wilding
698d96cc4e
Decompilation: Next batch of files ( #539 )
...
* decomp: `collide-frag-h`
* decomp: `effect-control-h`
* decomp: `cam-update-h`
* decomp: `collide-func`
variable pass failed on ray-plane-intersect: invalid unordered_map<K, T> key
* decomp: `cylinder` with vector dot product issue
* decomp: `debug-sphere`
* decomp: `generic`
* decomp: fix `effect-control-h`
* scripts: improve decomp-next script
* decomp: Fix `debug-sphere` issues via type casting
* decomp: Add `collide-frag-h` to reference tests
* scripts: Add script to add a new reference test
* decomp: Add `cam-update-h` to reference tests
* goalc: Fix empty let removal issue
* decomp: Not adding cylinder to goal_src yet either
* decomp: Add `debug-sphere` to reference tests
* decomp: Attempt to finish `generic` but blocked by decomp issue
https://github.com/water111/jak-project/issues/563
* linting
* decomp: Resolve failing tests
* decomp: Address feedback
2021-06-06 23:01:30 -04:00
Tyler Wilding
c19bcd37aa
decomp: credits
( #533 )
...
* decomp: `credits` but there are still issues
* issues over creating a `new` `font-context`
* decomp: finalized `credits`
2021-06-06 19:57:40 -04:00
water111
fef7fad65a
[decompiler] process-drawable-h ( #561 )
...
* decomile process-drawable-h
* one more
2021-06-05 23:55:36 -04:00
water111
54f72e9b10
[decomp] joint-mod-h ( #560 )
...
* decompile joint-mod-h
* format'
* missing include
* fix test
2021-06-05 20:22:03 -04:00
water111
a572587a0e
add types ( #559 )
2021-06-05 16:58:32 -04:00
water111
2851cae13b
[decompile] fact-h ( #556 )
...
* decompile fact-h
* fix unused var
* codacy again
2021-06-05 11:15:34 -04:00
water111
542edfb164
[compiler/decompiler] Take the address of a variable ( #554 )
...
* support taking the address of variables
* partially working stack variables
* implement type cast stuff
* remove final
2021-06-04 13:43:19 -04:00
ManDude
9b905f903c
random clean-up ( #551 )
...
* clean-up various files, do `game-h` and `generic-obs-h`
* cleanup `smush-control-h`
* cleanup `collide-edge-grab-h`, `collide-mesh-h`, `collide-shape-h`
* [goal lib]organize minor things
* Fix a library command before I forget again
* fix
2021-06-04 13:22:50 -04:00
Tyler Wilding
2bfe13d0be
decomp: entity-h
, camera-h
, cam-update-h
and cam-interface[-h]
( #501 )
...
* waiting for `entity-camera` / `entity-ambient` issue
* stash
* add missing definitions
* decomp: `cam-interface`
* as far as i can get with `path-h`, how do you specify pointers on the stack?
* correction, no way these are just simple integers but `etype`is still a mystery...
* decomp: `camera-h` | `cam-interface` | `cam-interface-h` and `entity-h`
* revert change to `process` doesn't seem likely
2021-06-02 20:09:04 -04:00
ManDude
784119188c
[decomp] even more res
( #529 )
...
* [decomp] even more `res`
* [decompiler] make `logand` with pointers and constants return pointer
* [decomp] more work
* update offline tests
* fix tests(?)
* `*res-static-buf*`
* fixes
* fix reference
* [opengoal] make `logand` work directly with pointers
* [decomp] `inspect res-lump`
* use the inline methods
* don't use a math mode for pointers
* [compiler] allow optionally setting disassembly output file
* [x86 disasm] Keep casing consistent between instructions and offsets
2021-06-01 16:07:45 -04:00
water111
3d8013633a
[decompiler] Fix rlet in top level and detect matrix and stack inline construction ( #547 )
...
* top level in rlet
* detect matrix and vector inline 0
* pretty print the symbol map
2021-05-31 18:14:18 -04:00
water111
b1a76b2291
[decomp] Small fixes ( #541 )
...
* fix a few bugs
* fix local vars missing in top level
* more small fixes
* support missing inline array access case
* one more fix
2021-05-30 19:57:11 -04:00
Tyler Wilding
c910a22c1b
decomp: a bunch of files ( #532 )
...
* decomp: `eye-h`
* decomp: `projectile-h`
* decomp: `sky-utils`
* decomp: decompile `water-h` and add `smush-control-h` to ref tests
* decomp: `task-control-h`
2021-05-28 20:11:06 -04:00
Tyler Wilding
fb939726e8
decomp: Decompile ripple
( #512 )
...
* decomp: Decompile `ripple`
* decomp: Finish decompiling `ripple`
* update necessary src files
2021-05-26 19:40:12 -04:00
ManDude
ec45182b42
[decomp] more of res
+ change a few macros ( #527 )
...
* disable asan for windows because it is too slow
* add `deref` and `&deref` macros, change `case` construct
* update `res`
* update `case` usages
* Fix some `res` methods
* `res-lump` method 9
2021-05-25 16:36:36 -04:00
water111
d719bf5677
[decompiler] support break ( #516 )
...
* support break
* finish implementation of break, decomp method 19 of res
2021-05-23 20:16:34 -04:00
ManDude
6ac399ca33
decomp some of res
to get started ( #439 )
...
* decomp some of `res` to get started
* update scripts
2021-05-21 10:41:50 -04:00
water111
663b5c7899
[OpenGOAL] Support for 128-bit arguments and return values (WIP) ( #510 )
...
* xmm call and return working, needs some careful double checking and tests
* clean up and test
2021-05-20 20:12:49 -04:00
Tyler Wilding
174a079dbd
decomp: Decompile stats-h
( #504 )
...
* decomp: Decompile `stats-h`
* linting
2021-05-20 13:53:19 -04:00
Tyler Wilding
ce6ebc385c
decomp: decompile trajectory
( #499 )
...
* decomp: decompile `trajectory`
* address review feedback
* some more corrections
2021-05-18 21:50:08 -04:00
water111
a6258f3654
[compiler] support 128-bit bitfields ( #500 )
...
* support setting and accessing fields of a 128-bit bitfield
* remove print
* rework static constants
* support 128-bit bitfields as part of static structures
* dynamic construction
2021-05-18 21:25:29 -04:00
water111
ec412c7777
[decomp] ramdisk, load-dgo and rpc-h ( #496 )
...
* decompile ramdisk load-dgo and rpc-h
* add a bunch of offline tests
* clang-format
2021-05-16 21:07:22 -04:00
Tyler Wilding
b75a64fc29
(init-vf0-vector)
to make vector code a bit more readable (#494 )
...
* decomp: Use a macro for loading VF0 (maybe should be in goal-lib.gc?)
* update references
* lint: format
* delete now unused file
2021-05-16 13:49:24 -04:00
Tyler Wilding
bf6e9fc9e9
decomp: Decompile transformq
( #492 )
...
* decomp: type changes for `transformq`
* decomp: decompile `transformq`
* address feedback
2021-05-16 12:43:50 -04:00
water111
79d10979da
[decomp] math-camera
( #491 )
...
* decompile math camera
* missing line
2021-05-15 20:08:08 -04:00
Tyler Wilding
af2836c452
decomp: Decompile aligner-h
( #490 )
...
* scripts: Automatically re-decompile if all-types is modified
* decomp: `aligner-h`
* remove inspect method
2021-05-15 19:42:23 -04:00
water111
613efbd768
[decomp] transformq-h, clean up trig, and offline test for trig ( #485 )
...
* clean up
* fix store vf fallback errors
2021-05-15 10:38:14 -04:00
Tyler Wilding
790e65a78c
decomp: Decompile wind
( #480 )
...
* decomp: Decompile `wind`
* include `<limits>`
2021-05-13 20:46:37 -04:00
water111
0ab916e122
fix quote issue and decompile level-info ( #474 )
2021-05-12 21:57:19 -04:00
ManDude
7d69311552
[decomp] some of fact-h
( #473 )
...
* update scripts
* decomp some of `fact-h`
2021-05-12 21:45:36 -04:00
water111
129ab54fd4
[decompiler] clean up if/when/cond and recognize define-perm ( #472 )
...
* clean up if and when and cond decisions
* recognize define perm
2021-05-12 19:46:17 -04:00
Tyler Wilding
3897258753
decomp: mood-tables
( #460 )
...
* decomp: Decompile `mood-tables`
* decomp: Cleanup `mood-tables` and add REF file
* all-types cleanup
* decomp: Add missing float types (that may be optional now)
* linting / formatting
2021-05-12 19:33:29 -04:00
Tyler Wilding
4c788b7f50
Decompilation: shadow-h
and target-h
( #428 )
...
* decomp: `target-h`
* decomp: `shadow-h`
* decomp: Add reference / source files
* Use `define-perm` in goal_src file
2021-05-11 00:01:37 -04:00
water111
62dfa1bf07
[TypeSystem] add heap-base property to types ( #431 )
...
* support heap base in the type system
* lock around modification of status
2021-05-09 19:40:36 -04:00
Tyler Wilding
2a315419de
tests: Automate the offline reference tests better ( #427 )
...
* tests: Move all files to new directories
* scripts: Update decomp scripts
* tests: Remove hard-coded list for offline tests
* linting
2021-05-09 17:03:58 -04:00
Tyler Wilding
971e0e3e24
decomp: pov-camera-h
and hud-h
( #425 )
...
* decomp: `pov-camera-h`
* decomp: decompile `hud-h` and update offline tests
* linting
2021-05-07 22:56:37 -04:00
Tyler Wilding
73a4f2c83e
decomp: lights.gc
( #420 )
...
* scripts: Hack script to quickly identify the next goal_src file that hasn't been decomp'd yet
* config: Delete old type_hints file
* decomp: Decompile lights.gc
* decomp-tests: Add offline tests and temporary forward defs
* vs: Rename / add new offline test run config
* decomp: Add formatted lights.gc source
* decomp: Temporary define stub in geometry,gc
* decomp: Cleanup `lights-group` handling
2021-05-07 20:54:20 -04:00
ManDude
cc3f8ffbf5
[decomp] headers for generic, mercneric, tieneric, merc, cpu shadow renderers, art, joint and bone ( #424 )
...
* decomp a bunch of renderer files
* fixes
2021-05-07 00:41:42 -04:00
ManDude
812efd92ca
[decomp] prototype-h
, a few enums and other random things ( #422 )
...
* [decompiler] fix missing error in asm output
* decomp prototype-h, cleanup pat-h and res-h, prep for fact-h & res
* fix types
* Update all-types.gc
* fix a methos in `res-h`
2021-05-06 19:00:30 -04:00
water111
21fefa0aaa
[decompiler] small fixes for methods and more reference tests ( #419 )
...
* clean up method stuff, fix a few small bugs, and add references for easy -h files
* more small fixes and reference tests
2021-05-06 00:42:49 -04:00
water111
0a6602e320
[Decompile] connect, text-h, settings-h, capture, memory-usage-h ( #410 )
...
* decompile stuff
* temp
* temp2
* fix
* temp
* preparing for merge
* working
* fix stupid format
* fix codacy
2021-05-05 17:38:16 -04:00
ManDude
8d99bee88c
[decompile] decomp time-of-day-h
, fix mood-h
, update sky-h
, make art-h
almost work ( #415 )
...
* [decompiler] make certain floats decompile to constants
* update various types in `mood-h`, `time-of-day-h` and `art-h`
* fix `time-of-day-context`
* add some offline tests
* make `new-dynamic-structure` decompile at least
* formatting
* Update all-types.gc
* Update all-types.gc
2021-05-04 21:36:22 -04:00
ManDude
2beaa7a340
[decomp] cleanup drawable and ocean stuff ( #414 )
...
* use `kmalloc-flags` for goal `kmalloc`
* cleanup some drawable stuff, add offline tests
* cleanup generic-h a bit
* make decompiler work on 16-bit static data
* cleanup ocean stuff
* fix `ocean-spheres`
* oops forgot this
* I forgot to actually make `ocean-tables`
2021-05-03 08:54:49 -04:00
ManDude
7cb04c6cd5
[decomp] font-h, fix a vector type, minor decompiler fixes ( #411 )
...
* Make `:do-not-decompile` work on field lookup as well
* decompile `font-h` and update a vector type + minor fixes
* fix some types
* fix font-h
* fix font-h (again)
* update a script
* fixes
* Fix segfault
* Fix `PROT_NONE` page protection on windows
2021-05-01 21:09:48 -04:00
water111
7018827a50
decompile display ( #408 )
2021-05-01 15:51:53 -04:00
ManDude
8cc63ff35c
Add a debug PS2 VM to the runtime ( #401 )
...
* update VS launch target params
* remove redundant VS launch option
* Add a debug PS2 VM to the runtime, currently only for the DMAC
* Formatting
* remove broken assert
* Avoid weird buffer overflow bug
* Test on `VIF0_DMA_BANK`!
* Add a docstring
* patch pointers for the other dma channels
* patch DMAC pointer
* remove dead leftover code
* Change default return value for `get_vm_ptr`
2021-05-01 00:32:19 -04:00
water111
56625bb0ee
Make buttons a bitfield and fix let bug ( #399 )
...
* make pad buttons bitfields
* fix stupid let bug
* update tests
2021-04-29 20:25:45 -04:00
water111
70d93354eb
[Decompile] file-io, loader-h, texture-h, level-h, math-camera-h ( #397 )
...
* file-io and loader-h
* add test for level-h
* math camera-h
2021-04-28 20:51:17 -04:00
water111
14028b90bc
[Decompile] vector.gc (finally) ( #394 )
...
* support psubw
* do half of vector
* rest of vector
* add test
* format
2021-04-28 17:14:54 -04:00
water111
53a70d8e43
clean up display-h ( #392 )
2021-04-27 19:40:14 -04:00
water111
3d2ca71fe3
[Decompile] pad and gs ( #389 )
...
* update stuff
* gs reference added
* update config
2021-04-26 21:40:08 -04:00
ManDude
8619e6df19
Fix gs-bgcolor
and display-frame
+ decompiler types ( #390 )
2021-04-26 08:44:13 -04:00
water111
2002db359a
[Decompiler] WIP: Stack Spills ( #382 )
...
* set up types
* cleaned up type analysis and got things working through atomic ops
* expression working, need types
* improved types and names
* getting close
* finish up dma-disasm
* fix
2021-04-25 14:48:54 -04:00
water111
fa122356ec
[Decompiler] Fixes for dma-disasm ( #377 )
...
* small tweaks
* fix up some more dma stuff
2021-04-23 20:29:15 -04:00
water111
060b125324
[Compiler/Decompiler] Better support for Bitfield and Enum types ( #374 )
...
* compiler fixes, a decent amount of decompiler stuff is working too
* more support in decompiler, fix some casts
* decompile static data too
2021-04-22 19:08:58 -04:00
ManDude
26accb8714
Fix +1
macros to 1+
and update some timer types ( #375 )
...
* Correct `+1` macros to `1+`
* update some `timer-h` types
2021-04-22 18:31:54 -04:00
ManDude
0560136f08
Allow enum names to serve as types (using the enum's type) ( #372 )
...
* Allow enum names to serve as types (using the enum's type)
* Formatting
* add doc to `get_enum_type_name`
* Ban enum forward-declaring, and remove unneeded checks
2021-04-19 20:29:38 -04:00
water111
c09e18f3a7
Fix stack new and add size-of to compiler ( #370 )
...
* make decompiler output stack-no-clear
* add size-of
2021-04-18 19:51:15 -04:00
water111
7737817ac7
[Decomp] Fix bitfields in dma-bucket ( #367 )
...
* fix bitfields in dma-bucket
* fix dma-bucket
2021-04-18 12:08:08 -04:00
water111
9867155e7c
[Decompiler] More support for bitfields ( #363 )
...
* temp
* initial support for dynamic bitfields
* some more progress on display
* dma-buffer good
* small fixes
2021-04-17 18:35:50 -04:00
ManDude
ab6a40a352
Add string-format
macro for in-place formatted strings ( #364 )
...
* Add `string-format` macro for in-place formatted strings
this will be very useful for debugging and just making new strings in general
* add a warning to `string-format` about recursive usage
* clarify warning
2021-04-17 18:00:39 -04:00
ManDude
496f8a3fbb
Add case
macro for switch-case constructs ( #362 )
2021-04-16 21:50:38 -04:00
ManDude
9fbbe1a79c
prepare for decompiling display ( #359 )
...
* prepare for decompiling display
Needs some work on the decompiler (mostly bitfield stuff) before a more proper decomp can be done
* make `(profile-bar draw)`, `set-display-gs-state-offset` and `set-display-env` decompile
decompiler should now support unsigned divide
* fill in some dma-h types
* Fill in a few VIF bitfields + other minor fixes
* Update all-types.gc
* Fix stupid mistake in `vif-mask`
* update dma-h reference
* this uint32 is actually a `vif-tag` (oops)
2021-04-16 18:36:19 -04:00
ManDude
8b62de35ea
[texture-h] fixes ( #356 )
...
* move commonly used scripts to specific folders
* fixes
* Update test.sh
* Update test.sh
* Fix file permission
* move commonly used scripts to specific folders
* fixes
* Update test.sh
* Update test.sh
* Fix file permission
* [texture-h] fixes
* [display-h] use bitfield types
2021-04-13 20:22:34 -04:00
ManDude
fcbf5b60ff
[gs] fill in most of the register types ( #355 )
...
* [gs] fill in most of the register types
that was kinda boring to do
* [display-h] minor decompiler fixes
* Update all-types.gc
2021-04-13 00:36:05 -04:00
water111
e5f0fecf17
[Decompiler] bitfield support and clean up of DMA ( #350 )
...
* get to vif
* support basic bitfield access
* make bitfields in dma work
* clean up dma
* fix merge conflict
2021-04-11 16:07:01 -04:00
ManDude
64ae2d6d39
[decomp] sync-info 1 ( #351 )
...
* move commonly used scripts to specific folders
* fixes
* Update test.sh
* Update test.sh
* Fix file permission
* move commonly used scripts to specific folders
* fixes
* Update test.sh
* Update test.sh
* Fix file permission
* [dynamics-h] clean-up
* make things neat
* update surface-h
* [sync-info] decomp 1
* move commonly used scripts to specific folders
* fixes
* Update test.sh
* Update test.sh
* Fix file permission
* move commonly used scripts to specific folders
* fixes
* Update test.sh
* Update test.sh
* Fix file permission
* [sync-info] update decomp
* Update gravity-h.gc
* [windows] separate scripts for runtime w/ or w/o display
* Update dynamics-h.gc
* Add offline test for sync-info
* clang
2021-04-10 21:17:36 -04:00
water111
9969445cf7
[Decomp] Math library: transform and quaternion ( #344 )
...
* decompile transform
* types for quaternion
* part of quaternion
* finish quaternion
* fix offline test reference
* wip fix to let issue
* fix
2021-04-02 11:35:14 -04:00
ManDude
7867de8fd7
update some physics code ( #347 )
...
* move commonly used scripts to specific folders
* fixes
* Update test.sh
* Update test.sh
* Fix file permission
* move commonly used scripts to specific folders
* fixes
* Update test.sh
* Update test.sh
* Fix file permission
* scripts to annoy me less
* [dynamics-h] clean-up
* make things neat
* more cleanup
* update surface-h
* fix error
* fix typo
* Spoonfeed the compiler
* [surface-h] rename sqrt to sqrtf
2021-03-29 18:30:58 -04:00
water111
0a76e6e157
[Decompiler] Make matrix decompile ( #341 )
...
* small fixes
* update
* add instructions
* finish matrix
* add matrix test cases
2021-03-28 20:26:30 -04:00
water111
64c35ca453
[Decompiler] Stack Variables ( #338 )
...
* clean up type analysis
* get everything set up
* basic stack variables working
* partial load fix
* most of matrix
* add offline tests
2021-03-27 15:18:59 -04:00
water111
7fac11ddf5
Support 128-bit variables ( #336 )
...
* wip 128 bit support
* add a few more files to offline test
2021-03-25 16:02:48 -04:00
water111
99683c0dac
[decompiler] Add tests and fixes for vector-h and math ( #333 )
...
* before messing with ssa stuff
* fix ash
* bounding box
2021-03-24 19:16:31 -04:00