Moved code and assets for the game to a seperate folder. Moved jansson and raylib to third_party.

This commit is contained in:
2025-12-16 11:47:55 +01:00
parent fd2dbf232d
commit 8cdbd5b162
63 changed files with 14 additions and 14 deletions

17
src/game/shared/random.h Normal file
View File

@@ -0,0 +1,17 @@
#ifndef RANDOM_H
#define RANDOM_H
#include <stdint.h>
typedef struct {
uint32_t seed;
uint32_t state;
} Random_Generator;
void random_init(Random_Generator *random_generator, uint32_t seed);
uint32_t random_u32(Random_Generator *random_generator);
uint32_t random_u32_range(Random_Generator *random_generator, uint32_t min, uint32_t max);
#endif