TheoryOfNekomata
48fb8abd6e
Update logging
Use our log function instead of bare printf calls.
1 年之前
TheoryOfNekomata
7accae03f6
Fix imports
Could not find some imports on macOS.
1 年之前
TheoryOfNekomata
486211074e
Add game controller DB repo
Include mapping in build instead of having to download file manually.
1 年之前
TheoryOfNekomata
bab10fe84f
Add logs for input events
For debug purposes.
1 年之前
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 年之前
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 年之前
TheoryOfNekomata
82f85f25ef
Fix joystick test
Remove mapping for gamepad.
1 年之前
TheoryOfNekomata
a1d3052ab5
Update joystick config binding
Fix off-by-one error.
1 年之前
TheoryOfNekomata
8ea5d36a6b
Update configs
Use appropriate syntax and names for config logic.
1 年之前
TheoryOfNekomata
57b33b800d
Extract config code
Define separate package for config code.
1 年之前
TheoryOfNekomata
9be297df6f
Fix logging
Ensure log directory base path is relative to the executable.
1 年之前
TheoryOfNekomata
20507c58a8
Update string functions, midi-utils
Fix midi-utils bug
1 年之前
TheoryOfNekomata
45391950dc
Extract MIDI utils
Separate MIDI utils into its own package.
1 年之前
TheoryOfNekomata
397828c1a4
Organize codebase
Extract tests from source directory.
1 年之前
TheoryOfNekomata
f4799aa679
Update input code
Correctly include portmidi in tests.
1 年之前
TheoryOfNekomata
2d326b1f8b
Migrate portmidi
Remove old portmidi dependency.
1 年之前
TheoryOfNekomata
30469008de
Migrate SDL to subprojects
Remove old SDL dependency.
1 年之前
TheoryOfNekomata
9c7cacf3ed
Address build warnings
Ensure warnings have been accounted for.
1 年之前
TheoryOfNekomata
a6ddf68c8a
Genericize compatibility
Extract additional platform-specific imports to basic compatibility
header.
1 年之前
TheoryOfNekomata
e86b23fec2
Update macOS compat
Properly declare shims for macOS.
1 年之前
TheoryOfNekomata
49d7937d05
Organize memory allocation
Only free memory that are dynamically allocated.
1 年之前
TheoryOfNekomata
09954125ff
Test Linux support
Configure environment for Linux.
Server runs ok, the game runs but with no window...
1 年之前
TheoryOfNekomata
7556335605
Add net teardown
Encapsulate net teardown logic.
1 年之前
TheoryOfNekomata
e99e008a53
Update logs
Ensure setup/teardown is in correct order.
1 年之前
TheoryOfNekomata
c45ec22ff8
Update input test
Ensure states are loaded and initialized to defaults.
1 年之前
TheoryOfNekomata
901f7aef48
Update input tests
Ensure input test implementation is aligned to current input API.
1 年之前
TheoryOfNekomata
d0c66fe817
Force server database path
Use path relative to server executable instead of current working
directory.
1 年之前
TheoryOfNekomata
eb1e1593c3
Update return statements
Use blank returns for subroutines.
1 年之前
TheoryOfNekomata
7765b46941
Update docs
Include updated usage on list functions.
1 年之前
TheoryOfNekomata
a05e605ec4
Add other list functions
Implement and fix list functions and their tests.
1 年之前
TheoryOfNekomata
0ad985b4f0
Update memory and data tests
Use modes for list teardown calls to prevent pollution of the tracked
calls.
1 年之前
TheoryOfNekomata
0fda7dd8ba
Fix list tests
Convert list to doubly-linked list for easy traversal.
1 年之前
TheoryOfNekomata
d8ec780689
Force server logs to stdout/stderr
Make server use standard output streams instead of file-based streams.
1 年之前
TheoryOfNekomata
659142c181
Fix logging
Add capability to log outside stderr and stdout.
1 年之前
TheoryOfNekomata
885114605c
Update CMake
Unify variables across the project.
1 年之前
TheoryOfNekomata
0fca9b77e3
Update linked list implementation
Use node pointers instead of duplicating the find function logic.
1 年之前
TheoryOfNekomata
baae003eae
Improve logging
Add context on all log items.
1 年之前
TheoryOfNekomata
74c1b13787
Update console output
Make colored console output work in Windows.
1 年之前
TheoryOfNekomata
6d513ca6c3
Fix tests
Add correct includes.
1 年之前
TheoryOfNekomata
bd0cdc1694
Update mock library
Separate mock library from source.
1 年之前
TheoryOfNekomata
d96a25d7d2
Fix log mocks
Add modes for log mocks.
1 年之前
TheoryOfNekomata
5ce887f3db
Organize mocks
Put mocks to directory structure mimicking project structure.
1 年之前
TheoryOfNekomata
8c9e34b691
Fix heap corruption in malloc
Use SDL's malloc functions in abstractions.
1 年之前
TheoryOfNekomata
7fa536895d
Unify memory handling functions
Use abstraction instead of using SDL dependencies.
1 年之前
TheoryOfNekomata
3a5ac14e59
Update game logging
Intercept WS messages for consistent logs like in the server.
1 年之前
TheoryOfNekomata
32f843db08
Update WS logs
Add ws prefix for easy filtering.
1 年之前
TheoryOfNekomata
073ad235ae
Improve logging
Use our logging mechanism and remove dependency on SDL.
1 年之前
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 年之前
TheoryOfNekomata
4415eb0e9e
Genericize config paths
Use CMake definitions to specify config paths and filenames.
1 年之前
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 年之前