engine-c: arid KKND2-like showcase shot + kitchen claim DONE
This commit is contained in:
parent
575d7d29b8
commit
b5a89c9b47
11 changed files with 739 additions and 84 deletions
|
|
@ -19,8 +19,11 @@
|
|||
#include <time.h>
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL2/SDL_image.h>
|
||||
#include <SDL2/SDL_ttf.h>
|
||||
/* SDL_image is optional; engine uses procedural sprites + custom PNG writer. */
|
||||
#if defined(KKND_HAVE_SDL_IMAGE) && KKND_HAVE_SDL_IMAGE
|
||||
#include <SDL2/SDL_image.h>
|
||||
#endif
|
||||
|
||||
#include "unit_card.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
// Header file for unit card implementation
|
||||
|
||||
#include <stdint.h>
|
||||
#include <immintrin.h>
|
||||
#include <stddef.h>
|
||||
|
||||
typedef struct {
|
||||
char name[32];
|
||||
|
|
@ -33,8 +33,8 @@ typedef struct {
|
|||
#define UNIT_SPECIAL 3
|
||||
#define UNIT_ALL 0
|
||||
|
||||
// Flag for SIMD instructions
|
||||
#define HAVE_AVX2 1
|
||||
/* Scalar batch helpers in unit_card.c; no AVX2 dependency. */
|
||||
#define HAVE_AVX2 0
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue