1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-18 15:00:26 +00:00

added some missing externs

This commit is contained in:
Zeno Rogue 2019-06-01 17:02:51 +02:00
parent 4325274e40
commit 0489cde78e
3 changed files with 4 additions and 2 deletions

View File

@ -212,7 +212,7 @@ namespace multi {
int deadzoneval[MAXJOY][MAXAXE]; int deadzoneval[MAXJOY][MAXAXE];
}; };
multi::config scfg; extern config scfg;
} }
enum eStereo { sOFF, sAnaglyph, sLR, sODS }; enum eStereo { sOFF, sAnaglyph, sLR, sODS };
@ -5493,7 +5493,7 @@ namespace dual {
// 0 = dualmode off, 1 = in dualmode (no game chosen), 2 = in dualmode (working on one of subgames) // 0 = dualmode off, 1 = in dualmode (no game chosen), 2 = in dualmode (working on one of subgames)
extern int state; extern int state;
extern int currently_loaded, main_side; extern int currently_loaded, main_side;
bool affect_both; extern bool affect_both;
bool movepc(int d, int subdir, bool checkonly); bool movepc(int d, int subdir, bool checkonly);
extern transmatrix player_orientation[2]; extern transmatrix player_orientation[2];

View File

@ -77,6 +77,7 @@ namespace dual {
int currently_loaded; int currently_loaded;
int main_side; int main_side;
bool affect_both;
gamedata dgd[2]; gamedata dgd[2];
transmatrix player_orientation[2]; transmatrix player_orientation[2];

View File

@ -24,6 +24,7 @@ namespace shmupballs {
namespace multi { namespace multi {
config scfg;
charstyle scs[MAXPLAYER]; charstyle scs[MAXPLAYER];
int players = 1; int players = 1;