From bbce25930d9910c715245f5d87a108ab1dac3426 Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 14 Jan 2026 02:08:06 -0700 Subject: Mad libs thingy working --- src/utils.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/utils.h') diff --git a/src/utils.h b/src/utils.h index 7947041..ffcc116 100644 --- a/src/utils.h +++ b/src/utils.h @@ -59,6 +59,8 @@ #define RANDOM_DIRECTION_UNITS 4096 +typedef int Seed; + // Typedef hackery. typedef struct Game Game; typedef struct World World; @@ -68,8 +70,8 @@ typedef enum FTError { FTSUCCESS = 0 } FTError; -Vector2 randomDirection2(int seed, int* nextSeed); -Vector3 randomDirection3(int seed, int* nextSeed); +Vector2 randomDirection2(int seed, Seed* nextSeed); +Vector3 randomDirection3(int seed, Seed* nextSeed); Image colorsToImage(Color* colors, int width, int height); -- cgit v1.2.3