Commit Graph

7357 Commits

Author SHA1 Message Date
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 c9e3065d12 ci: Archive builds on branches 2022-06-13 01:46:28 -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 65f5b873c8
Revert local changes I accidentally pushed like an idiot 2022-06-08 11:02:07 -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 af1814d3c7 CI fixes
- Don't use named params with fmt (fixes Clang 10)
- Disable buildcache step for macOS
- Update zeus (fixes GCC 9)
2022-06-03 02:01:36 -04:00
Luke Street 0ba73696f5 aurora: Fix mismatched filter mode for palette samplers
Update Dawn to fix asserts in Debug mode
2022-06-03 01:25:06 -04: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 80eb125631 Move SDL2 import before boo 2022-05-31 20:59:59 -04:00
Luke Street 52c8a82283 CMapArea: Fix incorrect pointer punning 2022-05-31 20:51:14 -04:00
Luke Street 6113f9356b Update athena & zeus 2022-05-31 20:49:37 -04:00
Luke Street a76d26d724 CMain: Support SDL2 audio backend 2022-05-31 20:48:25 -04:00
Luke Street 2364c4cdba CMake: Disable -Wall, disable LTO for GCC+gold 2022-05-31 20:44:53 -04:00
Luke Street 40a444d800 aurora: Null graphics backend with SDL_Renderer fallback 2022-05-31 20:40:46 -04:00
Luke Street 4048492279 iOS and tvOS support 2022-05-27 15:52:16 -04:00
Luke Street fe65258d91 aurora: Support per-pixel lighting 2022-05-25 01:45:42 -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 36a7bfc464 aurora: Properly clear GXTexObjs on shutdown 2022-05-19 14:23:33 -07: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
Luke Street d067fa2b7d aurora: Fix I8 handling; add CMPR->RGBA conversion 2022-05-14 15:52:34 -04: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
Henrique Gemignani Passos Lima 22256228fb
Don't use GNU extensions for fopen 2022-05-13 22:48:20 +03:00
Luke Street 3a71a72ec7 CMake: Add Linux presets with Address Sanitizer 2022-05-12 13:24:28 -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
Luke Street eab2c577dd aurora: Rename light att fields 2022-05-10 19:37:06 -04:00
Luke Street 59cf0255bf aurora: Continue lights implementation 2022-05-10 18:31:32 -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