From ef317bb8c9cff775cccdcf0dbfdd672bebbc577f Mon Sep 17 00:00:00 2001 From: CobaltXII Date: Wed, 2 Jan 2019 18:45:42 -0500 Subject: [PATCH] Removed periods caused by double-spacing in Sublime Text --- README.md | 4 ++-- src/main.cpp | 9 +++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 3c6e6e6..22b59ce 100644 --- a/README.md +++ b/README.md @@ -11,14 +11,14 @@ Usage: ./minceraft ... -s [x_res y_res z_res] - Play singleplayer. If a world save exists at , the. + Play singleplayer. If a world save exists at , the world is loaded and the given dimensions (if any) are ignored. If not, a new world is generated with the given dimensions and saved to . -q [x_res y_res z_res] - Play quickplay. A new world is generated with the given dimensions (if. + Play quickplay. A new world is generated with the given dimensions (if any) and is stored in memory for the duration of the gameplay. ``` diff --git a/src/main.cpp b/src/main.cpp index 3e5df5e..d4141e4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -20,7 +20,7 @@ void print_usage(char** argv) std::cout << std::endl; - std::cout << " Play singleplayer. If a world save exists at , the. " << std::endl; + std::cout << " Play singleplayer. If a world save exists at , the " << std::endl; std::cout << " world is loaded and the given dimensions (if any) are ignored. If not, " << std::endl; std::cout << " a new world is generated with the given dimensions and saved to " << std::endl; std::cout << " . " << std::endl; @@ -31,7 +31,7 @@ void print_usage(char** argv) std::cout << std::endl; - std::cout << " Play quickplay. A new world is generated with the given dimensions (if. " << std::endl; + std::cout << " Play quickplay. A new world is generated with the given dimensions (if " << std::endl; std::cout << " any) and is stored in memory for the duration of the gameplay. " << std::endl; exit(16); @@ -592,7 +592,8 @@ int main(int argc, char** argv) player_y = player_hitbox.y; player_z = player_hitbox.z; - // Block placement and deletion testing. + // Block placement and deletion testing. Move this to a seperate + // header called raymarch.hpp! if ((sdl_mouse_l || sdl_mouse_r) && block_timer == 0) { @@ -668,7 +669,7 @@ int main(int argc, char** argv) { // Place the block. - the_accessor->set_id_safe(px, py, pz, id_stone_slab); + the_accessor->set_id_safe(px, py, pz, id_cobblestone_slab); block_timer = 10;