I think we're overflowing memory...

This commit is contained in:
Gregory Gauthier 2026-01-29 16:54:15 +00:00
parent 0905018450
commit cf33050822

View File

@ -1,14 +1,15 @@
/* game.h - Game logic and state */
#ifndef GAME_H
#define GAME_H
#include "platform.h"
#define MAX_FILENAME 256
#define MAX_MESSAGE 256
/* Reduce MAX_WORDS for DOS to avoid stack overflow */
/* Reduce MAX_WORDS for DOS to fit in memory */
#ifdef PLATFORM_DOS
#define MAX_WORDS 2000
#define MAX_WORDS 1500
#else
#define MAX_WORDS 10000
#endif