about summary refs log tree commit diff
path: root/src/game
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-03-22 18:40:27 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-03-22 18:40:27 +0000
commitbc108df382b5ac4ca637bf97ba9b2d8b2d83e58f (patch)
treee04fade6077515b8a912283ea48bce52e2c771f2 /src/game
parent271f1ae44af3251bd9d4dd5585ae7078a5fe7993 (diff)
downloadzcatch-bc108df382b5ac4ca637bf97ba9b2d8b2d83e58f.tar.gz
zcatch-bc108df382b5ac4ca637bf97ba9b2d8b2d83e58f.zip
renamed everything. added the new license
Diffstat (limited to 'src/game')
-rw-r--r--src/game/client/gc_console.cpp2
-rw-r--r--src/game/client/gc_hooks.cpp2
-rw-r--r--src/game/client/gc_menu.cpp6
-rw-r--r--src/game/g_version.h4
-rw-r--r--src/game/server/gs_server.cpp4
5 files changed, 9 insertions, 9 deletions
diff --git a/src/game/client/gc_console.cpp b/src/game/client/gc_console.cpp
index 4c518711..c471d717 100644
--- a/src/game/client/gc_console.cpp
+++ b/src/game/client/gc_console.cpp
@@ -570,7 +570,7 @@ void console_render()
 		
 		// render version
 		char buf[128];
-		str_format(buf, sizeof(buf), "Teewars v%s", TEEWARS_VERSION);
+		str_format(buf, sizeof(buf), "v%s", GAME_VERSION);
 		float version_width = gfx_text_width(0, font_size, buf, -1);
 		gfx_text(0, screen.w-version_width-5, y, font_size, buf, -1);
 
diff --git a/src/game/client/gc_hooks.cpp b/src/game/client/gc_hooks.cpp
index a4ac0e74..5dadb558 100644
--- a/src/game/client/gc_hooks.cpp
+++ b/src/game/client/gc_hooks.cpp
@@ -681,4 +681,4 @@ extern "C" void modc_connected()
 	send_info(true);
 }
 
-extern "C" const char *modc_net_version() { return TEEWARS_NETVERSION; }
+extern "C" const char *modc_net_version() { return GAME_NETVERSION; }
diff --git a/src/game/client/gc_menu.cpp b/src/game/client/gc_menu.cpp
index 2708c374..446d42a6 100644
--- a/src/game/client/gc_menu.cpp
+++ b/src/game/client/gc_menu.cpp
@@ -1678,7 +1678,7 @@ static void menu2_render_settings(RECT main_view)
 	{
 		RECT restart_warning;
 		ui_hsplit_b(&main_view, 40, &main_view, &restart_warning);
-		ui_do_label(&restart_warning, "You must restart Teewars for all settings to take effect.", 15.0f, -1, 220);
+		ui_do_label(&restart_warning, "You must restart the game for all settings to take effect.", 15.0f, -1, 220);
 	}
 }
 
@@ -1941,9 +1941,9 @@ int menu2_render()
 		}
 		else if(popup == POPUP_FIRST_LAUNCH)
 		{
-			title = "Welcome to Teewars";
+			title = "Welcome to Teeworlds";
 			extra_text =
-			"As this is the first time you launch Teewars, please enter your nick name below. "
+			"As this is the first time you launch the game, please enter your nick name below. "
 			"It's recommended that you check the settings to adjust them to your liking "
 			"before joining a server.";
 			button_text = "Ok";
diff --git a/src/game/g_version.h b/src/game/g_version.h
index c10af7af..516d63f5 100644
--- a/src/game/g_version.h
+++ b/src/game/g_version.h
@@ -1,4 +1,4 @@
 /* copyright (c) 2007 magnus auvinen, see licence.txt for more info */
 #include "generated/nethash.c"
-#define TEEWARS_VERSION "0.4.0-dev"
-#define TEEWARS_NETVERSION "0.4 " TEEWARS_NETVERSION_HASH
+#define GAME_VERSION "0.4.0-dev"
+#define GAME_NETVERSION "0.4 " GAME_NETVERSION_HASH
diff --git a/src/game/server/gs_server.cpp b/src/game/server/gs_server.cpp
index 8b046610..93cd0695 100644
--- a/src/game/server/gs_server.cpp
+++ b/src/game/server/gs_server.cpp
@@ -2313,5 +2313,5 @@ void mods_postsnap()
 	events.clear();
 }
 
-extern "C" const char *mods_net_version() { return TEEWARS_NETVERSION; }
-extern "C" const char *mods_version() { return TEEWARS_VERSION; }
+extern "C" const char *mods_net_version() { return GAME_NETVERSION; }
+extern "C" const char *mods_version() { return GAME_VERSION; }