TheoryOfNekomata
48fb8abd6e
Update logging
Use our log function instead of bare printf calls.
1 anno fa
TheoryOfNekomata
486211074e
Add game controller DB repo
Include mapping in build instead of having to download file manually.
1 anno fa
TheoryOfNekomata
bab10fe84f
Add logs for input events
For debug purposes.
1 anno fa
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 anno fa
TheoryOfNekomata
fc4e55ddf5
Update characters, config
Changes to character rigging. Also CMake now respects ini-config
structure (although in the future, the lib file should be used. Check
installation in CMake for macOS/*NIX).
1 anno fa
TheoryOfNekomata
82f85f25ef
Fix joystick test
Remove mapping for gamepad.
1 anno fa
TheoryOfNekomata
a1d3052ab5
Update joystick config binding
Fix off-by-one error.
1 anno fa
TheoryOfNekomata
8ea5d36a6b
Update configs
Use appropriate syntax and names for config logic.
1 anno fa
TheoryOfNekomata
57b33b800d
Extract config code
Define separate package for config code.
1 anno fa
TheoryOfNekomata
45391950dc
Extract MIDI utils
Separate MIDI utils into its own package.
1 anno fa
TheoryOfNekomata
397828c1a4
Organize codebase
Extract tests from source directory.
1 anno fa
TheoryOfNekomata
f4799aa679
Update input code
Correctly include portmidi in tests.
1 anno fa
TheoryOfNekomata
2d326b1f8b
Migrate portmidi
Remove old portmidi dependency.
1 anno fa
TheoryOfNekomata
30469008de
Migrate SDL to subprojects
Remove old SDL dependency.
1 anno fa
TheoryOfNekomata
9c7cacf3ed
Address build warnings
Ensure warnings have been accounted for.
1 anno fa
TheoryOfNekomata
e86b23fec2
Update macOS compat
Properly declare shims for macOS.
1 anno fa
TheoryOfNekomata
49d7937d05
Organize memory allocation
Only free memory that are dynamically allocated.
1 anno fa
TheoryOfNekomata
09954125ff
Test Linux support
Configure environment for Linux.
Server runs ok, the game runs but with no window...
1 anno fa
TheoryOfNekomata
7556335605
Add net teardown
Encapsulate net teardown logic.
1 anno fa
TheoryOfNekomata
e99e008a53
Update logs
Ensure setup/teardown is in correct order.
1 anno fa
TheoryOfNekomata
c45ec22ff8
Update input test
Ensure states are loaded and initialized to defaults.
1 anno fa
TheoryOfNekomata
901f7aef48
Update input tests
Ensure input test implementation is aligned to current input API.
1 anno fa
TheoryOfNekomata
eb1e1593c3
Update return statements
Use blank returns for subroutines.
1 anno fa
TheoryOfNekomata
7765b46941
Update docs
Include updated usage on list functions.
1 anno fa
TheoryOfNekomata
a05e605ec4
Add other list functions
Implement and fix list functions and their tests.
1 anno fa
TheoryOfNekomata
0ad985b4f0
Update memory and data tests
Use modes for list teardown calls to prevent pollution of the tracked
calls.
1 anno fa
TheoryOfNekomata
0fda7dd8ba
Fix list tests
Convert list to doubly-linked list for easy traversal.
1 anno fa
TheoryOfNekomata
d8ec780689
Force server logs to stdout/stderr
Make server use standard output streams instead of file-based streams.
1 anno fa
TheoryOfNekomata
659142c181
Fix logging
Add capability to log outside stderr and stdout.
1 anno fa
TheoryOfNekomata
885114605c
Update CMake
Unify variables across the project.
1 anno fa
TheoryOfNekomata
0fca9b77e3
Update linked list implementation
Use node pointers instead of duplicating the find function logic.
1 anno fa
TheoryOfNekomata
baae003eae
Improve logging
Add context on all log items.
1 anno fa
TheoryOfNekomata
74c1b13787
Update console output
Make colored console output work in Windows.
1 anno fa
TheoryOfNekomata
6d513ca6c3
Fix tests
Add correct includes.
1 anno fa
TheoryOfNekomata
bd0cdc1694
Update mock library
Separate mock library from source.
1 anno fa
TheoryOfNekomata
5ce887f3db
Organize mocks
Put mocks to directory structure mimicking project structure.
1 anno fa
TheoryOfNekomata
7fa536895d
Unify memory handling functions
Use abstraction instead of using SDL dependencies.
1 anno fa
TheoryOfNekomata
3a5ac14e59
Update game logging
Intercept WS messages for consistent logs like in the server.
1 anno fa
TheoryOfNekomata
9eae630cdf
Put config in game directory, fix logging
Ensure game/server configs sit in game directory for easy editing and referencing.
The logging for the network teardown has been put in the appropriate function.
1 anno fa
TheoryOfNekomata
4415eb0e9e
Genericize config paths
Use CMake definitions to specify config paths and filenames.
1 anno fa
TheoryOfNekomata
0dbe2342dc
Update code for macOS
Fix CMake lib dependencies for crypto/SSL. Also ensure websockets work on macOS for both client and server.
1 anno fa
TheoryOfNekomata
bdbdbec1ce
Add logging abstraction
Come up with our own logging system.
1 anno fa
TheoryOfNekomata
47c9784093
Rename max sprites constant
Use IZ_ prefix for constants.
1 anno fa
TheoryOfNekomata
8d67fa3b08
Organize CMake, add safe fopen
Tidy up CMake.
Also provide abstraction to fopen_s only available to Windows.
1 anno fa
TheoryOfNekomata
f11a8ff220
Update standard functions
Include _s wrappers for most standard function calls.
1 anno fa
TheoryOfNekomata
fa55ceaa97
Fix MIDI value parsing
Ensure note names are normalized (i.e. converted to lowercase) properly
before parsing.
1 anno fa
TheoryOfNekomata
f72e7244ca
Fix joystick GUID I/O
Properly parse joystick GUID on initialization.
1 anno fa
TheoryOfNekomata
ee7841cd31
Add GUID config handling, refine gamepad
GUID config is used for gamepad processing.
1 anno fa
TheoryOfNekomata
99c0bcb9e4
Update macOS controller logic
Correctly implement controller logic checking for macOS.
1 anno fa
TheoryOfNekomata
55901c8e2a
Add gamepad logic
Implement gamepad logic for macOS.
1 anno fa