summaryrefslogtreecommitdiffstats
path: root/src/script/cbottoken.cpp
diff options
context:
space:
mode:
authorerihel <erihel@gmail.com>2012-09-11 12:49:41 +0200
committererihel <erihel@gmail.com>2012-09-11 12:49:41 +0200
commit01cc0fbc49696a19a56dfdd8359d4bb77e868925 (patch)
tree81d0674e4b54e95dad5508948491a26d9d5522da /src/script/cbottoken.cpp
parent5903e400d476c2cf62c146643a0693c4fc29d68a (diff)
downloadcolobot-01cc0fbc49696a19a56dfdd8359d4bb77e868925.tar.gz
colobot-01cc0fbc49696a19a56dfdd8359d4bb77e868925.tar.bz2
colobot-01cc0fbc49696a19a56dfdd8359d4bb77e868925.zip
* latest changes
* all files except studio, map and maindialog should compile * did some code cleanup
Diffstat (limited to 'src/script/cbottoken.cpp')
-rw-r--r--src/script/cbottoken.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/script/cbottoken.cpp b/src/script/cbottoken.cpp
index 223da4d..788dba2 100644
--- a/src/script/cbottoken.cpp
+++ b/src/script/cbottoken.cpp
@@ -33,7 +33,7 @@
// Seeking the name of an object.
-char* RetObjectName(ObjectType type)
+char* GetObjectName(ObjectType type)
{
if ( type == OBJECT_PORTICO ) return "Portico";
if ( type == OBJECT_BASE ) return "SpaceShip";
@@ -126,7 +126,7 @@ char* RetObjectName(ObjectType type)
// Seeking the name of a secondary object.
// (because Otto thinks that Germans do not like nuclear power)
-char* RetObjectAlias(ObjectType type)
+char* GetObjectAlias(ObjectType type)
{
if ( type == OBJECT_NUCLEAR ) return "FuelCellPlant";
if ( type == OBJECT_URANIUM ) return "PlatinumOre";
@@ -139,7 +139,7 @@ char* RetObjectAlias(ObjectType type)
// Returns the help file to use for the object.
-char* RetHelpFilename(ObjectType type)
+char* GetHelpFilename(ObjectType type)
{
if ( type == OBJECT_BASE ) return "help\\object\\base.txt";
if ( type == OBJECT_DERRICK ) return "help\\object\\derrick.txt";
@@ -224,7 +224,7 @@ char* RetHelpFilename(ObjectType type)
// Returns the help file to use for instruction.
-char* RetHelpFilename(const char *token)
+char* GetHelpFilename(const char *token)
{
if ( strcmp(token, "if" ) == 0 ) return "help\\cbot\\if.txt";
if ( strcmp(token, "else" ) == 0 ) return "help\\cbot\\if.txt";
@@ -436,7 +436,7 @@ bool IsFunction(const char *token)
// Returns using a compact instruction.
-char* RetHelpText(const char *token)
+char* GetHelpText(const char *token)
{
if ( strcmp(token, "if" ) == 0 ) return "if ( condition ) { bloc }";
if ( strcmp(token, "else" ) == 0 ) return "else { bloc }";