Commit Graph

7246 Commits

Author SHA1 Message Date
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
Luke Street 1115b451a5 aurora: Update dawn 2022-05-09 00:56:44 -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 b9376280aa aurora: Windows compile & D3D12 fixes 2022-05-03 20:26:45 -04:00
Luke Street ad90e4b511 aurora: Add pipeline progress window 2022-05-03 19:36:30 -04:00
Luke Street 64baad395a aurora: Add naive pipeline cache 2022-05-03 01:32:06 -04:00
Luke Street 0d52438297 Oops 2022-05-03 00:24:00 -04:00