sukibaby and teejusb
1435fc3e9a
Slow down frequency at which device strings are updated in controller mapping screen
...
Currently the input mapping screen asks for an updated list of button names every single frame. As this is a bit excessive, it's changed to run every 120ish frames.
2025-04-23 09:29:29 -07:00
sukibaby and teejusb
bfa9d3f600
PeekDeltaTime() -> Ago()
...
Remove a useless alias.
2025-04-23 01:59:00 -07:00
Arthur Eubanks and teejusb
ebcd50679d
Include dependent headers harder
...
Prepares for changing some includes in StdString.h
2025-04-22 23:22:56 -07:00
Arthur Eubanks and teejusb
5323bf998e
Replace confusing buffer calls in vssprintf
...
This is basically just resizing the buffer ahead of the vsnprintf, no
need for the extra Release/GetBuffer indirection.
2025-04-22 23:21:36 -07:00
Arthur Eubanks and teejusb
9131dc6b68
Prefix some calls with std::
...
These depend on C++ argument dependent name lookup and won't work with
an upcoming cleanup.
2025-04-22 23:19:28 -07:00
Arthur Eubanks and teejusb
9dc5cea91d
Use C++17 in LoadingWindowGtk
...
To match the rest of the build.
2025-04-22 23:19:03 -07:00
sukibaby and teejusb
774af7bd19
Update ArchHooks_Win32Static.cpp
...
Thanks to evbo from the ITC discord for pointing out this improvement. It does take bring the thread polling interval down from every 10ms to every 1ms.
2025-04-22 23:14:35 -07:00
Crash Cringle and teejusb
ed5c87a10d
Use structured bindings
2025-04-22 22:26:39 -07:00
Crash Cringle and teejusb
8524210969
Change vector of vector of strings arrayGroupSongDirs to a map so we know precisely which directories are valid.
2025-04-22 22:26:39 -07:00
Crash Cringle and teejusb
5e4f5ae4e5
Update SanityCheckGroup to return whether the group has passed the check or not rather and log a warning if failed rather than exit the game.
2025-04-22 22:26:39 -07:00
sukibaby and teejusb
1a2188e898
Precompute values & reserve memory in CreateFrameRects()
...
Reduce the number of calculations in nested loops, and reserve the needed amount of memory instead of relying on the vector to resize itself.
2025-04-22 22:18:23 -07:00
Brandon W and teejusb
448a2be7cd
Add alias_ member to the Actor class.
2025-04-11 09:04:36 -07:00
Brandon W and teejusb
5c2d745302
Fix looping logic when the final frame can't display.
...
Additionally, adjust the destruction order of the movie texture and
improve logging.
2025-04-03 23:00:06 -07:00
Brandon W and teejusb
f4e61675d5
PLAYER_1->main_player_ when referencing player state in editmode.
2025-04-03 22:47:38 -07:00
dando92 and teejusb
2dc61769fc
Added logic to reset coins at startup
2025-03-30 09:51:47 -07:00
dando92 and teejusb
d6636c235b
Revert "Corrected order of hide light in player options"
...
This reverts commit 40e61bd32e .
2025-03-30 08:18:42 -07:00
din and teejusb
ecf7757bd3
swap to pragma for MSVC
2025-03-30 08:05:37 -07:00
din and teejusb
ae294e7cfb
bitstruct pacdrive fix
2025-03-30 08:05:37 -07:00
dando92 and teejusb
44c156f8cf
Removed TODO in pacdrive
2025-03-27 22:36:29 -07:00
dando92 and teejusb
c550f21824
FIxed formatting
2025-03-27 22:36:29 -07:00
dando92 and teejusb
1436d4c708
Fixed broken hid device search
2025-03-27 22:36:29 -07:00
dando92 and teejusb
fb15205d71
Modified hid device internal methods
2025-03-27 22:36:29 -07:00
dando92 and teejusb
871e25c5a8
Cleaned log and converted int ptr to vector.
2025-03-27 22:36:29 -07:00
dando92 and teejusb
40e61bd32e
Corrected order of hide light in player options
2025-03-27 22:36:29 -07:00
DANDO\Aless and teejusb
a6c2a5bc2a
Added list of pids instead of single pid. Read returns back -1 when in error
2025-03-27 22:36:29 -07:00
din and teejusb
0b13eb17f2
pacdrive hidapi implementation
2025-03-27 22:36:29 -07:00
DANDO\Aless and teejusb
63a68ae38a
do not evaluate driver logic when HidDevice has not found at least once (bluedot, snek and stac)
2025-03-27 22:36:29 -07:00
DANDO\Aless and teejusb
db3543b507
Minor fixes on HidDevice.Corrected print on error, added leading zeros and fixed nonblocking write option
2025-03-27 22:36:29 -07:00
DANDO\Aless and teejusb
35714a0a04
Fixed bluedot driver
2025-03-27 22:36:29 -07:00
dando92 and teejusb
762041be69
Bugfix: Always setting light, woops
2025-03-27 22:36:29 -07:00
dando92 and teejusb
01b2464df8
Added error print and other small refactoring. Now it evaluates hid path before trying connection
2025-03-27 22:36:29 -07:00
DANDO\Aless and teejusb
cf453007e0
Moved everything to initializer list
2025-03-27 22:36:29 -07:00
DANDO\Aless and teejusb
1259c0e318
Modified HidDevice after some testing. Added HidDevice to snek and stac
2025-03-27 22:36:29 -07:00
dando92 and teejusb
1568305353
Modified bluedot driver to use HidDevice class
2025-03-27 22:36:29 -07:00
dando92 and teejusb
3cbae013b8
Added hid device class as an arch utils
2025-03-27 22:36:29 -07:00
din and teejusb
1e62bec650
hidapi: snek & stac support
2025-03-27 22:36:29 -07:00
DANDO\Aless and teejusb
d3f985fbee
WIP Modified stac light driver. testing needed and it is not linux only anymore
2025-03-27 22:36:29 -07:00
DANDO\Aless and teejusb
288c1e527e
Added bluedot light drivers
2025-03-27 22:36:29 -07:00
DANDO\Aless and teejusb
7cdf7033ab
Added cmake for both linux and win build
2025-03-27 22:36:29 -07:00
teejusb
abdc459a8a
Update comments
2025-03-26 21:19:24 -07:00
teejusb
665c06c3db
Set the default sync offset outside of DoesFileExist(sPackIniPath) check
2025-03-26 21:13:04 -07:00
sukibaby and teejusb
6401c66129
Reorganize machine sync bias handing in Group constructor
...
All logic is moved into one section now instead of being split between two places.
This is a minor change, but I'd be more comfortable with this because it more explicitly defines the different possibilities for group/machine offset combinations than the existing code.
Revert "Reorganize machine sync bias handing in Group constructor"
This reverts commit b53d26df494aea9d7491d2410c214b146ab09034.
Reorganize machine sync bias handing in Group constructor
2025-03-26 10:41:08 -07:00
Yauhen Artsiukhou and teejusb
d6bd574d98
Change initialization order
...
Compiler complains about it (-Wreorder)
2025-03-26 08:38:36 -07:00
Crash Cringle and teejusb
6d6dc86211
Ensure Group offset is always applied
2025-03-25 23:28:08 -07:00
Michael Votaw and teejusb
753dfec5db
Always generate smNoteData from parsed data, to ensure consistent string representation of stepchart
2025-03-24 22:21:19 -07:00
Michael Votaw and teejusb
9a7cf4511f
Removed unused 'isEmpty' variable
2025-03-24 22:21:19 -07:00
Michael Votaw and teejusb
90bdb5e2a6
Check that lines at least has one line, to prevent infinite loop
2025-03-24 22:21:19 -07:00
teejusb
ad2f895df1
Reset the clock_ to 0 instead of 0.5
2025-03-23 10:07:27 -07:00
teejusb
7d0a31ef1a
nullptr check + use const ref
2025-03-23 01:57:37 -07:00
teejusb
ba067092ac
Add some comments
2025-03-23 01:34:43 -07:00