All right... this is globals.h
Code:
#ifndef _globals_h_
#define _globals_h_
bool done;
GFX gfx;
Ship ship; // <--- error here: "Missing ';' before identifier 'Ship'
std::vector<Alien> aliens;
#endif
and this is the first part of main.cpp
Code:
#include <windows.h>
#include "resource.h"
#include "GFX.h"
#include "Ship.h"
#include "Bullet.h"
#include "Alien.h"
#include "main.h"
#include "StaticDefs.h"
#include "globals.h"
extern bool done;
extern GFX gfx;
extern Ship ship;
extern std::vector<Alien> aliens;
and this is part of Rocket.cpp
Code:
#include "Rocket.h"
#include <math.h>
#include "CoordGeom.h"
#include "Alien.h"
#include <vector>
#include "globals.h"
extern std::vector<Alien> aliens;