Browse Source

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.
master
TheoryOfNekomata 1 year ago
parent
commit
c754e55558
4 changed files with 4 additions and 0 deletions
  1. +2
    -0
      __tests__/src/packages/game/data.test.c
  2. +2
    -0
      __tests__/src/packages/game/input.test.c
  3. BIN
      assets_src/gfx/characters-izanagi.cdr
  4. BIN
      assets_src/gfx/weapons-rigged.cdr

+ 2
- 0
__tests__/src/packages/game/data.test.c View File

@@ -1,4 +1,6 @@
#if defined IZ_MACOS
#include <SDL.h>
#endif
#include <bdd-for-c.h>
#include <stdinc/IZ_stdlib.mock.h>
#include <common/IZ_common.h>


+ 2
- 0
__tests__/src/packages/game/input.test.c View File

@@ -1,4 +1,6 @@
#if defined IZ_MACOS
#include <SDL.h>
#endif
#include <bdd-for-c.h>
#include <subprojects/SDL/SDL_keyboard.mock.h>
#include <subprojects/SDL/SDL_joystick.mock.h>


BIN
assets_src/gfx/characters-izanagi.cdr View File


BIN
assets_src/gfx/weapons-rigged.cdr View File


Loading…
Cancel
Save