Debian Codegraph @

src/game_state.cpp

raw
1 /**
2 * Game state
3
4 * Copyright (C) 2015 Sylvain Beucler
5
6 * This file is part of GNU FreeDink
7
8 * GNU FreeDink is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation; either version 3 of the
11 * License, or (at your option) any later version.
12
13 * GNU FreeDink is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * General Public License for more details.
17
18 * You should have received a copy of the GNU General Public License
19 * along with this program. If not, see
20 * <http://www.gnu.org/licenses/>.
21 */
22
23 /* Engine variables directly mapped with DinkC variables */
24 int *pvision, *plife, *presult, *pspeed, *ptiming, *plifemax,
25 *pexp, *pstrength, *pcur_weapon, *pcur_magic, *pdefense,
26 *pgold, *pmagic, *plevel, *plast_text, *pmagic_level,
27 *pplayer_map, *pupdate_status, *pmissile_target, *penemy_sprite,
28 *pmagic_cost, *pmissle_source;
29
30 int dinkspeed = 3;
31 int push_active = 1;
32 unsigned int dink_base_push = 310;