TheoryOfNekomata
8bf3b46233
Update gamepad event handling
Use game controller APIs instead of the joystick ones to be able to use
the gamepad button DB file.
1 year ago
TheoryOfNekomata
c754e55558
Fix tests on Windows, update sprites
The SDL.h include is only valid for macOS because of memset_pattern4, on
Windows it is not required.
The character and weapon sprites have been updated.
1 year ago
TheoryOfNekomata
82f85f25ef
Fix joystick test
Remove mapping for gamepad.
1 year ago
TheoryOfNekomata
bdfd7c1d74
Fix input tests
Ensure signed values are respected.
1 year ago
TheoryOfNekomata
2976aa757f
Fix tests for macOS
Properly add SDL mocks for macOS.
1 year ago
TheoryOfNekomata
d5dba952e6
Update ini-config mock
Use library in new subproject.
1 year ago
TheoryOfNekomata
397828c1a4
Organize codebase
Extract tests from source directory.
1 year ago
TheoryOfNekomata
2d326b1f8b
Migrate portmidi
Remove old portmidi dependency.
1 year ago
TheoryOfNekomata
30469008de
Migrate SDL to subprojects
Remove old SDL dependency.
1 year ago
TheoryOfNekomata
c45ec22ff8
Update input test
Ensure states are loaded and initialized to defaults.
1 year ago
TheoryOfNekomata
901f7aef48
Update input tests
Ensure input test implementation is aligned to current input API.
1 year ago
TheoryOfNekomata
6d513ca6c3
Fix tests
Add correct includes.
1 year ago
TheoryOfNekomata
5ce887f3db
Organize mocks
Put mocks to directory structure mimicking project structure.
1 year ago
TheoryOfNekomata
7fa536895d
Unify memory handling functions
Use abstraction instead of using SDL dependencies.
1 year ago
TheoryOfNekomata
4415eb0e9e
Genericize config paths
Use CMake definitions to specify config paths and filenames.
1 year ago
TheoryOfNekomata
f11a8ff220
Update standard functions
Include _s wrappers for most standard function calls.
1 year ago
TheoryOfNekomata
57e4a768dc
Update config
Add templates for config item types.
Also updated server's config to use the global config module.
2 years ago
TheoryOfNekomata
488626938a
Update references to configs
Update documentation.
2 years ago
TheoryOfNekomata
1aa13c5b72
Refactor identifiers
Update identifiers to be consistent.
2 years ago
TheoryOfNekomata
508967fcb7
Add configs to server
Make server optionally have a mountpoint for putting assets.
2 years ago
TheoryOfNekomata
4e4924ec0b
Implement connectivity
Attempt to connect client to server.
2 years ago
TheoryOfNekomata
52fb193b83
Cover all input methods on tests
Add tests for initialization and teardown for all input methods.
2 years ago
TheoryOfNekomata
bac32963ff
Group player input tests
Specify describe block for each player tests.
2 years ago
TheoryOfNekomata
bc4593d806
Add memory-related code
Add memory and data-related implementations for handling game data.
2 years ago
TheoryOfNekomata
259780cdb2
Fix multi player support
Correctly dereference pointers.
2 years ago
TheoryOfNekomata
e4d4441b07
Update tests
Update input tests.
2 years ago
TheoryOfNekomata
d1999f7667
Add convenience typedefs
Use short names for int types.
2 years ago
TheoryOfNekomata
9417a20d9a
Improve initialization logic
Provide default states for input and output.
2 years ago
TheoryOfNekomata
e53b96adb3
Rename joystick directions
Ensure joystick direction enum names are consistent.
2 years ago
TheoryOfNekomata
627e2a8f28
Update tests
Ensure correct arguments are passed.
2 years ago
TheoryOfNekomata
881b415d60
Implement joystick tests
Implement tests for joystick axis, hat, and button events.
2 years ago