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 година
TheoryOfNekomata
bdbdbec1ce
Add logging abstraction
Come up with our own logging system.
преди 1 година
TheoryOfNekomata
47c9784093
Rename max sprites constant
Use IZ_ prefix for constants.
преди 1 година