mirror of
https://github.com/open-goal/jak-project
synced 2026-06-30 11:51:55 -04:00
a7eee4fdc9
* fix typo * more typo * shorten discord rpc text * allow expanding enums after the fact (untested) * make `game_text` work similar to subtitles * update progress decomp * update some types + `do-not-decompile` in bitfield * fixes and fall back to original progress code * update `progress` decomp with new enums * update config files * fix enums and debug menu * always allocate (but not use) a lot of particles * small rework to display mode options * revert resolution/aspect-ratio symbol mess * begin the override stuff * make `progress-draw` more readable * more fixes * codacy good boy points * first step overriding code * finish progress overrides, game options menu fully functional! * minor fixes * Update game.gp * Update sparticle-launcher.gc * clang * change camera controls text * oops * some cleanup * derp * nice job * implement menu scrolling lol * make scrollable menus less cramped, fix arrows * make some carousell things i guess * add msaa carousell to test * oops * Update progress-pc.gc * make `pc-get-screen-size` (untested) * resolution menu * input fixes * return when selecting resolution * scroll fixes * Update progress-pc.gc * add "fit to screen" button * bug * complete resolutions menu * aspect ratio menu * subtitles language * subtitle speaker * final adjustments * ref test * fix tests * fix ref! * reduce redundancy a bit * fix mem leaks? * save settings on progress exit * fix init reorder * remove unused code * rename goal project-like files to the project extension * sha display toggle * aspect ratio settings fixes * dont store text db's in compiler * properly save+load native aspect stuff
40 lines
1.1 KiB
Common Lisp
40 lines
1.1 KiB
Common Lisp
;;-*-Lisp-*-
|
|
(in-package goal)
|
|
|
|
;; name: shadow-h.gc
|
|
;; name in dgo: shadow-h
|
|
;; dgos: GAME, ENGINE
|
|
|
|
|
|
(deftype fake-shadow (structure)
|
|
((px float :offset-assert 0)
|
|
(py float :offset-assert 4)
|
|
(pz float :offset-assert 8)
|
|
(scale float :offset-assert 12)
|
|
(qx float :offset-assert 16)
|
|
(qy float :offset-assert 20)
|
|
(qz float :offset-assert 24)
|
|
(flags int32 :offset-assert 28)
|
|
)
|
|
:pack-me
|
|
:method-count-assert 9
|
|
:size-assert #x20
|
|
:flag-assert #x900000020
|
|
)
|
|
|
|
(deftype fake-shadow-buffer (basic)
|
|
((num-shadows int32 :offset-assert 4)
|
|
(data fake-shadow 32 :inline :offset-assert 8)
|
|
)
|
|
:method-count-assert 9
|
|
:size-assert #x408
|
|
:flag-assert #x900000408
|
|
)
|
|
|
|
(define *fake-shadow-buffer-1* (new 'global 'fake-shadow-buffer))
|
|
(define *fake-shadow-buffer-2* (new 'global 'fake-shadow-buffer))
|
|
(define *fake-shadow-buffer* *fake-shadow-buffer-1*)
|
|
|
|
(define-extern swap-fake-shadow-buffers (function none))
|
|
|
|
(define-extern find-ground-and-draw-shadow (function vector vector float collide-kind process-drawable float float none)) |