diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | game.c | 4 | ||||
| -rw-r--r-- | main.c | 2 | ||||
| -rw-r--r-- | maps/demo1.map | 13 |
4 files changed, 11 insertions, 9 deletions
@@ -1 +1,2 @@ bin/ +autosave/ @@ -221,8 +221,8 @@ void InitGame(void) { LoadMap("maps/demo1.map"); - game.cursor_captured = true; - DisableCursor(); + game.cursor_captured = false; + EnableCursor(); } void UpdateGame(void) { @@ -4,7 +4,7 @@ #include "all.h" int main(void) { - SetConfigFlags(FLAG_VSYNC_HINT); + SetConfigFlags(FLAG_VSYNC_HINT | FLAG_WINDOW_RESIZABLE); InitWindow(1920, 1080, "Stalag"); SetTargetFPS(GetMonitorRefreshRate(GetCurrentMonitor())); diff --git a/maps/demo1.map b/maps/demo1.map index e2e286f..f7f73f7 100644 --- a/maps/demo1.map +++ b/maps/demo1.map @@ -32,16 +32,17 @@ } // brush 3 { -( -16 272 0 ) ( -16 273 0 ) ( -16 272 1 ) environment/planks_012 0 0 0 1 1 -( -16 272 0 ) ( -16 272 1 ) ( -15 272 0 ) environment/planks_012 0 0 0 1 1 -( -16 272 0 ) ( -15 272 0 ) ( -16 273 0 ) environment/planks_012 0 0 0 1 1 -( 80 336 64 ) ( 80 337 64 ) ( 81 336 64 ) environment/planks_012 0 0 0 1 1 -( 80 336 16 ) ( 81 336 16 ) ( 80 336 17 ) environment/planks_012 0 0 0 1 1 -( 80 336 16 ) ( 80 336 17 ) ( 80 337 16 ) environment/planks_012 0 0 0 1 1 +( -32 336 112 ) ( -32 272 112 ) ( -32 272 16 ) environment/paintedwood_008a 0 16 0 1 1 +( -32 272 112 ) ( 64 272 112 ) ( 64 272 16 ) environment/paintedwood_008a 16 16 0 1 1 +( 64 272 16 ) ( 64 336 16 ) ( -32 336 16 ) environment/paintedwood_008a 16 0 0 1 1 +( -32 336 112 ) ( 64 336 112 ) ( 64 272 112 ) environment/paintedwood_008a 16 0 0 1 1 +( 64 336 16 ) ( 64 336 112 ) ( -32 336 112 ) environment/paintedwood_008a 16 16 0 1 1 +( 64 272 112 ) ( 64 336 112 ) ( 64 336 16 ) environment/paintedwood_008a 0 16 0 1 1 } } // entity 1 { "classname" "info_player_start" "origin" "-112 -16 40" +"angle" "180" } |
