1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-20 16:37:40 +00:00

removed classes.h

This commit is contained in:
Zeno Rogue
2019-12-23 22:21:04 +01:00
parent 86d8eb759e
commit b6f9298f0a
4 changed files with 374 additions and 374 deletions

17
hyper.h
View File

@@ -17,7 +17,6 @@
#define VERNUM_HEX 0xA80F
#include "sysconfig.h"
#include "classes.h"
#include <stdarg.h>
#include "hyper_function.h"
@@ -209,6 +208,8 @@ typedef long double ld;
typedef complex<ld> cld;
typedef unsigned color_t;
struct charstyle {
int charid;
color_t skincolor, haircolor, dresscolor, swordcolor, dresscolor2, uicolor, eyecolor;
@@ -217,6 +218,8 @@ struct charstyle {
enum eStereo { sOFF, sAnaglyph, sLR, sODS };
enum eModel : int;
struct videopar {
ld scale, alpha, sspeed, mspeed, yshift, camera_angle;
ld ballangle, ballproj, euclid_to_sphere, twopoint_param, fisheye_param, stretch, binary_width, fixed_facing_dir;
@@ -665,8 +668,6 @@ extern bool longclick;
extern bool useRangedOrb;
#endif
static inline bool orbProtection(eItem it) { return false; } // not implemented
#ifndef GL
typedef float GLfloat;
#endif
@@ -687,9 +688,6 @@ extern int emeraldtable[100][7];
// extern cell *cwpeek(cellwalker cw, int dir);
const eLand NOWALLSEP = laNone;
const eLand NOWALLSEP_USED = laWhirlpool;
#define HAUNTED_RADIUS getDistLimit()
#define UNKNOWN 65535
@@ -756,6 +754,13 @@ static const color_t NOCOLOR = 0;
static const int max_vec = (1<<14);
extern bool needConfirmationEvenIfSaved();
typedef unsigned long long flagtype;
#define Flag(i) (flagtype(1ull<<i))
static inline void set_flag(flagtype& f, flagtype which, bool b) {
if(b) f |= which;
else f &= ~which;
}
}
// assert macro