From 99b4763f1028e72bb06d8db6c7e8ace469f8989c Mon Sep 17 00:00:00 2001 From: cflip Date: Tue, 25 Jan 2022 17:38:50 -0700 Subject: Remove unused code --- main.cpp | 9 --------- 1 file changed, 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 #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; -- cgit v1.2.3