39 Commits
Author SHA1 Message Date
izzy2lost d5724a0570 android port changes 2026-01-27 20:19:09 -05:00
louist103andGitHub 53a060be59 Windows ARM64 support (#899)
* WIP Arm 64

# Conflicts:
#	src/graphic/Fast3D/backends/gfx_opengl.cpp

* Some cleanups.

* oops

* Update prism

Fix

* Prism fixes

* Format

* arm64 actions

* Fix dx11

* Use Visuall studio build system

* Fix paths?

* Fix actions again?

* Update build-validation.yml
2025-08-07 10:20:23 -04:00
MalkierianandGitHub 1df807c640 MPQ Opt-In (#898)
* Change MPQ support to be opt-in. Also changes all instances of `#ifndef EXCLUDE_MPQ_SUPPORT` to `#ifdef INCLUDE_MPQ_SUPPORT` to be logically consistent.

* Remove adding compile definition (needs to be done by the port now).
2025-06-19 05:50:37 -04:00
EbloandGitHub 3ee11a40a7 Update Prism to fix elseif shader bug (#887) 2025-05-20 21:31:22 -04:00
briaguyaandGitHub 6a3f6cd327 bump imgui to v1.91.9b-docking (#884)
* bump imgui to `v1.91.9b-docking`

* update imgui patch

https://github.com/ocornut/imgui/compare/v1.91.9b-docking...briaguya-ai:1_19_9b_docking_patched
2025-05-17 15:41:44 -04:00
louist103andGitHub 7135d1494e Replace file drop CVars with a class (#880)
* File drop manager

# Conflicts:
#	src/graphic/Fast3D/backends/gfx_sdl2.cpp
#	src/graphic/Fast3D/gfx_dxgi.cpp
#	src/window/gui/Gui.cpp

* Fix after rebase

* Add missing header
2025-05-15 21:38:51 -04:00
LywxandGitHub 7db23dc88f Bump prism and fixed texture filtering on opengl (#873)
* Bump prism and fixed texture filtering on opengl

* Reverted wrong defines

* Commented log

* Fixed tidy

* Fixed prism compilation issue

* Readded toggleable filtering
2025-05-12 17:52:23 -04:00
lightmanLPandGitHub 1042491420 After patch update cache fix (#794)
* apply patch with reset

* same for stormlib

* fix

* patch via cmake script

* restore comments & cleanup
2025-03-23 09:28:50 -04:00
briaguyaandGitHub f090ef6141 split windows vcpkg part off from windows cmake deps (#845) 2025-03-22 09:49:07 -04:00
6636c2cf4d Add surround 5.1 support (#832)
* Support for 6 channels.

* Add option to configure Surround 5.1 audio.

* Clean up.

* Force 6 channels for now.

* Support stereo and surround.

* Apply comments.

* Fix SDLAudioPlayer.

* Apply clang format.

* Fix SDLAudioPlayer.

* adapt var name

* Apply suggestions from code review

Co-authored-by: briaguya <70942617+briaguya-ai@users.noreply.github.com>

* Fix correct name of var.

* Fix format.

* Prefix enum.

---------

Co-authored-by: briaguya <70942617+briaguya-ai@users.noreply.github.com>
2025-03-21 22:51:17 -04:00
LywxandGitHub 5040e9d743 Moved shaders to prism lang (#821)
* Implemented shader load and prism

* Bump prism

* Moved shaders to prism

* Fixed some compilation issues

* Fixed windows compilation errors

* Fully ported directx to prism

* Ported metal shader to prism

* Bump prism and fixed metal

* Removed log on metal

* Bump prism and fixed some compilation errors

* Fixed tidy

* Fixed tidy again

* Bump prism

* Bump to fix linux

* Bump prism

* Fixed missing semantics on texClamp

* Bump prism to add include support

* Bump prism to fix missing include

* Fixed tidy
2025-03-13 21:56:05 -04:00
briaguyaandGitHub 50eb906f20 let ports set default controls (#795)
* start getting stuff in place to let ports set default controls

* naming

* sdl buttons

* axis direction to button mapping

* keyboard key to axis direction

* button to axis direction

* axis direction to axis direction

* remove now unused cmake kb mapping stuff

* fix a couple little things
2025-01-28 20:29:29 -05:00
briaguyaandGitHub 9a974e002f imgui 1.90.6 -> 1.91.6 (#788)
* imgui 1.90.6 -> 1.91.6

* deal with new `ImTextureID` type

in https://github.com/ocornut/imgui/commit/92b94980c69ff3d3d7f5dc30c1c19abfb72db47e `ImTextureID` was updated from `void*` to `ImU64`, which is defined as `unsigned long long` (which conflicts with some implementations of `uint64_t` that have it as `unsigned long`)

* metal?

* metal??

* d3d11?

* change readme to see linux build fail

* fix it (bump from 10 to 12)

* switch back to `void*` by using a patch to modify `imconfig.h`
2025-01-11 00:53:05 -05:00
MegaMechandGitHub 63513146bf Allow Ports To Configure Default Button Mappings (#724)
* Update ButtonMappingFactory.cpp

* Update AxisDirectionMappingFactory.cpp

* Update cvars.cmake

* Update ButtonMappingFactory.cpp

* As per review

* Add sdl controller mapping

* tidy

* Update cvars.cmake

* Update ButtonMappingFactory.cpp

* tidy
2024-12-09 13:18:25 -05:00
ArchezandGitHub 80c2c5e9c6 remove unneeded quiet flag in patch command (#722) 2024-11-18 21:21:38 -05:00
MalkierianandGitHub 57a5994746 Add ImGui patch for Gamepad Update, Stormlib patch tweak (#677)
* Add and implement patch to remove a return in the SDL implementation preventing gamepad update when menubar is closed.

* Incorporate latest Stormlib patch tweak, and apply it to the gamepad patch as well.

* Fix whitespacing.
2024-10-09 21:29:10 -04:00
ArchezandGitHub 3662ceac0e Fix stormlib patch stability for windows (#669)
* fix stormlib patch stability for windows

* spelling
2024-09-13 14:51:27 -04:00
ArchezandGitHub b05905b17f adjust stormlib patch command to be more stable (#646) 2024-07-25 19:10:29 -04:00
Garrett CoxandGitHub d8703fbeee Proper fix for color wrapping/clamping in the CC (#620) 2024-05-31 20:08:17 -04:00
MalkierianandGitHub 94b755b77c Alt Assets Variable (#618) 2024-05-30 23:58:38 -04:00
briaguyaandGitHub 38aed9f08e update imgui to docking 1.90.6 (#606) 2024-05-27 11:58:12 -04:00
Garrett CoxandGitHub 6b8a8d8fb1 Add temporary cvar to disable close color wrapping (for 2ship) (#593) 2024-05-24 07:05:49 -04:00
briaguyaandGitHub 878efcc267 apply stormlib optimizations using cmake patching (#571) 2024-05-08 10:26:50 -04:00
c2555d1cca thread_pool fetched (#561)
* builds but doesn't work

* ResourceManager now exposes thread_pool's priority

* Using priority_t type in ResourceManager.cpp

* Removes kitchen sink change

* clean up

* remove reference to extern dir

---------

Co-authored-by: briaguya <70942617+briaguya-ai@users.noreply.github.com>
2024-05-06 20:52:20 -04:00
briaguyaandGitHub 0b4de5433f fetch libgfxd (#554) 2024-05-03 15:58:45 -04:00