Commit Graph

59 Commits

Author SHA1 Message Date
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 26fd0e2b9f Text rendering & CWorldTransManager fixes 2022-05-19 00:57:30 -07:00
Luke Street 21f54ca09d Runtime: Windows compile fixes 2022-05-03 20:27:19 -04:00
Phillip Stephens 42dde9187b
Migrate to new CInputGenerator and rename old 2022-03-22 12:04:57 -07:00
Luke Street efd14dcaf2 aurora: Use MapAsync for buffer writing 2022-03-15 22:39:22 -04:00
Henrique Gemignani Passos Lima cf41841f1d
Fix references to WIN32 instead of _WIN32 2022-03-12 21:13:01 +02:00
Phillip Stephens 24a602c10f
Cleanup and more migration to Stream 2022-03-05 13:46:53 -08:00
Phillip Stephens d93cf46bc3
Add CInfiniteLoopDetector to detect infinite loops in release builds 2022-03-04 01:46:33 -08:00
Luke Street 5e7b8ebacf Merge branch 'dawn' into new-cmodel
# Conflicts:
#	Runtime/Streams/ContainerReaders.hpp
2022-03-01 01:37:08 -05:00
Phillip Stephens b305454199
FileStoreManager: Use SDL_GetPrefPath, add org argument
Use SDL_GetPrefPath by default, if we fail to get a valid path *then* we use the platform specific logic as a fallback
2022-02-27 17:35:13 -08:00
Luke Street 40a1f3c4a0 Merge branch 'dawn' into new-cmodel 2022-02-26 16:44:13 -05:00
Luke Street 4b69cb449d aurora: DPI scaling fixes (renderer, imgui) 2022-02-26 15:59:55 -05:00
Luke Street 832eb180bd Begin transitioning to new CModel/CCubeModel & friends 2022-02-25 02:45:25 -05:00
Luke Street c3c9f9d601 Remove shader warmup 2022-02-23 03:20:29 -05:00
Luke Street 9966ca13fb Add CDvdFile::DiscInfo and update version detection 2022-02-23 01:28:35 -05:00
Luke Street 107ca74702 Extract extern CMakeLists.txt; add nativefiledialog 2022-02-23 00:28:21 -05:00
Phillip Stephens 15900053fa
Remove athena from Runtime, use raw zlib in bintoc rather than gzip 2022-02-21 22:59:47 -08:00
Luke Street c33674b9ab Lots of Windows fixes; add D3D12; more boo decoupling 2022-02-22 00:53:57 -05:00
Luke Street 57d96dbb17
Fully decouple hecl from Metaforce
- Added CStringExtras Convert functions
  (and UTF-compatible versions)
- GX header copied into Runtime
- SFX headers copied into Runtime/Audio
2022-02-21 08:01:06 -08:00
Phillip Stephens 6c92f03664
Move CVar* into Metaforce to begin removal of hecl's Dataspec 2022-02-21 08:01:06 -08:00
Phillip Stephens 49418f444f
aurora: Cleanup, rename ZTest to ZComp to more accurately describe purprose, implement colored_quad 2022-02-20 13:06:04 -08:00
Phillip Stephens 2648fc50e4
aurora: Implement all major input events (still missing scroll events) 2022-02-19 19:25:21 -08:00
Phillip Stephens aabef3e058
Aurora: Initial event implementations 2022-02-16 01:23:39 -08:00
Luke Street 7b9f893a49 aurora: the boring C++ version 2022-02-16 00:21:24 -05:00
Phillip Stephens 615204f71f
More input and rendering implementations 2022-02-13 13:32:52 -08:00
Phillip Stephens a6b2d66e1e
Input: Add onControllerAdded/Removed callbacks and also display the controller name in the input viewer 2022-02-09 00:54:53 -08:00
Luke Street 72b4d5a7fc macOS fixes; call onAppWindowResized after launch 2022-02-08 03:42:59 -05:00
Luke Street 011f65c48f Set window icon 2022-02-08 03:28:56 -05:00
Luke Street a1482b4743 SDL controller input 2022-02-07 20:48:08 -05:00
Phillip Stephens 72502ec9a2
Start implementing input 2022-02-07 02:45:56 -08:00
Phillip Stephens 710b9ae6b3
Add resized/moved events, minor cleanup 2022-02-06 14:53:42 -08:00
Luke Street e48435f11e Start wiring up wgpu+winit 2022-01-31 19:06:54 -05:00
Luke Street a2cc6cd204 Merge remote-tracking branch 'darkszero/feature/lazy-commit-resources'
# Conflicts:
#	extern/boo
2021-10-25 23:07:56 -04:00
Luke Street 32e115f4aa Merge remote-tracking branch 'origin/main' into utf8
# Conflicts:
#	DataSpec/DNAMP1/FRME.cpp
#	DataSpec/DNAMP1/MLVL.cpp
#	Runtime/CMain.cpp
#	hecl/lib/Blender/Connection.cpp
2021-10-25 19:03:01 -04:00
Phillip Stephens 30f17812cd
Minor cleanups in Collision code 2021-07-24 17:54:26 -07:00
Henrique Gemignani Passos Lima 2ad2a5cfa9 Add cvar for when commit resources is done lazily 2021-07-04 02:53:04 +03:00
Henrique Gemignani Passos Lima d2ae2b3818 Support lazy CGraphics::CommitResources 2021-07-04 02:53:04 +03:00
Phillip Stephens 0b523f98c3
Yeah, I'm an idiot, std::min is the correct one 2021-07-02 23:48:02 -07:00
Luke Street 6430f6c765 Update async load / frame limiter logic
Update nod
2021-06-30 17:54:31 -04:00
Luke Street 9ca1a38171 Use UTF-8 exclusively internally
This removes SystemString, SystemChar, etc.
All filepaths and log strings are assumed to be UTF-8,
with conversions to UTF-16 for Windows APIs as appropriate.

Updates amuse, athena, boo, kabufua and nod
2021-06-30 14:20:45 -04:00
Luke Street 6e12554026 CMain: Use QueryPerformanceCounter for frame limiter on Windows 2021-06-29 00:12:41 -04:00
Henrique Gemignani Passos Lima 1b4e0dc754 Improve Optick events 2021-06-29 01:10:54 +03:00
Henrique Gemignani Passos Lima de4ddcaa9c Fix Optick not running 2021-06-29 00:35:55 +03:00
Phillip Stephens 995dc184b0
Tie fullscreen state into the CVar 2021-06-06 13:59:53 -07:00
Phillip Stephens 4845ea605a
Fix minimum dt value (was setting it to be <1/30 by accident) 2021-06-06 13:27:15 -07:00
Luke Street 281da0bfd4 ImGuiEngine updates & use ImGui stdlib functions 2021-06-02 07:49:03 -04:00
Phillip Stephens 89f58beeb1
Use fileStorage directory for imgui settings 2021-06-02 03:30:04 -07:00
Luke Street 39f4c3e114 Fix shutdown ordering issues 2021-05-30 16:59:19 -04:00
Luke Street 78bcba85e2 Various updates:
- Simplify Layers logic with hecl bugfix
- Show About window with error message on launch with no game
- Use high_resolution_clock for FPS & load logic (increased resolution on Windows)
2021-05-30 15:03:35 -04:00