Get rid of F7, F8 and F9 shortcuts as they are now unused as of the previous commit. Also add some default break to switch cases.
Close the game when pressing the red 'X' on the right upper corner (Windows) (implemented GAME_STATE_EXIT).
Level Editor: Implement a really big start for collision lines. Too many details and features to describe. :)
Level Editor: right clicking a level editor collision pointer now erases it along with its connected line(s).
Player: Jumping while falling is no longer possible.
Pressing escape will now erase your current selection and if there is no selected tile at the moment, it will stop the currently being drawn tile (in that order because it's frustrating if both actions would be canceled at the same time in this case).
Mouse collision detection will no longer take the center of the mouse but rather the actual pointing part of the mouse.
Implement a second window which will contain all buttons for the level editor and fix a memory leak.
Fix a bunch of memory leaks. Two commented out because I can't figure out why they cause debug assertions. Good night! :)
Level Editor: minimizing the main window now also minimizes the tileset window (it doesn't actually minimize, it only sets its position very far away, but oh well.. That's how Windows does it too xd)
Make it possible to resize the Tileset window and make the view properly move along.
Implement a popup box which will appear when trying to leave the level editor with unsaved changes.
Add Graphics and Fonts to the repository source and get rid of the mentioning of Graphics folder in .gitignore.
Level Editor: pressing 'no' when asked if you wish to exit without saving your changes will now also reset the popup box' booleans that determine whether or not the Yes/No buttons were pressed.
Fix a typo in Button class resulting in button events not always being registrated. This seems to not solve the issue completely yet, though.
Make it possible to move the Popup Box and add a 'close' button for the popup box. Closing the popup box now also resets its position.
Pressing the big bad red 'X' on the right upper corner of the main screen while in level editor when there are no sprites placed now properly closes the window, like it should.
Decide whether or not a button should ignore the grid or not in LevelEditorState::SetSelectedTileFilename rather than passing it around in the Button constructor for no reason.
Implement a mini menu for the Game class state.
Closing the main window while in main menu will now properly close the applicaiton.