summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorcflip <cflip@cflip.net>2022-01-25 17:38:50 -0700
committercflip <cflip@cflip.net>2022-01-25 17:38:50 -0700
commit99b4763f1028e72bb06d8db6c7e8ace469f8989c (patch)
tree51fb24d08f6e767381032b88f9cebc22876abfa2 /main.cpp
parenta917211ba05432623f7a6259e2f0f5191debbec3 (diff)
Remove unused code
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;