diff --git a/wmud/main.c b/wmud/main.c index ce6867d..c7ead53 100644 --- a/wmud/main.c +++ b/wmud/main.c @@ -37,6 +37,7 @@ #include "configuration.h" #include "world.h" #include "menu.h" +#include "texts.h" /** * SECTION:utils @@ -134,14 +135,17 @@ wmud_logger(const gchar *log_domain, GLogLevelFlags log_level, const gchar *mess * debug support. The code below actually doesn't * require it, it's just a conceptional thing. */ #ifdef DEBUG - g_print("DEBUG: %s\n", message); + g_print("DEBUG: %s\n", message); #endif break; case G_LOG_LEVEL_MESSAGE: - g_print("MESSAGE: %s\n", message); + g_print("MESSAGE: %s\n", message); break; case G_LOG_LEVEL_INFO: - g_print("INFO: %s\n", message); + g_print("INFO: %s\n", message); + break; + case G_LOG_LEVEL_WARNING: + g_print("WARNING: %s\n", message); break; default: g_print("UNKNOWN LEVEL %03d: %s\n", log_level, message); diff --git a/wmud/main.h b/wmud/main.h index a9a7560..b230f21 100644 --- a/wmud/main.h +++ b/wmud/main.h @@ -1,3 +1,21 @@ +/* wMUD - Yet another MUD codebase by W00d5t0ck + * Copyright (C) 2012 - Gergely POLONKAI + * + * main.h: main and uncategorized functions + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ #ifndef __WMUD_MAIN_H__ # define __WMUD_MAIN_H__