currently builds a "Metaforce" apk, will need to change name of course. Running the apk using Android Studio's emulator can get in game, however running on a samsung phone does not seem to work.
* CI attempt
* syntax
* fix cmake for linux
* fix include directories and merge main
* fix PDB fighting
* fix gcc compiling
* fix SSCACHE for windows
* try and fix gcc
* more CI presets
* remove the android target for now
* bump cmake minimum to fix debug information format
* yet another attempt at fixing gcc
* yet another attempt at fixing gcc
* better CI matrixing
* yet another attempt at fixing GCC
* fix arm
* fix CI
* placeholder icons
* compile dawn from source for windows arm64
* fix icons and linker warnings
* fix cmake
* fetch libjpegturbo
---------
Co-authored-by: Luke Street <luke@street.dev>
* Build "game" as a static library
This effectively renames the "game" lib to game_base, builds it and
game_debug as object libraries, and links both into a single static
library. There is also some refactoring done to remove the game_base's
dependencies on game_debug's compile-time parameters which have now
been moved into shared buildscript variables.
* Fix build
---------
Co-authored-by: PJB3005 <pieterjan.briers+git@gmail.com>
Roughly inspired by what I've learned from my work on Space Station 14, without some of the unnecessary cruft and complexity.
Implementation is relatively simple once I figured out all the template order shenanigans.
THPs are *almost* just a bunch of JPEGs so the TL;DR is BE fixes and replacing the decoding with libjpeg-turbo.
Needs changes to thp.h which should be removed from Aurora, will do that later.
Also audio not implemented yet.
* launch.json cwd
* bodge to load gci for testing
* stub card stat
* gameplay bodges
* viewport, ub fixes
* add release with debug info cmake variant
* be fixes, sound stub
* viewport h
* d_msg_flow BE
* be fopAcM_createItemFromEnemyID
* update launch configuration to use iso
* more audio stubs
* Attempt to set viewport and get messages for brightness check
* skip opening scene again, fixed JMessage::TResourceContainer::TCResource::Do_destroy
* add guards for viewport changes
* moar endian swapping to get Link sitting in PROC_OPENING_SCENE and for dialogues
* BE d_msg_class i_data
* stub bgm start
* fix div by 0 error (for now)
* TEMP_BROKEN in d_menu_ring
* REQUIRES_GX_LINES
* properly stub renderingAmap::draw with REQUIRES_GX_LINES
* better stubbing outside of stubs
* fix event data getting swapped multiple times
* evil draw vp fix
* Stub log imgui
This redirects all spammy logs to an imgui window that is cleared per frame.
This fixes the serious performance dip of the logging, and makes the regular log readable.
* Oops move those optimization changes I accidentally committed behind a flag
DUSK_SELECTED_OPT
* gx_line macro in map
* fix audio stubbing
* switch to CARD API aurora impl
* remove kabufuda from link libs
* refactor imgui stuff and add input viewer
* merge stub log with refactor
* accidentally committed a metaforce header shh
* basic map loader
* ImGuiConsole: Add missing <thread> include
* you may now play as luigi (you may now load stages with bridges)
* bloom fix
* bloom leak fix
* cloud shadow fix
* add soft reset button to imgui menu
* if it broke dont not fix it
* i swear i committed this
* BE swap indMtx in JPAResource::setPTev
* wnark ct fix
* frsqrte implementation from kinoko
* Fix Clang compile error in JAISeq::prepare_getSeqData_
* Add endian conversions to dMsgFlow_c::getInitNodeIndex
This fixes a freeze when Fado tries to stop you from leaving the
starting area.
* Add RAII GXTexObj wrapper; fix almost all leaks
* Update aurora for indirect texturing
* Update aurora for CARD fix
* Fix Clang build
* More d_msg_flow endian fixes
Fixes softlock when trying to talk to Fado and possibly other NPCs.
* no frame limiter
* get pause menu working
* proper frame limiting
* particle pointer size fix
* improve map loader a bit
---------
Co-authored-by: Jasper St. Pierre <jstpierre@mecheye.net>
Co-authored-by: TakaRikka <takarikka@outlook.com>
Co-authored-by: CraftyBoss <talibabdulmaalik@gmail.com>
Co-authored-by: Luke Street <luke@street.dev>
Co-authored-by: Lurs <l_werdes@gmx.de>
Co-authored-by: PJB3005 <pieterjan.briers+git@gmail.com>
Co-authored-by: tgsm <doodrabbit@hotmail.com>
Co-authored-by: Max Roncace <me@caseif.net>
Co-authored-by: Phillip Stephens <antidote.crk@gmail.com>
* Undo array allocation changes from #43
Doesn't work
* Expand dmeter heap sizes, give names
* Fix manual operator delete call in resource.cpp
* Disable map rendering for now
Aurora can't handle lines
* Re-enable assert heap on DVD thread
Should be fine?
* Some basic debug groups with the new Aurora API
* Allow Aurora backend to be set via CLI
* Give materials debug groups
* More debug groups
* JKRHeap separation: array edition
Pain