Free games for graphing calculators: NumWorks, TI-Nspire CX, Casio fx-CG50 and soon TI-84 Plus CE. Balatro, Celeste, Hollow Knight, Minecraft and more.
C calculatorcalculator-gamescasiochesscrossy-roaddrive-madfx-cg50gamesgeometry-dashgraphing-calculatorndlessnumworksnumworks-appsnumworks-calculatornumworks-gamenumworks-gamestetristi-84-plus-ceti-nspire
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005-2014 Simon Howard
// Copyright(C) 2021-2022 Graham Sanderson
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// DESCRIPTION:
// Configuration file interface.
//
#ifndef __M_CONFIG__
#define __M_CONFIG__
#include "doomtype.h"
#if !NO_FILE_ACCESS
void M_SetMusicPackDir(void);
char *M_GetSaveGameDir(const char *iwadname);
char *M_GetAutoloadDir(const char *iwadname);
extern const char *configdir;
#endif
#if !NO_USE_BOUND_CONFIG
void M_LoadDefaults(void);
void M_SaveDefaults(void);
void M_SaveDefaultsAlternate(const char *main, const char *extra);
void M_BindIntVariable(const char *name, int *variable);
void M_BindIntISB8Variable(const char *name, isb_int8_t *location);
void M_BindKeyVariable(const char *name, key_type_t *variable);
void M_BindMouseBVariable(const char *name, mouseb_type_t *variable);
void M_BindFloatVariable(const char *name, float *variable);
void M_BindStringVariable(const char *name, constcharstar *variable);
boolean M_SetVariable(const char *name, const char *value);
int M_GetIntVariable(const char *name);
const char *M_GetStringVariable(const char *name);
float M_GetFloatVariable(const char *name);
void M_SetConfigFilenames(const char *main_config, const char *extra_config);
void M_SetConfigDir(const char *dir);
#else
#define M_BindIntVariable(n, v) ((void)0)
#define M_BindIntISB8Variable(n, v) ((void)0)
#define M_BindKeyVariable(n, v) ((void)0)
#define M_BindMouseBVariable(n, v) ((void)0)
#define M_BindFloatVariable(n, v) ((void)0)
#define M_BindStringVariable(n, v) ((void)0)
#define M_GetIntVariable failure_xxx
#define M_GetFloatVariable failure_xxx
#define M_GetStringVariable failure_xxx
#define M_LoadDefaults() ((void)0)
#define M_SaveDefaults() ((void)0)
#define M_SaveDefaultsAlternate(a,b) ((void)0)
#define M_SetConfigFilenames(a,b) ((void)0)
#define M_SetConfigDir(a) ((void)0)
#endif
#endif