summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/main.cpp b/main.cpp
index 02f7902..9811639 100644
--- a/main.cpp
+++ b/main.cpp
@@ -2,15 +2,10 @@
#include <cmath>
#include "window.h"
-#include "windows.h"
#include "bitmap.h"
#include "level.h"
#include "train.h"
-#include "iostream"
-#pragma comment(lib, "winmm.lib") // For audio files
-
-
struct Point2D {
float x, y;
};
@@ -92,10 +87,6 @@ int main(int argc, char **argv)
Bitmap bitmap(Width, Height);
TrainCar car(0, 0);
- //bool audio_play1 = PlaySound(TEXT("res\\Starliner.wav"), NULL, SND_LOOP | SND_ASYNC);
- //Adds Starliner.wav and plays it on startup and loops,
- //I imagine this would get very annoying during debug so it's commented out for now.
-
int xOffs = 0, yOffs = 0;
int xDrag, yDrag;
bool isDragging = false;