Move similar/main/gauges.c -> similar/main/gauges.cpp
This commit is contained in:
parent
8601ef255e
commit
9c65aa3cc5
|
@ -767,7 +767,7 @@ class DXXProgram(DXXCommon):
|
|||
'main/gamerend.cpp',
|
||||
'main/gamesave.cpp',
|
||||
'main/gameseg.cpp',
|
||||
'main/gauges.c',
|
||||
'main/gauges.cpp',
|
||||
'main/hostage.c',
|
||||
'main/hud.c',
|
||||
'main/inferno.c',
|
||||
|
|
|
@ -48,8 +48,8 @@ extern bitmap_index Gauges_hires[MAX_GAUGE_BMS]; // hires gauges
|
|||
|
||||
// Flags for gauges/hud stuff
|
||||
|
||||
extern void add_points_to_score();
|
||||
extern void add_bonus_points_to_score();
|
||||
extern void add_points_to_score(int points);
|
||||
extern void add_bonus_points_to_score(int points);
|
||||
|
||||
void render_gauges(void);
|
||||
void init_gauges(void);
|
||||
|
|
|
@ -17,6 +17,7 @@ COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
|
|||
*
|
||||
*/
|
||||
|
||||
#include <algorithm>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -56,6 +57,8 @@ COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
|
|||
#endif
|
||||
#include "args.h"
|
||||
|
||||
using std::min;
|
||||
|
||||
//bitmap numbers for gauges
|
||||
#define GAUGE_SHIELDS 0 //0..9, in decreasing order (100%,90%...0%)
|
||||
#define GAUGE_INVULNERABLE 10 //10..19
|
Loading…
Reference in a new issue