summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorscarab <scarab@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-08-24 09:38:35 +0000
committerscarab <scarab@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-08-24 09:38:35 +0000
commit19da25a2f781802e4e322cd13a8c137a97555ad0 (patch)
treef3af71412db2099802de777afc3f4a1d1ea8e90c
parentbff20ca9e51ccdbf01cc905624b9ec3ffccfde1f (diff)
- oprava preklepu v cmakelists
- oprava oroborousovi en v modBasic git-svn-id: http://opensvn.csie.org/tuxanci_ng@245 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
-rw-r--r--CMakeLists.txt2
-rwxr-xr-xsrc/modules/modBasic.c17
2 files changed, 10 insertions, 9 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6660cc9..f9b2173 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -32,7 +32,7 @@ SET ( WORKDIR ${CMAKE_SOURCE_DIR}/src )
# data because some distributions want different data placement
SET ( CMAKE_CONF_PATH "/etc" CACHE PATH "Config path prefix" )
SET ( CMAKE_INSTALL_PREFIX "/usr/local/" CACHE PATH "Install path prefix" )
-SET ( CMAKE_DOC_PATH "${CMAKE_INSTALL_PREFIX}share/doc" CACHE PATH "Data path prefix" )
+SET ( CMAKE_DOC_PATH "${CMAKE_INSTALL_PREFIX}/share/doc" CACHE PATH "Data path prefix" )
SET ( CMAKE_LOCALE_PATH "${CMAKE_INSTALL_PREFIX}/share/locale" CACHE PATH "Locale path prefix" )
SET ( CMAKE_DATA_PATH "${CMAKE_INSTALL_PREFIX}/share/" CACHE PATH "Data path prefix" )
SET ( LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib/" CACHE PATH "Library path prefix" )
diff --git a/src/modules/modBasic.c b/src/modules/modBasic.c
index 1532759..8329b14 100755
--- a/src/modules/modBasic.c
+++ b/src/modules/modBasic.c
@@ -27,7 +27,7 @@ int init(export_fce_t *p)
{
export_fce = p;
- printf("init basic module.\n");
+ printf("Initializing Basic module.\n");
return 0;
}
@@ -35,40 +35,41 @@ int init(export_fce_t *p)
int draw(int x, int y, int w, int h)
{
- printf("draw basic module.\n");
+ printf("Drawing Basic module.\n");
return 0;
}
#endif
int event()
{
- printf("event basic module.\n");
+ printf("Basic module catch event.\n");
return 0;
}
int isConflict(int x, int y, int w, int h)
{
- printf("isConflict(%d, %d, %d, %d) basic module.\n", x, y, w, h);
+ printf("isConflict(%d, %d, %d, %d) in Basic module.\n", x, y, w, h);
return 0;
}
static void cmd_basic(char *line)
{
- printf("cmd_basic(%s) basic module.\n", line);
+ printf("cmd_basic(%s) in Basic module.\n", line);
}
void cmdArena(char *line)
{
- if( strncmp(line, "basic", 5) == 0 )cmd_basic(line);
+ if (strncmp(line, "basic", 5) == 0)
+ cmd_basic(line);
}
void recvMsg(char *msg)
{
- printf("recvMsg(%s) basic module.\n", msg);
+ printf("recvMsg(%s) in Basic module.\n", msg);
}
int destroy()
{
- printf("destroy basic module.\n");
+ printf("Destroying Basic module.\n");
return 0;
}