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
2976aa757f
Fix tests for macOS
Properly add SDL mocks for macOS.
1 year ago
TheoryOfNekomata
397828c1a4
Organize codebase
Extract tests from source directory.
1 year ago
TheoryOfNekomata
49d7937d05
Organize memory allocation
Only free memory that are dynamically allocated.
1 year ago
TheoryOfNekomata
a05e605ec4
Add other list functions
Implement and fix list functions and their tests.
1 year ago
TheoryOfNekomata
0ad985b4f0
Update memory and data tests
Use modes for list teardown calls to prevent pollution of the tracked
calls.
1 year ago
TheoryOfNekomata
0fda7dd8ba
Fix list tests
Convert list to doubly-linked list for easy traversal.
1 year ago
TheoryOfNekomata
0fca9b77e3
Update linked list implementation
Use node pointers instead of duplicating the find function logic.
1 year ago
TheoryOfNekomata
74c1b13787
Update console output
Make colored console output work in Windows.
1 year ago
TheoryOfNekomata
bd0cdc1694
Update mock library
Separate mock library from source.
1 year ago
TheoryOfNekomata
5ce887f3db
Organize mocks
Put mocks to directory structure mimicking project structure.
1 year ago
TheoryOfNekomata
c155348c40
Update linked list code
Instead of using macros, use iterators built-in on each list for
filtering and traversing.
1 year ago
TheoryOfNekomata
9cde8ff876
Extract common code
Remove symlinks and make codebase use common modules instead.
2 years ago
TheoryOfNekomata
25eefd8173
Update macros for list find function
Allow current item pointer to have custom type.
2 years ago
TheoryOfNekomata
bfc290567b
Fix list and pool errors
Change the pool list initializations.
2 years ago
TheoryOfNekomata
bc4593d806
Add memory-related code
Add memory and data-related implementations for handling game data.
2 years ago