water
b85ee3a3a5
fix possible bug in direct renderer
2021-08-10 22:13:34 -04:00
water
2b7a8d8880
another fix
2021-08-10 21:46:12 -04:00
water
df94e948bb
more fixes
2021-08-10 21:31:15 -04:00
water
fb006492c5
build fix
2021-08-09 22:05:07 -04:00
water
9495e91259
online tests pass
2021-08-09 21:54:40 -04:00
water
f700438d01
fix merge issues
2021-08-09 21:42:05 -04:00
water
40ecd92272
Merge branch 'master' of https://github.com/water111/jak-project into w/dma-for-font
2021-08-09 21:41:25 -04:00
ManDude
a850b5d5cb
revamp the gfx+display systems a bit ( #739 )
...
* revamp gfx and display systems a bit
* Use some fancy c++ pointers instead of just raw pointers
* Tidy some things up.
* clang
* clang 2
* fixes
* fixesss
* error detection when making display
2021-08-09 19:16:39 -04:00
water
ee6639b4f7
fix texture filter
2021-08-09 18:59:47 -04:00
water
b4846f0491
hook up profiler
2021-08-08 21:50:34 -04:00
water
0dfe6a169d
fonts and stuff work
2021-08-08 20:46:14 -04:00
water
124003f5f2
store texture in pool
2021-08-08 15:46:34 -04:00
water
f25b0f0de2
some clean up
2021-08-08 13:20:54 -04:00
water
54301a36be
texture decoding
2021-08-08 13:12:44 -04:00
water
66f95d3c8a
text working with no textures
2021-08-07 21:16:44 -04:00
water
ef6204e353
closer
2021-08-07 18:57:13 -04:00
water
d1674ea9b6
wip
2021-08-06 22:30:02 -04:00
water
821c2ab42a
display loop runs
2021-08-04 21:30:08 -04:00
water111
ef011f4fe8
[goalc] add a build system ( #704 )
...
* add first attempt at build system
* fix stupid bug
* try again
2021-07-15 21:37:15 -04:00
water111
656489e942
[decomp] Clean up - part 2 ( #687 )
...
* temp
* temp2
* basic case support
* working for or without else
* support more cases
* clean up to drawable headers
* ocean
* format json
2021-07-11 16:35:25 -04:00
water111
1898c7c52a
[decomp] texture ( #684 )
...
* temp
* more cleanup
* fix merge issue
* handle no texture correctly
2021-07-09 22:20:37 -04:00
water111
a81aef889a
Level load test ( #656 )
...
* tweaks for loading VI1
* temp
* clean up
2021-06-30 19:20:31 -04:00
ManDude
1af0f4a1a7
[decomp] most of level and some game loop functions + couple decomp… ( #651 )
...
* [decomp] most of `level` and some game loop functions + couple decompiler fixes
* add ART.CGO to fake-iso
2021-06-29 20:30:52 -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
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
water111
a572587a0e
add types ( #559 )
2021-06-05 16:58:32 -04:00
Ziemas
62877ed4f3
Overlord: Music tweak struct. ( #509 )
2021-05-20 18:10:27 -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
water111
53a7d6512f
lock when modifying components ( #475 )
2021-05-12 22:44:58 -04:00
ManDude
fef9b139d7
Force-enable assert on release mode Windows build ( #440 )
2021-05-10 23:03:56 -04:00
ManDude
370ac4f64a
Change VM dying logic to prevent deadlocks ( #433 )
2021-05-10 00:00:50 -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
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
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
fe336b7b5f
[compiler] fix warnings in repl lib and add macros to autocomplete ( #317 )
...
* fix warnings in repl lib and add macros to autocomplete
* fix crash on ctrl-c, build runtime as static lib and make goos prompt look fancier
* some tweaks for linux build
2021-03-11 12:54:16 -05:00
ManDude
9430b4772a
Implement runtime display (test) ( #318 )
...
* Implement runtime display (test)
* Update runtime.cpp
* [game display] add "-nodisplay" argument
* style fixes
* Update gfx.cpp
* [deci2server] fix deadlock when killing a Deci2Server
* add libxrandr to linux github test
* correct package name to libxrandr-dev
* set g_main_thread_id in exec_runtime
* add libxinerama to linux test packages
* correct the name
* add libxcursor1 package
* Update linux-workflow.yaml
* add libxi-dev
* fix constructor for g_main_thread_id
* fix submodules + use -nodisplay during tests
* move the gfx loop to its own function and use a lambda for exit conditions
* fix include
* fix include
* fix includes (for real this time)
2021-03-09 23:51:28 -05:00
water111
9074a35b9b
[Decompiler] Fix printing of lets ( #314 )
...
* fix let prints and windows warnings
* missing include for windows
* windows again
2021-03-07 12:01:59 -05:00
water111
9d3b056b7a
Fix asize bug, decompile a few files ( #293 )
...
* fix bug in asize of basic
* more decomp
2021-02-28 18:05:07 -05:00
water111
5ec9a91eb9
Decompiler fixes + decompiling ( #276 )
...
* decomp pad
* more decompilation
* update
* fix test name
2021-02-22 09:36:30 -05:00
water111
4b1b7e9507
[Decompile] DMA and similar ( #275 )
...
* add some dma
* clean up
* add progress script and make codacy happy
2021-02-21 11:02:28 -05:00
water111
8775840265
[Decomp] Decompile engine math library types ( #272 )
...
* decompile some stuff
* fix typo
* playing around with trigonometry
* more progress on trig
* more trig
* comments and small fixes
* finish trig
2021-02-20 11:42:46 -05:00
water111
f1a93886e7
[Decomp] Decompile gstring ( #267 )
...
* decompile gstring
* update
* Update code_status.md
* Update code_status.md
* decompile gstate
* add test for states, hope it passes
* also test throw and catch xmms
* update doc
2021-02-16 20:37:48 -05:00
water111
e01e065170
[gcommon decomp] compiler and decompiler fixes ( #239 )
...
* wip
* decompile file-io
* a
* fix
2021-02-07 18:21:00 -05:00
bb010g
2436a8a541
Nixpkgs support ( #228 )
...
* Use env shebangs
* CMake cleanup, install() invocations, & CTest
`ctest` & the `test` target work now
* Nixpkgs support
2021-02-03 21:29:46 -05:00
doctashay
e8ad91a454
Arch fixes ( #199 )
...
* Change declaration case
Arch Linux is so very picky...
* Remove spdlog (?)
2021-01-17 21:37:08 -05:00
water111
3331e9cd00
Replace spdlog ( #185 )
...
* remove spdlog
* clang format and fix windows
* add format shared
* windows sucks
2021-01-06 12:16:39 -05:00
Tyler Wilding
69f7f46477
Add Address Sanitizer support to MSVC and CMake ( #182 )
...
* msvc: Add Address Sanitizer
https://devblogs.microsoft.com/cppblog/addresssanitizer-asan-for-windows-with-msvc/
* cmake: Add Address Sanitizer
* docs: Update ReadME
* see if we can replicate the test failure
* windows fixes maybe
* cmake: Compile with gcc and clang (only coverage on
* hacky try again
* clean up
* fix clang issues
* linting
Co-authored-by: water <awaterford111445@gmail.com >
2021-01-04 23:32:51 -05:00
water111
95c81b675a
add asan build ( #179 )
2021-01-03 12:31:42 -05:00
water111
c8d382b35c
[Compiler] Improve spills and register backups ( #175 )
...
* xmm spill
* improve getting stack variables
* improve symbol getting
* update changelog
2020-12-31 15:59:11 -05:00
water111
4d713d5c8c
[Runtime] misc fixes to runtime and listener ( #170 )
...
* misc runtime fixes
* clang format
2020-12-28 18:37:05 -05:00