all the code up to that point
//system includes
#include <windows.h>
#include <windowsx.h>
#include <ddraw.h>
#include <stdio.h>
//system defines
#define WIN32_LEAN_AND_MEAN
//custom includes
#include "defines.h" //global definitions
#include "bmp.h" //bmp file reader
#include "gtimer.h" //game timer
#include "csprite.h" //for clipped sprite class
#include "objects.h" //for object class
#include "objman.h" //for object manager
#include "view.h" //for viewpoint class
#include "random.h" //for random number generator
#include "psound.h" //for sound manager
#include "input.h" //for input manager
#include "text.h" //for text sprite manager
#include "score.h" //for score manager
#include "topscore.h" //high score list
//defines
#define MAX_OBJECTS 32 //max number of objects in game
//globals
SetDisplayMode(1024,768, 32);