Commit Graph

3628 Commits

Author SHA1 Message Date
Luke Street 93eca39a31 CIntEmitter: Updates from matching decomp 2022-10-09 12:42:53 -04:00
Phillip Stephens 1758ea076d CPlayerGun and CLight fixes 2022-10-06 07:25:26 -07:00
Luke Street 1f3e001f68 CMoviePlayer: Quick anti-epilepsy hack 2022-08-30 01:26:43 -04:00
Luke Street 51d8b90929 CGX: Add operator!= for GXColor 2022-08-29 12:44:40 -04:00
Luke Street bc6cd8627b CTexture: Fixes for LoadMipLevel 2022-08-29 12:44:31 -04:00
Luke Street 9f874e6731 Wrap NFD::Init/Quit in ifdef; update aurora 2022-08-29 09:35:25 -04:00
Luke Street 49362ef591 Replace nativefiledialog with nativefiledialog-extended 2022-08-28 14:06:58 -04:00
Luke Street 148e9e4bd8 Runtime: Correct TCastTo<CAi> to TCastTo<CPatterned> 2022-08-16 17:48:26 -04:00
Luke Street 9d5db8ea16 CActor: Don't recalculate world lighting always 2022-08-15 18:51:45 -04:00
Luke Street c883e5f1ac CTevCombiners: Discovered TEV pass names 2022-08-15 18:50:20 -04:00
Luke Street 279ad54264 CActor: Remove sound emitter on destroy 2022-08-15 09:56:28 -04:00
Phillip Stephens 7ef204c552 Merge branch 'new-cmodel' of ssh://git.axiodl.com:6431/AxioDL/metaforce into new-cmodel 2022-08-11 08:56:26 -07:00
Phillip Stephens abc7fdd3f0 Update aurora 2022-08-11 08:55:46 -07:00
Luke Street 1193bab7e4 Use Left Alt for ImGui toggle 2022-08-09 18:29:12 -04:00
Luke Street 5b6744e188 Restore graphics backend switching 2022-08-09 18:28:42 -04:00
Luke Street d1bcc1d8b5 CGraphicsPalette: Use GXDestroyTlutObj 2022-08-09 18:27:33 -04:00
Luke Street cd16431d36 ITweakPlayerGun: Default-init SShotParam flags 2022-08-09 14:11:15 -04:00
Luke Street 54ad0c5933 CGameArea: PostConstructArea fix #2 (oops) 2022-08-09 02:50:11 -04:00
Luke Street ff64acad67 CGameArea: PostConstructArea fixes for lights 2022-08-09 02:48:29 -04:00
Luke Street 976aebef24 CMain: Show message on fatal aurora log 2022-08-09 02:11:23 -04:00
Luke Street ae0f62c021 Use GXCopyTex; various implementations
- Fix CTexture::LoadMipLevel
- Fix boid rendering for CFishCloud, CSnakeWeedSwarm, CWallCrawlerSwarm
- Update aurora
2022-08-09 02:10:51 -04:00
Luke Street e2fbc0663f Update submodules; changes for emscripten support 2022-08-03 18:19:57 -04:00
Luke Street 324d89693c Update aurora; CMoviePlayer fixes 2022-07-31 17:03:15 -04:00
Luke Street 94645de53e Use new VI methods from Aurora 2022-07-29 16:46:51 -04:00
Luke Street 1e9d96c906 Migrate to aurora submodule 2022-07-29 16:17:24 -04:00
Luke Street 0789f28aac CFlyingPirate: Minor cleanup 2022-07-29 16:17:11 -04:00
Luke Street 8f389e246c Some WIP implementations 2022-07-29 16:17:10 -04:00
Phillip Stephens bb7d6d4855 Fix CActor's *SplashInhabitant logic 2022-07-02 17:05:49 -07:00
Phillip Stephens ec9e0bfc0f Implement FlatDraw/DrawFlat calls, add CRandom16 seed value display 2022-07-02 16:16:33 -07:00
Luke Street 52e9afbe98 CCubeRenderer: Implement DrawModelDisintegrate 2022-07-02 13:18:54 -04:00
Luke Street d8f4f522f2 CCameraFilter: Implement DrawRandomStatic 2022-07-02 12:39:14 -04:00
Luke Street 8bb2f33a45 CCubeRenderer: More function implementations 2022-07-01 20:47:45 -04:00
Luke Street b55c7ebbe4 CPlayerGun: Reimplement transition effects 2022-07-01 20:47:06 -04:00
Luke Street ddf7a1b48d CCubeRenderer: Fix conditional in DrawAreaGeometry 2022-07-01 00:20:43 -04:00
Luke Street fc742782a8 aurora: Blend mode & palette fixes
More complete thermal visor rendering
2022-07-01 00:00:29 -04:00
Luke Street ee3902db58 CCubeRenderer: Fix missing calls in DrawAreaGeometry 2022-06-29 20:56:30 -04:00
Luke Street 25a0fe4a73 Final(?) GCC 9 fixes 2022-06-13 15:51:52 -07:00
Luke Street f0936a7fb0 ci: More macOS bundle fixes 2022-06-13 17:05:28 -04:00
Luke Street 30802a447f More GCC 9 fixes 2022-06-13 03:55:50 -04:00
Luke Street ce14e1c2aa ci: macOS bundle fixes 2022-06-13 03:55:12 -04:00
Luke Street 22417bcd75 GCC 9 fixes: Replace all default equality operators 2022-06-13 02:26:18 -04:00
Luke Street 2380361d16 Workaround logvisor path issue 2022-06-13 01:46:01 -04:00
Luke Street 01e887e8a3 Build fixes
- Fix WIN32 issue in CMain
- Remove usages of spaceship operator for GCC 9
2022-06-13 01:33:41 -04:00
Luke Street 5fb8b1237e Store last game path; CVar updates & more 2022-06-13 01:18:30 -04:00
Luke Street 97357146f5 Add pre-launch settings, graphics API switching & more 2022-06-12 17:09:47 -04:00
Phillip Stephens a3c2638cce Fix ModifyRestart CVars 2022-06-12 00:31:26 -07:00
Phillip Stephens 46a93166ef
Restore graphicsApi, msaa, and textureAniso cvars, fix a few deserialization bugs in CVar.cpp 2022-06-08 10:58:38 -07:00
Luke Street d7c62d8d90 CMain: Restore #include <shellapi.h> 2022-06-02 01:54:22 -04:00
Luke Street d47d5661c6 Various fixes
- Unlock audio pump on exit
- Remove WinMain from CMain (handled by SDL_main)
- Use SDL2:: namespace in CMake
- Disable buildcache on macOS CI for now
2022-06-02 01:52:58 -04:00
Luke Street 52c8a82283 CMapArea: Fix incorrect pointer punning 2022-05-31 20:51:14 -04:00
Luke Street a76d26d724 CMain: Support SDL2 audio backend 2022-05-31 20:48:25 -04:00
Luke Street 4048492279 iOS and tvOS support 2022-05-27 15:52:16 -04:00
Luke Street 05ad95bdd0 CVisorFlare implementation 2022-05-24 01:44:20 -04:00
Luke Street f80813b9cc Transition all Textured/ColoredQuad usages
- Upload textures using staging buffer
- Fixes SetOrtho logic
- More work on thermal visor rendering (still WIP)
- Rework Dawn backend initialization
- Support MoltenVK on Metal
- Various fixes & cleanup
2022-05-23 20:26:35 -04:00
Luke Street 9c5dda1c7d CMake: Use FindPython3 for TCastTo generation 2022-05-19 00:57:53 -07:00
Luke Street 26fd0e2b9f Text rendering & CWorldTransManager fixes 2022-05-19 00:57:30 -07:00
Luke Street ef71c009c6 aurora: Working palette textures 2022-05-15 15:50:38 -04:00
Phillip Stephens ef771e6489
Re-enable texture load in CRasterFont 2022-05-14 13:22:50 -07:00
Phillip Stephens 978f1ab88a
CTextRenderBuffer Implement image rendering 2022-05-14 13:22:21 -07:00
Phillip Stephens e4af804b8c
Get font glyphs rendering (no images yet) 2022-05-14 12:32:36 -07:00
Phillip Stephens 0ca2786302
Initial CTextRenderBuffer rewrite 2022-05-13 23:47:29 -07:00
Luke Street 22dfd3b3f7 aurora: Rework texture binding API
- Texture binding is now handled by GX calls
- More CCubeMaterial / CCubeRenderer impl
- Semi-working thermal visor rendering
- More CGraphicsPalette impl
- Some CWorldShadow impl
- Start work on indirect texturing
- Stub out CTextRenderBuffer
2022-05-13 19:40:31 -04:00
Luke Street 937aeda51f CScriptMidi: Add destructor implementation
This ensures currently playing track is
stopped, avoiding a UAF in Amuse.
2022-05-12 13:18:12 -04:00
Luke Street 7b6720628c rstl: Add element_type to reserved_vector iterator
Fixes macOS build
2022-05-12 12:21:01 -04:00
Luke Street a9680126b9 CAnimSourceReader: Fixes in VGetAdvancementResults, VAdvanceView, VReverseView 2022-05-12 12:10:01 -04:00
Luke Street cf952906b8 Windows build fixes 2022-05-12 11:13:04 -04:00
Luke Street 712a26ab93 CGraphics: Handle Point type in LoadLight
Also removes shadowRender parameter from
DrawUnsortedGeometry, it's now unused.
2022-05-12 01:57:24 -04:00
Luke Street 4e06ea1bb5 Various lighting fixes 2022-05-12 01:10:06 -04:00
Luke Street e69a4fdd98 CGraphics: Fix light params in LoadLight 2022-05-10 19:40:37 -04:00
Phillip Stephens 724deee2ab
Fix incorrect light colors 2022-05-10 01:40:55 -07:00
Phillip Stephens 17136fdfb9
Implement GX lighting API (need to update shader generation) 2022-05-10 01:20:09 -07:00
Phillip Stephens 3cb38cc94c
Fix oversight in ImGuiControllerConfig 2022-05-09 21:59:57 -07:00
Luke Street 9d634e6a05 Hacky scan visor rendering 2022-05-09 17:13:38 -04:00
Phillip Stephens 10d4bbf297
Initial port configuration (needs cleanup) 2022-05-08 01:50:21 -07:00
Phillip Stephens f8d9207aaa
Fix crash if controller windows are collapsed 2022-05-07 21:26:55 -07:00
Phillip Stephens d1b4a71110
Initial controller configuration support 2022-05-07 21:20:52 -07:00
Luke Street 834bc8d183 aurora: Build fix & cleanup 2022-05-05 01:39:43 -04:00
Luke Street 71e4fbb6d4 CPlayer: Fix curAcceleration initial value 2022-05-03 23:59:59 -04:00
Luke Street 21f54ca09d Runtime: Windows compile fixes 2022-05-03 20:27:19 -04:00
Luke Street ad90e4b511 aurora: Add pipeline progress window 2022-05-03 19:36:30 -04:00
Luke Street 0d52438297 Oops 2022-05-03 00:24:00 -04:00
Luke Street 52756deac9 aurora: Reduce buffer sizes; add buffer size debug overlay 2022-05-02 23:31:14 -04:00
Luke Street 4eff37fcb2 aurora: Code cleanup, more performant hashing 2022-05-02 19:42:59 -04:00
Phillip Stephens ce84609b4e
Implement rumble for all controllers (needs tweaking), fix CFinalInput::InitializeAnalog 2022-04-03 18:13:17 -07:00
Phillip Stephens 75630c87bd
CDamageVulnerability: Use matching functions for WeaponHits/Hurts 2022-04-03 12:18:36 -07:00
Phillip Stephens 6c449ca146
CDamageVulnerability: Use matching GetVulnerability imp 2022-03-31 22:37:23 -07:00
Phillip Stephens 95b3859503
CDamageVulnerability: Fix WeaponHits and WeaponHurts with near matching imps 2022-03-31 22:28:13 -07:00
Phillip Stephens 8ac39d1712
CDamageVulnerability: Fix inverted conditional 2022-03-30 23:41:37 -07:00
Phillip Stephens a994907dd4
CDamageVulnerability: Minor fixes 2022-03-30 23:40:11 -07:00
Phillip Stephens a85eebe496
CMaterialList: Fix BitPosition with matching implementation
CAuiImagePane: Fix animated scans... again
2022-03-27 14:07:50 -07:00
Phillip Stephens e2f2635757
CAuiImagePane: Implement last fade 2022-03-26 22:00:53 -07:00
Phillip Stephens 46ef0e1c93
CAuiImagePane: Match UV order from retail 2022-03-26 20:51:50 -07:00
Phillip Stephens 75d01f9310
CFinalInput: Set controllerIdx to 0 by default, fixes Samus wandering during cutscenes 2022-03-26 20:37:02 -07:00
Phillip Stephens 7461188a43
CCubeMaterial: implement final TCG
GX: add ability to view normals (disabled)
2022-03-26 19:21:55 -07:00
Luke Street 07b4208c42 Implement Model TCG 2022-03-26 21:34:20 -04:00
Luke Street 3a28933ffd CScriptTrigger: Remove HoTE progression hack 2022-03-26 20:42:15 -04:00
Luke Street a0d5c5c285 GX implementation of CHudRadarInterface 2022-03-26 20:24:23 -04:00
Luke Street 2503872065 Fixes for CElementGen / CExplosion 2022-03-26 20:23:44 -04:00
Luke Street e409f05b40 aurora: Add graphics debug group stack 2022-03-26 20:23:16 -04:00
Phillip Stephens 51a1b6ba9b
GX: fix uploading post transform matrices 2022-03-24 01:03:41 -07:00