| 1 |
// |
| 2 |
// Copyright(C) 2020 by Ryan Krafnick |
| 3 |
// |
| 4 |
// This program is free software; you can redistribute it and/or |
| 5 |
// modify it under the terms of the GNU General Public License |
| 6 |
// as published by the Free Software Foundation; either version 2 |
| 7 |
// of the License, or (at your option) any later version. |
| 8 |
// |
| 9 |
// This program is distributed in the hope that it will be useful, |
| 10 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 |
// GNU General Public License for more details. |
| 13 |
// |
| 14 |
// DESCRIPTION: |
| 15 |
// DSDA Options Lump |
| 16 |
// |
| 17 |
|
| 18 |
#ifndef __DSDA_OPTIONS__ |
| 19 |
#define __DSDA_OPTIONS__ |
| 20 |
|
| 21 |
typedef struct dsda_options { |
| 22 |
int weapon_recoil; |
| 23 |
int monsters_remember; |
| 24 |
int monster_infighting; |
| 25 |
int monster_backing; |
| 26 |
int monster_avoid_hazards; |
| 27 |
int monkeys; |
| 28 |
int monster_friction; |
| 29 |
int help_friends; |
| 30 |
int player_helpers; |
| 31 |
int friend_distance; |
| 32 |
int dog_jumping; |
| 33 |
int comp_telefrag; |
| 34 |
int comp_dropoff; |
| 35 |
int comp_vile; |
| 36 |
int comp_pain; |
| 37 |
int comp_skull; |
| 38 |
int comp_blazing; |
| 39 |
int comp_doorlight; |
| 40 |
int comp_model; |
| 41 |
int comp_god; |
| 42 |
int comp_falloff; |
| 43 |
int comp_floors; |
| 44 |
int comp_skymap; |
| 45 |
int comp_pursuit; |
| 46 |
int comp_doorstuck; |
| 47 |
int comp_staylift; |
| 48 |
int comp_zombie; |
| 49 |
int comp_stairs; |
| 50 |
int comp_infcheat; |
| 51 |
int comp_zerotags; |
| 52 |
int comp_moveblock; |
| 53 |
int comp_respawn; |
| 54 |
int comp_sound; |
| 55 |
int comp_666; |
| 56 |
int comp_soul; |
| 57 |
int comp_maskedanim; |
| 58 |
int comp_ouchface; |
| 59 |
int comp_maxhealth; |
| 60 |
int comp_translucency; |
| 61 |
int comp_ledgeblock; |
| 62 |
int comp_friendlyspawn; |
| 63 |
int comp_voodooscroller; |
| 64 |
int comp_reservedlineflag; |
| 65 |
} dsda_options_t; |
| 66 |
|
| 67 |
void dsda_ParseOptionsLump(void); |
| 68 |
const dsda_options_t* dsda_Options(void); |
| 69 |
int dsda_GameOptionSize(void); |
| 70 |
byte* dsda_WriteOptions21(byte* demo_p); |
| 71 |
const byte *dsda_ReadOptions21(const byte *demo_p); |
| 72 |
|
| 73 |
#endif |