#include <tpascal.inc>
#include "typen.h"
#include "config.h"
Include dependency graph for history.cpp:

Go to the source code of this file.
Classes | |
| struct | rounddata |
| struct | tround |
| struct | xy |
Defines | |
| #define | statc 0 |
| #define | hm 1.3 |
| #define | trounddata struct rounddata * |
| #define | pround struct tround * |
| #define | kg 15 |
| #define | xstep 50 |
| #define | ystep 50 |
| #define | linemx 5 |
| #define | linemy 5 |
Typedefs | |
| typedef rounddata * | trounddata |
| typedef tround * | pround |
Functions | |
| char * | malloc (int) |
| void | countunits (void) |
| void | starthistory (void) |
| void | delhistory (void) |
| void | tshowhistoryinit (void) |
| void | tshowhistoryrun (void) |
| void | tshowhistorybuttonpressed (void) |
| void | showplayerstat (byte sp, boolean del) |
| void | tshowhistorypaintstat (byte flag, byte id) |
| long * | tshowhistorygetdata (struct *p, int *player) |
| void | tshowhistorygetinfo (long *mn, long *mx, long *round) |
Variables | |
| pround | rounds |
| pround | asr |
| pround | ar |
| pvehicle | ae |
| pbuilding | ab |
Definition in file history.cpp.
| #define hm 1.3 |
| #define kg 15 |
Referenced by tshowhistoryinit().
| #define linemx 5 |
Referenced by tshowhistorypaintstat().
| #define linemy 5 |
Referenced by tshowhistorypaintstat().
Definition at line 84 of file history.cpp.
Referenced by tshowhistorygetinfo(), and tshowhistorypaintstat().
| #define statc 0 |
| #define trounddata struct rounddata * |
Definition at line 69 of file history.cpp.
| #define xstep 50 |
Referenced by tshowhistorypaintstat().
| #define ystep 50 |
Referenced by tshowhistorypaintstat().
Definition at line 91 of file history.cpp.
| typedef struct rounddata* trounddata |
Definition at line 83 of file history.cpp.
| void countunits | ( | void | ) |
Definition at line 99 of file history.cpp.
| void delhistory | ( | void | ) |
Definition at line 185 of file history.cpp.
References ar, tround::next, tround::player, and rounds.
| char* malloc | ( | int | ) |
Referenced by asc_malloc(), tdialogbox::buildgraphics(), countunits(), tdialogbox::execbutton(), tvirtualscreenbuf::init(), tdialogbox::knopfdruck(), loadpalette(), MemoryStreamCopy::MemoryStreamCopy(), tdialogbox::newknopfdruck(), tdialogbox::newknopfdruck2(), tdialogbox::newknopfdruck3(), tdialogbox::newknopfdruck4(), readOldEvent(), starthistory(), strupr(), tinitgfxengine::tinitgfxengine(), Surface::toBGI(), uncompress_rlepict(), and yyalloc().
| void showplayerstat | ( | byte | sp, | |
| boolean | del | |||
| ) |
Definition at line 324 of file history.cpp.
References ar, dblue, line(), tround::next, tround::nr, and rounds.
| void starthistory | ( | void | ) |
| void tshowhistorybuttonpressed | ( | void | ) |
Definition at line 310 of file history.cpp.
| long* tshowhistorygetdata | ( | struct * | p, | |
| int * | player | |||
| ) |
Definition at line 423 of file history.cpp.
| void tshowhistorygetinfo | ( | long * | mn, | |
| long * | mx, | |||
| long * | round | |||
| ) |
Definition at line 464 of file history.cpp.
References rounddata::buildings, rounddata::devtechs, rounddata::energy, rounddata::material, tround::next, tround::player, pround, rounddata::research, rounds, rounddata::sprit, and rounddata::vehicle.
| void tshowhistoryinit | ( | void | ) |
Definition at line 221 of file history.cpp.
References actmap, dlg_in3d, kg, mousevisible(), GameMap::player, and rahmen().
| void tshowhistorypaintstat | ( | byte | flag, | |
| byte | id | |||
| ) |
Definition at line 344 of file history.cpp.
References activefontsettings, ar, centertext, dblue, hm, line(), linemx, linemy, max(), min(), tround::next, tround::nr, tround::player, pround, righttext, rounds, showtext2(), statc, xy::x, xstep, xy::y, and ystep.
| void tshowhistoryrun | ( | void | ) |
| pbuilding ab |
| pvehicle ae |
Definition at line 94 of file history.cpp.
Referenced by countunits(), delhistory(), main(), showplayerstat(), and tshowhistorypaintstat().
Definition at line 94 of file history.cpp.
Definition at line 93 of file history.cpp.
Referenced by countunits(), delhistory(), showplayerstat(), starthistory(), tshowhistorygetinfo(), and tshowhistorypaintstat().
1.5.1