summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/misc.cpp274
-rw-r--r--src/common/misc.h8
-rw-r--r--src/common/restext.cpp2583
-rw-r--r--src/common/restext.h10
-rw-r--r--src/object/robotmain.h42
-rw-r--r--src/ui/button.cpp50
-rw-r--r--src/ui/button.h8
-rw-r--r--src/ui/check.cpp34
-rw-r--r--src/ui/check.h2
-rw-r--r--src/ui/color.cpp92
-rw-r--r--src/ui/color.h18
-rw-r--r--src/ui/compass.cpp55
-rw-r--r--src/ui/compass.h4
-rw-r--r--src/ui/control.cpp249
-rw-r--r--src/ui/control.h127
-rw-r--r--src/ui/gauge.cpp24
-rw-r--r--src/ui/gauge.h6
-rw-r--r--src/ui/group.cpp93
-rw-r--r--src/ui/group.h2
19 files changed, 1856 insertions, 1825 deletions
diff --git a/src/common/misc.cpp b/src/common/misc.cpp
index 2427356..d4805e6 100644
--- a/src/common/misc.cpp
+++ b/src/common/misc.cpp
@@ -21,14 +21,16 @@
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
-#include <direct.h>
+//#include <direct.h>
#include <time.h>
-#include <d3d.h>
+//#include <d3d.h>
#include "common/struct.h"
-#include "old/d3dengine.h"
-#include "old/d3dmath.h"
-#include "old/d3dutil.h"
+//#include "old/d3dengine.h"
+#include "graphics/engine/engine.h"
+//#include "old/d3dmath.h"
+//#include "math/math.h"
+//#include "old/d3dutil.h"
#include "common/language.h"
#include "common/event.h"
#include "common/misc.h"
@@ -37,7 +39,7 @@
CMetaFile g_metafile;
-static EventMsg g_uniqueEventMsg = EVENT_USER;
+static EventType g_uniqueEventType = EVENT_USER;
static bool g_bUserDir = false;
static char g_userDir[100] = "";
@@ -45,84 +47,84 @@ static char g_userDir[100] = "";
// Gives a single user event.
-EventMsg GetUniqueEventMsg()
+EventType GetUniqueEventType()
{
int i;
- i = (int)g_uniqueEventMsg+1;
- g_uniqueEventMsg = (EventMsg)i;
- return g_uniqueEventMsg;
+ i = static_cast <int> (g_uniqueEventType+1);
+ g_uniqueEventType = static_cast<EventType>(i);
+ return g_uniqueEventType;
}
// Returns a non-accented letter.
-char RetNoAccent(char letter)
+char GetNoAccent(char letter)
{
if ( letter < 0 )
{
- if ( letter == 'á' ||
- letter == 'à' ||
- letter == 'â' ||
- letter == 'ä' ||
- letter == 'ã' ) return 'a';
-
- if ( letter == 'é' ||
- letter == 'è' ||
- letter == 'ê' ||
- letter == 'ë' ) return 'e';
-
- if ( letter == 'í' ||
- letter == 'ì' ||
- letter == 'î' ||
- letter == 'ï' ) return 'i';
-
- if ( letter == 'ó' ||
- letter == 'ò' ||
- letter == 'ô' ||
- letter == 'ö' ||
- letter == 'õ' ) return 'o';
-
- if ( letter == 'ú' ||
- letter == 'ù' ||
- letter == 'û' ||
- letter == 'ü' ) return 'u';
-
- if ( letter == 'ç' ) return 'c';
-
- if ( letter == 'ñ' ) return 'n';
-
- if ( letter == 'Á' ||
- letter == 'À' ||
- letter == 'Â' ||
- letter == 'Ä' ||
- letter == 'Ã' ) return 'A';
-
- if ( letter == 'É' ||
- letter == 'È' ||
- letter == 'Ê' ||
- letter == 'Ë' ) return 'E';
-
- if ( letter == 'Í' ||
- letter == 'Ì' ||
- letter == 'Î' ||
- letter == 'Ï' ) return 'I';
-
- if ( letter == 'Ó' ||
- letter == 'Ò' ||
- letter == 'Ô' ||
- letter == 'Ö' ||
- letter == 'Õ' ) return 'O';
-
- if ( letter == 'Ú' ||
- letter == 'Ù' ||
- letter == 'Û' ||
- letter == 'Ü' ) return 'U';
-
- if ( letter == 'Ç' ) return 'C';
-
- if ( letter == 'Ñ' ) return 'N';
+ if ( letter == '�' ||
+ letter == '�' ||
+ letter == '�' ||
+ letter == '�' ||
+ letter == '�' ) return 'a';
+
+ if ( letter == '�' ||
+ letter == '�' ||
+ letter == '�' ||
+ letter == '�' ) return 'e';
+
+ if ( letter == '�' ||
+ letter == '�' ||
+ letter == '�' ||
+ letter == '�' ) return 'i';
+
+ if ( letter == '�' ||
+ letter == '�' ||
+ letter == '�' ||
+ letter == '�' ||
+ letter == '�' ) return 'o';
+
+ if ( letter == '�' ||
+ letter == '�' ||
+ letter == '�' ||
+ letter == '�' ) return 'u';
+
+ if ( letter == '�' ) return 'c';
+
+ if ( letter == '�' ) return 'n';
+
+ if ( letter == '�' ||
+ letter == '�' ||
+ letter == '�' ||
+ letter == '�' ||
+ letter == '�' ) return 'A';
+
+ if ( letter == '�' ||
+ letter == '�' ||
+ letter == '�' ||
+ letter == '�' ) return 'E';
+
+ if ( letter == '�' ||
+ letter == '�' ||
+ letter == '�' ||
+ letter == '�' ) return 'I';
+
+ if ( letter == '�' ||
+ letter == '�' ||
+ letter == '�' ||
+ letter == '�' ||
+ letter == '�' ) return 'O';
+
+ if ( letter == '�' ||
+ letter == '�' ||
+ letter == '�' ||
+ letter == '�' ) return 'U';
+
+ if ( letter == '�' ) return 'C';
+
+ if ( letter == '�' ) return 'N';
}
return letter;
@@ -130,40 +132,40 @@ char RetNoAccent(char letter)
// Returns an uppercase letter.
-char RetToUpper(char letter)
+char GetToUpper(char letter)
{
if ( letter < 0 )
{
- if ( letter == 'á' ) return 'Á';
- if ( letter == 'à' ) return 'À';
- if ( letter == 'â' ) return 'Â';
- if ( letter == 'ä' ) return 'Ä';
- if ( letter == 'ã' ) return 'Ã';
-
- if ( letter == 'é' ) return 'É';
- if ( letter == 'è' ) return 'È';
- if ( letter == 'ê' ) return 'Ê';
- if ( letter == 'ë' ) return 'Ë';
-
- if ( letter == 'í' ) return 'Í';
- if ( letter == 'ì' ) return 'Ì';
- if ( letter == 'î' ) return 'Î';
- if ( letter == 'ï' ) return 'Ï';
-
- if ( letter == 'ó' ) return 'Ó';
- if ( letter == 'ò' ) return 'Ò';
- if ( letter == 'ô' ) return 'Ô';
- if ( letter == 'ö' ) return 'Ö';
- if ( letter == 'õ' ) return 'Õ';
-
- if ( letter == 'ú' ) return 'Ú';
- if ( letter == 'ù' ) return 'Ù';
- if ( letter == 'û' ) return 'Û';
- if ( letter == 'ü' ) return 'Ü';
-
- if ( letter == 'ç' ) return 'Ç';
-
- if ( letter == 'ñ' ) return 'Ñ';
+ if ( letter == '�' ) return '�';
+ if ( letter == '�' ) return '�';
+ if ( letter == '�' ) return '�';
+ if ( letter == '�' ) return '�';
+ if ( letter == '�' ) return '�';
+
+ if ( letter == '�' ) return '�';
+ if ( letter == '�' ) return '�';
+ if ( letter == '�' ) return '�';
+ if ( letter == '�' ) return '�';
+
+ if ( letter == '�' ) return '�';
+ if ( letter == '�' ) return '�';
+ if ( letter == '�' ) return '�';
+ if ( letter == '�' ) return '�';
+
+ if ( letter == '�' ) return '�';
+ if ( letter == '�' ) return '�';
+ if ( letter == '�' ) return '�';
+ if ( letter == '�' ) return '�';
+ if ( letter == '�' ) return '�';
+
+ if ( letter == '�' ) return '�';
+ if ( letter == '�' ) return '�';
+ if ( letter == '�' ) return '�';
+ if ( letter == '�' ) return '�';
+
+ if ( letter == '�' ) return '�';
+
+ if ( letter == '�' ) return '�';
}
return toupper(letter);
@@ -171,40 +173,40 @@ char RetToUpper(char letter)
// Returns a lowercase letter.
-char RetToLower(char letter)
+char GetToLower(char letter)
{
if ( letter < 0 )
{
- if ( letter == 'Á' ) return 'á';
- if ( letter == 'À' ) return 'à';
- if ( letter == 'Â' ) return 'â';
- if ( letter == 'Ä' ) return 'ä';
- if ( letter == 'Ã' ) return 'ã';
-
- if ( letter == 'É' ) return 'é';
- if ( letter == 'È' ) return 'è';
- if ( letter == 'Ê' ) return 'ê';
- if ( letter == 'Ë' ) return 'ë';
-
- if ( letter == 'Í' ) return 'í';
- if ( letter == 'Ì' ) return 'ì';
- if ( letter == 'Î' ) return 'î';
- if ( letter == 'Ï' ) return 'ï';
-
- if ( letter == 'Ó' ) return 'ó';
- if ( letter == 'Ò' ) return 'ò';
- if ( letter == 'Ô' ) return 'ô';
- if ( letter == 'Ö' ) return 'ö';
- if ( letter == 'Õ' ) return 'õ';
-
- if ( letter == 'Ú' ) return 'ú';
- if ( letter == 'Ù' ) return 'ù';
- if ( letter == 'Û' ) return 'û';
- if ( letter == 'Ü' ) return 'ü';
-
- if ( letter == 'Ç' ) return 'ç';
-
- if ( letter == 'Ñ' ) return 'ñ';
+ if ( letter == '�' ) return '�';
+ if ( letter == '�' ) return '�';
+ if ( letter == '�' ) return '�';
+ if ( letter == '�' ) return '�';
+ if ( letter == '�' ) return '�';
+
+ if ( letter == '�' ) return '�';
+ if ( letter == '�' ) return '�';
+ if ( letter == '�' ) return '�';
+ if ( letter == '�' ) return '�';
+
+ if ( letter == '�' ) return '�';
+ if ( letter == '�' ) return '�';
+ if ( letter == '�' ) return '�';
+ if ( letter == '�' ) return '�';
+
+ if ( letter == '�' ) return '�';
+ if ( letter == '�' ) return '�';
+ if ( letter == '�' ) return '�';
+ if ( letter == '�' ) return '�';
+ if ( letter == '�' ) return '�';
+
+ if ( letter == '�' ) return '�';
+ if ( letter == '�' ) return '�';
+ if ( letter == '�' ) return '�';
+ if ( letter == '�' ) return '�';
+
+ if ( letter == '�' ) return '�';
+
+ if ( letter == '�' ) return '�';
}
return tolower(letter);
@@ -213,7 +215,7 @@ char RetToLower(char letter)
// Converting time to string.
-void TimeToAscii(time_t time, char *buffer)
+void GimeToAscii(time_t time, char *buffer)
{
struct tm when;
int year;
@@ -311,7 +313,7 @@ bool CopyFileToTemp(char* filename)
UserDir(dst, filename, "textures");
strcpy(g_userDir, save);
- _mkdir("temp");
+// _mkdir("temp"); TODO
if ( !Xfer(src, dst) ) return false;
strcpy(filename, dst);
diff --git a/src/common/misc.h b/src/common/misc.h
index 4853856..bb4bf1f 100644
--- a/src/common/misc.h
+++ b/src/common/misc.h
@@ -221,9 +221,9 @@ const int KS_NUMMINUS = (1<<15);
extern EventType GetUniqueEventType();
-extern char RetNoAccent(char letter);
-extern char RetToUpper(char letter);
-extern char RetToLower(char letter);
+extern char GetNoAccent(char letter);
+extern char GetToUpper(char letter);
+extern char GetToLower(char letter);
extern void TimeToAscii(time_t time, char *buffer);
@@ -233,6 +233,6 @@ extern void AddExt(char* filename, char* ext);
extern void UserDir(bool bUser, char* dir);
extern void UserDir(char* buffer, char* dir, char* def);
-extern char RetLanguageLetter();
+extern char GetLanguageLetter();
diff --git a/src/common/restext.cpp b/src/common/restext.cpp
index bbec090..c67a49c 100644
--- a/src/common/restext.cpp
+++ b/src/common/restext.cpp
@@ -15,8 +15,9 @@
// * along with this program. If not, see http://www.gnu.org/licenses/.// restext.cpp
#include <stdio.h>
-#include "common/struct.h"
-#include "old/d3dengine.h"
+//#include "common/struct.h"
+//#include "old/d3dengine.h"
+#include "graphics/engine/engine.h"
#include "common/language.h"
#include "common/misc.h"
#include "common/event.h"
@@ -32,7 +33,7 @@
// Gives the pointer to the engine.
-void SetEngine(CD3DEngine *engine)
+void SetEngine(Gfx::CEngine *engine)
{
g_engine = engine;
}
@@ -114,7 +115,7 @@ void PutKeyName(char* dst, char* src)
{
if ( SearchKey(src+s+5, key) )
{
- res = g_engine->RetKey(key, 0);
+// res = g_engine->GetKey(key, 0); TODO
if ( res != 0 )
{
if ( GetResource(RES_KEY, res, name) )
@@ -863,7 +864,7 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == TX_NOTERM ) strcpy(text, "Instructions after the final closing brace");
if ( num == TX_CLOSEBLK ) strcpy(text, "End of block missing");
if ( num == TX_ELSEWITHOUTIF ) strcpy(text, "Instruction ""else"" without corresponding ""if"" ");
- if ( num == TX_OPENBLK ) strcpy(text, "Opening brace missing ");//début d'un bloc attendu?
+ if ( num == TX_OPENBLK ) strcpy(text, "Opening brace missing ");//d�but d'un bloc attendu?
if ( num == TX_BADTYPE ) strcpy(text, "Wrong type for the assignment");
if ( num == TX_REDEFVAR ) strcpy(text, "A variable can not be declared twice");
if ( num == TX_BAD2TYPE ) strcpy(text, "The types of the two operands are incompatible ");
@@ -872,7 +873,7 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == TX_WHILE ) strcpy(text, "Keyword ""while"" missing");
if ( num == TX_BREAK ) strcpy(text, "Instruction ""break"" outside a loop");
if ( num == TX_LABEL ) strcpy(text, "A label must be followed by ""for"", ""while"", ""do"" or ""switch""");
- if ( num == TX_NOLABEL ) strcpy(text, "This label does not exist");// Cette étiquette n'existe pas
+ if ( num == TX_NOLABEL ) strcpy(text, "This label does not exist");// Cette �tiquette n'existe pas
if ( num == TX_NOCASE ) strcpy(text, "Instruction ""case"" missing");
if ( num == TX_BADNUM ) strcpy(text, "Number missing");
if ( num == TX_VOID ) strcpy(text, "Void parameter");
@@ -898,7 +899,7 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == TX_NOPUBLIC ) strcpy(text, "Public required");
if ( num == TX_DIVZERO ) strcpy(text, "Dividing by zero");
if ( num == TX_NOTINIT ) strcpy(text, "Variable not initialized");
- if ( num == TX_BADTHROW ) strcpy(text, "Negative value rejected by ""throw""");//C'est quoi, ça?
+ if ( num == TX_BADTHROW ) strcpy(text, "Negative value rejected by ""throw""");//C'est quoi, �a?
if ( num == TX_NORETVAL ) strcpy(text, "The function returned no value ");
if ( num == TX_NORUN ) strcpy(text, "No function running");
if ( num == TX_NOCALL ) strcpy(text, "Calling an unknown function");
@@ -913,119 +914,119 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == TX_ERRREAD ) strcpy(text, "Read error");
if ( num == TX_ERRWRITE ) strcpy(text, "Write error");
}
-
+// \TODO
if ( type == RES_KEY )
{
if ( num == 0 ) strcpy(text, "< none >");
- if ( num == VK_LEFT ) strcpy(text, "Arrow left");
- if ( num == VK_RIGHT ) strcpy(text, "Arrow right");
- if ( num == VK_UP ) strcpy(text, "Arrow up");
- if ( num == VK_DOWN ) strcpy(text, "Arrow down");
- if ( num == VK_CANCEL ) strcpy(text, "Control-break");
- if ( num == VK_BACK ) strcpy(text, "<--");
- if ( num == VK_TAB ) strcpy(text, "Tab");
- if ( num == VK_CLEAR ) strcpy(text, "Clear");
- if ( num == VK_RETURN ) strcpy(text, "Enter");
- if ( num == VK_SHIFT ) strcpy(text, "Shift");
- if ( num == VK_CONTROL ) strcpy(text, "Ctrl");
- if ( num == VK_MENU ) strcpy(text, "Alt");
- if ( num == VK_PAUSE ) strcpy(text, "Pause");
- if ( num == VK_CAPITAL ) strcpy(text, "Caps Lock");
- if ( num == VK_ESCAPE ) strcpy(text, "Esc");
- if ( num == VK_SPACE ) strcpy(text, "Space");
- if ( num == VK_PRIOR ) strcpy(text, "Page Up");
- if ( num == VK_NEXT ) strcpy(text, "Page Down");
- if ( num == VK_END ) strcpy(text, "End");
- if ( num == VK_HOME ) strcpy(text, "Home");
- if ( num == VK_SELECT ) strcpy(text, "Select");
- if ( num == VK_EXECUTE ) strcpy(text, "Execute");
- if ( num == VK_SNAPSHOT ) strcpy(text, "Print Scrn");
- if ( num == VK_INSERT ) strcpy(text, "Insert");
- if ( num == VK_DELETE ) strcpy(text, "Delete");
- if ( num == VK_HELP ) strcpy(text, "Help");
- if ( num == VK_LWIN ) strcpy(text, "Left Windows");
- if ( num == VK_RWIN ) strcpy(text, "Right Windows");
- if ( num == VK_APPS ) strcpy(text, "Application key");
- if ( num == VK_NUMPAD0 ) strcpy(text, "NumPad 0");
- if ( num == VK_NUMPAD1 ) strcpy(text, "NumPad 1");
- if ( num == VK_NUMPAD2 ) strcpy(text, "NumPad 2");
- if ( num == VK_NUMPAD3 ) strcpy(text, "NumPad 3");
- if ( num == VK_NUMPAD4 ) strcpy(text, "NumPad 4");
- if ( num == VK_NUMPAD5 ) strcpy(text, "NumPad 5");
- if ( num == VK_NUMPAD6 ) strcpy(text, "NumPad 6");
- if ( num == VK_NUMPAD7 ) strcpy(text, "NumPad 7");
- if ( num == VK_NUMPAD8 ) strcpy(text, "NumPad 8");
- if ( num == VK_NUMPAD9 ) strcpy(text, "NumPad 9");
- if ( num == VK_MULTIPLY ) strcpy(text, "NumPad *");
- if ( num == VK_ADD ) strcpy(text, "NumPad +");
- if ( num == VK_SEPARATOR ) strcpy(text, "NumPad sep");
- if ( num == VK_SUBTRACT ) strcpy(text, "NumPad -");
- if ( num == VK_DECIMAL ) strcpy(text, "NumPad .");
- if ( num == VK_DIVIDE ) strcpy(text, "NumPad /");
- if ( num == VK_F1 ) strcpy(text, "F1");
- if ( num == VK_F2 ) strcpy(text, "F2");
- if ( num == VK_F3 ) strcpy(text, "F3");
- if ( num == VK_F4 ) strcpy(text, "F4");
- if ( num == VK_F5 ) strcpy(text, "F5");
- if ( num == VK_F6 ) strcpy(text, "F6");
- if ( num == VK_F7 ) strcpy(text, "F7");
- if ( num == VK_F8 ) strcpy(text, "F8");
- if ( num == VK_F9 ) strcpy(text, "F9");
- if ( num == VK_F10 ) strcpy(text, "F10");
- if ( num == VK_F11 ) strcpy(text, "F11");
- if ( num == VK_F12 ) strcpy(text, "F12");
- if ( num == VK_F13 ) strcpy(text, "F13");
- if ( num == VK_F14 ) strcpy(text, "F14");
- if ( num == VK_F15 ) strcpy(text, "F15");
- if ( num == VK_F16 ) strcpy(text, "F16");
- if ( num == VK_F17 ) strcpy(text, "F17");
- if ( num == VK_F18 ) strcpy(text, "F18");
- if ( num == VK_F19 ) strcpy(text, "F19");
- if ( num == VK_F20 ) strcpy(text, "F20");
- if ( num == VK_NUMLOCK ) strcpy(text, "Num Lock");
- if ( num == VK_SCROLL ) strcpy(text, "Scroll");
- if ( num == VK_ATTN ) strcpy(text, "Attn");
- if ( num == VK_CRSEL ) strcpy(text, "CrSel");
- if ( num == VK_EXSEL ) strcpy(text, "ExSel");
- if ( num == VK_EREOF ) strcpy(text, "Erase EOF");
- if ( num == VK_PLAY ) strcpy(text, "Play");
- if ( num == VK_ZOOM ) strcpy(text, "Zoom");
- if ( num == VK_PA1 ) strcpy(text, "PA1");
- if ( num == VK_OEM_CLEAR ) strcpy(text, "Clear");
- if ( num == VK_BUTTON1 ) strcpy(text, "Button 1");
- if ( num == VK_BUTTON2 ) strcpy(text, "Button 2");
- if ( num == VK_BUTTON3 ) strcpy(text, "Button 3");
- if ( num == VK_BUTTON4 ) strcpy(text, "Button 4");
- if ( num == VK_BUTTON5 ) strcpy(text, "Button 5");
- if ( num == VK_BUTTON6 ) strcpy(text, "Button 6");
- if ( num == VK_BUTTON7 ) strcpy(text, "Button 7");
- if ( num == VK_BUTTON8 ) strcpy(text, "Button 8");
- if ( num == VK_BUTTON9 ) strcpy(text, "Button 9");
- if ( num == VK_BUTTON10 ) strcpy(text, "Button 10");
- if ( num == VK_BUTTON11 ) strcpy(text, "Button 11");
- if ( num == VK_BUTTON12 ) strcpy(text, "Button 12");
- if ( num == VK_BUTTON13 ) strcpy(text, "Button 13");
- if ( num == VK_BUTTON14 ) strcpy(text, "Button 14");
- if ( num == VK_BUTTON15 ) strcpy(text, "Button 15");
- if ( num == VK_BUTTON16 ) strcpy(text, "Button 16");
- if ( num == VK_BUTTON17 ) strcpy(text, "Button 17");
- if ( num == VK_BUTTON18 ) strcpy(text, "Button 18");
- if ( num == VK_BUTTON19 ) strcpy(text, "Button 19");
- if ( num == VK_BUTTON20 ) strcpy(text, "Button 20");
- if ( num == VK_BUTTON21 ) strcpy(text, "Button 21");
- if ( num == VK_BUTTON22 ) strcpy(text, "Button 22");
- if ( num == VK_BUTTON23 ) strcpy(text, "Button 23");
- if ( num == VK_BUTTON24 ) strcpy(text, "Button 24");
- if ( num == VK_BUTTON25 ) strcpy(text, "Button 25");
- if ( num == VK_BUTTON26 ) strcpy(text, "Button 26");
- if ( num == VK_BUTTON27 ) strcpy(text, "Button 27");
- if ( num == VK_BUTTON28 ) strcpy(text, "Button 28");
- if ( num == VK_BUTTON29 ) strcpy(text, "Button 29");
- if ( num == VK_BUTTON30 ) strcpy(text, "Button 30");
- if ( num == VK_BUTTON31 ) strcpy(text, "Button 31");
- if ( num == VK_BUTTON32 ) strcpy(text, "Button 32");
- if ( num == VK_WHEELUP ) strcpy(text, "Wheel up");
- if ( num == VK_WHEELDOWN ) strcpy(text, "Wheel down");
+ if ( num == SDLK_LEFT ) strcpy(text, "Arrow left");
+ if ( num == SDLK_RIGHT ) strcpy(text, "Arrow right");
+ if ( num == SDLK_UP ) strcpy(text, "Arrow up");
+ if ( num == SDLK_DOWN ) strcpy(text, "Arrow down");
+// if ( num == SDLK_CANCEL ) strcpy(text, "Control-break");
+// if ( num == SDLK_BACK ) strcpy(text, "<--");
+ if ( num == SDLK_TAB ) strcpy(text, "Tab");
+ if ( num == SDLK_CLEAR ) strcpy(text, "Clear");
+ if ( num == SDLK_RETURN ) strcpy(text, "Enter");
+// if ( num == SDLK_SHIFT ) strcpy(text, "Shift");
+// if ( num == SDLK_CONTROL ) strcpy(text, "Ctrl");
+ if ( num == SDLK_MENU ) strcpy(text, "Alt");
+ if ( num == SDLK_PAUSE ) strcpy(text, "Pause");
+// if ( num == SDLK_CAPITAL ) strcpy(text, "Caps Lock");
+ if ( num == SDLK_ESCAPE ) strcpy(text, "Esc");
+ if ( num == SDLK_SPACE ) strcpy(text, "Space");
+// if ( num == SDLK_PRIOR ) strcpy(text, "Page Up");
+// if ( num == SDLK_NEXT ) strcpy(text, "Page Down");
+ if ( num == SDLK_END ) strcpy(text, "End");
+ if ( num == SDLK_HOME ) strcpy(text, "Home");
+// if ( num == SDLK_SELECT ) strcpy(text, "Select");
+// if ( num == SDLK_EXECUTE ) strcpy(text, "Execute");
+// if ( num == SDLK_SNAPSHOT ) strcpy(text, "Print Scrn");
+ if ( num == SDLK_INSERT ) strcpy(text, "Insert");
+ if ( num == SDLK_DELETE ) strcpy(text, "Delete");
+ if ( num == SDLK_HELP ) strcpy(text, "Help");
+// if ( num == SDLK_LWIN ) strcpy(text, "Left Windows");
+// if ( num == SDLK_RWIN ) strcpy(text, "Right Windows");
+// if ( num == SDLK_APPS ) strcpy(text, "Application key");
+// if ( num == SDLK_NUMPAD0 ) strcpy(text, "NumPad 0");
+// if ( num == SDLK_NUMPAD1 ) strcpy(text, "NumPad 1");
+// if ( num == SDLK_NUMPAD2 ) strcpy(text, "NumPad 2");
+// if ( num == SDLK_NUMPAD3 ) strcpy(text, "NumPad 3");
+// if ( num == SDLK_NUMPAD4 ) strcpy(text, "NumPad 4");
+// if ( num == SDLK_NUMPAD5 ) strcpy(text, "NumPad 5");
+// if ( num == SDLK_NUMPAD6 ) strcpy(text, "NumPad 6");
+// if ( num == SDLK_NUMPAD7 ) strcpy(text, "NumPad 7");
+// if ( num == SDLK_NUMPAD8 ) strcpy(text, "NumPad 8");
+// if ( num == SDLK_NUMPAD9 ) strcpy(text, "NumPad 9");
+// if ( num == SDLK_MULTIPLY ) strcpy(text, "NumPad *");
+// if ( num == SDLK_ADD ) strcpy(text, "NumPad +");
+// if ( num == SDLK_SEPARATOR ) strcpy(text, "NumPad sep");
+// if ( num == SDLK_SUBTRACT ) strcpy(text, "NumPad -");
+// if ( num == SDLK_DECIMAL ) strcpy(text, "NumPad .");
+// if ( num == SDLK_DIVIDE ) strcpy(text, "NumPad /");
+ if ( num == SDLK_F1 ) strcpy(text, "F1");
+ if ( num == SDLK_F2 ) strcpy(text, "F2");
+ if ( num == SDLK_F3 ) strcpy(text, "F3");
+ if ( num == SDLK_F4 ) strcpy(text, "F4");
+ if ( num == SDLK_F5 ) strcpy(text, "F5");
+ if ( num == SDLK_F6 ) strcpy(text, "F6");
+ if ( num == SDLK_F7 ) strcpy(text, "F7");
+ if ( num == SDLK_F8 ) strcpy(text, "F8");
+ if ( num == SDLK_F9 ) strcpy(text, "F9");
+ if ( num == SDLK_F10 ) strcpy(text, "F10");
+ if ( num == SDLK_F11 ) strcpy(text, "F11");
+ if ( num == SDLK_F12 ) strcpy(text, "F12");
+ if ( num == SDLK_F13 ) strcpy(text, "F13");
+ if ( num == SDLK_F14 ) strcpy(text, "F14");
+ if ( num == SDLK_F15 ) strcpy(text, "F15");
+// if ( num == SDLK_F16 ) strcpy(text, "F16");
+// if ( num == SDLK_F17 ) strcpy(text, "F17");
+// if ( num == SDLK_F18 ) strcpy(text, "F18");
+// if ( num == SDLK_F19 ) strcpy(text, "F19");
+// if ( num == SDLK_F20 ) strcpy(text, "F20");
+ if ( num == SDLK_NUMLOCK ) strcpy(text, "Num Lock");
+// if ( num == SDLK_SCROLL ) strcpy(text, "Scroll");
+// if ( num == SDLK_ATTN ) strcpy(text, "Attn");
+// if ( num == SDLK_CRSEL ) strcpy(text, "CrSel");
+// if ( num == SDLK_EXSEL ) strcpy(text, "ExSel");
+// if ( num == SDLK_EREOF ) strcpy(text, "Erase EOF");
+// if ( num == SDLK_PLAY ) strcpy(text, "Play");
+// if ( num == SDLK_ZOOM ) strcpy(text, "Zoom");
+// if ( num == SDLK_PA1 ) strcpy(text, "PA1");
+// if ( num == SDLK_OEM_CLEAR ) strcpy(text, "Clear");
+// if ( num == SDLK_BUTTON1 ) strcpy(text, "Button 1");
+// if ( num == SDLK_BUTTON2 ) strcpy(text, "Button 2");
+// if ( num == SDLK_BUTTON3 ) strcpy(text, "Button 3");
+// if ( num == SDLK_BUTTON4 ) strcpy(text, "Button 4");
+// if ( num == SDLK_BUTTON5 ) strcpy(text, "Button 5");
+// if ( num == SDLK_BUTTON6 ) strcpy(text, "Button 6");
+// if ( num == SDLK_BUTTON7 ) strcpy(text, "Button 7");
+// if ( num == SDLK_BUTTON8 ) strcpy(text, "Button 8");
+// if ( num == SDLK_BUTTON9 ) strcpy(text, "Button 9");
+// if ( num == SDLK_BUTTON10 ) strcpy(text, "Button 10");
+// if ( num == SDLK_BUTTON11 ) strcpy(text, "Button 11");
+// if ( num == SDLK_BUTTON12 ) strcpy(text, "Button 12");
+// if ( num == SDLK_BUTTON13 ) strcpy(text, "Button 13");
+// if ( num == SDLK_BUTTON14 ) strcpy(text, "Button 14");
+// if ( num == SDLK_BUTTON15 ) strcpy(text, "Button 15");
+// if ( num == SDLK_BUTTON16 ) strcpy(text, "Button 16");
+// if ( num == SDLK_BUTTON17 ) strcpy(text, "Button 17");
+// if ( num == SDLK_BUTTON18 ) strcpy(text, "Button 18");
+// if ( num == SDLK_BUTTON19 ) strcpy(text, "Button 19");
+// if ( num == SDLK_BUTTON20 ) strcpy(text, "Button 20");
+// if ( num == SDLK_BUTTON21 ) strcpy(text, "Button 21");
+// if ( num == SDLK_BUTTON22 ) strcpy(text, "Button 22");
+// if ( num == SDLK_BUTTON23 ) strcpy(text, "Button 23");
+// if ( num == SDLK_BUTTON24 ) strcpy(text, "Button 24");
+// if ( num == SDLK_BUTTON25 ) strcpy(text, "Button 25");
+// if ( num == SDLK_BUTTON26 ) strcpy(text, "Button 26");
+// if ( num == SDLK_BUTTON27 ) strcpy(text, "Button 27");
+// if ( num == SDLK_BUTTON28 ) strcpy(text, "Button 28");
+// if ( num == SDLK_BUTTON29 ) strcpy(text, "Button 29");
+// if ( num == SDLK_BUTTON30 ) strcpy(text, "Button 30");
+// if ( num == SDLK_BUTTON31 ) strcpy(text, "Button 31");
+// if ( num == SDLK_BUTTON32 ) strcpy(text, "Button 32");
+// if ( num == SDLK_WHEELUP ) strcpy(text, "Wheel up");
+// if ( num == SDLK_WHEELDOWN ) strcpy(text, "Wheel down");
}
#endif
@@ -1064,7 +1065,7 @@ bool GetResourceBase(ResType type, int num, char* text)
#endif
if ( num == RT_DISINFO_TITLE ) strcpy(text, "SatCom");
if ( num == RT_WINDOW_MAXIMIZED ) strcpy(text, "Taille maximale");
- if ( num == RT_WINDOW_MINIMIZED ) strcpy(text, "Taille réduite");
+ if ( num == RT_WINDOW_MINIMIZED ) strcpy(text, "Taille r�duite");
if ( num == RT_WINDOW_STANDARD ) strcpy(text, "Taille normale");
if ( num == RT_WINDOW_CLOSE ) strcpy(text, "Fermer");
@@ -1082,38 +1083,38 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == RT_TITLE_INIT ) strcpy(text, "COLOBOT");
#endif
if ( num == RT_TITLE_TRAINER ) strcpy(text, "Programmation");
- if ( num == RT_TITLE_DEFI ) strcpy(text, "Défis");
+ if ( num == RT_TITLE_DEFI ) strcpy(text, "D�fis");
if ( num == RT_TITLE_MISSION ) strcpy(text, "Missions");
if ( num == RT_TITLE_FREE ) strcpy(text, "Jeu libre");
if ( num == RT_TITLE_TEEN ) strcpy(text, "Jeu libre");
- if ( num == RT_TITLE_USER ) strcpy(text, "Niveaux supplémentaires");
+ if ( num == RT_TITLE_USER ) strcpy(text, "Niveaux suppl�mentaires");
if ( num == RT_TITLE_PROTO ) strcpy(text, "Prototypes");
if ( num == RT_TITLE_SETUP ) strcpy(text, "Options");
if ( num == RT_TITLE_NAME ) strcpy(text, "Nom du joueur");
if ( num == RT_TITLE_PERSO ) strcpy(text, "Personnalisation de votre apparence");
if ( num == RT_TITLE_WRITE ) strcpy(text, "Enregistrement de la mission en cours");
- if ( num == RT_TITLE_READ ) strcpy(text, "Chargement d'une mission enregistrée");
+ if ( num == RT_TITLE_READ ) strcpy(text, "Chargement d'une mission enregistr�e");
if ( num == RT_PLAY_CHAPt ) strcpy(text, " Liste des chapitres :");
if ( num == RT_PLAY_CHAPd ) strcpy(text, " Liste des chapitres :");
- if ( num == RT_PLAY_CHAPm ) strcpy(text, " Liste des planètes :");
- if ( num == RT_PLAY_CHAPf ) strcpy(text, " Liste des planètes :");
- if ( num == RT_PLAY_CHAPu ) strcpy(text, " Niveaux supplémentaires :");
- if ( num == RT_PLAY_CHAPp ) strcpy(text, " Liste des planètes :");
+ if ( num == RT_PLAY_CHAPm ) strcpy(text, " Liste des plan�tes :");
+ if ( num == RT_PLAY_CHAPf ) strcpy(text, " Liste des plan�tes :");
+ if ( num == RT_PLAY_CHAPu ) strcpy(text, " Niveaux suppl�mentaires :");
+ if ( num == RT_PLAY_CHAPp ) strcpy(text, " Liste des plan�tes :");
if ( num == RT_PLAY_CHAPte ) strcpy(text, " Liste des chapitres :");
if ( num == RT_PLAY_LISTt ) strcpy(text, " Liste des exercices du chapitre :");
- if ( num == RT_PLAY_LISTd ) strcpy(text, " Liste des défis du chapitre :");
+ if ( num == RT_PLAY_LISTd ) strcpy(text, " Liste des d�fis du chapitre :");
if ( num == RT_PLAY_LISTm ) strcpy(text, " Liste des missions du chapitre :");
if ( num == RT_PLAY_LISTf ) strcpy(text, " Liste des jeux libres du chapitre :");
if ( num == RT_PLAY_LISTu ) strcpy(text, " Missions du niveau :");
if ( num == RT_PLAY_LISTp ) strcpy(text, " Liste des prototypes du chapitre :");
if ( num == RT_PLAY_LISTk ) strcpy(text, " Liste des jeux libres du chapitre :");
- if ( num == RT_PLAY_RESUME ) strcpy(text, " Résumé :");
+ if ( num == RT_PLAY_RESUME ) strcpy(text, " R�sum� :");
if ( num == RT_SETUP_DEVICE ) strcpy(text, " Pilotes :");
- if ( num == RT_SETUP_MODE ) strcpy(text, " Résolutions :");
- if ( num == RT_SETUP_KEY1 ) strcpy(text, "1) Cliquez d'abord sur la touche à redéfinir.");
- if ( num == RT_SETUP_KEY2 ) strcpy(text, "2) Appuyez ensuite sur la nouvelle touche souhaitée.");
+ if ( num == RT_SETUP_MODE ) strcpy(text, " R�solutions :");
+ if ( num == RT_SETUP_KEY1 ) strcpy(text, "1) Cliquez d'abord sur la touche � red�finir.");
+ if ( num == RT_SETUP_KEY2 ) strcpy(text, "2) Appuyez ensuite sur la nouvelle touche souhait�e.");
if ( num == RT_PERSO_FACE ) strcpy(text, "Type de visage :");
if ( num == RT_PERSO_GLASSES ) strcpy(text, "Lunettes :");
@@ -1134,19 +1135,19 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == RT_DIALOG_YES ) strcpy(text, "Abandonner\\Abandonner la mission en cours");
if ( num == RT_DIALOG_NO ) strcpy(text, "Continuer\\Continuer la mission en cours");
if ( num == RT_DIALOG_NOQUIT ) strcpy(text, "Continuer\\Continuer de jouer");
- if ( num == RT_DIALOG_DELOBJ ) strcpy(text, "Voulez-vous vraiment détruire le bâtiment sélectionné ?");
- if ( num == RT_DIALOG_DELGAME ) strcpy(text, "Voulez-vous détruire les sauvegardes de %s ?");
- if ( num == RT_DIALOG_YESDEL ) strcpy(text, "Détruire");
+ if ( num == RT_DIALOG_DELOBJ ) strcpy(text, "Voulez-vous vraiment d�truire le b�timent s�lectionn� ?");
+ if ( num == RT_DIALOG_DELGAME ) strcpy(text, "Voulez-vous d�truire les sauvegardes de %s ?");
+ if ( num == RT_DIALOG_YESDEL ) strcpy(text, "D�truire");
if ( num == RT_DIALOG_NODEL ) strcpy(text, "Annuler");
if ( num == RT_DIALOG_LOADING ) strcpy(text, "CHARGEMENT");
- if ( num == RT_STUDIO_LISTTT ) strcpy(text, "Aide sur le mot-clé (\\key cbot;)");
+ if ( num == RT_STUDIO_LISTTT ) strcpy(text, "Aide sur le mot-cl� (\\key cbot;)");
if ( num == RT_STUDIO_COMPOK ) strcpy(text, "Compilation ok (0 erreur)");
- if ( num == RT_STUDIO_PROGSTOP ) strcpy(text, "Programme terminé");
+ if ( num == RT_STUDIO_PROGSTOP ) strcpy(text, "Programme termin�");
if ( num == RT_SATCOM_LIST ) strcpy(text, "\\b;Listes des objets\n");
if ( num == RT_SATCOM_BOT ) strcpy(text, "\\b;Listes des robots\n");
- if ( num == RT_SATCOM_BUILDING ) strcpy(text, "\\b;Listes des bâtiments\n");
+ if ( num == RT_SATCOM_BUILDING ) strcpy(text, "\\b;Listes des b�timents\n");
if ( num == RT_SATCOM_FRET ) strcpy(text, "\\b;Listes des objets transportables\n");
if ( num == RT_SATCOM_ALIEN ) strcpy(text, "\\b;Listes des ennemis\n");
if ( num == RT_SATCOM_NULL ) strcpy(text, "\\c; (aucun)\\n;\n");
@@ -1158,16 +1159,16 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == RT_IO_LIST ) strcpy(text, "Dossier: %s");
if ( num == RT_IO_NAME ) strcpy(text, "Nom:");
if ( num == RT_IO_DIR ) strcpy(text, "Dans:");
- if ( num == RT_IO_PRIVATE ) strcpy(text, "Privé\\Dossier privé");
- if ( num == RT_IO_PUBLIC ) strcpy(text, "Public\\Dossier commun à tous les joueurs");
+ if ( num == RT_IO_PRIVATE ) strcpy(text, "Priv�\\Dossier priv�");
+ if ( num == RT_IO_PUBLIC ) strcpy(text, "Public\\Dossier commun � tous les joueurs");
- if ( num == RT_GENERIC_DEV1 ) strcpy(text, "Développé par :");
+ if ( num == RT_GENERIC_DEV1 ) strcpy(text, "D�velopp� par :");
if ( num == RT_GENERIC_DEV2 ) strcpy(text, "www.epsitec.com");
#if _SCHOOL
if ( num == RT_GENERIC_EDIT1 ) strcpy(text, " ");
if ( num == RT_GENERIC_EDIT2 ) strcpy(text, " ");
#else
- //?if ( num == RT_GENERIC_EDIT1 ) strcpy(text, "Version française éditée par :");
+ //?if ( num == RT_GENERIC_EDIT1 ) strcpy(text, "Version fran�aise �dit�e par :");
//?if ( num == RT_GENERIC_EDIT2 ) strcpy(text, "www.alsyd.com");
if ( num == RT_GENERIC_EDIT1 ) strcpy(text, " ");
if ( num == RT_GENERIC_EDIT2 ) strcpy(text, " ");
@@ -1181,24 +1182,24 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == EVENT_BUTTON_OK ) strcpy(text, "D'accord");
if ( num == EVENT_BUTTON_CANCEL ) strcpy(text, "Annuler");
if ( num == EVENT_BUTTON_NEXT ) strcpy(text, "Suivant");
- if ( num == EVENT_BUTTON_PREV ) strcpy(text, "Précédent");
+ if ( num == EVENT_BUTTON_PREV ) strcpy(text, "Pr�c�dent");
if ( num == EVENT_BUTTON_QUIT ) strcpy(text, "Menu (\\key quit;)");
if ( num == EVENT_DIALOG_OK ) strcpy(text, "D'accord");
if ( num == EVENT_DIALOG_CANCEL ) strcpy(text, "Annuler");
if ( num == EVENT_INTERFACE_TRAINER) strcpy(text, "Programmation\\Exercices de programmation");
- if ( num == EVENT_INTERFACE_DEFI ) strcpy(text, "Défis\\Défis de programmation");
+ if ( num == EVENT_INTERFACE_DEFI ) strcpy(text, "D�fis\\D�fis de programmation");
if ( num == EVENT_INTERFACE_MISSION) strcpy(text, "Missions\\La grande aventure");
- if ( num == EVENT_INTERFACE_FREE ) strcpy(text, "Jeu libre\\Jeu libre sans but précis");
- if ( num == EVENT_INTERFACE_TEEN ) strcpy(text, "Jeu libre\\Jeu libre sans but précis");
- if ( num == EVENT_INTERFACE_USER ) strcpy(text, "Suppl.\\Niveaux supplémentaires");
- if ( num == EVENT_INTERFACE_PROTO ) strcpy(text, "Proto\\Prototypes en cours d'élaboration");
+ if ( num == EVENT_INTERFACE_FREE ) strcpy(text, "Jeu libre\\Jeu libre sans but pr�cis");
+ if ( num == EVENT_INTERFACE_TEEN ) strcpy(text, "Jeu libre\\Jeu libre sans but pr�cis");
+ if ( num == EVENT_INTERFACE_USER ) strcpy(text, "Suppl.\\Niveaux suppl�mentaires");
+ if ( num == EVENT_INTERFACE_PROTO ) strcpy(text, "Proto\\Prototypes en cours d'�laboration");
if ( num == EVENT_INTERFACE_NAME ) strcpy(text, "Autre joueur\\Choix du nom du joueur");
- if ( num == EVENT_INTERFACE_SETUP ) strcpy(text, "Options\\Réglages");
- if ( num == EVENT_INTERFACE_AGAIN ) strcpy(text, "Recommencer\\Recommencer la mission au début");
+ if ( num == EVENT_INTERFACE_SETUP ) strcpy(text, "Options\\R�glages");
+ if ( num == EVENT_INTERFACE_AGAIN ) strcpy(text, "Recommencer\\Recommencer la mission au d�but");
if ( num == EVENT_INTERFACE_WRITE ) strcpy(text, "Enregistrer\\Enregistrer la mission en cours");
- if ( num == EVENT_INTERFACE_READ ) strcpy(text, "Charger\\Charger une mission enregistrée");
+ if ( num == EVENT_INTERFACE_READ ) strcpy(text, "Charger\\Charger une mission enregistr�e");
#if _NEWLOOK
if ( num == EVENT_INTERFACE_ABORT ) strcpy(text, "\\Retourner dans CeeBot");
if ( num == EVENT_INTERFACE_QUIT ) strcpy(text, "Quitter\\Quitter CeeBot");
@@ -1206,65 +1207,65 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == EVENT_INTERFACE_ABORT ) strcpy(text, "\\Retourner dans COLOBOT");
if ( num == EVENT_INTERFACE_QUIT ) strcpy(text, "Quitter\\Quitter COLOBOT");
#endif
- if ( num == EVENT_INTERFACE_BACK ) strcpy(text, "<< Retour \\Retour au niveau précédent");
- if ( num == EVENT_INTERFACE_PLAY ) strcpy(text, "Jouer ...\\Démarrer l'action");
- if ( num == EVENT_INTERFACE_SETUPd ) strcpy(text, "Affichage\\Pilote et résolution d'affichage");
+ if ( num == EVENT_INTERFACE_BACK ) strcpy(text, "<< Retour \\Retour au niveau pr�c�dent");
+ if ( num == EVENT_INTERFACE_PLAY ) strcpy(text, "Jouer ...\\D�marrer l'action");
+ if ( num == EVENT_INTERFACE_SETUPd ) strcpy(text, "Affichage\\Pilote et r�solution d'affichage");
if ( num == EVENT_INTERFACE_SETUPg ) strcpy(text, "Graphique\\Options graphiques");
- if ( num == EVENT_INTERFACE_SETUPp ) strcpy(text, "Jeu\\Options de jouabilité");
+ if ( num == EVENT_INTERFACE_SETUPp ) strcpy(text, "Jeu\\Options de jouabilit�");
if ( num == EVENT_INTERFACE_SETUPc ) strcpy(text, "Commandes\\Touches du clavier");
if ( num == EVENT_INTERFACE_SETUPs ) strcpy(text, "Son\\Volumes bruitages & musiques");
- if ( num == EVENT_INTERFACE_DEVICE ) strcpy(text, "Unité");
- if ( num == EVENT_INTERFACE_RESOL ) strcpy(text, "Résolution");
- if ( num == EVENT_INTERFACE_FULL ) strcpy(text, "Plein écran\\Plein écran ou fenêtré");
- if ( num == EVENT_INTERFACE_APPLY ) strcpy(text, "Appliquer les changements\\Active les changements effectués");
+ if ( num == EVENT_INTERFACE_DEVICE ) strcpy(text, "Unit�");
+ if ( num == EVENT_INTERFACE_RESOL ) strcpy(text, "R�solution");
+ if ( num == EVENT_INTERFACE_FULL ) strcpy(text, "Plein �cran\\Plein �cran ou fen�tr�");
+ if ( num == EVENT_INTERFACE_APPLY ) strcpy(text, "Appliquer les changements\\Active les changements effectu�s");
if ( num == EVENT_INTERFACE_TOTO ) strcpy(text, "Robbie\\Votre assistant");
- if ( num == EVENT_INTERFACE_SHADOW ) strcpy(text, "Ombres\\Ombres projetées au sol");
- if ( num == EVENT_INTERFACE_GROUND ) strcpy(text, "Marques sur le sol\\Marques dessinées sur le sol");
- if ( num == EVENT_INTERFACE_DIRTY ) strcpy(text, "Salissures\\Salissures des robots et bâtiments");
+ if ( num == EVENT_INTERFACE_SHADOW ) strcpy(text, "Ombres\\Ombres projet�es au sol");
+ if ( num == EVENT_INTERFACE_GROUND ) strcpy(text, "Marques sur le sol\\Marques dessin�es sur le sol");
+ if ( num == EVENT_INTERFACE_DIRTY ) strcpy(text, "Salissures\\Salissures des robots et b�timents");
if ( num == EVENT_INTERFACE_FOG ) strcpy(text, "Brouillard\\Nappes de brouillard");
if ( num == EVENT_INTERFACE_LENS ) strcpy(text, "Rayons du soleil\\Rayons selon l'orientation");
if ( num == EVENT_INTERFACE_SKY ) strcpy(text, "Ciel\\Ciel et nuages");
- if ( num == EVENT_INTERFACE_PLANET ) strcpy(text, "Planètes et étoiles\\Motifs mobiles dans le ciel");
- if ( num == EVENT_INTERFACE_LIGHT ) strcpy(text, "Lumières dynamiques\\Eclairages mobiles");
- if ( num == EVENT_INTERFACE_PARTI ) strcpy(text, "Quantité de particules\\Explosions, poussières, reflets, etc.");
+ if ( num == EVENT_INTERFACE_PLANET ) strcpy(text, "Plan�tes et �toiles\\Motifs mobiles dans le ciel");
+ if ( num == EVENT_INTERFACE_LIGHT ) strcpy(text, "Lumi�res dynamiques\\Eclairages mobiles");
+ if ( num == EVENT_INTERFACE_PARTI ) strcpy(text, "Quantit� de particules\\Explosions, poussi�res, reflets, etc.");
if ( num == EVENT_INTERFACE_CLIP ) strcpy(text, "Profondeur de champ\\Distance de vue maximale");
- if ( num == EVENT_INTERFACE_DETAIL ) strcpy(text, "Détails des objets\\Qualité des objets en 3D");
- if ( num == EVENT_INTERFACE_TEXTURE) strcpy(text, "Qualité des textures\\Qualité des images");
- if ( num == EVENT_INTERFACE_GADGET ) strcpy(text, "Nb d'objets décoratifs\\Qualité d'objets non indispensables");
+ if ( num == EVENT_INTERFACE_DETAIL ) strcpy(text, "D�tails des objets\\Qualit� des objets en 3D");
+ if ( num == EVENT_INTERFACE_TEXTURE) strcpy(text, "Qualit� des textures\\Qualit� des images");
+ if ( num == EVENT_INTERFACE_GADGET ) strcpy(text, "Nb d'objets d�coratifs\\Qualit� d'objets non indispensables");
if ( num == EVENT_INTERFACE_RAIN ) strcpy(text, "Particules dans l'interface\\Pluie de particules");
if ( num == EVENT_INTERFACE_GLINT ) strcpy(text, "Reflets sur les boutons\\Boutons brillants");
if ( num == EVENT_INTERFACE_TOOLTIP) strcpy(text, "Bulles d'aide\\Bulles explicatives");
- if ( num == EVENT_INTERFACE_MOVIES ) strcpy(text, "Séquences cinématiques\\Films avant ou après une mission");
- if ( num == EVENT_INTERFACE_NICERST) strcpy(text, "Retour animé\\Retour animé dans les exercices");
- if ( num == EVENT_INTERFACE_HIMSELF) strcpy(text, "Dégâts à soi-même\\Vos tirs infligent des dommages à vos unités");
- if ( num == EVENT_INTERFACE_SCROLL ) strcpy(text, "Défilement dans les bords\\Défilement lorsque la souris touches les bords gauche ou droite");
+ if ( num == EVENT_INTERFACE_MOVIES ) strcpy(text, "S�quences cin�matiques\\Films avant ou apr�s une mission");
+ if ( num == EVENT_INTERFACE_NICERST) strcpy(text, "Retour anim�\\Retour anim� dans les exercices");
+ if ( num == EVENT_INTERFACE_HIMSELF) strcpy(text, "D�g�ts � soi-m�me\\Vos tirs infligent des dommages � vos unit�s");
+ if ( num == EVENT_INTERFACE_SCROLL ) strcpy(text, "D�filement dans les bords\\D�filement lorsque la souris touches les bords gauche ou droite");
if ( num == EVENT_INTERFACE_INVERTX) strcpy(text, "Inversion souris X\\Inversion de la rotation lorsque la souris touche un bord");
if ( num == EVENT_INTERFACE_INVERTY) strcpy(text, "Inversion souris Y\\Inversion de la rotation lorsque la souris touche un bord");
- if ( num == EVENT_INTERFACE_EFFECT ) strcpy(text, "Secousses lors d'explosions\\L'écran vibre lors d'une explosion");
- if ( num == EVENT_INTERFACE_MOUSE ) strcpy(text, "Souris ombrée\\Jolie souris avec une ombre");
- if ( num == EVENT_INTERFACE_EDITMODE) strcpy(text, "Indentation automatique\\Pendant l'édition d'un programme");
+ if ( num == EVENT_INTERFACE_EFFECT ) strcpy(text, "Secousses lors d'explosions\\L'�cran vibre lors d'une explosion");
+ if ( num == EVENT_INTERFACE_MOUSE ) strcpy(text, "Souris ombr�e\\Jolie souris avec une ombre");
+ if ( num == EVENT_INTERFACE_EDITMODE) strcpy(text, "Indentation automatique\\Pendant l'�dition d'un programme");
if ( num == EVENT_INTERFACE_EDITVALUE)strcpy(text, "Grande indentation\\Indente avec 2 ou 4 espaces");
- if ( num == EVENT_INTERFACE_SOLUCE4) strcpy(text, "Accès aux solutions\\Programme \"4: Solution\" dans les exercices");
+ if ( num == EVENT_INTERFACE_SOLUCE4) strcpy(text, "Acc�s aux solutions\\Programme \"4: Solution\" dans les exercices");
- if ( num == EVENT_INTERFACE_KDEF ) strcpy(text, "Tout réinitialiser\\Remet toutes les touches standards");
- if ( num == EVENT_INTERFACE_KLEFT ) strcpy(text, "Tourner à gauche\\Moteur à gauche");
- if ( num == EVENT_INTERFACE_KRIGHT ) strcpy(text, "Tourner à droite\\Moteur à droite");
+ if ( num == EVENT_INTERFACE_KDEF ) strcpy(text, "Tout r�initialiser\\Remet toutes les touches standards");
+ if ( num == EVENT_INTERFACE_KLEFT ) strcpy(text, "Tourner � gauche\\Moteur � gauche");
+ if ( num == EVENT_INTERFACE_KRIGHT ) strcpy(text, "Tourner � droite\\Moteur � droite");
if ( num == EVENT_INTERFACE_KUP ) strcpy(text, "Avancer\\Moteur en avant");
- if ( num == EVENT_INTERFACE_KDOWN ) strcpy(text, "Reculer\\Moteur en arrière");
- if ( num == EVENT_INTERFACE_KGUP ) strcpy(text, "Monter\\Augmenter la puissance du réacteur");
- if ( num == EVENT_INTERFACE_KGDOWN ) strcpy(text, "Descendre\\Diminuer la puissance du réacteur");
- if ( num == EVENT_INTERFACE_KCAMERA) strcpy(text, "Changement de caméra\\Autre de point de vue");
- if ( num == EVENT_INTERFACE_KDESEL ) strcpy(text, "Sélection précédente\\Sélectionne l'objet précédent");
+ if ( num == EVENT_INTERFACE_KDOWN ) strcpy(text, "Reculer\\Moteur en arri�re");
+ if ( num == EVENT_INTERFACE_KGUP ) strcpy(text, "Monter\\Augmenter la puissance du r�acteur");
+ if ( num == EVENT_INTERFACE_KGDOWN ) strcpy(text, "Descendre\\Diminuer la puissance du r�acteur");
+ if ( num == EVENT_INTERFACE_KCAMERA) strcpy(text, "Changement de cam�ra\\Autre de point de vue");
+ if ( num == EVENT_INTERFACE_KDESEL ) strcpy(text, "S�lection pr�c�dente\\S�lectionne l'objet pr�c�dent");
if ( num == EVENT_INTERFACE_KACTION) strcpy(text, "Action standard\\Action du bouton avec le cadre rouge");
- if ( num == EVENT_INTERFACE_KNEAR ) strcpy(text, "Caméra plus proche\\Avance la caméra");
- if ( num == EVENT_INTERFACE_KAWAY ) strcpy(text, "Caméra plus loin\\Recule la caméra");
- if ( num == EVENT_INTERFACE_KNEXT ) strcpy(text, "Sélectionner l'objet suivant\\Sélectionner l'objet suivant");
- if ( num == EVENT_INTERFACE_KHUMAN ) strcpy(text, "Sélectionner le cosmonaute\\Sélectionner le cosmonaute");
+ if ( num == EVENT_INTERFACE_KNEAR ) strcpy(text, "Cam�ra plus proche\\Avance la cam�ra");
+ if ( num == EVENT_INTERFACE_KAWAY ) strcpy(text, "Cam�ra plus loin\\Recule la cam�ra");
+ if ( num == EVENT_INTERFACE_KNEXT ) strcpy(text, "S�lectionner l'objet suivant\\S�lectionner l'objet suivant");
+ if ( num == EVENT_INTERFACE_KHUMAN ) strcpy(text, "S�lectionner le cosmonaute\\S�lectionner le cosmonaute");
if ( num == EVENT_INTERFACE_KQUIT ) strcpy(text, "Quitter la mission en cours\\Terminer un exercice ou une mssion");
- if ( num == EVENT_INTERFACE_KHELP ) strcpy(text, "Instructions mission\\Marche à suivre");
+ if ( num == EVENT_INTERFACE_KHELP ) strcpy(text, "Instructions mission\\Marche � suivre");
if ( num == EVENT_INTERFACE_KPROG ) strcpy(text, "Instructions programmation\\Explication sur la programmation");
- if ( num == EVENT_INTERFACE_KCBOT ) strcpy(text, "Instructions mot-clé\\Explication sur le mot-clé");
+ if ( num == EVENT_INTERFACE_KCBOT ) strcpy(text, "Instructions mot-cl�\\Explication sur le mot-cl�");
if ( num == EVENT_INTERFACE_KVISIT ) strcpy(text, "Montrer le lieu d'un message\\Montrer le lieu du dernier message");
if ( num == EVENT_INTERFACE_KSPEED10) strcpy(text, "Vitesse 1.0x\\Vitesse normale");
if ( num == EVENT_INTERFACE_KSPEED15) strcpy(text, "Vitesse 1.5x\\Une fois et demi plus rapide");
@@ -1275,38 +1276,38 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == EVENT_INTERFACE_VOLMUSIC) strcpy(text, "Fond sonore :\\Volume des pistes audio du CD");
if ( num == EVENT_INTERFACE_SOUND3D) strcpy(text, "Bruitages 3D\\Positionnement sonore dans l'espace");
- if ( num == EVENT_INTERFACE_MIN ) strcpy(text, "Mini\\Qualité minimale (+ rapide)");
- if ( num == EVENT_INTERFACE_NORM ) strcpy(text, "Normal\\Qualité standard");
- if ( num == EVENT_INTERFACE_MAX ) strcpy(text, "Maxi\\Haute qualité (+ lent)");
+ if ( num == EVENT_INTERFACE_MIN ) strcpy(text, "Mini\\Qualit� minimale (+ rapide)");
+ if ( num == EVENT_INTERFACE_NORM ) strcpy(text, "Normal\\Qualit� standard");
+ if ( num == EVENT_INTERFACE_MAX ) strcpy(text, "Maxi\\Haute qualit� (+ lent)");
if ( num == EVENT_INTERFACE_SILENT ) strcpy(text, "Silencieux\\Totalement silencieux");
if ( num == EVENT_INTERFACE_NOISY ) strcpy(text, "Normal\\Niveaux normaux");
if ( num == EVENT_INTERFACE_JOYSTICK) strcpy(text, "Utilise un joystick\\Joystick ou clavier");
- if ( num == EVENT_INTERFACE_SOLUCE ) strcpy(text, "Accès à la solution\\Donne la solution");
+ if ( num == EVENT_INTERFACE_SOLUCE ) strcpy(text, "Acc�s � la solution\\Donne la solution");
- if ( num == EVENT_INTERFACE_NEDIT ) strcpy(text, "\\Nom du joueur à créer");
+ if ( num == EVENT_INTERFACE_NEDIT ) strcpy(text, "\\Nom du joueur � cr�er");
if ( num == EVENT_INTERFACE_NOK ) strcpy(text, "D'accord\\Choisir le joueur");
if ( num == EVENT_INTERFACE_NCANCEL) strcpy(text, "Annuler\\Conserver le joueur actuel");
if ( num == EVENT_INTERFACE_NDELETE) strcpy(text, "Supprimer le joueur\\Supprimer le joueur de la liste");
if ( num == EVENT_INTERFACE_NLABEL ) strcpy(text, "Nom du joueur");
if ( num == EVENT_INTERFACE_IOWRITE) strcpy(text, "Enregistrer\\Enregistrer la mission en cours");
- if ( num == EVENT_INTERFACE_IOREAD ) strcpy(text, "Charger\\Charger la mission sélectionnée");
- if ( num == EVENT_INTERFACE_IOLIST ) strcpy(text, "Liste des missions enregistrées");
+ if ( num == EVENT_INTERFACE_IOREAD ) strcpy(text, "Charger\\Charger la mission s�lectionn�e");
+ if ( num == EVENT_INTERFACE_IOLIST ) strcpy(text, "Liste des missions enregistr�es");
if ( num == EVENT_INTERFACE_IOLABEL) strcpy(text, "Nom du fichier :");
if ( num == EVENT_INTERFACE_IONAME ) strcpy(text, "Nom de la mission");
if ( num == EVENT_INTERFACE_IOIMAGE) strcpy(text, "Vue de la mission");
- if ( num == EVENT_INTERFACE_IODELETE) strcpy(text, "Supprimer\\Supprime l'enregistrement sélectionné");
+ if ( num == EVENT_INTERFACE_IODELETE) strcpy(text, "Supprimer\\Supprime l'enregistrement s�lectionn�");
if ( num == EVENT_INTERFACE_PERSO ) strcpy(text, "Aspect\\Choisir votre aspect");
if ( num == EVENT_INTERFACE_POK ) strcpy(text, "D'accord");
if ( num == EVENT_INTERFACE_PCANCEL) strcpy(text, "Annuler");
if ( num == EVENT_INTERFACE_PDEF ) strcpy(text, "Standard\\Remet les couleurs standards");
- if ( num == EVENT_INTERFACE_PHEAD ) strcpy(text, "Tête\\Visage et cheveux");
+ if ( num == EVENT_INTERFACE_PHEAD ) strcpy(text, "T�te\\Visage et cheveux");
if ( num == EVENT_INTERFACE_PBODY ) strcpy(text, "Corps\\Combinaison");
- if ( num == EVENT_INTERFACE_PLROT ) strcpy(text, "\\Rotation à gauche");
- if ( num == EVENT_INTERFACE_PRROT ) strcpy(text, "\\Rotation à droite");
+ if ( num == EVENT_INTERFACE_PLROT ) strcpy(text, "\\Rotation � gauche");
+ if ( num == EVENT_INTERFACE_PRROT ) strcpy(text, "\\Rotation � droite");
if ( num == EVENT_INTERFACE_PCRa ) strcpy(text, "Rouge");
if ( num == EVENT_INTERFACE_PCGa ) strcpy(text, "Vert");
if ( num == EVENT_INTERFACE_PCBa ) strcpy(text, "Bleu");
@@ -1324,57 +1325,57 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == EVENT_INTERFACE_PGLASS4) strcpy(text, "\\Lunettes 4");
if ( num == EVENT_INTERFACE_PGLASS5) strcpy(text, "\\Lunettes 5");
- if ( num == EVENT_OBJECT_DESELECT ) strcpy(text, "Sélection précédente (\\key desel;)");
- if ( num == EVENT_OBJECT_LEFT ) strcpy(text, "Tourne à gauche (\\key left;)");
- if ( num == EVENT_OBJECT_RIGHT ) strcpy(text, "Tourne à droite (\\key right;)");
+ if ( num == EVENT_OBJECT_DESELECT ) strcpy(text, "S�lection pr�c�dente (\\key desel;)");
+ if ( num == EVENT_OBJECT_LEFT ) strcpy(text, "Tourne � gauche (\\key left;)");
+ if ( num == EVENT_OBJECT_RIGHT ) strcpy(text, "Tourne � droite (\\key right;)");
if ( num == EVENT_OBJECT_UP ) strcpy(text, "Avance (\\key up;)");
if ( num == EVENT_OBJECT_DOWN ) strcpy(text, "Recule (\\key down;)");
if ( num == EVENT_OBJECT_GASUP ) strcpy(text, "Monte (\\key gup;)");
if ( num == EVENT_OBJECT_GASDOWN ) strcpy(text, "Descend (\\key gdown;)");
- if ( num == EVENT_OBJECT_HTAKE ) strcpy(text, "Prend ou dépose (\\key action;)");
- if ( num == EVENT_OBJECT_MTAKE ) strcpy(text, "Prend ou dépose (\\key action;)");
+ if ( num == EVENT_OBJECT_HTAKE ) strcpy(text, "Prend ou d�pose (\\key action;)");
+ if ( num == EVENT_OBJECT_MTAKE ) strcpy(text, "Prend ou d�pose (\\key action;)");
if ( num == EVENT_OBJECT_MFRONT ) strcpy(text, "..devant");
- if ( num == EVENT_OBJECT_MBACK ) strcpy(text, "..derrière");
+ if ( num == EVENT_OBJECT_MBACK ) strcpy(text, "..derri�re");
if ( num == EVENT_OBJECT_MPOWER ) strcpy(text, "..pile");
if ( num == EVENT_OBJECT_BHELP ) strcpy(text, "Instructions sur la mission (\\key help;)");
- if ( num == EVENT_OBJECT_BTAKEOFF ) strcpy(text, "Décolle pour terminer la mission");
+ if ( num == EVENT_OBJECT_BTAKEOFF ) strcpy(text, "D�colle pour terminer la mission");
if ( num == EVENT_OBJECT_BDERRICK ) strcpy(text, "Construit un derrick");
if ( num == EVENT_OBJECT_BSTATION ) strcpy(text, "Construit une station");
if ( num == EVENT_OBJECT_BFACTORY ) strcpy(text, "Construit une fabrique de robots");
- if ( num == EVENT_OBJECT_BREPAIR ) strcpy(text, "Construit un centre de réparation");
+ if ( num == EVENT_OBJECT_BREPAIR ) strcpy(text, "Construit un centre de r�paration");
if ( num == EVENT_OBJECT_BCONVERT ) strcpy(text, "Construit un convertisseur");
if ( num == EVENT_OBJECT_BTOWER ) strcpy(text, "Construit une tour");
if ( num == EVENT_OBJECT_BRESEARCH ) strcpy(text, "Construit un centre de recherches");
if ( num == EVENT_OBJECT_BRADAR ) strcpy(text, "Construit un radar");
if ( num == EVENT_OBJECT_BENERGY ) strcpy(text, "Construit une fabrique de piles");
if ( num == EVENT_OBJECT_BLABO ) strcpy(text, "Construit un laboratoire");
- if ( num == EVENT_OBJECT_BNUCLEAR ) strcpy(text, "Construit une centrale nucléaire");
+ if ( num == EVENT_OBJECT_BNUCLEAR ) strcpy(text, "Construit une centrale nucl�aire");
if ( num == EVENT_OBJECT_BPARA ) strcpy(text, "Construit un paratonnerre");
if ( num == EVENT_OBJECT_BINFO ) strcpy(text, "Construit une borne d'information");
if ( num == EVENT_OBJECT_GFLAT ) strcpy(text, "Montre si le sol est plat");
if ( num == EVENT_OBJECT_FCREATE ) strcpy(text, "Pose un drapeau de couleur");
- if ( num == EVENT_OBJECT_FDELETE ) strcpy(text, "Enlève un drapeau");
+ if ( num == EVENT_OBJECT_FDELETE ) strcpy(text, "Enl�ve un drapeau");
if ( num == EVENT_OBJECT_FCOLORb ) strcpy(text, "\\Drapeaux bleus");
if ( num == EVENT_OBJECT_FCOLORr ) strcpy(text, "\\Drapeaux rouges");
if ( num == EVENT_OBJECT_FCOLORg ) strcpy(text, "\\Drapeaux verts");
if ( num == EVENT_OBJECT_FCOLORy ) strcpy(text, "\\Drapeaux jaunes");
if ( num == EVENT_OBJECT_FCOLORv ) strcpy(text, "\\Drapeaux violets");
- if ( num == EVENT_OBJECT_FACTORYfa ) strcpy(text, "Fabrique un déménageur volant");
- if ( num == EVENT_OBJECT_FACTORYta ) strcpy(text, "Fabrique un déménageur à chenilles");
- if ( num == EVENT_OBJECT_FACTORYwa ) strcpy(text, "Fabrique un déménageur à roues");
- if ( num == EVENT_OBJECT_FACTORYia ) strcpy(text, "Fabrique un déménageur à pattes");
+ if ( num == EVENT_OBJECT_FACTORYfa ) strcpy(text, "Fabrique un d�m�nageur volant");
+ if ( num == EVENT_OBJECT_FACTORYta ) strcpy(text, "Fabrique un d�m�nageur � chenilles");
+ if ( num == EVENT_OBJECT_FACTORYwa ) strcpy(text, "Fabrique un d�m�nageur � roues");
+ if ( num == EVENT_OBJECT_FACTORYia ) strcpy(text, "Fabrique un d�m�nageur � pattes");
if ( num == EVENT_OBJECT_FACTORYfc ) strcpy(text, "Fabrique un shooter volant");
- if ( num == EVENT_OBJECT_FACTORYtc ) strcpy(text, "Fabrique un shooter à chenilles");
- if ( num == EVENT_OBJECT_FACTORYwc ) strcpy(text, "Fabrique un shooter à roues");
- if ( num == EVENT_OBJECT_FACTORYic ) strcpy(text, "Fabrique un shooter à pattes");
+ if ( num == EVENT_OBJECT_FACTORYtc ) strcpy(text, "Fabrique un shooter � chenilles");
+ if ( num == EVENT_OBJECT_FACTORYwc ) strcpy(text, "Fabrique un shooter � roues");
+ if ( num == EVENT_OBJECT_FACTORYic ) strcpy(text, "Fabrique un shooter � pattes");
if ( num == EVENT_OBJECT_FACTORYfi ) strcpy(text, "Fabrique un orgaShooter volant");
- if ( num == EVENT_OBJECT_FACTORYti ) strcpy(text, "Fabrique un orgaShooter à chenilles");
- if ( num == EVENT_OBJECT_FACTORYwi ) strcpy(text, "Fabrique un orgaShooter à roues");
- if ( num == EVENT_OBJECT_FACTORYii ) strcpy(text, "Fabrique un orgaShooter à pattes");
+ if ( num == EVENT_OBJECT_FACTORYti ) strcpy(text, "Fabrique un orgaShooter � chenilles");
+ if ( num == EVENT_OBJECT_FACTORYwi ) strcpy(text, "Fabrique un orgaShooter � roues");
+ if ( num == EVENT_OBJECT_FACTORYii ) strcpy(text, "Fabrique un orgaShooter � pattes");
if ( num == EVENT_OBJECT_FACTORYfs ) strcpy(text, "Fabrique un renifleur volant");
- if ( num == EVENT_OBJECT_FACTORYts ) strcpy(text, "Fabrique un renifleur à chenilles");
- if ( num == EVENT_OBJECT_FACTORYws ) strcpy(text, "Fabrique un renifleur à roues");
- if ( num == EVENT_OBJECT_FACTORYis ) strcpy(text, "Fabrique un renifleur à pattes");
+ if ( num == EVENT_OBJECT_FACTORYts ) strcpy(text, "Fabrique un renifleur � chenilles");
+ if ( num == EVENT_OBJECT_FACTORYws ) strcpy(text, "Fabrique un renifleur � roues");
+ if ( num == EVENT_OBJECT_FACTORYis ) strcpy(text, "Fabrique un renifleur � pattes");
if ( num == EVENT_OBJECT_FACTORYrt ) strcpy(text, "Fabrique un robot secoueur");
if ( num == EVENT_OBJECT_FACTORYrc ) strcpy(text, "Fabrique un robot phazer");
if ( num == EVENT_OBJECT_FACTORYrr ) strcpy(text, "Fabrique un robot recycleur");
@@ -1384,43 +1385,43 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == EVENT_OBJECT_RFLY ) strcpy(text, "Recherche les robots volants");
if ( num == EVENT_OBJECT_RTHUMP ) strcpy(text, "Recherche le secoueur");
if ( num == EVENT_OBJECT_RCANON ) strcpy(text, "Recherche le canon shooter");
- if ( num == EVENT_OBJECT_RTOWER ) strcpy(text, "Recherche la tour de défense");
+ if ( num == EVENT_OBJECT_RTOWER ) strcpy(text, "Recherche la tour de d�fense");
if ( num == EVENT_OBJECT_RPHAZER ) strcpy(text, "Recherche le canon phazer");
if ( num == EVENT_OBJECT_RSHIELD ) strcpy(text, "Recherche le bouclier");
- if ( num == EVENT_OBJECT_RATOMIC ) strcpy(text, "Recherche le nucléaire");
+ if ( num == EVENT_OBJECT_RATOMIC ) strcpy(text, "Recherche le nucl�aire");
if ( num == EVENT_OBJECT_RiPAW ) strcpy(text, "Recherche les pattes");
if ( num == EVENT_OBJECT_RiGUN ) strcpy(text, "Recherche le canon orgaShooter");
- if ( num == EVENT_OBJECT_RESET ) strcpy(text, "Remet au départ");
+ if ( num == EVENT_OBJECT_RESET ) strcpy(text, "Remet au d�part");
if ( num == EVENT_OBJECT_SEARCH ) strcpy(text, "Cherche (\\key action;)");
if ( num == EVENT_OBJECT_TERRAFORM ) strcpy(text, "Secoue (\\key action;)");
if ( num == EVENT_OBJECT_FIRE ) strcpy(text, "Tir (\\key action;)");
if ( num == EVENT_OBJECT_RECOVER ) strcpy(text, "Recycle (\\key action;)");
- if ( num == EVENT_OBJECT_BEGSHIELD ) strcpy(text, "Déploie le bouclier (\\key action;)");
+ if ( num == EVENT_OBJECT_BEGSHIELD ) strcpy(text, "D�ploie le bouclier (\\key action;)");
if ( num == EVENT_OBJECT_ENDSHIELD ) strcpy(text, "Stoppe le bouclier (\\key action;)");
if ( num == EVENT_OBJECT_DIMSHIELD ) strcpy(text, "Rayon du bouclier");
- if ( num == EVENT_OBJECT_PROGRUN ) strcpy(text, "Exécute le programme sélectionné");
- if ( num == EVENT_OBJECT_PROGEDIT ) strcpy(text, "Edite le programme sélectionné");
+ if ( num == EVENT_OBJECT_PROGRUN ) strcpy(text, "Ex�cute le programme s�lectionn�");
+ if ( num == EVENT_OBJECT_PROGEDIT ) strcpy(text, "Edite le programme s�lectionn�");
if ( num == EVENT_OBJECT_INFOOK ) strcpy(text, "\\Mettre le SatCom en veille");
- if ( num == EVENT_OBJECT_DELETE ) strcpy(text, "Démolit le bâtiment");
- if ( num == EVENT_OBJECT_GENERGY ) strcpy(text, "Niveau d'énergie");
+ if ( num == EVENT_OBJECT_DELETE ) strcpy(text, "D�molit le b�timent");
+ if ( num == EVENT_OBJECT_GENERGY ) strcpy(text, "Niveau d'�nergie");
if ( num == EVENT_OBJECT_GSHIELD ) strcpy(text, "Niveau du bouclier");
- if ( num == EVENT_OBJECT_GRANGE ) strcpy(text, "Température du réacteur");
+ if ( num == EVENT_OBJECT_GRANGE ) strcpy(text, "Temp�rature du r�acteur");
if ( num == EVENT_OBJECT_GPROGRESS ) strcpy(text, "Travail en cours ...");
- if ( num == EVENT_OBJECT_GRADAR ) strcpy(text, "Nombre d'insectes détectés");
- if ( num == EVENT_OBJECT_GINFO ) strcpy(text, "Informations diffusées");
+ if ( num == EVENT_OBJECT_GRADAR ) strcpy(text, "Nombre d'insectes d�tect�s");
+ if ( num == EVENT_OBJECT_GINFO ) strcpy(text, "Informations diffus�es");
if ( num == EVENT_OBJECT_COMPASS ) strcpy(text, "Boussole");
//? if ( num == EVENT_OBJECT_MAP ) strcpy(text, "Mini-carte");
if ( num == EVENT_OBJECT_MAPZOOM ) strcpy(text, "Zoom mini-carte");
- if ( num == EVENT_OBJECT_CAMERA ) strcpy(text, "Caméra (\\key camera;)");
- if ( num == EVENT_OBJECT_CAMERAleft) strcpy(text, "Caméra à gauche");
- if ( num == EVENT_OBJECT_CAMERAright) strcpy(text, "Caméra à droite");
- if ( num == EVENT_OBJECT_CAMERAnear) strcpy(text, "Caméra plus proche");
- if ( num == EVENT_OBJECT_CAMERAaway) strcpy(text, "Caméra plus loin");
- if ( num == EVENT_OBJECT_HELP ) strcpy(text, "Instructions sur la sélection");
+ if ( num == EVENT_OBJECT_CAMERA ) strcpy(text, "Cam�ra (\\key camera;)");
+ if ( num == EVENT_OBJECT_CAMERAleft) strcpy(text, "Cam�ra � gauche");
+ if ( num == EVENT_OBJECT_CAMERAright) strcpy(text, "Cam�ra � droite");
+ if ( num == EVENT_OBJECT_CAMERAnear) strcpy(text, "Cam�ra plus proche");
+ if ( num == EVENT_OBJECT_CAMERAaway) strcpy(text, "Cam�ra plus loin");
+ if ( num == EVENT_OBJECT_HELP ) strcpy(text, "Instructions sur la s�lection");
if ( num == EVENT_OBJECT_SOLUCE ) strcpy(text, "Donne la solution");
- if ( num == EVENT_OBJECT_SHORTCUT00) strcpy(text, "Permute robots <-> bâtiments");
+ if ( num == EVENT_OBJECT_SHORTCUT00) strcpy(text, "Permute robots <-> b�timents");
if ( num == EVENT_OBJECT_LIMIT ) strcpy(text, "Montre le rayon d'action");
- if ( num == EVENT_OBJECT_PEN0 ) strcpy(text, "\\Relève le crayon");
+ if ( num == EVENT_OBJECT_PEN0 ) strcpy(text, "\\Rel�ve le crayon");
if ( num == EVENT_OBJECT_PEN1 ) strcpy(text, "\\Abaisse le crayon noir");
if ( num == EVENT_OBJECT_PEN2 ) strcpy(text, "\\Abaisse le crayon jaune");
if ( num == EVENT_OBJECT_PEN3 ) strcpy(text, "\\Abaisse le crayon orange");
@@ -1429,7 +1430,7 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == EVENT_OBJECT_PEN6 ) strcpy(text, "\\Abaisse le crayon bleu");
if ( num == EVENT_OBJECT_PEN7 ) strcpy(text, "\\Abaisse le crayon vert");
if ( num == EVENT_OBJECT_PEN8 ) strcpy(text, "\\Abaisse le crayon brun");
- if ( num == EVENT_OBJECT_REC ) strcpy(text, "\\Démarre l'enregistrement");
+ if ( num == EVENT_OBJECT_REC ) strcpy(text, "\\D�marre l'enregistrement");
if ( num == EVENT_OBJECT_STOP ) strcpy(text, "\\Stoppe l'enregistrement");
if ( num == EVENT_DT_VISIT0 ||
num == EVENT_DT_VISIT1 ||
@@ -1440,7 +1441,7 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == EVENT_CMD ) strcpy(text, "Console de commande");
if ( num == EVENT_SPEED ) strcpy(text, "Vitesse du jeu");
- if ( num == EVENT_HYPER_PREV ) strcpy(text, "Page précédente");
+ if ( num == EVENT_HYPER_PREV ) strcpy(text, "Page pr�c�dente");
if ( num == EVENT_HYPER_NEXT ) strcpy(text, "Page suivante");
if ( num == EVENT_HYPER_HOME ) strcpy(text, "Page initiale");
if ( num == EVENT_HYPER_COPY ) strcpy(text, "Copier");
@@ -1451,13 +1452,13 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == EVENT_HYPER_SIZE5 ) strcpy(text, "Taille 5");
if ( num == EVENT_SATCOM_HUSTON ) strcpy(text, "Instructions de Houston");
#if _TEEN
- if ( num == EVENT_SATCOM_SAT ) strcpy(text, "Dictionnaire anglais-français");
+ if ( num == EVENT_SATCOM_SAT ) strcpy(text, "Dictionnaire anglais-fran�ais");
#else
if ( num == EVENT_SATCOM_SAT ) strcpy(text, "Rapport du satellite");
#endif
- if ( num == EVENT_SATCOM_LOADING ) strcpy(text, "Programmes envoyés par Houston");
+ if ( num == EVENT_SATCOM_LOADING ) strcpy(text, "Programmes envoy�s par Houston");
if ( num == EVENT_SATCOM_OBJECT ) strcpy(text, "Liste des objets");
- if ( num == EVENT_SATCOM_PROG ) strcpy(text, "Aide à la programmation");
+ if ( num == EVENT_SATCOM_PROG ) strcpy(text, "Aide � la programmation");
if ( num == EVENT_SATCOM_SOLUCE ) strcpy(text, "Solution");
if ( num == EVENT_STUDIO_OK ) strcpy(text, "D'accord\\Compiler le programme");
@@ -1469,11 +1470,11 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == EVENT_STUDIO_CUT ) strcpy(text, "Couper (Ctrl+x)");
if ( num == EVENT_STUDIO_COPY ) strcpy(text, "Copier (Ctrl+c)");
if ( num == EVENT_STUDIO_PASTE ) strcpy(text, "Coller (Ctrl+v)");
- if ( num == EVENT_STUDIO_SIZE ) strcpy(text, "Taille des caractères");
+ if ( num == EVENT_STUDIO_SIZE ) strcpy(text, "Taille des caract�res");
if ( num == EVENT_STUDIO_TOOL ) strcpy(text, "Instructions (\\key help;)");
- if ( num == EVENT_STUDIO_HELP ) strcpy(text, "Aide à la programmation (\\key prog;)");
+ if ( num == EVENT_STUDIO_HELP ) strcpy(text, "Aide � la programmation (\\key prog;)");
if ( num == EVENT_STUDIO_COMPILE ) strcpy(text, "Compiler");
- if ( num == EVENT_STUDIO_RUN ) strcpy(text, "Démarrer/stopper");
+ if ( num == EVENT_STUDIO_RUN ) strcpy(text, "D�marrer/stopper");
if ( num == EVENT_STUDIO_REALTIME ) strcpy(text, "Pause/continuer");
if ( num == EVENT_STUDIO_STEP ) strcpy(text, "Un pas");
}
@@ -1484,40 +1485,40 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == OBJECT_BASE ) strcpy(text, "Vaisseau spatial");
if ( num == OBJECT_DERRICK ) strcpy(text, "Derrick");
if ( num == OBJECT_FACTORY ) strcpy(text, "Fabrique de robots");
- if ( num == OBJECT_REPAIR ) strcpy(text, "Centre de réparation");
+ if ( num == OBJECT_REPAIR ) strcpy(text, "Centre de r�paration");
if ( num == OBJECT_DESTROYER ) strcpy(text, "Destructeur");
if ( num == OBJECT_STATION ) strcpy(text, "Station de recharge");
if ( num == OBJECT_CONVERT ) strcpy(text, "Conversion minerai en titanium");
- if ( num == OBJECT_TOWER ) strcpy(text, "Tour de défense");
+ if ( num == OBJECT_TOWER ) strcpy(text, "Tour de d�fense");
if ( num == OBJECT_NEST ) strcpy(text, "Nid");
if ( num == OBJECT_RESEARCH ) strcpy(text, "Centre de recherches");
if ( num == OBJECT_RADAR ) strcpy(text, "Radar");
if ( num == OBJECT_INFO ) strcpy(text, "Borne d'information");
#if _TEEN
- if ( num == OBJECT_ENERGY ) strcpy(text, "Désintégrateur");
+ if ( num == OBJECT_ENERGY ) strcpy(text, "D�sint�grateur");
#else
if ( num == OBJECT_ENERGY ) strcpy(text, "Fabrique de piles");
#endif
- if ( num == OBJECT_LABO ) strcpy(text, "Laboratoire de matières organiques");
- if ( num == OBJECT_NUCLEAR ) strcpy(text, "Centrale nucléaire");
+ if ( num == OBJECT_LABO ) strcpy(text, "Laboratoire de mati�res organiques");
+ if ( num == OBJECT_NUCLEAR ) strcpy(text, "Centrale nucl�aire");
if ( num == OBJECT_PARA ) strcpy(text, "Paratonnerre");
if ( num == OBJECT_SAFE ) strcpy(text, "Coffre-fort");
- if ( num == OBJECT_HUSTON ) strcpy(text, "Centre de contrôle");
+ if ( num == OBJECT_HUSTON ) strcpy(text, "Centre de contr�le");
if ( num == OBJECT_TARGET1 ) strcpy(text, "Cible");
if ( num == OBJECT_TARGET2 ) strcpy(text, "Cible");
- if ( num == OBJECT_START ) strcpy(text, "Départ");
+ if ( num == OBJECT_START ) strcpy(text, "D�part");
if ( num == OBJECT_END ) strcpy(text, "But");
if ( num == OBJECT_STONE ) strcpy(text, "Minerai de titanium");
if ( num == OBJECT_URANIUM ) strcpy(text, "Minerai d'uranium");
- if ( num == OBJECT_BULLET ) strcpy(text, "Matière organique");
+ if ( num == OBJECT_BULLET ) strcpy(text, "Mati�re organique");
if ( num == OBJECT_METAL ) strcpy(text, "Titanium");
if ( num == OBJECT_POWER ) strcpy(text, "Pile normale");
- if ( num == OBJECT_ATOMIC ) strcpy(text, "Pile nucléaire");
- if ( num == OBJECT_BBOX ) strcpy(text, "Boîte noire");
- if ( num == OBJECT_KEYa ) strcpy(text, "Clé A");
- if ( num == OBJECT_KEYb ) strcpy(text, "Clé B");
- if ( num == OBJECT_KEYc ) strcpy(text, "Clé C");
- if ( num == OBJECT_KEYd ) strcpy(text, "Clé D");
+ if ( num == OBJECT_ATOMIC ) strcpy(text, "Pile nucl�aire");
+ if ( num == OBJECT_BBOX ) strcpy(text, "Bo�te noire");
+ if ( num == OBJECT_KEYa ) strcpy(text, "Cl� A");
+ if ( num == OBJECT_KEYb ) strcpy(text, "Cl� B");
+ if ( num == OBJECT_KEYc ) strcpy(text, "Cl� C");
+ if ( num == OBJECT_KEYd ) strcpy(text, "Cl� D");
if ( num == OBJECT_TNT ) strcpy(text, "Explosif");
if ( num == OBJECT_BOMB ) strcpy(text, "Mine fixe");
if ( num == OBJECT_BAG ) strcpy(text, "Sac de survie");
@@ -1529,19 +1530,19 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == OBJECT_FLAGv ) strcpy(text, "Drapeau violet");
if ( num == OBJECT_MARKPOWER ) strcpy(text, "Emplacement pour station");
if ( num == OBJECT_MARKURANIUM ) strcpy(text, "Emplacement pour derrick (uranium)");
- if ( num == OBJECT_MARKKEYa ) strcpy(text, "Emplacement pour derrick (clé A)");
- if ( num == OBJECT_MARKKEYb ) strcpy(text, "Emplacement pour derrick (clé B)");
- if ( num == OBJECT_MARKKEYc ) strcpy(text, "Emplacement pour derrick (clé C)");
- if ( num == OBJECT_MARKKEYd ) strcpy(text, "Emplacement pour derrick (clé D)");
+ if ( num == OBJECT_MARKKEYa ) strcpy(text, "Emplacement pour derrick (cl� A)");
+ if ( num == OBJECT_MARKKEYb ) strcpy(text, "Emplacement pour derrick (cl� B)");
+ if ( num == OBJECT_MARKKEYc ) strcpy(text, "Emplacement pour derrick (cl� C)");
+ if ( num == OBJECT_MARKKEYd ) strcpy(text, "Emplacement pour derrick (cl� D)");
if ( num == OBJECT_MARKSTONE ) strcpy(text, "Emplacement pour derrick (titanium)");
- if ( num == OBJECT_MOBILEft ) strcpy(text, "Robot d'entraînement");
- if ( num == OBJECT_MOBILEtt ) strcpy(text, "Robot d'entraînement");
- if ( num == OBJECT_MOBILEwt ) strcpy(text, "Robot d'entraînement");
- if ( num == OBJECT_MOBILEit ) strcpy(text, "Robot d'entraînement");
- if ( num == OBJECT_MOBILEfa ) strcpy(text, "Robot déménageur");
- if ( num == OBJECT_MOBILEta ) strcpy(text, "Robot déménageur");
- if ( num == OBJECT_MOBILEwa ) strcpy(text, "Robot déménageur");
- if ( num == OBJECT_MOBILEia ) strcpy(text, "Robot déménageur");
+ if ( num == OBJECT_MOBILEft ) strcpy(text, "Robot d'entra�nement");
+ if ( num == OBJECT_MOBILEtt ) strcpy(text, "Robot d'entra�nement");
+ if ( num == OBJECT_MOBILEwt ) strcpy(text, "Robot d'entra�nement");
+ if ( num == OBJECT_MOBILEit ) strcpy(text, "Robot d'entra�nement");
+ if ( num == OBJECT_MOBILEfa ) strcpy(text, "Robot d�m�nageur");
+ if ( num == OBJECT_MOBILEta ) strcpy(text, "Robot d�m�nageur");
+ if ( num == OBJECT_MOBILEwa ) strcpy(text, "Robot d�m�nageur");
+ if ( num == OBJECT_MOBILEia ) strcpy(text, "Robot d�m�nageur");
if ( num == OBJECT_MOBILEfc ) strcpy(text, "Robot shooter");
if ( num == OBJECT_MOBILEtc ) strcpy(text, "Robot shooter");
if ( num == OBJECT_MOBILEwc ) strcpy(text, "Robot shooter");
@@ -1559,15 +1560,15 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == OBJECT_MOBILErr ) strcpy(text, "Robot recycleur");
if ( num == OBJECT_MOBILErs ) strcpy(text, "Robot bouclier");
if ( num == OBJECT_MOBILEsa ) strcpy(text, "Robot sous-marin");
- if ( num == OBJECT_MOBILEtg ) strcpy(text, "Cible d'entraînement");
+ if ( num == OBJECT_MOBILEtg ) strcpy(text, "Cible d'entra�nement");
if ( num == OBJECT_MOBILEdr ) strcpy(text, "Robot dessinateur");
if ( num == OBJECT_HUMAN ) strcpy(text, g_gamerName);
if ( num == OBJECT_TECH ) strcpy(text, "Technicien");
if ( num == OBJECT_TOTO ) strcpy(text, "Robbie");
if ( num == OBJECT_MOTHER ) strcpy(text, "Pondeuse");
if ( num == OBJECT_ANT ) strcpy(text, "Fourmi");
- if ( num == OBJECT_SPIDER ) strcpy(text, "Araignée");
- if ( num == OBJECT_BEE ) strcpy(text, "Guêpe");
+ if ( num == OBJECT_SPIDER ) strcpy(text, "Araign�e");
+ if ( num == OBJECT_BEE ) strcpy(text, "Gu�pe");
if ( num == OBJECT_WORM ) strcpy(text, "Ver");
if ( num == OBJECT_EGG ) strcpy(text, "Oeuf");
if ( num == OBJECT_RUINmobilew1 ) strcpy(text, "Epave de robot");
@@ -1576,11 +1577,11 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == OBJECT_RUINmobilet2 ) strcpy(text, "Epave de robot");
if ( num == OBJECT_RUINmobiler1 ) strcpy(text, "Epave de robot");
if ( num == OBJECT_RUINmobiler2 ) strcpy(text, "Epave de robot");
- if ( num == OBJECT_RUINfactory ) strcpy(text, "Bâtiment en ruine");
- if ( num == OBJECT_RUINdoor ) strcpy(text, "Bâtiment en ruine");
- if ( num == OBJECT_RUINsupport ) strcpy(text, "Déchet");
- if ( num == OBJECT_RUINradar ) strcpy(text, "Bâtiment en ruine");
- if ( num == OBJECT_RUINconvert ) strcpy(text, "Bâtiment en ruine");
+ if ( num == OBJECT_RUINfactory ) strcpy(text, "B�timent en ruine");
+ if ( num == OBJECT_RUINdoor ) strcpy(text, "B�timent en ruine");
+ if ( num == OBJECT_RUINsupport ) strcpy(text, "D�chet");
+ if ( num == OBJECT_RUINradar ) strcpy(text, "B�timent en ruine");
+ if ( num == OBJECT_RUINconvert ) strcpy(text, "B�timent en ruine");
if ( num == OBJECT_RUINbase ) strcpy(text, "Epave de vaisseau spatial");
if ( num == OBJECT_RUINhead ) strcpy(text, "Epave de vaisseau spatial");
if ( num == OBJECT_APOLLO1 ||
@@ -1595,311 +1596,311 @@ bool GetResourceBase(ResType type, int num, char* text)
strcpy(text, "Erreur");
if ( num == ERR_CMD ) strcpy(text, "Commande inconnue");
#if _NEWLOOK
- if ( num == ERR_INSTALL ) strcpy(text, "CeeBot n'est pas installé.");
+ if ( num == ERR_INSTALL ) strcpy(text, "CeeBot n'est pas install�.");
if ( num == ERR_NOCD ) strcpy(text, "Veuillez mettre le CD de CeeBot\net relancer le jeu.");
#else
- if ( num == ERR_INSTALL ) strcpy(text, "COLOBOT n'est pas installé.");
+ if ( num == ERR_INSTALL ) strcpy(text, "COLOBOT n'est pas install�.");
if ( num == ERR_NOCD ) strcpy(text, "Veuillez mettre le CD de COLOBOT\net relancer le jeu.");
#endif
- if ( num == ERR_MANIP_VEH ) strcpy(text, "Robot inadapté");
+ if ( num == ERR_MANIP_VEH ) strcpy(text, "Robot inadapt�");
if ( num == ERR_MANIP_FLY ) strcpy(text, "Impossible en vol");
- if ( num == ERR_MANIP_BUSY ) strcpy(text, "Porte déjà quelque chose");
- if ( num == ERR_MANIP_NIL ) strcpy(text, "Rien à prendre");
+ if ( num == ERR_MANIP_BUSY ) strcpy(text, "Porte d�j� quelque chose");
+ if ( num == ERR_MANIP_NIL ) strcpy(text, "Rien � prendre");
if ( num == ERR_MANIP_MOTOR ) strcpy(text, "Impossible en mouvement");
- if ( num == ERR_MANIP_OCC ) strcpy(text, "Emplacement occupé");
+ if ( num == ERR_MANIP_OCC ) strcpy(text, "Emplacement occup�");
if ( num == ERR_MANIP_FRIEND ) strcpy(text, "Pas d'autre robot");
if ( num == ERR_MANIP_RADIO ) strcpy(text, "Vous ne pouvez pas transporter un objet radioactif");
if ( num == ERR_MANIP_WATER ) strcpy(text, "Vous ne pouvez pas transporter un objet sous l'eau");
- if ( num == ERR_MANIP_EMPTY ) strcpy(text, "Rien à déposer");
+ if ( num == ERR_MANIP_EMPTY ) strcpy(text, "Rien � d�poser");
if ( num == ERR_BUILD_FLY ) strcpy(text, "Impossible en vol");
if ( num == ERR_BUILD_WATER ) strcpy(text, "Impossible sous l'eau");
- if ( num == ERR_BUILD_ENERGY ) strcpy(text, "Pas assez d'énergie");
+ if ( num == ERR_BUILD_ENERGY ) strcpy(text, "Pas assez d'�nergie");
if ( num == ERR_BUILD_METALAWAY ) strcpy(text, "Titanium trop loin");
if ( num == ERR_BUILD_METALNEAR ) strcpy(text, "Titanium trop proche");
if ( num == ERR_BUILD_METALINEX ) strcpy(text, "Titanium inexistant");
if ( num == ERR_BUILD_FLAT ) strcpy(text, "Sol pas assez plat");
if ( num == ERR_BUILD_FLATLIT ) strcpy(text, "Sol plat pas assez grand");
- if ( num == ERR_BUILD_BUSY ) strcpy(text, "Emplacement occupé");
+ if ( num == ERR_BUILD_BUSY ) strcpy(text, "Emplacement occup�");
if ( num == ERR_BUILD_BASE ) strcpy(text, "Trop proche du vaisseau spatial");
- if ( num == ERR_BUILD_NARROW ) strcpy(text, "Trop proche d'un bâtiment");
+ if ( num == ERR_BUILD_NARROW ) strcpy(text, "Trop proche d'un b�timent");
if ( num == ERR_BUILD_MOTOR ) strcpy(text, "Impossible en mouvement");
if ( num == ERR_SEARCH_FLY ) strcpy(text, "Impossible en vol");
- if ( num == ERR_SEARCH_VEH ) strcpy(text, "Robot inadapté");
+ if ( num == ERR_SEARCH_VEH ) strcpy(text, "Robot inadapt�");
if ( num == ERR_SEARCH_MOTOR ) strcpy(text, "Impossible en mouvement");
- if ( num == ERR_TERRA_VEH ) strcpy(text, "Robot inadapté");
- if ( num == ERR_TERRA_ENERGY ) strcpy(text, "Pas assez d'énergie");
- if ( num == ERR_TERRA_FLOOR ) strcpy(text, "Terrain inadapté");
- if ( num == ERR_TERRA_BUILDING ) strcpy(text, "Bâtiment trop proche");
+ if ( num == ERR_TERRA_VEH ) strcpy(text, "Robot inadapt�");
+ if ( num == ERR_TERRA_ENERGY ) strcpy(text, "Pas assez d'�nergie");
+ if ( num == ERR_TERRA_FLOOR ) strcpy(text, "Terrain inadapt�");
+ if ( num == ERR_TERRA_BUILDING ) strcpy(text, "B�timent trop proche");
if ( num == ERR_TERRA_OBJECT ) strcpy(text, "Objet trop proche");
- if ( num == ERR_RECOVER_VEH ) strcpy(text, "Robot inadapté");
- if ( num == ERR_RECOVER_ENERGY ) strcpy(text, "Pas assez d'énergie");
- if ( num == ERR_RECOVER_NULL ) strcpy(text, "Rien à recycler");
- if ( num == ERR_SHIELD_VEH ) strcpy(text, "Robot inadapté");
- if ( num == ERR_SHIELD_ENERGY ) strcpy(text, "Plus d'énergie");
- if ( num == ERR_MOVE_IMPOSSIBLE ) strcpy(text, "Déplacement impossible");
+ if ( num == ERR_RECOVER_VEH ) strcpy(text, "Robot inadapt�");
+ if ( num == ERR_RECOVER_ENERGY ) strcpy(text, "Pas assez d'�nergie");
+ if ( num == ERR_RECOVER_NULL ) strcpy(text, "Rien � recycler");
+ if ( num == ERR_SHIELD_VEH ) strcpy(text, "Robot inadapt�");
+ if ( num == ERR_SHIELD_ENERGY ) strcpy(text, "Plus d'�nergie");
+ if ( num == ERR_MOVE_IMPOSSIBLE ) strcpy(text, "D�placement impossible");
if ( num == ERR_FIND_IMPOSSIBLE ) strcpy(text, "Objet n'existe pas");
if ( num == ERR_GOTO_IMPOSSIBLE ) strcpy(text, "Chemin introuvable");
if ( num == ERR_GOTO_ITER ) strcpy(text, "Position inaccessible");
- if ( num == ERR_GOTO_BUSY ) strcpy(text, "Destination occupée");
- if ( num == ERR_FIRE_VEH ) strcpy(text, "Robot inadapté");
- if ( num == ERR_FIRE_ENERGY ) strcpy(text, "Pas assez d'énergie");
+ if ( num == ERR_GOTO_BUSY ) strcpy(text, "Destination occup�e");
+ if ( num == ERR_FIRE_VEH ) strcpy(text, "Robot inadapt�");
+ if ( num == ERR_FIRE_ENERGY ) strcpy(text, "Pas assez d'�nergie");
if ( num == ERR_FIRE_FLY ) strcpy(text, "Impossible en vol");
- if ( num == ERR_CONVERT_EMPTY ) strcpy(text, "Pas de minerai de titanium à convertir");
+ if ( num == ERR_CONVERT_EMPTY ) strcpy(text, "Pas de minerai de titanium � convertir");
if ( num == ERR_DERRICK_NULL ) strcpy(text, "Pas de minerai en sous-sol");
- if ( num == ERR_STATION_NULL ) strcpy(text, "Pas d'énergie en sous-sol");
+ if ( num == ERR_STATION_NULL ) strcpy(text, "Pas d'�nergie en sous-sol");
if ( num == ERR_TOWER_POWER ) strcpy(text, "Pas de pile");
- if ( num == ERR_TOWER_ENERGY ) strcpy(text, "Plus d'énergie");
+ if ( num == ERR_TOWER_ENERGY ) strcpy(text, "Plus d'�nergie");
if ( num == ERR_RESEARCH_POWER ) strcpy(text, "Pas de pile");
- if ( num == ERR_RESEARCH_ENERGY ) strcpy(text, "Plus assez d'énergie");
+ if ( num == ERR_RESEARCH_ENERGY ) strcpy(text, "Plus assez d'�nergie");
if ( num == ERR_RESEARCH_TYPE ) strcpy(text, "Pas le bon type de pile");
- if ( num == ERR_RESEARCH_ALREADY) strcpy(text, "Recherche déjà effectuée");
- if ( num == ERR_ENERGY_NULL ) strcpy(text, "Pas d'énergie en sous-sol");
- if ( num == ERR_ENERGY_LOW ) strcpy(text, "Pas encore assez d'énergie");
- if ( num == ERR_ENERGY_EMPTY ) strcpy(text, "Pas de titanium à transformer");
+ if ( num == ERR_RESEARCH_ALREADY) strcpy(text, "Recherche d�j� effectu�e");
+ if ( num == ERR_ENERGY_NULL ) strcpy(text, "Pas d'�nergie en sous-sol");
+ if ( num == ERR_ENERGY_LOW ) strcpy(text, "Pas encore assez d'�nergie");
+ if ( num == ERR_ENERGY_EMPTY ) strcpy(text, "Pas de titanium � transformer");
if ( num == ERR_ENERGY_BAD ) strcpy(text, "Ne transforme que le titanium");
- if ( num == ERR_BASE_DLOCK ) strcpy(text, "Portes bloquées par un robot ou un objet");
- if ( num == ERR_BASE_DHUMAN ) strcpy(text, "Vous devez embarquer pour pouvoir décoller");
- if ( num == ERR_LABO_NULL ) strcpy(text, "Rien à analyser");
- if ( num == ERR_LABO_BAD ) strcpy(text, "N'analyse que la matière organique");
- if ( num == ERR_LABO_ALREADY ) strcpy(text, "Analyse déjà effectuée");
- if ( num == ERR_NUCLEAR_NULL ) strcpy(text, "Pas d'énergie en sous-sol");
- if ( num == ERR_NUCLEAR_LOW ) strcpy(text, "Pas encore assez d'énergie");
- if ( num == ERR_NUCLEAR_EMPTY ) strcpy(text, "Pas d'uranium à transformer");
+ if ( num == ERR_BASE_DLOCK ) strcpy(text, "Portes bloqu�es par un robot ou un objet");
+ if ( num == ERR_BASE_DHUMAN ) strcpy(text, "Vous devez embarquer pour pouvoir d�coller");
+ if ( num == ERR_LABO_NULL ) strcpy(text, "Rien � analyser");
+ if ( num == ERR_LABO_BAD ) strcpy(text, "N'analyse que la mati�re organique");
+ if ( num == ERR_LABO_ALREADY ) strcpy(text, "Analyse d�j� effectu�e");
+ if ( num == ERR_NUCLEAR_NULL ) strcpy(text, "Pas d'�nergie en sous-sol");
+ if ( num == ERR_NUCLEAR_LOW ) strcpy(text, "Pas encore assez d'�nergie");
+ if ( num == ERR_NUCLEAR_EMPTY ) strcpy(text, "Pas d'uranium � transformer");
if ( num == ERR_NUCLEAR_BAD ) strcpy(text, "Ne transforme que l'uranium");
if ( num == ERR_FACTORY_NULL ) strcpy(text, "Pas de titanium");
if ( num == ERR_FACTORY_NEAR ) strcpy(text, "Quelque chose est trop proche");
- if ( num == ERR_RESET_NEAR ) strcpy(text, "Emplacement occupé");
- if ( num == ERR_INFO_NULL ) strcpy(text, "Pas trouvé de borne d'information");
- if ( num == ERR_VEH_VIRUS ) strcpy(text, "Un programme est infecté par un virus");
- if ( num == ERR_BAT_VIRUS ) strcpy(text, "Infecté par un virus, ne fonctionne plus temporairement");
+ if ( num == ERR_RESET_NEAR ) strcpy(text, "Emplacement occup�");
+ if ( num == ERR_INFO_NULL ) strcpy(text, "Pas trouv� de borne d'information");
+ if ( num == ERR_VEH_VIRUS ) strcpy(text, "Un programme est infect� par un virus");
+ if ( num == ERR_BAT_VIRUS ) strcpy(text, "Infect� par un virus, ne fonctionne plus temporairement");
if ( num == ERR_VEH_POWER ) strcpy(text, "Pas de pile");
- if ( num == ERR_VEH_ENERGY ) strcpy(text, "Plus d'énergie");
+ if ( num == ERR_VEH_ENERGY ) strcpy(text, "Plus d'�nergie");
if ( num == ERR_FLAG_FLY ) strcpy(text, "Impossible en vol");
if ( num == ERR_FLAG_WATER ) strcpy(text, "Impossible en nageant");
if ( num == ERR_FLAG_MOTOR ) strcpy(text, "Impossible en mouvement");
if ( num == ERR_FLAG_BUSY ) strcpy(text, "Impossible en portant un objet");
if ( num == ERR_FLAG_CREATE ) strcpy(text, "Trop de drapeaux de cette couleur (maximum 5)");
if ( num == ERR_FLAG_PROXY ) strcpy(text, "Trop proche d'un drapeau existant");
- if ( num == ERR_FLAG_DELETE ) strcpy(text, "Aucun drapeau à proximité");
- if ( num == ERR_MISSION_NOTERM ) strcpy(text, "La misssion n'est pas terminée (appuyez sur \\key help; pour plus de détails)");
- if ( num == ERR_DELETEMOBILE ) strcpy(text, "Robot détruit");
- if ( num == ERR_DELETEBUILDING ) strcpy(text, "Bâtiment détruit");
- if ( num == ERR_TOOMANY ) strcpy(text, "Création impossible, il y a trop d'objets");
+ if ( num == ERR_FLAG_DELETE ) strcpy(text, "Aucun drapeau � proximit�");
+ if ( num == ERR_MISSION_NOTERM ) strcpy(text, "La misssion n'est pas termin�e (appuyez sur \\key help; pour plus de d�tails)");
+ if ( num == ERR_DELETEMOBILE ) strcpy(text, "Robot d�truit");
+ if ( num == ERR_DELETEBUILDING ) strcpy(text, "B�timent d�truit");
+ if ( num == ERR_TOOMANY ) strcpy(text, "Cr�ation impossible, il y a trop d'objets");
if ( num == ERR_OBLIGATORYTOKEN ) strcpy(text, "Il manque \"%s\" dans le programme");
if ( num == ERR_PROHIBITEDTOKEN ) strcpy(text, "Interdit dans cet exercice");
- if ( num == INFO_BUILD ) strcpy(text, "Bâtiment terminé");
+ if ( num == INFO_BUILD ) strcpy(text, "B�timent termin�");
if ( num == INFO_CONVERT ) strcpy(text, "Titanium disponible");
- if ( num == INFO_RESEARCH ) strcpy(text, "Recherche terminée");
- if ( num == INFO_RESEARCHTANK ) strcpy(text, "Fabrication d'un robot à chenilles possible");
+ if ( num == INFO_RESEARCH ) strcpy(text, "Recherche termin�e");
+ if ( num == INFO_RESEARCHTANK ) strcpy(text, "Fabrication d'un robot � chenilles possible");
if ( num == INFO_RESEARCHFLY ) strcpy(text, "Il est possible de voler avec les touches (\\key gup;) et (\\key gdown;)");
if ( num == INFO_RESEARCHTHUMP ) strcpy(text, "Fabrication d'un robot secoueur possible");
if ( num == INFO_RESEARCHCANON ) strcpy(text, "Fabrication de robots shooter possible");
- if ( num == INFO_RESEARCHTOWER ) strcpy(text, "Construction d'une tour de défense possible");
+ if ( num == INFO_RESEARCHTOWER ) strcpy(text, "Construction d'une tour de d�fense possible");
if ( num == INFO_RESEARCHPHAZER ) strcpy(text, "Fabrication d'un robot phazer possible");
if ( num == INFO_RESEARCHSHIELD ) strcpy(text, "Fabrication d'un robot bouclier possible");
- if ( num == INFO_RESEARCHATOMIC ) strcpy(text, "Construction d'une centrale nucléaire possible");
+ if ( num == INFO_RESEARCHATOMIC ) strcpy(text, "Construction d'une centrale nucl�aire possible");
if ( num == INFO_FACTORY ) strcpy(text, "Nouveau robot disponible");
- if ( num == INFO_LABO ) strcpy(text, "Analyse terminée");
+ if ( num == INFO_LABO ) strcpy(text, "Analyse termin�e");
if ( num == INFO_ENERGY ) strcpy(text, "Pile disponible");
- if ( num == INFO_NUCLEAR ) strcpy(text, "Pile nucléaire disponible");
- if ( num == INFO_FINDING ) strcpy(text, "Vous avez trouvé un objet utilisable");
- if ( num == INFO_MARKPOWER ) strcpy(text, "Emplacement pour station trouvé");
- if ( num == INFO_MARKURANIUM ) strcpy(text, "Emplacement pour derrick trouvé");
- if ( num == INFO_MARKSTONE ) strcpy(text, "Emplacement pour derrick trouvé");
- if ( num == INFO_MARKKEYa ) strcpy(text, "Emplacement pour derrick trouvé");
- if ( num == INFO_MARKKEYb ) strcpy(text, "Emplacement pour derrick trouvé");
- if ( num == INFO_MARKKEYc ) strcpy(text, "Emplacement pour derrick trouvé");
- if ( num == INFO_MARKKEYd ) strcpy(text, "Emplacement pour derrick trouvé");
- if ( num == INFO_WIN ) strcpy(text, "<<< Bravo, mission terminée >>>");
- if ( num == INFO_LOST ) strcpy(text, "<<< Désolé, mission échouée >>>");
- if ( num == INFO_LOSTq ) strcpy(text, "<<< Désolé, mission échouée >>>");
- if ( num == INFO_WRITEOK ) strcpy(text, "Enregistrement effectué");
+ if ( num == INFO_NUCLEAR ) strcpy(text, "Pile nucl�aire disponible");
+ if ( num == INFO_FINDING ) strcpy(text, "Vous avez trouv� un objet utilisable");
+ if ( num == INFO_MARKPOWER ) strcpy(text, "Emplacement pour station trouv�");
+ if ( num == INFO_MARKURANIUM ) strcpy(text, "Emplacement pour derrick trouv�");
+ if ( num == INFO_MARKSTONE ) strcpy(text, "Emplacement pour derrick trouv�");
+ if ( num == INFO_MARKKEYa ) strcpy(text, "Emplacement pour derrick trouv�");
+ if ( num == INFO_MARKKEYb ) strcpy(text, "Emplacement pour derrick trouv�");
+ if ( num == INFO_MARKKEYc ) strcpy(text, "Emplacement pour derrick trouv�");
+ if ( num == INFO_MARKKEYd ) strcpy(text, "Emplacement pour derrick trouv�");
+ if ( num == INFO_WIN ) strcpy(text, "<<< Bravo, mission termin�e >>>");
+ if ( num == INFO_LOST ) strcpy(text, "<<< D�sol�, mission �chou�e >>>");
+ if ( num == INFO_LOSTq ) strcpy(text, "<<< D�sol�, mission �chou�e >>>");
+ if ( num == INFO_WRITEOK ) strcpy(text, "Enregistrement effectu�");
if ( num == INFO_DELETEPATH ) strcpy(text, "Indicateur atteint");
- if ( num == INFO_DELETEMOTHER ) strcpy(text, "Pondeuse mortellement touchée");
- if ( num == INFO_DELETEANT ) strcpy(text, "Fourmi mortellement touchée");
- if ( num == INFO_DELETEBEE ) strcpy(text, "Guêpe mortellement touchée");
- if ( num == INFO_DELETEWORM ) strcpy(text, "Ver mortellement touché");
- if ( num == INFO_DELETESPIDER ) strcpy(text, "Araignée mortellement touchée");
+ if ( num == INFO_DELETEMOTHER ) strcpy(text, "Pondeuse mortellement touch�e");
+ if ( num == INFO_DELETEANT ) strcpy(text, "Fourmi mortellement touch�e");
+ if ( num == INFO_DELETEBEE ) strcpy(text, "Gu�pe mortellement touch�e");
+ if ( num == INFO_DELETEWORM ) strcpy(text, "Ver mortellement touch�");
+ if ( num == INFO_DELETESPIDER ) strcpy(text, "Araign�e mortellement touch�e");
if ( num == INFO_BEGINSATCOM ) strcpy(text, "Consultez votre SatCom en appuyant sur \\key help;");
}
if ( type == RES_CBOT )
{
strcpy(text, "Erreur");
- if ( num == TX_OPENPAR ) strcpy(text, "Il manque une parenthèse ouvrante");
- if ( num == TX_CLOSEPAR ) strcpy(text, "Il manque une parenthèse fermante");
- if ( num == TX_NOTBOOL ) strcpy(text, "L'expression doit être un boolean");
- if ( num == TX_UNDEFVAR ) strcpy(text, "Variable non déclarée");
+ if ( num == TX_OPENPAR ) strcpy(text, "Il manque une parenth�se ouvrante");
+ if ( num == TX_CLOSEPAR ) strcpy(text, "Il manque une parenth�se fermante");
+ if ( num == TX_NOTBOOL ) strcpy(text, "L'expression doit �tre un boolean");
+ if ( num == TX_UNDEFVAR ) strcpy(text, "Variable non d�clar�e");
if ( num == TX_BADLEFT ) strcpy(text, "Assignation impossible");
- if ( num == TX_ENDOF ) strcpy(text, "Terminateur point-virgule non trouvé");
+ if ( num == TX_ENDOF ) strcpy(text, "Terminateur point-virgule non trouv�");
if ( num == TX_OUTCASE ) strcpy(text, "Instruction ""case"" hors d'un bloc ""switch""");
- if ( num == TX_NOTERM ) strcpy(text, "Instructions après la fin");
+ if ( num == TX_NOTERM ) strcpy(text, "Instructions apr�s la fin");
if ( num == TX_CLOSEBLK ) strcpy(text, "Il manque la fin du bloc");
if ( num == TX_ELSEWITHOUTIF ) strcpy(text, "Instruction ""else"" sans ""if"" correspondant");
- if ( num == TX_OPENBLK ) strcpy(text, "Début d'un bloc attendu");
- if ( num == TX_BADTYPE ) strcpy(text, "Mauvais type de résultat pour l'assignation");
- if ( num == TX_REDEFVAR ) strcpy(text, "Redéfinition d'une variable");
- if ( num == TX_BAD2TYPE ) strcpy(text, "Les deux opérandes ne sont pas de types compatibles");
+ if ( num == TX_OPENBLK ) strcpy(text, "D�but d'un bloc attendu");
+ if ( num == TX_BADTYPE ) strcpy(text, "Mauvais type de r�sultat pour l'assignation");
+ if ( num == TX_REDEFVAR ) strcpy(text, "Red�finition d'une variable");
+ if ( num == TX_BAD2TYPE ) strcpy(text, "Les deux op�randes ne sont pas de types compatibles");
if ( num == TX_UNDEFCALL ) strcpy(text, "Routine inconnue");
- if ( num == TX_MISDOTS ) strcpy(text, "Séparateur "" : "" attendu");
+ if ( num == TX_MISDOTS ) strcpy(text, "S�parateur "" : "" attendu");
if ( num == TX_WHILE ) strcpy(text, "Manque le mot ""while""");
if ( num == TX_BREAK ) strcpy(text, "Instruction ""break"" en dehors d'une boucle");
if ( num == TX_LABEL ) strcpy(text, "Un label ne peut se placer que devant un ""for"", un ""while"", un ""do"" ou un ""switch""");
- if ( num == TX_NOLABEL ) strcpy(text, "Cette étiquette n'existe pas");
+ if ( num == TX_NOLABEL ) strcpy(text, "Cette �tiquette n'existe pas");
if ( num == TX_NOCASE ) strcpy(text, "Manque une instruction ""case""");
if ( num == TX_BADNUM ) strcpy(text, "Un nombre est attendu");
- if ( num == TX_VOID ) strcpy(text, "Paramètre void");
- if ( num == TX_NOTYP ) strcpy(text, "Déclaration de type attendu");
+ if ( num == TX_VOID ) strcpy(text, "Param�tre void");
+ if ( num == TX_NOTYP ) strcpy(text, "D�claration de type attendu");
if ( num == TX_NOVAR ) strcpy(text, "Nom d'une variable attendu");
if ( num == TX_NOFONC ) strcpy(text, "Nom de la fonction attendu");
- if ( num == TX_OVERPARAM ) strcpy(text, "Trop de paramètres");
- if ( num == TX_REDEF ) strcpy(text, "Cette fonction existe déjà");
- if ( num == TX_LOWPARAM ) strcpy(text, "Pas assez de paramètres");
- if ( num == TX_BADPARAM ) strcpy(text, "Aucune fonction de ce nom n'accepte ce(s) type(s) de paramètre(s)");
- if ( num == TX_NUMPARAM ) strcpy(text, "Aucune fonction de ce nom n'accepte ce nombre de paramètres");
- if ( num == TX_NOITEM ) strcpy(text, "Cet élément n'existe pas dans cette classe");
+ if ( num == TX_OVERPARAM ) strcpy(text, "Trop de param�tres");
+ if ( num == TX_REDEF ) strcpy(text, "Cette fonction existe d�j�");
+ if ( num == TX_LOWPARAM ) strcpy(text, "Pas assez de param�tres");
+ if ( num == TX_BADPARAM ) strcpy(text, "Aucune fonction de ce nom n'accepte ce(s) type(s) de param�tre(s)");
+ if ( num == TX_NUMPARAM ) strcpy(text, "Aucune fonction de ce nom n'accepte ce nombre de param�tres");
+ if ( num == TX_NOITEM ) strcpy(text, "Cet �l�ment n'existe pas dans cette classe");
if ( num == TX_DOT ) strcpy(text, "L'objet n'est pas une instance d'une classe");
- if ( num == TX_NOCONST ) strcpy(text, "Il n'y a pas de constructeur approprié");
- if ( num == TX_REDEFCLASS ) strcpy(text, "Cette classe existe déjà");
+ if ( num == TX_NOCONST ) strcpy(text, "Il n'y a pas de constructeur appropri�");
+ if ( num == TX_REDEFCLASS ) strcpy(text, "Cette classe existe d�j�");
if ( num == TX_CLBRK ) strcpy(text, """ ] "" attendu");
- if ( num == TX_RESERVED ) strcpy(text, "Ce mot est réservé");
+ if ( num == TX_RESERVED ) strcpy(text, "Ce mot est r�serv�");
if ( num == TX_BADNEW ) strcpy(text, "Mauvais argument pour ""new""");
if ( num == TX_OPBRK ) strcpy(text, """ [ "" attendu");
- if ( num == TX_BADSTRING ) strcpy(text, "Une chaîne de caractère est attendue");
+ if ( num == TX_BADSTRING ) strcpy(text, "Une cha�ne de caract�re est attendue");
if ( num == TX_BADINDEX ) strcpy(text, "Mauvais type d'index");
- if ( num == TX_PRIVATE ) strcpy(text, "Elément protégé");
+ if ( num == TX_PRIVATE ) strcpy(text, "El�ment prot�g�");
if ( num == TX_NOPUBLIC ) strcpy(text, "Public requis");
- if ( num == TX_DIVZERO ) strcpy(text, "Division par zéro");
- if ( num == TX_NOTINIT ) strcpy(text, "Variable non initialisée");
- if ( num == TX_BADTHROW ) strcpy(text, "Valeur négative refusée pour ""throw""");
- if ( num == TX_NORETVAL ) strcpy(text, "La fonction n'a pas retourné de résultat");
- if ( num == TX_NORUN ) strcpy(text, "Pas de fonction en exécution");
+ if ( num == TX_DIVZERO ) strcpy(text, "Division par z�ro");
+ if ( num == TX_NOTINIT ) strcpy(text, "Variable non initialis�e");
+ if ( num == TX_BADTHROW ) strcpy(text, "Valeur n�gative refus�e pour ""throw""");
+ if ( num == TX_NORETVAL ) strcpy(text, "La fonction n'a pas retourn� de r�sultat");
+ if ( num == TX_NORUN ) strcpy(text, "Pas de fonction en ex�cution");
if ( num == TX_NOCALL ) strcpy(text, "Appel d'une fonction inexistante");
if ( num == TX_NOCLASS ) strcpy(text, "Cette classe n'existe pas");
if ( num == TX_NULLPT ) strcpy(text, "Objet n'existe pas");
- if ( num == TX_OPNAN ) strcpy(text, "Opération sur un ""nan""");
- if ( num == TX_OUTARRAY ) strcpy(text, "Accès hors du tableau");
- if ( num == TX_STACKOVER ) strcpy(text, "Débordement de la pile");
+ if ( num == TX_OPNAN ) strcpy(text, "Op�ration sur un ""nan""");
+ if ( num == TX_OUTARRAY ) strcpy(text, "Acc�s hors du tableau");
+ if ( num == TX_STACKOVER ) strcpy(text, "D�bordement de la pile");
if ( num == TX_DELETEDPT ) strcpy(text, "Objet inaccessible");
if ( num == TX_FILEOPEN ) strcpy(text, "Ouverture du fichier impossible");
if ( num == TX_NOTOPEN ) strcpy(text, "Le fichier n'est pas ouvert");
- if ( num == TX_ERRREAD ) strcpy(text, "Erreur à la lecture");
- if ( num == TX_ERRWRITE ) strcpy(text, "Erreur à l'écriture");
+ if ( num == TX_ERRREAD ) strcpy(text, "Erreur � la lecture");
+ if ( num == TX_ERRWRITE ) strcpy(text, "Erreur � l'�criture");
}
if ( type == RES_KEY )
{
if ( num == 0 ) strcpy(text, "< aucune >");
- if ( num == VK_LEFT ) strcpy(text, "Flèche Gauche");
- if ( num == VK_RIGHT ) strcpy(text, "Flèche Droite");
- if ( num == VK_UP ) strcpy(text, "Flèche Haut");
- if ( num == VK_DOWN ) strcpy(text, "Flèche Bas");
- if ( num == VK_CANCEL ) strcpy(text, "Control-break");
- if ( num == VK_BACK ) strcpy(text, "<--");
- if ( num == VK_TAB ) strcpy(text, "Tab");
- if ( num == VK_CLEAR ) strcpy(text, "Clear");
- if ( num == VK_RETURN ) strcpy(text, "Entrée");
- if ( num == VK_SHIFT ) strcpy(text, "Shift");
- if ( num == VK_CONTROL ) strcpy(text, "Ctrl");
- if ( num == VK_MENU ) strcpy(text, "Alt");
- if ( num == VK_PAUSE ) strcpy(text, "Pause");
- if ( num == VK_CAPITAL ) strcpy(text, "Caps Lock");
- if ( num == VK_ESCAPE ) strcpy(text, "Esc");
- if ( num == VK_SPACE ) strcpy(text, "Espace");
- if ( num == VK_PRIOR ) strcpy(text, "Page Up");
- if ( num == VK_NEXT ) strcpy(text, "Page Down");
- if ( num == VK_END ) strcpy(text, "End");
- if ( num == VK_HOME ) strcpy(text, "Home");
- if ( num == VK_SELECT ) strcpy(text, "Select");
- if ( num == VK_EXECUTE ) strcpy(text, "Execute");
- if ( num == VK_SNAPSHOT ) strcpy(text, "Print Scrn");
- if ( num == VK_INSERT ) strcpy(text, "Insert");
- if ( num == VK_DELETE ) strcpy(text, "Delete");
- if ( num == VK_HELP ) strcpy(text, "Help");
- if ( num == VK_LWIN ) strcpy(text, "Left Windows");
- if ( num == VK_RWIN ) strcpy(text, "Right Windows");
- if ( num == VK_APPS ) strcpy(text, "Application key");
- if ( num == VK_NUMPAD0 ) strcpy(text, "NumPad 0");
- if ( num == VK_NUMPAD1 ) strcpy(text, "NumPad 1");
- if ( num == VK_NUMPAD2 ) strcpy(text, "NumPad 2");
- if ( num == VK_NUMPAD3 ) strcpy(text, "NumPad 3");
- if ( num == VK_NUMPAD4 ) strcpy(text, "NumPad 4");
- if ( num == VK_NUMPAD5 ) strcpy(text, "NumPad 5");
- if ( num == VK_NUMPAD6 ) strcpy(text, "NumPad 6");
- if ( num == VK_NUMPAD7 ) strcpy(text, "NumPad 7");
- if ( num == VK_NUMPAD8 ) strcpy(text, "NumPad 8");
- if ( num == VK_NUMPAD9 ) strcpy(text, "NumPad 9");
- if ( num == VK_MULTIPLY ) strcpy(text, "NumPad *");
- if ( num == VK_ADD ) strcpy(text, "NumPad +");
- if ( num == VK_SEPARATOR ) strcpy(text, "NumPad sep");
- if ( num == VK_SUBTRACT ) strcpy(text, "NumPad -");
- if ( num == VK_DECIMAL ) strcpy(text, "NumPad .");
- if ( num == VK_DIVIDE ) strcpy(text, "NumPad /");
- if ( num == VK_F1 ) strcpy(text, "F1");
- if ( num == VK_F2 ) strcpy(text, "F2");
- if ( num == VK_F3 ) strcpy(text, "F3");
- if ( num == VK_F4 ) strcpy(text, "F4");
- if ( num == VK_F5 ) strcpy(text, "F5");
- if ( num == VK_F6 ) strcpy(text, "F6");
- if ( num == VK_F7 ) strcpy(text, "F7");
- if ( num == VK_F8 ) strcpy(text, "F8");
- if ( num == VK_F9 ) strcpy(text, "F9");
- if ( num == VK_F10 ) strcpy(text, "F10");
- if ( num == VK_F11 ) strcpy(text, "F11");
- if ( num == VK_F12 ) strcpy(text, "F12");
- if ( num == VK_F13 ) strcpy(text, "F13");
- if ( num == VK_F14 ) strcpy(text, "F14");
- if ( num == VK_F15 ) strcpy(text, "F15");
- if ( num == VK_F16 ) strcpy(text, "F16");
- if ( num == VK_F17 ) strcpy(text, "F17");
- if ( num == VK_F18 ) strcpy(text, "F18");
- if ( num == VK_F19 ) strcpy(text, "F19");
- if ( num == VK_F20 ) strcpy(text, "F20");
- if ( num == VK_NUMLOCK ) strcpy(text, "Num Lock");
- if ( num == VK_SCROLL ) strcpy(text, "Scroll");
- if ( num == VK_ATTN ) strcpy(text, "Attn");
- if ( num == VK_CRSEL ) strcpy(text, "CrSel");
- if ( num == VK_EXSEL ) strcpy(text, "ExSel");
- if ( num == VK_EREOF ) strcpy(text, "Erase EOF");
- if ( num == VK_PLAY ) strcpy(text, "Play");
- if ( num == VK_ZOOM ) strcpy(text, "Zoom");
- if ( num == VK_PA1 ) strcpy(text, "PA1");
- if ( num == VK_OEM_CLEAR ) strcpy(text, "Clear");
- if ( num == VK_BUTTON1 ) strcpy(text, "Bouton 1");
- if ( num == VK_BUTTON2 ) strcpy(text, "Bouton 2");
- if ( num == VK_BUTTON3 ) strcpy(text, "Bouton 3");
- if ( num == VK_BUTTON4 ) strcpy(text, "Bouton 4");
- if ( num == VK_BUTTON5 ) strcpy(text, "Bouton 5");
- if ( num == VK_BUTTON6 ) strcpy(text, "Bouton 6");
- if ( num == VK_BUTTON7 ) strcpy(text, "Bouton 7");
- if ( num == VK_BUTTON8 ) strcpy(text, "Bouton 8");
- if ( num == VK_BUTTON9 ) strcpy(text, "Bouton 9");
- if ( num == VK_BUTTON10 ) strcpy(text, "Bouton 10");
- if ( num == VK_BUTTON11 ) strcpy(text, "Bouton 11");
- if ( num == VK_BUTTON12 ) strcpy(text, "Bouton 12");
- if ( num == VK_BUTTON13 ) strcpy(text, "Bouton 13");
- if ( num == VK_BUTTON14 ) strcpy(text, "Bouton 14");
- if ( num == VK_BUTTON15 ) strcpy(text, "Bouton 15");
- if ( num == VK_BUTTON16 ) strcpy(text, "Bouton 16");
- if ( num == VK_BUTTON17 ) strcpy(text, "Bouton 17");
- if ( num == VK_BUTTON18 ) strcpy(text, "Bouton 18");
- if ( num == VK_BUTTON19 ) strcpy(text, "Bouton 19");
- if ( num == VK_BUTTON20 ) strcpy(text, "Bouton 20");
- if ( num == VK_BUTTON21 ) strcpy(text, "Bouton 21");
- if ( num == VK_BUTTON22 ) strcpy(text, "Bouton 22");
- if ( num == VK_BUTTON23 ) strcpy(text, "Bouton 23");
- if ( num == VK_BUTTON24 ) strcpy(text, "Bouton 24");
- if ( num == VK_BUTTON25 ) strcpy(text, "Bouton 25");
- if ( num == VK_BUTTON26 ) strcpy(text, "Bouton 26");
- if ( num == VK_BUTTON27 ) strcpy(text, "Bouton 27");
- if ( num == VK_BUTTON28 ) strcpy(text, "Bouton 28");
- if ( num == VK_BUTTON29 ) strcpy(text, "Bouton 29");
- if ( num == VK_BUTTON30 ) strcpy(text, "Bouton 30");
- if ( num == VK_BUTTON31 ) strcpy(text, "Bouton 31");
- if ( num == VK_BUTTON32 ) strcpy(text, "Bouton 32");
- if ( num == VK_WHEELUP ) strcpy(text, "Molette haut");
- if ( num == VK_WHEELDOWN ) strcpy(text, "Molette bas");
+ if ( num == SDLK_LEFT ) strcpy(text, "Fl�che Gauche");
+ if ( num == SDLK_RIGHT ) strcpy(text, "Fl�che Droite");
+ if ( num == SDLK_UP ) strcpy(text, "Fl�che Haut");
+ if ( num == SDLK_DOWN ) strcpy(text, "Fl�che Bas");
+ if ( num == SDLK_CANCEL ) strcpy(text, "Control-break");
+ if ( num == SDLK_BACK ) strcpy(text, "<--");
+ if ( num == SDLK_TAB ) strcpy(text, "Tab");
+ if ( num == SDLK_CLEAR ) strcpy(text, "Clear");
+ if ( num == SDLK_RETURN ) strcpy(text, "Entr�e");
+ if ( num == SDLK_SHIFT ) strcpy(text, "Shift");
+ if ( num == SDLK_CONTROL ) strcpy(text, "Ctrl");
+ if ( num == SDLK_MENU ) strcpy(text, "Alt");
+ if ( num == SDLK_PAUSE ) strcpy(text, "Pause");
+ if ( num == SDLK_CAPITAL ) strcpy(text, "Caps Lock");
+ if ( num == SDLK_ESCAPE ) strcpy(text, "Esc");
+ if ( num == SDLK_SPACE ) strcpy(text, "Espace");
+ if ( num == SDLK_PRIOR ) strcpy(text, "Page Up");
+ if ( num == SDLK_NEXT ) strcpy(text, "Page Down");
+ if ( num == SDLK_END ) strcpy(text, "End");
+ if ( num == SDLK_HOME ) strcpy(text, "Home");
+ if ( num == SDLK_SELECT ) strcpy(text, "Select");
+ if ( num == SDLK_EXECUTE ) strcpy(text, "Execute");
+ if ( num == SDLK_SNAPSHOT ) strcpy(text, "Print Scrn");
+ if ( num == SDLK_INSERT ) strcpy(text, "Insert");
+ if ( num == SDLK_DELETE ) strcpy(text, "Delete");
+ if ( num == SDLK_HELP ) strcpy(text, "Help");
+ if ( num == SDLK_LWIN ) strcpy(text, "Left Windows");
+ if ( num == SDLK_RWIN ) strcpy(text, "Right Windows");
+ if ( num == SDLK_APPS ) strcpy(text, "Application key");
+ if ( num == SDLK_NUMPAD0 ) strcpy(text, "NumPad 0");
+ if ( num == SDLK_NUMPAD1 ) strcpy(text, "NumPad 1");
+ if ( num == SDLK_NUMPAD2 ) strcpy(text, "NumPad 2");
+ if ( num == SDLK_NUMPAD3 ) strcpy(text, "NumPad 3");
+ if ( num == SDLK_NUMPAD4 ) strcpy(text, "NumPad 4");
+ if ( num == SDLK_NUMPAD5 ) strcpy(text, "NumPad 5");
+ if ( num == SDLK_NUMPAD6 ) strcpy(text, "NumPad 6");
+ if ( num == SDLK_NUMPAD7 ) strcpy(text, "NumPad 7");
+ if ( num == SDLK_NUMPAD8 ) strcpy(text, "NumPad 8");
+ if ( num == SDLK_NUMPAD9 ) strcpy(text, "NumPad 9");
+ if ( num == SDLK_MULTIPLY ) strcpy(text, "NumPad *");
+ if ( num == SDLK_ADD ) strcpy(text, "NumPad +");
+ if ( num == SDLK_SEPARATOR ) strcpy(text, "NumPad sep");
+ if ( num == SDLK_SUBTRACT ) strcpy(text, "NumPad -");
+ if ( num == SDLK_DECIMAL ) strcpy(text, "NumPad .");
+ if ( num == SDLK_DIVIDE ) strcpy(text, "NumPad /");
+ if ( num == SDLK_F1 ) strcpy(text, "F1");
+ if ( num == SDLK_F2 ) strcpy(text, "F2");
+ if ( num == SDLK_F3 ) strcpy(text, "F3");
+ if ( num == SDLK_F4 ) strcpy(text, "F4");
+ if ( num == SDLK_F5 ) strcpy(text, "F5");
+ if ( num == SDLK_F6 ) strcpy(text, "F6");
+ if ( num == SDLK_F7 ) strcpy(text, "F7");
+ if ( num == SDLK_F8 ) strcpy(text, "F8");
+ if ( num == SDLK_F9 ) strcpy(text, "F9");
+ if ( num == SDLK_F10 ) strcpy(text, "F10");
+ if ( num == SDLK_F11 ) strcpy(text, "F11");
+ if ( num == SDLK_F12 ) strcpy(text, "F12");
+ if ( num == SDLK_F13 ) strcpy(text, "F13");
+ if ( num == SDLK_F14 ) strcpy(text, "F14");
+ if ( num == SDLK_F15 ) strcpy(text, "F15");
+ if ( num == SDLK_F16 ) strcpy(text, "F16");
+ if ( num == SDLK_F17 ) strcpy(text, "F17");
+ if ( num == SDLK_F18 ) strcpy(text, "F18");
+ if ( num == SDLK_F19 ) strcpy(text, "F19");
+ if ( num == SDLK_F20 ) strcpy(text, "F20");
+ if ( num == SDLK_NUMLOCK ) strcpy(text, "Num Lock");
+ if ( num == SDLK_SCROLL ) strcpy(text, "Scroll");
+ if ( num == SDLK_ATTN ) strcpy(text, "Attn");
+ if ( num == SDLK_CRSEL ) strcpy(text, "CrSel");
+ if ( num == SDLK_EXSEL ) strcpy(text, "ExSel");
+ if ( num == SDLK_EREOF ) strcpy(text, "Erase EOF");
+ if ( num == SDLK_PLAY ) strcpy(text, "Play");
+ if ( num == SDLK_ZOOM ) strcpy(text, "Zoom");
+ if ( num == SDLK_PA1 ) strcpy(text, "PA1");
+ if ( num == SDLK_OEM_CLEAR ) strcpy(text, "Clear");
+ if ( num == SDLK_BUTTON1 ) strcpy(text, "Bouton 1");
+ if ( num == SDLK_BUTTON2 ) strcpy(text, "Bouton 2");
+ if ( num == SDLK_BUTTON3 ) strcpy(text, "Bouton 3");
+ if ( num == SDLK_BUTTON4 ) strcpy(text, "Bouton 4");
+ if ( num == SDLK_BUTTON5 ) strcpy(text, "Bouton 5");
+ if ( num == SDLK_BUTTON6 ) strcpy(text, "Bouton 6");
+ if ( num == SDLK_BUTTON7 ) strcpy(text, "Bouton 7");
+ if ( num == SDLK_BUTTON8 ) strcpy(text, "Bouton 8");
+ if ( num == SDLK_BUTTON9 ) strcpy(text, "Bouton 9");
+ if ( num == SDLK_BUTTON10 ) strcpy(text, "Bouton 10");
+ if ( num == SDLK_BUTTON11 ) strcpy(text, "Bouton 11");
+ if ( num == SDLK_BUTTON12 ) strcpy(text, "Bouton 12");
+ if ( num == SDLK_BUTTON13 ) strcpy(text, "Bouton 13");
+ if ( num == SDLK_BUTTON14 ) strcpy(text, "Bouton 14");
+ if ( num == SDLK_BUTTON15 ) strcpy(text, "Bouton 15");
+ if ( num == SDLK_BUTTON16 ) strcpy(text, "Bouton 16");
+ if ( num == SDLK_BUTTON17 ) strcpy(text, "Bouton 17");
+ if ( num == SDLK_BUTTON18 ) strcpy(text, "Bouton 18");
+ if ( num == SDLK_BUTTON19 ) strcpy(text, "Bouton 19");
+ if ( num == SDLK_BUTTON20 ) strcpy(text, "Bouton 20");
+ if ( num == SDLK_BUTTON21 ) strcpy(text, "Bouton 21");
+ if ( num == SDLK_BUTTON22 ) strcpy(text, "Bouton 22");
+ if ( num == SDLK_BUTTON23 ) strcpy(text, "Bouton 23");
+ if ( num == SDLK_BUTTON24 ) strcpy(text, "Bouton 24");
+ if ( num == SDLK_BUTTON25 ) strcpy(text, "Bouton 25");
+ if ( num == SDLK_BUTTON26 ) strcpy(text, "Bouton 26");
+ if ( num == SDLK_BUTTON27 ) strcpy(text, "Bouton 27");
+ if ( num == SDLK_BUTTON28 ) strcpy(text, "Bouton 28");
+ if ( num == SDLK_BUTTON29 ) strcpy(text, "Bouton 29");
+ if ( num == SDLK_BUTTON30 ) strcpy(text, "Bouton 30");
+ if ( num == SDLK_BUTTON31 ) strcpy(text, "Bouton 31");
+ if ( num == SDLK_BUTTON32 ) strcpy(text, "Bouton 32");
+ if ( num == SDLK_WHEELUP ) strcpy(text, "Molette haut");
+ if ( num == SDLK_WHEELDOWN ) strcpy(text, "Molette bas");
}
#endif
@@ -1937,10 +1938,10 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == RT_VERSION_ID ) strcpy(text, "Demo 1.18 /d");
#endif
if ( num == RT_DISINFO_TITLE ) strcpy(text, "SatCom");
- if ( num == RT_WINDOW_MAXIMIZED ) strcpy(text, "Großes Fenster");
+ if ( num == RT_WINDOW_MAXIMIZED ) strcpy(text, "Gro�es Fenster");
if ( num == RT_WINDOW_MINIMIZED ) strcpy(text, "Reduzieren");
- if ( num == RT_WINDOW_STANDARD ) strcpy(text, "Normale Größe");
- if ( num == RT_WINDOW_CLOSE ) strcpy(text, "Schließen");
+ if ( num == RT_WINDOW_STANDARD ) strcpy(text, "Normale Gr��e");
+ if ( num == RT_WINDOW_CLOSE ) strcpy(text, "Schlie�en");
if ( num == RT_STUDIO_TITLE ) strcpy(text, "Programmeditor");
if ( num == RT_SCRIPT_NEW ) strcpy(text, "Neu");
@@ -1956,7 +1957,7 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == RT_TITLE_INIT ) strcpy(text, "COLOBOT");
#endif
#if _SCHOOL
- if ( num == RT_TITLE_TRAINER ) strcpy(text, "Übungen");
+ if ( num == RT_TITLE_TRAINER ) strcpy(text, "�bungen");
#else
if ( num == RT_TITLE_TRAINER ) strcpy(text, "Programmieren");
#endif
@@ -1979,7 +1980,7 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == RT_PLAY_CHAPu ) strcpy(text, " Userlevels:");
if ( num == RT_PLAY_CHAPp ) strcpy(text, " Liste der Planeten:");
if ( num == RT_PLAY_CHAPte ) strcpy(text, " Liste der Kapitel:");
- if ( num == RT_PLAY_LISTt ) strcpy(text, " Liste der Übungen des Kapitels:");
+ if ( num == RT_PLAY_LISTt ) strcpy(text, " Liste der �bungen des Kapitels:");
if ( num == RT_PLAY_LISTd ) strcpy(text, " Liste der Challenges des Kapitels:");
if ( num == RT_PLAY_LISTm ) strcpy(text, " Liste der Missionen des Planeten:");
if ( num == RT_PLAY_LISTf ) strcpy(text, " Liste der freien Levels des Planeten:");
@@ -1989,9 +1990,9 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == RT_PLAY_RESUME ) strcpy(text, " Zusammenfassung:");
if ( num == RT_SETUP_DEVICE ) strcpy(text, " Driver:");
- if ( num == RT_SETUP_MODE ) strcpy(text, " Auflösung:");
+ if ( num == RT_SETUP_MODE ) strcpy(text, " Aufl�sung:");
if ( num == RT_SETUP_KEY1 ) strcpy(text, "1) Klicken Sie auf die neu zu definierende Taste.");
- if ( num == RT_SETUP_KEY2 ) strcpy(text, "2) Drücken Sie auf die neue Taste.");
+ if ( num == RT_SETUP_KEY2 ) strcpy(text, "2) Dr�cken Sie auf die neue Taste.");
if ( num == RT_PERSO_FACE ) strcpy(text, "Kopf:");
if ( num == RT_PERSO_GLASSES ) strcpy(text, "Brille:");
@@ -2001,43 +2002,43 @@ bool GetResourceBase(ResType type, int num, char* text)
#if _NEWLOOK
if ( num == RT_DIALOG_TITLE ) strcpy(text, "CeeBot");
- if ( num == RT_DIALOG_QUIT ) strcpy(text, "Wollen Sie CeeBot schließen ?");
- if ( num == RT_DIALOG_YESQUIT ) strcpy(text, "Schließen\\CeeBot schließen");
+ if ( num == RT_DIALOG_QUIT ) strcpy(text, "Wollen Sie CeeBot schlie�en ?");
+ if ( num == RT_DIALOG_YESQUIT ) strcpy(text, "Schlie�en\\CeeBot schlie�en");
#else
if ( num == RT_DIALOG_TITLE ) strcpy(text, "COLOBOT");
- if ( num == RT_DIALOG_QUIT ) strcpy(text, "Wollen Sie COLOBOT schließen ?");
- if ( num == RT_DIALOG_YESQUIT ) strcpy(text, "Schließen\\COLOBOT schließen");
+ if ( num == RT_DIALOG_QUIT ) strcpy(text, "Wollen Sie COLOBOT schlie�en ?");
+ if ( num == RT_DIALOG_YESQUIT ) strcpy(text, "Schlie�en\\COLOBOT schlie�en");
#endif
if ( num == RT_DIALOG_ABORT ) strcpy(text, "Mission abbrechen ?");
if ( num == RT_DIALOG_YES ) strcpy(text, "Abbrechen\\Mission abbrechen");
if ( num == RT_DIALOG_NO ) strcpy(text, "Weitermachen\\Mission weitermachen");
if ( num == RT_DIALOG_NOQUIT ) strcpy(text, "Weitermachen\\Weitermachen");
- if ( num == RT_DIALOG_DELOBJ ) strcpy(text, "Wollen Sie das angewählte Gebäude wirklich zerstören ?");
- if ( num == RT_DIALOG_DELGAME ) strcpy(text, "Wollen Sie die gespeicherten Missionen von %s löschen ?");
- if ( num == RT_DIALOG_YESDEL ) strcpy(text, "Zerstören");
+ if ( num == RT_DIALOG_DELOBJ ) strcpy(text, "Wollen Sie das angew�hlte Geb�ude wirklich zerst�ren ?");
+ if ( num == RT_DIALOG_DELGAME ) strcpy(text, "Wollen Sie die gespeicherten Missionen von %s l�schen ?");
+ if ( num == RT_DIALOG_YESDEL ) strcpy(text, "Zerst�ren");
if ( num == RT_DIALOG_NODEL ) strcpy(text, "Abbrechen");
if ( num == RT_DIALOG_LOADING ) strcpy(text, "Laden");
- if ( num == RT_STUDIO_LISTTT ) strcpy(text, "Hilfe über den Begriff (\\key cbot;)");
+ if ( num == RT_STUDIO_LISTTT ) strcpy(text, "Hilfe �ber den Begriff (\\key cbot;)");
if ( num == RT_STUDIO_COMPOK ) strcpy(text, "Kompilieren OK (0 Fehler)");
if ( num == RT_STUDIO_PROGSTOP ) strcpy(text, "Programm beendet");
if ( num == RT_SATCOM_LIST ) strcpy(text, "\\b;Liste der Objekte\n");
if ( num == RT_SATCOM_BOT ) strcpy(text, "\\b;Liste der Roboter\n");
- if ( num == RT_SATCOM_BUILDING ) strcpy(text, "\\b;Listes der Gebäude\n");
- if ( num == RT_SATCOM_FRET ) strcpy(text, "\\b;Listes der tragbaren Gegenstände\n");
+ if ( num == RT_SATCOM_BUILDING ) strcpy(text, "\\b;Listes der Geb�ude\n");
+ if ( num == RT_SATCOM_FRET ) strcpy(text, "\\b;Listes der tragbaren Gegenst�nde\n");
if ( num == RT_SATCOM_ALIEN ) strcpy(text, "\\b;Listes der Feinde\n");
if ( num == RT_SATCOM_NULL ) strcpy(text, "\\c; (keine)\\n;\n");
if ( num == RT_SATCOM_ERROR1 ) strcpy(text, "\\b;Fehler\n");
- if ( num == RT_SATCOM_ERROR2 ) strcpy(text, "Die Liste ist ohne \\l;Radar\\u object\\radar; nicht verfügbar !\n");
+ if ( num == RT_SATCOM_ERROR2 ) strcpy(text, "Die Liste ist ohne \\l;Radar\\u object\\radar; nicht verf�gbar !\n");
- if ( num == RT_IO_OPEN ) strcpy(text, "Öffnen");
+ if ( num == RT_IO_OPEN ) strcpy(text, "�ffnen");
if ( num == RT_IO_SAVE ) strcpy(text, "Speichern");
if ( num == RT_IO_LIST ) strcpy(text, "Ordner: %s");
if ( num == RT_IO_NAME ) strcpy(text, "Name:");
if ( num == RT_IO_DIR ) strcpy(text, "In:");
if ( num == RT_IO_PRIVATE ) strcpy(text, "Privat\\Privater Ordner");
- if ( num == RT_IO_PUBLIC ) strcpy(text, "Öffentlich\\Gemeinsamer Ordner für alle Spieler");
+ if ( num == RT_IO_PUBLIC ) strcpy(text, "�ffentlich\\Gemeinsamer Ordner f�r alle Spieler");
if ( num == RT_GENERIC_DEV1 ) strcpy(text, "Entwickelt von:");
if ( num == RT_GENERIC_DEV2 ) strcpy(text, "www.epsitec.com");
@@ -2056,17 +2057,17 @@ bool GetResourceBase(ResType type, int num, char* text)
{
if ( num == EVENT_BUTTON_OK ) strcpy(text, "OK");
if ( num == EVENT_BUTTON_CANCEL ) strcpy(text, "Abbrechen");
- if ( num == EVENT_BUTTON_NEXT ) strcpy(text, "Nächster");
+ if ( num == EVENT_BUTTON_NEXT ) strcpy(text, "N�chster");
if ( num == EVENT_BUTTON_PREV ) strcpy(text, "Vorherg.");
- if ( num == EVENT_BUTTON_QUIT ) strcpy(text, "Menü (\\key quit;)");
+ if ( num == EVENT_BUTTON_QUIT ) strcpy(text, "Men� (\\key quit;)");
if ( num == EVENT_DIALOG_OK ) strcpy(text, "OK");
if ( num == EVENT_DIALOG_CANCEL ) strcpy(text, "Abbrechen");
#if _SCHOOL
- if ( num == EVENT_INTERFACE_TRAINER) strcpy(text, "Übungen\\Programmierübungen");
+ if ( num == EVENT_INTERFACE_TRAINER) strcpy(text, "�bungen\\Programmier�bungen");
#else
- if ( num == EVENT_INTERFACE_TRAINER) strcpy(text, "Programmieren\\Programmierübungen");
+ if ( num == EVENT_INTERFACE_TRAINER) strcpy(text, "Programmieren\\Programmier�bungen");
#endif
if ( num == EVENT_INTERFACE_DEFI ) strcpy(text, "Challenges\\Herausforderungen");
if ( num == EVENT_INTERFACE_MISSION) strcpy(text, "Missionen\\Aufbruch ins Weltall");
@@ -2074,29 +2075,29 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == EVENT_INTERFACE_TEEN ) strcpy(text, "Freestyle\\Freies Spielen ohne vorgegebenes Ziel");
if ( num == EVENT_INTERFACE_USER ) strcpy(text, "User\\Userlevels");
if ( num == EVENT_INTERFACE_PROTO ) strcpy(text, "Proto\\In Entwicklung befindliche Prototypen");
- if ( num == EVENT_INTERFACE_NAME ) strcpy(text, "Anderer Spieler\\Spielername ändern");
+ if ( num == EVENT_INTERFACE_NAME ) strcpy(text, "Anderer Spieler\\Spielername �ndern");
if ( num == EVENT_INTERFACE_SETUP ) strcpy(text, "Einstellungen\\Einstellungen");
if ( num == EVENT_INTERFACE_AGAIN ) strcpy(text, "Neu anfangen\\Die Mission von vorne anfangen");
if ( num == EVENT_INTERFACE_WRITE ) strcpy(text, "Speichern\\Aktuelle Mission speichern");
- if ( num == EVENT_INTERFACE_READ ) strcpy(text, "Laden\\Eine gespeicherte Mission öffnen");
+ if ( num == EVENT_INTERFACE_READ ) strcpy(text, "Laden\\Eine gespeicherte Mission �ffnen");
#if _NEWLOOK
- if ( num == EVENT_INTERFACE_ABORT ) strcpy(text, "\\Zurück zu CeeBot");
- if ( num == EVENT_INTERFACE_QUIT ) strcpy(text, "Schließen\\CeeBot schließen");
+ if ( num == EVENT_INTERFACE_ABORT ) strcpy(text, "\\Zur�ck zu CeeBot");
+ if ( num == EVENT_INTERFACE_QUIT ) strcpy(text, "Schlie�en\\CeeBot schlie�en");
#else
- if ( num == EVENT_INTERFACE_ABORT ) strcpy(text, "\\Zurück zu COLOBOT");
- if ( num == EVENT_INTERFACE_QUIT ) strcpy(text, "Schließen\\COLOBOT schließen");
+ if ( num == EVENT_INTERFACE_ABORT ) strcpy(text, "\\Zur�ck zu COLOBOT");
+ if ( num == EVENT_INTERFACE_QUIT ) strcpy(text, "Schlie�en\\COLOBOT schlie�en");
#endif
- if ( num == EVENT_INTERFACE_BACK ) strcpy(text, "<< Zurück \\Zurück zum Hauptmenü");
+ if ( num == EVENT_INTERFACE_BACK ) strcpy(text, "<< Zur�ck \\Zur�ck zum Hauptmen�");
if ( num == EVENT_INTERFACE_PLAY ) strcpy(text, "Spielen ...\\Los geht's");
- if ( num == EVENT_INTERFACE_SETUPd ) strcpy(text, "Bildschirm\\Driver und Bildschirmauflösung");
+ if ( num == EVENT_INTERFACE_SETUPd ) strcpy(text, "Bildschirm\\Driver und Bildschirmaufl�sung");
if ( num == EVENT_INTERFACE_SETUPg ) strcpy(text, "Grafik\\Grafische Einstellungen");
if ( num == EVENT_INTERFACE_SETUPp ) strcpy(text, "Spiel\\Gameplay Einstellungen");
if ( num == EVENT_INTERFACE_SETUPc ) strcpy(text, "Steuerung\\Auswahl der Tasten");
- if ( num == EVENT_INTERFACE_SETUPs ) strcpy(text, "Geräusche\\Lautstärke Geräusche und Musik");
+ if ( num == EVENT_INTERFACE_SETUPs ) strcpy(text, "Ger�usche\\Lautst�rke Ger�usche und Musik");
if ( num == EVENT_INTERFACE_DEVICE ) strcpy(text, "Einheit");
- if ( num == EVENT_INTERFACE_RESOL ) strcpy(text, "Auflösung");
+ if ( num == EVENT_INTERFACE_RESOL ) strcpy(text, "Aufl�sung");
if ( num == EVENT_INTERFACE_FULL ) strcpy(text, "Vollbildschirm\\Vollbildschirm oder Fenster");
- if ( num == EVENT_INTERFACE_APPLY ) strcpy(text, "Änderungen ausführen\\Getätigte Einstellungen ausführen");
+ if ( num == EVENT_INTERFACE_APPLY ) strcpy(text, "�nderungen ausf�hren\\Get�tigte Einstellungen ausf�hren");
if ( num == EVENT_INTERFACE_TOTO ) strcpy(text, "Robby\\Ihr Assistent");
if ( num == EVENT_INTERFACE_SHADOW ) strcpy(text, "Schatten\\Schlagschatten auf dem Boden");
@@ -2110,74 +2111,74 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == EVENT_INTERFACE_PARTI ) strcpy(text, "Anzahl Partikel\\Explosionen, Staub, usw.");
if ( num == EVENT_INTERFACE_CLIP ) strcpy(text, "Sichtweite\\Maximale Sichtweite");
if ( num == EVENT_INTERFACE_DETAIL ) strcpy(text, "Details\\Detailliertheit der Objekte in 3D");
- if ( num == EVENT_INTERFACE_TEXTURE) strcpy(text, "Qualität der Texturen\\Qualität der Anzeige");
- if ( num == EVENT_INTERFACE_GADGET ) strcpy(text, "Anzahl Ziergegenstände\\Anzahl Gegenstände ohne Funktion");
- if ( num == EVENT_INTERFACE_RAIN ) strcpy(text, "Partikel in den Menüs\\Funken und Sterne in den Menüs");
- if ( num == EVENT_INTERFACE_GLINT ) strcpy(text, "Glänzende Tasten\\Glänzende Tasten in den Menüs");
+ if ( num == EVENT_INTERFACE_TEXTURE) strcpy(text, "Qualit�t der Texturen\\Qualit�t der Anzeige");
+ if ( num == EVENT_INTERFACE_GADGET ) strcpy(text, "Anzahl Ziergegenst�nde\\Anzahl Gegenst�nde ohne Funktion");
+ if ( num == EVENT_INTERFACE_RAIN ) strcpy(text, "Partikel in den Men�s\\Funken und Sterne in den Men�s");
+ if ( num == EVENT_INTERFACE_GLINT ) strcpy(text, "Gl�nzende Tasten\\Gl�nzende Tasten in den Men�s");
if ( num == EVENT_INTERFACE_TOOLTIP) strcpy(text, "Hilfsblasen\\Hilfsblasen");
if ( num == EVENT_INTERFACE_MOVIES ) strcpy(text, "Filme\\Filme vor und nach den Missionen");
- if ( num == EVENT_INTERFACE_NICERST) strcpy(text, "Zurücksetzen \\Kleine Show beim Zurücksetzen in den Übungen");
- if ( num == EVENT_INTERFACE_HIMSELF) strcpy(text, "Eigenbeschuss\\Ihre Einheiten werden von Ihren Waffen beschädigt.");
+ if ( num == EVENT_INTERFACE_NICERST) strcpy(text, "Zur�cksetzen \\Kleine Show beim Zur�cksetzen in den �bungen");
+ if ( num == EVENT_INTERFACE_HIMSELF) strcpy(text, "Eigenbeschuss\\Ihre Einheiten werden von Ihren Waffen besch�digt.");
if ( num == EVENT_INTERFACE_SCROLL ) strcpy(text, "Kameradrehung mit der Maus\\Die Kamera dreht wenn die Maus den Rand erreicht");
if ( num == EVENT_INTERFACE_INVERTX) strcpy(text, "Umkehr X\\Umkehr der Kameradrehung X-Achse");
if ( num == EVENT_INTERFACE_INVERTY) strcpy(text, "Umkehr Y\\Umkehr der Kameradrehung Y-Achse");
if ( num == EVENT_INTERFACE_EFFECT ) strcpy(text, "Beben bei Explosionen\\Die Kamera bebt bei Explosionen");
if ( num == EVENT_INTERFACE_MOUSE ) strcpy(text, "Schatten unter der Maus\\Ein Schatten erscheint unter der Maus");
- if ( num == EVENT_INTERFACE_EDITMODE) strcpy(text, "Automatisches Einrücken\\Beim Bearbeiten der Programme");
- if ( num == EVENT_INTERFACE_EDITVALUE)strcpy(text, "Einrücken mit 4 Leerstellen\\Einrücken mit 2 oder 4 Leerstellen");
- if ( num == EVENT_INTERFACE_SOLUCE4) strcpy(text, "Lösung zugänglich\\Die Lösung ist im Programmslot \"4: Lösung\" zugänglich");
+ if ( num == EVENT_INTERFACE_EDITMODE) strcpy(text, "Automatisches Einr�cken\\Beim Bearbeiten der Programme");
+ if ( num == EVENT_INTERFACE_EDITVALUE)strcpy(text, "Einr�cken mit 4 Leerstellen\\Einr�cken mit 2 oder 4 Leerstellen");
+ if ( num == EVENT_INTERFACE_SOLUCE4) strcpy(text, "L�sung zug�nglich\\Die L�sung ist im Programmslot \"4: L�sung\" zug�nglich");
- if ( num == EVENT_INTERFACE_KDEF ) strcpy(text, "Alles zurücksetzen\\Standarddefinition aller Tasten");
+ if ( num == EVENT_INTERFACE_KDEF ) strcpy(text, "Alles zur�cksetzen\\Standarddefinition aller Tasten");
if ( num == EVENT_INTERFACE_KLEFT ) strcpy(text, "Drehung nach links\\Steuer links");
if ( num == EVENT_INTERFACE_KRIGHT ) strcpy(text, "Drehung nach rechts\\Steuer rechts");
- if ( num == EVENT_INTERFACE_KUP ) strcpy(text, "Vorwärts\\Bewegung nach vorne");
- if ( num == EVENT_INTERFACE_KDOWN ) strcpy(text, "Rückwärts\\Bewegung nach hinten");
+ if ( num == EVENT_INTERFACE_KUP ) strcpy(text, "Vorw�rts\\Bewegung nach vorne");
+ if ( num == EVENT_INTERFACE_KDOWN ) strcpy(text, "R�ckw�rts\\Bewegung nach hinten");
if ( num == EVENT_INTERFACE_KGUP ) strcpy(text, "Steigen\\Leistung des Triebwerks steigern");
if ( num == EVENT_INTERFACE_KGDOWN ) strcpy(text, "Sinken\\Leistung des Triebwerks drosseln");
if ( num == EVENT_INTERFACE_KCAMERA) strcpy(text, "Andere Kamera\\Sichtpunkt einstellen");
- if ( num == EVENT_INTERFACE_KDESEL ) strcpy(text, "Vorherg. Auswahl\\Das vorhergehende Objekt auswählen");
- if ( num == EVENT_INTERFACE_KACTION) strcpy(text, "Standardhandlung\\Führt die Standardhandlung des Roboters aus.");
- if ( num == EVENT_INTERFACE_KNEAR ) strcpy(text, "Kamera näher\\Bewegung der Kamera vorwärts");
- if ( num == EVENT_INTERFACE_KAWAY ) strcpy(text, "Kamera weiter\\Bewegung der Kamera rückwärts");
- if ( num == EVENT_INTERFACE_KNEXT ) strcpy(text, "Nächstes auswählen\\Nächstes Objekt auswählen");
- if ( num == EVENT_INTERFACE_KHUMAN ) strcpy(text, "Astronauten auswählen\\Astronauten auswählen");
- if ( num == EVENT_INTERFACE_KQUIT ) strcpy(text, "Mission verlassen\\Eine Mission oder Übung verlassen");
- if ( num == EVENT_INTERFACE_KHELP ) strcpy(text, "Anweisungen\\Anweisungen für die Mission oder Übung");
- if ( num == EVENT_INTERFACE_KPROG ) strcpy(text, "Hilfe CBOT-Sprache\\Hilfe über die Programmiersprache CBOT");
- if ( num == EVENT_INTERFACE_KCBOT ) strcpy(text, "Hilfe über Begriff\\Hilfe über einen Begriff");
+ if ( num == EVENT_INTERFACE_KDESEL ) strcpy(text, "Vorherg. Auswahl\\Das vorhergehende Objekt ausw�hlen");
+ if ( num == EVENT_INTERFACE_KACTION) strcpy(text, "Standardhandlung\\F�hrt die Standardhandlung des Roboters aus.");
+ if ( num == EVENT_INTERFACE_KNEAR ) strcpy(text, "Kamera n�her\\Bewegung der Kamera vorw�rts");
+ if ( num == EVENT_INTERFACE_KAWAY ) strcpy(text, "Kamera weiter\\Bewegung der Kamera r�ckw�rts");
+ if ( num == EVENT_INTERFACE_KNEXT ) strcpy(text, "N�chstes ausw�hlen\\N�chstes Objekt ausw�hlen");
+ if ( num == EVENT_INTERFACE_KHUMAN ) strcpy(text, "Astronauten ausw�hlen\\Astronauten ausw�hlen");
+ if ( num == EVENT_INTERFACE_KQUIT ) strcpy(text, "Mission verlassen\\Eine Mission oder �bung verlassen");
+ if ( num == EVENT_INTERFACE_KHELP ) strcpy(text, "Anweisungen\\Anweisungen f�r die Mission oder �bung");
+ if ( num == EVENT_INTERFACE_KPROG ) strcpy(text, "Hilfe CBOT-Sprache\\Hilfe �ber die Programmiersprache CBOT");
+ if ( num == EVENT_INTERFACE_KCBOT ) strcpy(text, "Hilfe �ber Begriff\\Hilfe �ber einen Begriff");
if ( num == EVENT_INTERFACE_KVISIT ) strcpy(text, "Ort der Meldung\\Zeigt den Ort, von dem die letzte Meldung stammt");
if ( num == EVENT_INTERFACE_KSPEED10) strcpy(text, "Geschwindigkeit 1.0x\\Normale Spielgeschwindigkeit");
if ( num == EVENT_INTERFACE_KSPEED15) strcpy(text, "Geschwindigkeit 1.5x\\Spielgeschwindigkeit anderthalb Mal schneller");
if ( num == EVENT_INTERFACE_KSPEED20) strcpy(text, "Geschwindigkeit 2.0x\\Spielgeschwindigkeit doppelt so schnell");
if ( num == EVENT_INTERFACE_KSPEED30) strcpy(text, "Geschwindigkeit 3.0x\\Spielgeschwindigkeit drei Mal schneller");
- if ( num == EVENT_INTERFACE_VOLSOUND) strcpy(text, "Geräusche:\\Lautstärke Motoren, Stimmen, usw.");
- if ( num == EVENT_INTERFACE_VOLMUSIC) strcpy(text, "Geräuschkulisse:\\Lautstärke der Soundtracks der CD");
- if ( num == EVENT_INTERFACE_SOUND3D) strcpy(text, "3D-Geräusche\\Orten der Geräusche im Raum");
+ if ( num == EVENT_INTERFACE_VOLSOUND) strcpy(text, "Ger�usche:\\Lautst�rke Motoren, Stimmen, usw.");
+ if ( num == EVENT_INTERFACE_VOLMUSIC) strcpy(text, "Ger�uschkulisse:\\Lautst�rke der Soundtracks der CD");
+ if ( num == EVENT_INTERFACE_SOUND3D) strcpy(text, "3D-Ger�usche\\Orten der Ger�usche im Raum");
- if ( num == EVENT_INTERFACE_MIN ) strcpy(text, "Min.\\Minimale Qualität (großes Framerate)");
- if ( num == EVENT_INTERFACE_NORM ) strcpy(text, "Normal\\Standardqualität");
- if ( num == EVENT_INTERFACE_MAX ) strcpy(text, "Max.\\Beste Qualität (niedriges Framerate)");
+ if ( num == EVENT_INTERFACE_MIN ) strcpy(text, "Min.\\Minimale Qualit�t (gro�es Framerate)");
+ if ( num == EVENT_INTERFACE_NORM ) strcpy(text, "Normal\\Standardqualit�t");
+ if ( num == EVENT_INTERFACE_MAX ) strcpy(text, "Max.\\Beste Qualit�t (niedriges Framerate)");
- if ( num == EVENT_INTERFACE_SILENT ) strcpy(text, "Kein Ton\\Keine Geräusche und Geräuschkulisse");
- if ( num == EVENT_INTERFACE_NOISY ) strcpy(text, "Normal\\Normale Lautstärke");
+ if ( num == EVENT_INTERFACE_SILENT ) strcpy(text, "Kein Ton\\Keine Ger�usche und Ger�uschkulisse");
+ if ( num == EVENT_INTERFACE_NOISY ) strcpy(text, "Normal\\Normale Lautst�rke");
if ( num == EVENT_INTERFACE_JOYSTICK) strcpy(text, "Joystick\\Joystick oder Tastatur");
- if ( num == EVENT_INTERFACE_SOLUCE ) strcpy(text, "Zeigt die Lösung\\Zeigt nach 3mal Scheitern die Lösung");
+ if ( num == EVENT_INTERFACE_SOLUCE ) strcpy(text, "Zeigt die L�sung\\Zeigt nach 3mal Scheitern die L�sung");
if ( num == EVENT_INTERFACE_NEDIT ) strcpy(text, "\\Name des Spielers");
- if ( num == EVENT_INTERFACE_NOK ) strcpy(text, "OK\\Spieler auswählen");
- if ( num == EVENT_INTERFACE_NCANCEL) strcpy(text, "Abbrechen\\Behält den bisherigen Spieler bei");
- if ( num == EVENT_INTERFACE_NDELETE) strcpy(text, "Spieler löschen\\Löscht den Spieler aus der Liste");
+ if ( num == EVENT_INTERFACE_NOK ) strcpy(text, "OK\\Spieler ausw�hlen");
+ if ( num == EVENT_INTERFACE_NCANCEL) strcpy(text, "Abbrechen\\Beh�lt den bisherigen Spieler bei");
+ if ( num == EVENT_INTERFACE_NDELETE) strcpy(text, "Spieler l�schen\\L�scht den Spieler aus der Liste");
if ( num == EVENT_INTERFACE_NLABEL ) strcpy(text, "Name ");
if ( num == EVENT_INTERFACE_IOWRITE) strcpy(text, "Speichern\\Speichert die Mission");
- if ( num == EVENT_INTERFACE_IOREAD ) strcpy(text, "Laden\\Öffnet eine gespeicherte Mission");
+ if ( num == EVENT_INTERFACE_IOREAD ) strcpy(text, "Laden\\�ffnet eine gespeicherte Mission");
if ( num == EVENT_INTERFACE_IOLIST ) strcpy(text, "Liste der gespeicherten Missionen");
if ( num == EVENT_INTERFACE_IOLABEL) strcpy(text, "Dateiname:");
if ( num == EVENT_INTERFACE_IONAME ) strcpy(text, "Name der Mission");
if ( num == EVENT_INTERFACE_IOIMAGE) strcpy(text, "Ansicht der Mission");
- if ( num == EVENT_INTERFACE_IODELETE) strcpy(text, "Löschen\\Löscht die gespeicherte Mission");
+ if ( num == EVENT_INTERFACE_IODELETE) strcpy(text, "L�schen\\L�scht die gespeicherte Mission");
if ( num == EVENT_INTERFACE_PERSO ) strcpy(text, "Aussehen\\Erscheinungsbild des Astronauten einstellen");
if ( num == EVENT_INTERFACE_POK ) strcpy(text, "OK");
@@ -2188,10 +2189,10 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == EVENT_INTERFACE_PLROT ) strcpy(text, "\\Drehung links");
if ( num == EVENT_INTERFACE_PRROT ) strcpy(text, "\\Drehung rechts");
if ( num == EVENT_INTERFACE_PCRa ) strcpy(text, "Rot");
- if ( num == EVENT_INTERFACE_PCGa ) strcpy(text, "Grün");
+ if ( num == EVENT_INTERFACE_PCGa ) strcpy(text, "Gr�n");
if ( num == EVENT_INTERFACE_PCBa ) strcpy(text, "Blau");
if ( num == EVENT_INTERFACE_PCRb ) strcpy(text, "Rot");
- if ( num == EVENT_INTERFACE_PCGb ) strcpy(text, "Grün");
+ if ( num == EVENT_INTERFACE_PCGb ) strcpy(text, "Gr�n");
if ( num == EVENT_INTERFACE_PCBb ) strcpy(text, "Blau");
if ( num == EVENT_INTERFACE_PFACE1 ) strcpy(text, "\\Kopf 1");
if ( num == EVENT_INTERFACE_PFACE2 ) strcpy(text, "\\Kopf 4");
@@ -2207,8 +2208,8 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == EVENT_OBJECT_DESELECT ) strcpy(text, "Vorherg. Auwahl (\\key desel;)");
if ( num == EVENT_OBJECT_LEFT ) strcpy(text, "Drehung links (\\key left;)");
if ( num == EVENT_OBJECT_RIGHT ) strcpy(text, "Drehung rechts (\\key right;)");
- if ( num == EVENT_OBJECT_UP ) strcpy(text, "Vorwärts (\\key up;)");
- if ( num == EVENT_OBJECT_DOWN ) strcpy(text, "Rückwärts (\\key down;)");
+ if ( num == EVENT_OBJECT_UP ) strcpy(text, "Vorw�rts (\\key up;)");
+ if ( num == EVENT_OBJECT_DOWN ) strcpy(text, "R�ckw�rts (\\key down;)");
if ( num == EVENT_OBJECT_GASUP ) strcpy(text, "Steigt (\\key gup;)");
if ( num == EVENT_OBJECT_GASDOWN ) strcpy(text, "Sinkt (\\key gdown;)");
if ( num == EVENT_OBJECT_HTAKE ) strcpy(text, "Nehmen oder hinlegen (\\key action;)");
@@ -2216,14 +2217,14 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == EVENT_OBJECT_MFRONT ) strcpy(text, "..vorne");
if ( num == EVENT_OBJECT_MBACK ) strcpy(text, "..hinten");
if ( num == EVENT_OBJECT_MPOWER ) strcpy(text, "..Batterie");
- if ( num == EVENT_OBJECT_BHELP ) strcpy(text, "Anweisungen über die Mission(\\key help;)");
+ if ( num == EVENT_OBJECT_BHELP ) strcpy(text, "Anweisungen �ber die Mission(\\key help;)");
if ( num == EVENT_OBJECT_BTAKEOFF ) strcpy(text, "Abheben nach vollbrachter Mission");
if ( num == EVENT_OBJECT_BDERRICK ) strcpy(text, "Baut einen Bohrturm");
if ( num == EVENT_OBJECT_BSTATION ) strcpy(text, "Baut ein Kraftwerk");
if ( num == EVENT_OBJECT_BFACTORY ) strcpy(text, "Baut eine Roboterfabrik");
if ( num == EVENT_OBJECT_BREPAIR ) strcpy(text, "Baut ein Reparaturzentrum");
if ( num == EVENT_OBJECT_BCONVERT ) strcpy(text, "Baut einen Konverter");
- if ( num == EVENT_OBJECT_BTOWER ) strcpy(text, "Baut einen Geschützturm");
+ if ( num == EVENT_OBJECT_BTOWER ) strcpy(text, "Baut einen Gesch�tzturm");
if ( num == EVENT_OBJECT_BRESEARCH ) strcpy(text, "Baut ein Forschungszentrum");
if ( num == EVENT_OBJECT_BRADAR ) strcpy(text, "Baut ein Radar");
if ( num == EVENT_OBJECT_BENERGY ) strcpy(text, "Baut eine Batteriefabrik");
@@ -2236,7 +2237,7 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == EVENT_OBJECT_FDELETE ) strcpy(text, "Sammelt die Fahne ein");
if ( num == EVENT_OBJECT_FCOLORb ) strcpy(text, "\\Blaue Fahne");
if ( num == EVENT_OBJECT_FCOLORr ) strcpy(text, "\\Rote Fahne");
- if ( num == EVENT_OBJECT_FCOLORg ) strcpy(text, "\\Grüne Fahne");
+ if ( num == EVENT_OBJECT_FCOLORg ) strcpy(text, "\\Gr�ne Fahne");
if ( num == EVENT_OBJECT_FCOLORy ) strcpy(text, "\\Gelbe Fahne");
if ( num == EVENT_OBJECT_FCOLORv ) strcpy(text, "\\Violette Fahne");
if ( num == EVENT_OBJECT_FACTORYfa ) strcpy(text, "Baut einen Jettransporter");
@@ -2251,10 +2252,10 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == EVENT_OBJECT_FACTORYti ) strcpy(text, "Baut einen Kettenorgashooter");
if ( num == EVENT_OBJECT_FACTORYwi ) strcpy(text, "Baut einen Radorgashooter");
if ( num == EVENT_OBJECT_FACTORYii ) strcpy(text, "Baut einen Krabbelorgashooter");
- if ( num == EVENT_OBJECT_FACTORYfs ) strcpy(text, "Baut einen Jetschnüffler");
- if ( num == EVENT_OBJECT_FACTORYts ) strcpy(text, "Baut einen Kettenschnüffler");
- if ( num == EVENT_OBJECT_FACTORYws ) strcpy(text, "Baut einen Radschnüffler");
- if ( num == EVENT_OBJECT_FACTORYis ) strcpy(text, "Baut einen Krabbelschnüffler");
+ if ( num == EVENT_OBJECT_FACTORYfs ) strcpy(text, "Baut einen Jetschn�ffler");
+ if ( num == EVENT_OBJECT_FACTORYts ) strcpy(text, "Baut einen Kettenschn�ffler");
+ if ( num == EVENT_OBJECT_FACTORYws ) strcpy(text, "Baut einen Radschn�ffler");
+ if ( num == EVENT_OBJECT_FACTORYis ) strcpy(text, "Baut einen Krabbelschn�ffler");
if ( num == EVENT_OBJECT_FACTORYrt ) strcpy(text, "Baut einen Stampfer");
if ( num == EVENT_OBJECT_FACTORYrc ) strcpy(text, "Baut einen Phazershooter");
if ( num == EVENT_OBJECT_FACTORYrr ) strcpy(text, "Baut einen Recycler");
@@ -2264,26 +2265,26 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == EVENT_OBJECT_RFLY ) strcpy(text, "Forschungsprogramm Jetantrieb");
if ( num == EVENT_OBJECT_RTHUMP ) strcpy(text, "Forschungsprogramm Stampfer");
if ( num == EVENT_OBJECT_RCANON ) strcpy(text, "Forschungsprogramm Shooterkanone");
- if ( num == EVENT_OBJECT_RTOWER ) strcpy(text, "Forschungsprogramm Geschützturm");
+ if ( num == EVENT_OBJECT_RTOWER ) strcpy(text, "Forschungsprogramm Gesch�tzturm");
if ( num == EVENT_OBJECT_RPHAZER ) strcpy(text, "Forschungsprogramm Phazerkanone");
if ( num == EVENT_OBJECT_RSHIELD ) strcpy(text, "Forschungsprogramm Schutzschild");
if ( num == EVENT_OBJECT_RATOMIC ) strcpy(text, "Forschungsprogramm Brennstoffzelle");
if ( num == EVENT_OBJECT_RiPAW ) strcpy(text, "Forschungsprogramm Krabbelantrieb");
if ( num == EVENT_OBJECT_RiGUN ) strcpy(text, "Forschungsprogramm Orgashooterkanone");
- if ( num == EVENT_OBJECT_RESET ) strcpy(text, "Alles zurücksetzen");
- if ( num == EVENT_OBJECT_SEARCH ) strcpy(text, "Schnüffeln (\\key action;)");
+ if ( num == EVENT_OBJECT_RESET ) strcpy(text, "Alles zur�cksetzen");
+ if ( num == EVENT_OBJECT_SEARCH ) strcpy(text, "Schn�ffeln (\\key action;)");
if ( num == EVENT_OBJECT_TERRAFORM ) strcpy(text, "Stampfen (\\key action;)");
if ( num == EVENT_OBJECT_FIRE ) strcpy(text, "Feuer (\\key action;)");
if ( num == EVENT_OBJECT_RECOVER ) strcpy(text, "Recyceln (\\key action;)");
if ( num == EVENT_OBJECT_BEGSHIELD ) strcpy(text, "Schutzschild ausfahren (\\key action;)");
if ( num == EVENT_OBJECT_ENDSHIELD ) strcpy(text, "Schutzschild einholen (\\key action;)");
if ( num == EVENT_OBJECT_DIMSHIELD ) strcpy(text, "Reichweite Schutzschild");
- if ( num == EVENT_OBJECT_PROGRUN ) strcpy(text, "Gewähltes Programm ausführen");
- if ( num == EVENT_OBJECT_PROGEDIT ) strcpy(text, "Gewähltes Programm bearbeiten");
+ if ( num == EVENT_OBJECT_PROGRUN ) strcpy(text, "Gew�hltes Programm ausf�hren");
+ if ( num == EVENT_OBJECT_PROGEDIT ) strcpy(text, "Gew�hltes Programm bearbeiten");
if ( num == EVENT_OBJECT_INFOOK ) strcpy(text, "\\SatCom in Standby");
- if ( num == EVENT_OBJECT_DELETE ) strcpy(text, "Gebäude sprengen");
+ if ( num == EVENT_OBJECT_DELETE ) strcpy(text, "Geb�ude sprengen");
if ( num == EVENT_OBJECT_GENERGY ) strcpy(text, "Energievorrat");
- if ( num == EVENT_OBJECT_GSHIELD ) strcpy(text, "Schäden");
+ if ( num == EVENT_OBJECT_GSHIELD ) strcpy(text, "Sch�den");
if ( num == EVENT_OBJECT_GRANGE ) strcpy(text, "Triebwerktemperatur");
if ( num == EVENT_OBJECT_GPROGRESS ) strcpy(text, "Prozess im Gang ...");
if ( num == EVENT_OBJECT_GRADAR ) strcpy(text, "Anzahl erfasster Insekten");
@@ -2294,10 +2295,10 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == EVENT_OBJECT_CAMERA ) strcpy(text, "Kamera (\\key camera;)");
if ( num == EVENT_OBJECT_CAMERAleft) strcpy(text, "Kamera links");
if ( num == EVENT_OBJECT_CAMERAright) strcpy(text, "Kamera rechts");
- if ( num == EVENT_OBJECT_CAMERAnear) strcpy(text, "Kamera näher");
+ if ( num == EVENT_OBJECT_CAMERAnear) strcpy(text, "Kamera n�her");
if ( num == EVENT_OBJECT_CAMERAaway) strcpy(text, "Kamera weiter weg");
- if ( num == EVENT_OBJECT_HELP ) strcpy(text, "Anweisungen über das ausgewählte Objekt");
- if ( num == EVENT_OBJECT_SOLUCE ) strcpy(text, "Zeigt die Lösung");
+ if ( num == EVENT_OBJECT_HELP ) strcpy(text, "Anweisungen �ber das ausgew�hlte Objekt");
+ if ( num == EVENT_OBJECT_SOLUCE ) strcpy(text, "Zeigt die L�sung");
if ( num == EVENT_OBJECT_SHORTCUT00) strcpy(text, "Anzeige Roboter <-> Bauten");
if ( num == EVENT_OBJECT_LIMIT ) strcpy(text, "Zeigt die Reichweite");
if ( num == EVENT_OBJECT_PEN0 ) strcpy(text, "\\Bleistift abheben");
@@ -2307,7 +2308,7 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == EVENT_OBJECT_PEN4 ) strcpy(text, "\\Roten Bleistift hinunterlassen");
if ( num == EVENT_OBJECT_PEN5 ) strcpy(text, "\\Violetten Bleistift hinunterlassen");
if ( num == EVENT_OBJECT_PEN6 ) strcpy(text, "\\Blauen Bleistift hinunterlassen");
- if ( num == EVENT_OBJECT_PEN7 ) strcpy(text, "\\Grünen Bleistift hinunterlassen");
+ if ( num == EVENT_OBJECT_PEN7 ) strcpy(text, "\\Gr�nen Bleistift hinunterlassen");
if ( num == EVENT_OBJECT_PEN8 ) strcpy(text, "\\Braunen Bleistift hinunterlassen");
if ( num == EVENT_OBJECT_REC ) strcpy(text, "\\Aufnahme starten");
if ( num == EVENT_OBJECT_STOP ) strcpy(text, "\\Aufnahme stoppen");
@@ -2321,37 +2322,37 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == EVENT_SPEED ) strcpy(text, "Spielgeschwindigkeit");
if ( num == EVENT_HYPER_PREV ) strcpy(text, "Vorherg. Seite");
- if ( num == EVENT_HYPER_NEXT ) strcpy(text, "Nächste Seite");
+ if ( num == EVENT_HYPER_NEXT ) strcpy(text, "N�chste Seite");
if ( num == EVENT_HYPER_HOME ) strcpy(text, "Home");
if ( num == EVENT_HYPER_COPY ) strcpy(text, "Kopieren");
- if ( num == EVENT_HYPER_SIZE1 ) strcpy(text, "Größe 1");
- if ( num == EVENT_HYPER_SIZE2 ) strcpy(text, "Größe 2");
- if ( num == EVENT_HYPER_SIZE3 ) strcpy(text, "Größe 3");
- if ( num == EVENT_HYPER_SIZE4 ) strcpy(text, "Größe 4");
- if ( num == EVENT_HYPER_SIZE5 ) strcpy(text, "Größe 5");
+ if ( num == EVENT_HYPER_SIZE1 ) strcpy(text, "Gr��e 1");
+ if ( num == EVENT_HYPER_SIZE2 ) strcpy(text, "Gr��e 2");
+ if ( num == EVENT_HYPER_SIZE3 ) strcpy(text, "Gr��e 3");
+ if ( num == EVENT_HYPER_SIZE4 ) strcpy(text, "Gr��e 4");
+ if ( num == EVENT_HYPER_SIZE5 ) strcpy(text, "Gr��e 5");
if ( num == EVENT_SATCOM_HUSTON ) strcpy(text, "Anweisungen von Houston");
#if _TEEN
- if ( num == EVENT_SATCOM_SAT ) strcpy(text, "Wörterbuch Englisch-Deutsch");
+ if ( num == EVENT_SATCOM_SAT ) strcpy(text, "W�rterbuch Englisch-Deutsch");
#else
if ( num == EVENT_SATCOM_SAT ) strcpy(text, "Satellitenbericht");
#endif
- if ( num == EVENT_SATCOM_LOADING ) strcpy(text, "Von Houston übermittelte Programme");
+ if ( num == EVENT_SATCOM_LOADING ) strcpy(text, "Von Houston �bermittelte Programme");
if ( num == EVENT_SATCOM_OBJECT ) strcpy(text, "Liste der Objekte");
- if ( num == EVENT_SATCOM_PROG ) strcpy(text, "Hilfe über Programmieren");
- if ( num == EVENT_SATCOM_SOLUCE ) strcpy(text, "Lösung");
+ if ( num == EVENT_SATCOM_PROG ) strcpy(text, "Hilfe �ber Programmieren");
+ if ( num == EVENT_SATCOM_SOLUCE ) strcpy(text, "L�sung");
if ( num == EVENT_STUDIO_OK ) strcpy(text, "OK\\Programm kompilieren");
- if ( num == EVENT_STUDIO_CANCEL ) strcpy(text, "Abbrechen\\Editor schließen");
+ if ( num == EVENT_STUDIO_CANCEL ) strcpy(text, "Abbrechen\\Editor schlie�en");
if ( num == EVENT_STUDIO_NEW ) strcpy(text, "Neu");
- if ( num == EVENT_STUDIO_OPEN ) strcpy(text, "Öffnen (Ctrl+o)");
+ if ( num == EVENT_STUDIO_OPEN ) strcpy(text, "�ffnen (Ctrl+o)");
if ( num == EVENT_STUDIO_SAVE ) strcpy(text, "Speichern (Ctrl+s)");
if ( num == EVENT_STUDIO_UNDO ) strcpy(text, "Widerrufen (Ctrl+z)");
if ( num == EVENT_STUDIO_CUT ) strcpy(text, "Ausschneiden (Ctrl+x)");
if ( num == EVENT_STUDIO_COPY ) strcpy(text, "Kopieren (Ctrl+c)");
- if ( num == EVENT_STUDIO_PASTE ) strcpy(text, "Einfügen (Ctrl+v)");
- if ( num == EVENT_STUDIO_SIZE ) strcpy(text, "Zeichengröße");
+ if ( num == EVENT_STUDIO_PASTE ) strcpy(text, "Einf�gen (Ctrl+v)");
+ if ( num == EVENT_STUDIO_SIZE ) strcpy(text, "Zeichengr��e");
if ( num == EVENT_STUDIO_TOOL ) strcpy(text, "Anweisungen (\\key help;)");
- if ( num == EVENT_STUDIO_HELP ) strcpy(text, "Hilfe über Programmieren (\\key prog;)");
+ if ( num == EVENT_STUDIO_HELP ) strcpy(text, "Hilfe �ber Programmieren (\\key prog;)");
if ( num == EVENT_STUDIO_COMPILE ) strcpy(text, "Kompilieren");
if ( num == EVENT_STUDIO_RUN ) strcpy(text, "Start/Stop");
if ( num == EVENT_STUDIO_REALTIME ) strcpy(text, "Pause/Weitermachen");
@@ -2360,7 +2361,7 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( type == RES_OBJECT )
{
- if ( num == OBJECT_PORTICO ) strcpy(text, "Träger");
+ if ( num == OBJECT_PORTICO ) strcpy(text, "Tr�ger");
if ( num == OBJECT_BASE ) strcpy(text, "Raumschiff");
if ( num == OBJECT_DERRICK ) strcpy(text, "Bohrturm");
if ( num == OBJECT_FACTORY ) strcpy(text, "Roboterfabrik");
@@ -2368,13 +2369,13 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == OBJECT_DESTROYER ) strcpy(text, "Einstampfer");
if ( num == OBJECT_STATION ) strcpy(text, "Kraftwerk");
if ( num == OBJECT_CONVERT ) strcpy(text, "Konverter Erz-Titan");
- if ( num == OBJECT_TOWER ) strcpy(text, "Geschützturm");
+ if ( num == OBJECT_TOWER ) strcpy(text, "Gesch�tzturm");
if ( num == OBJECT_NEST ) strcpy(text, "Orgastoffquelle");
if ( num == OBJECT_RESEARCH ) strcpy(text, "Forschungszentrum");
if ( num == OBJECT_RADAR ) strcpy(text, "Radar");
if ( num == OBJECT_INFO ) strcpy(text, "Infoserver");
#if _TEEN
- if ( num == OBJECT_ENERGY ) strcpy(text, "Auflöser");
+ if ( num == OBJECT_ENERGY ) strcpy(text, "Aufl�ser");
#else
if ( num == OBJECT_ENERGY ) strcpy(text, "Batteriefabrik");
#endif
@@ -2385,8 +2386,8 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == OBJECT_HUSTON ) strcpy(text, "Kontrollzentrum");
if ( num == OBJECT_TARGET1 ) strcpy(text, "Zielscheibe");
if ( num == OBJECT_TARGET2 ) strcpy(text, "Zielscheibe");
- if ( num == OBJECT_START ) strcpy(text, "Startfläche");
- if ( num == OBJECT_END ) strcpy(text, "Zielfläche");
+ if ( num == OBJECT_START ) strcpy(text, "Startfl�che");
+ if ( num == OBJECT_END ) strcpy(text, "Zielfl�che");
if ( num == OBJECT_STONE ) strcpy(text, "Titanerz");
if ( num == OBJECT_URANIUM ) strcpy(text, "Platinerz");
if ( num == OBJECT_BULLET ) strcpy(text, "Orgastoff");
@@ -2394,30 +2395,30 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == OBJECT_POWER ) strcpy(text, "Elektrolytische Batterie");
if ( num == OBJECT_ATOMIC ) strcpy(text, "Brennstoffzelle");
if ( num == OBJECT_BBOX ) strcpy(text, "Flugschreiber");
- if ( num == OBJECT_KEYa ) strcpy(text, "Schlüssel A");
- if ( num == OBJECT_KEYb ) strcpy(text, "Schlüssel B");
- if ( num == OBJECT_KEYc ) strcpy(text, "Schlüssel C");
- if ( num == OBJECT_KEYd ) strcpy(text, "Schlüssel D");
+ if ( num == OBJECT_KEYa ) strcpy(text, "Schl�ssel A");
+ if ( num == OBJECT_KEYb ) strcpy(text, "Schl�ssel B");
+ if ( num == OBJECT_KEYc ) strcpy(text, "Schl�ssel C");
+ if ( num == OBJECT_KEYd ) strcpy(text, "Schl�ssel D");
if ( num == OBJECT_TNT ) strcpy(text, "Sprengstoff");
if ( num == OBJECT_BOMB ) strcpy(text, "Landmine");
- if ( num == OBJECT_BAG ) strcpy(text, "Überlebenskit");
+ if ( num == OBJECT_BAG ) strcpy(text, "�berlebenskit");
if ( num == OBJECT_WAYPOINT ) strcpy(text, "Checkpoint");
if ( num == OBJECT_FLAGb ) strcpy(text, "Blaue Fahne");
if ( num == OBJECT_FLAGr ) strcpy(text, "Rote Fahne");
- if ( num == OBJECT_FLAGg ) strcpy(text, "Grüne Fahne");
+ if ( num == OBJECT_FLAGg ) strcpy(text, "Gr�ne Fahne");
if ( num == OBJECT_FLAGy ) strcpy(text, "Gelbe Fahne");
if ( num == OBJECT_FLAGv ) strcpy(text, "Violette Fahne");
- if ( num == OBJECT_MARKPOWER ) strcpy(text, "Markierung für unterirdische Energiequelle");
- if ( num == OBJECT_MARKURANIUM ) strcpy(text, "Markierung für unterirdisches Platinvorkommen");
- if ( num == OBJECT_MARKKEYa ) strcpy(text, "Markierung für vergrabenen Schlüssel A");
- if ( num == OBJECT_MARKKEYb ) strcpy(text, "Markierung für vergrabenen Schlüssel B");
- if ( num == OBJECT_MARKKEYc ) strcpy(text, "Markierung für vergrabenen Schlüssel C");
- if ( num == OBJECT_MARKKEYd ) strcpy(text, "Markierung für vergrabenen Schlüssel D");
- if ( num == OBJECT_MARKSTONE ) strcpy(text, "Markierung für unterirdisches Titanvorkommen");
- if ( num == OBJECT_MOBILEft ) strcpy(text, "Übungsroboter");
- if ( num == OBJECT_MOBILEtt ) strcpy(text, "Übungsroboter");
- if ( num == OBJECT_MOBILEwt ) strcpy(text, "Übungsroboter");
- if ( num == OBJECT_MOBILEit ) strcpy(text, "Übungsroboter");
+ if ( num == OBJECT_MARKPOWER ) strcpy(text, "Markierung f�r unterirdische Energiequelle");
+ if ( num == OBJECT_MARKURANIUM ) strcpy(text, "Markierung f�r unterirdisches Platinvorkommen");
+ if ( num == OBJECT_MARKKEYa ) strcpy(text, "Markierung f�r vergrabenen Schl�ssel A");
+ if ( num == OBJECT_MARKKEYb ) strcpy(text, "Markierung f�r vergrabenen Schl�ssel B");
+ if ( num == OBJECT_MARKKEYc ) strcpy(text, "Markierung f�r vergrabenen Schl�ssel C");
+ if ( num == OBJECT_MARKKEYd ) strcpy(text, "Markierung f�r vergrabenen Schl�ssel D");
+ if ( num == OBJECT_MARKSTONE ) strcpy(text, "Markierung f�r unterirdisches Titanvorkommen");
+ if ( num == OBJECT_MOBILEft ) strcpy(text, "�bungsroboter");
+ if ( num == OBJECT_MOBILEtt ) strcpy(text, "�bungsroboter");
+ if ( num == OBJECT_MOBILEwt ) strcpy(text, "�bungsroboter");
+ if ( num == OBJECT_MOBILEit ) strcpy(text, "�bungsroboter");
if ( num == OBJECT_MOBILEfa ) strcpy(text, "Transporter");
if ( num == OBJECT_MOBILEta ) strcpy(text, "Transporter");
if ( num == OBJECT_MOBILEwa ) strcpy(text, "Transporter");
@@ -2430,10 +2431,10 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == OBJECT_MOBILEti ) strcpy(text, "OrgaShooter");
if ( num == OBJECT_MOBILEwi ) strcpy(text, "OrgaShooter");
if ( num == OBJECT_MOBILEii ) strcpy(text, "OrgaShooter");
- if ( num == OBJECT_MOBILEfs ) strcpy(text, "Schnüffler");
- if ( num == OBJECT_MOBILEts ) strcpy(text, "Schnüffler");
- if ( num == OBJECT_MOBILEws ) strcpy(text, "Schnüffler");
- if ( num == OBJECT_MOBILEis ) strcpy(text, "Schnüffler");
+ if ( num == OBJECT_MOBILEfs ) strcpy(text, "Schn�ffler");
+ if ( num == OBJECT_MOBILEts ) strcpy(text, "Schn�ffler");
+ if ( num == OBJECT_MOBILEws ) strcpy(text, "Schn�ffler");
+ if ( num == OBJECT_MOBILEis ) strcpy(text, "Schn�ffler");
if ( num == OBJECT_MOBILErt ) strcpy(text, "Stampfer");
if ( num == OBJECT_MOBILErc ) strcpy(text, "Phazershooter");
if ( num == OBJECT_MOBILErr ) strcpy(text, "Recycler");
@@ -2444,7 +2445,7 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == OBJECT_HUMAN ) strcpy(text, g_gamerName);
if ( num == OBJECT_TECH ) strcpy(text, "Techniker");
if ( num == OBJECT_TOTO ) strcpy(text, "Robby");
- if ( num == OBJECT_MOTHER ) strcpy(text, "Insektenkönigin");
+ if ( num == OBJECT_MOTHER ) strcpy(text, "Insektenk�nigin");
if ( num == OBJECT_ANT ) strcpy(text, "Ameise");
if ( num == OBJECT_SPIDER ) strcpy(text, "Spinne");
if ( num == OBJECT_BEE ) strcpy(text, "Wespe");
@@ -2456,17 +2457,17 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == OBJECT_RUINmobilet2 ) strcpy(text, "Roboterwrack");
if ( num == OBJECT_RUINmobiler1 ) strcpy(text, "Roboterwrack");
if ( num == OBJECT_RUINmobiler2 ) strcpy(text, "Roboterwrack");
- if ( num == OBJECT_RUINfactory ) strcpy(text, "Gebäuderuine");
- if ( num == OBJECT_RUINdoor ) strcpy(text, "Gebäuderuine");
+ if ( num == OBJECT_RUINfactory ) strcpy(text, "Geb�uderuine");
+ if ( num == OBJECT_RUINdoor ) strcpy(text, "Geb�uderuine");
if ( num == OBJECT_RUINsupport ) strcpy(text, "Abfall");
- if ( num == OBJECT_RUINradar ) strcpy(text, "Gebäuderuine");
- if ( num == OBJECT_RUINconvert ) strcpy(text, "Gebäuderuine");
+ if ( num == OBJECT_RUINradar ) strcpy(text, "Geb�uderuine");
+ if ( num == OBJECT_RUINconvert ) strcpy(text, "Geb�uderuine");
if ( num == OBJECT_RUINbase ) strcpy(text, "Raumschiffruine");
if ( num == OBJECT_RUINhead ) strcpy(text, "Raumschiffruine");
if ( num == OBJECT_APOLLO1 ||
num == OBJECT_APOLLO3 ||
num == OBJECT_APOLLO4 ||
- num == OBJECT_APOLLO5 ) strcpy(text, "Überreste einer Apollo-Mission");
+ num == OBJECT_APOLLO5 ) strcpy(text, "�berreste einer Apollo-Mission");
if ( num == OBJECT_APOLLO2 ) strcpy(text, "Lunar Roving Vehicle");
}
@@ -2482,34 +2483,34 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == ERR_NOCD ) strcpy(text, "Legen Sie die COLOBOT-CD ein\nund starten Sie das Spiel neu.");
#endif
if ( num == ERR_MANIP_VEH ) strcpy(text, "Roboter ungeeignet");
- if ( num == ERR_MANIP_FLY ) strcpy(text, "Im Flug unmöglich");
- if ( num == ERR_MANIP_BUSY ) strcpy(text, "Trägt schon etwas");
+ if ( num == ERR_MANIP_FLY ) strcpy(text, "Im Flug unm�glich");
+ if ( num == ERR_MANIP_BUSY ) strcpy(text, "Tr�gt schon etwas");
if ( num == ERR_MANIP_NIL ) strcpy(text, "Nichts zu ergreifen");
- if ( num == ERR_MANIP_MOTOR ) strcpy(text, "In Fahrt unmöglich");
+ if ( num == ERR_MANIP_MOTOR ) strcpy(text, "In Fahrt unm�glich");
if ( num == ERR_MANIP_OCC ) strcpy(text, "Stelle schon besetzt");
if ( num == ERR_MANIP_FRIEND ) strcpy(text, "Kein anderer Roboter");
- if ( num == ERR_MANIP_RADIO ) strcpy(text, "Sie können keinen radioaktiven Gegenstand tragen");
- if ( num == ERR_MANIP_WATER ) strcpy(text, "Sie können unter Wasser nichts tragen");
+ if ( num == ERR_MANIP_RADIO ) strcpy(text, "Sie k�nnen keinen radioaktiven Gegenstand tragen");
+ if ( num == ERR_MANIP_WATER ) strcpy(text, "Sie k�nnen unter Wasser nichts tragen");
if ( num == ERR_MANIP_EMPTY ) strcpy(text, "Nichts abzulegen");
- if ( num == ERR_BUILD_FLY ) strcpy(text, "Im Flug unmöglich");
- if ( num == ERR_BUILD_WATER ) strcpy(text, "Unter Wasser unmöglich");
+ if ( num == ERR_BUILD_FLY ) strcpy(text, "Im Flug unm�glich");
+ if ( num == ERR_BUILD_WATER ) strcpy(text, "Unter Wasser unm�glich");
if ( num == ERR_BUILD_ENERGY ) strcpy(text, "Nicht genug Energie");
if ( num == ERR_BUILD_METALAWAY ) strcpy(text, "Titan zu weit weg");
if ( num == ERR_BUILD_METALNEAR ) strcpy(text, "Titan zu nahe");
if ( num == ERR_BUILD_METALINEX ) strcpy(text, "Kein Titan vorhanden");
if ( num == ERR_BUILD_FLAT ) strcpy(text, "Boden nicht eben genug");
- if ( num == ERR_BUILD_FLATLIT ) strcpy(text, "Ebener Boden nicht groß genug");
+ if ( num == ERR_BUILD_FLATLIT ) strcpy(text, "Ebener Boden nicht gro� genug");
if ( num == ERR_BUILD_BUSY ) strcpy(text, "Stelle schon besetzt");
if ( num == ERR_BUILD_BASE ) strcpy(text, "Zu nahe am Raumschiff");
- if ( num == ERR_BUILD_NARROW ) strcpy(text, "Zu nahe an einem Gebäude");
- if ( num == ERR_BUILD_MOTOR ) strcpy(text, "In Fahrt unmöglich");
- if ( num == ERR_SEARCH_FLY ) strcpy(text, "Im Flug unmöglich");
+ if ( num == ERR_BUILD_NARROW ) strcpy(text, "Zu nahe an einem Geb�ude");
+ if ( num == ERR_BUILD_MOTOR ) strcpy(text, "In Fahrt unm�glich");
+ if ( num == ERR_SEARCH_FLY ) strcpy(text, "Im Flug unm�glich");
if ( num == ERR_SEARCH_VEH ) strcpy(text, "Roboter ungeeignet");
- if ( num == ERR_SEARCH_MOTOR ) strcpy(text, "In Fahrt unmöglich");
+ if ( num == ERR_SEARCH_MOTOR ) strcpy(text, "In Fahrt unm�glich");
if ( num == ERR_TERRA_VEH ) strcpy(text, "Roboter ungeeignet");
if ( num == ERR_TERRA_ENERGY ) strcpy(text, "Nicht genug Energie");
if ( num == ERR_TERRA_FLOOR ) strcpy(text, "Boden ungeeignet");
- if ( num == ERR_TERRA_BUILDING ) strcpy(text, "Gebäude zu nahe");
+ if ( num == ERR_TERRA_BUILDING ) strcpy(text, "Geb�ude zu nahe");
if ( num == ERR_TERRA_OBJECT ) strcpy(text, "Gegenstand zu nahe");
if ( num == ERR_RECOVER_VEH ) strcpy(text, "Roboter ungeeignet");
if ( num == ERR_RECOVER_ENERGY ) strcpy(text, "Nicht genug Energie");
@@ -2524,25 +2525,25 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == ERR_GOTO_BUSY ) strcpy(text, "Ziel ist schon besetzt");
if ( num == ERR_FIRE_VEH ) strcpy(text, "Roboter ungeeignet");
if ( num == ERR_FIRE_ENERGY ) strcpy(text, "Nicht genug Energie");
- if ( num == ERR_FIRE_FLY ) strcpy(text, "Im Flug unmöglich");
+ if ( num == ERR_FIRE_FLY ) strcpy(text, "Im Flug unm�glich");
if ( num == ERR_CONVERT_EMPTY ) strcpy(text, "Kein konvertierbares Titanerz vorhanden");
- if ( num == ERR_DERRICK_NULL ) strcpy(text, "Keine unterirdische Erzlagerstätte");
+ if ( num == ERR_DERRICK_NULL ) strcpy(text, "Keine unterirdische Erzlagerst�tte");
if ( num == ERR_STATION_NULL ) strcpy(text, "Kein unterirdisches Energievorkommen");
if ( num == ERR_TOWER_POWER ) strcpy(text, "Keine Batterie");
if ( num == ERR_TOWER_ENERGY ) strcpy(text, "Keine Energie mehr");
if ( num == ERR_RESEARCH_POWER ) strcpy(text, "Keine Batterie");
if ( num == ERR_RESEARCH_ENERGY ) strcpy(text, "Nicht mehr genug Energie");
if ( num == ERR_RESEARCH_TYPE ) strcpy(text, "Falscher Batterietyp");
- if ( num == ERR_RESEARCH_ALREADY) strcpy(text, "Forschungsprogramm schon ausgeführt");
+ if ( num == ERR_RESEARCH_ALREADY) strcpy(text, "Forschungsprogramm schon ausgef�hrt");
if ( num == ERR_ENERGY_NULL ) strcpy(text, "Kein unterirdisches Energievorkommen");
if ( num == ERR_ENERGY_LOW ) strcpy(text, "Noch nicht genug Energie");
if ( num == ERR_ENERGY_EMPTY ) strcpy(text, "Kein konvertierbares Titanerz vorhanden");
if ( num == ERR_ENERGY_BAD ) strcpy(text, "Wandelt nur Titanerz um");
- if ( num == ERR_BASE_DLOCK ) strcpy(text, "Die Türen werden von einem Gegenstand blockiert");
+ if ( num == ERR_BASE_DLOCK ) strcpy(text, "Die T�ren werden von einem Gegenstand blockiert");
if ( num == ERR_BASE_DHUMAN ) strcpy(text, "Gehen Sie an Bord, bevor Sie abheben");
if ( num == ERR_LABO_NULL ) strcpy(text, "Nichts zu analysieren");
if ( num == ERR_LABO_BAD ) strcpy(text, "Analysiert nur Orgastoff");
- if ( num == ERR_LABO_ALREADY ) strcpy(text, "Analyse schon durchgeführt");
+ if ( num == ERR_LABO_ALREADY ) strcpy(text, "Analyse schon durchgef�hrt");
if ( num == ERR_NUCLEAR_NULL ) strcpy(text, "Kein unterirdisches Energievorkommen");
if ( num == ERR_NUCLEAR_LOW ) strcpy(text, "Noch nicht genug Energie");
if ( num == ERR_NUCLEAR_EMPTY ) strcpy(text, "Kein konvertierbares Platin");
@@ -2552,57 +2553,57 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == ERR_RESET_NEAR ) strcpy(text, "Stelle schon besetzt");
if ( num == ERR_INFO_NULL ) strcpy(text, "Kein Infoserver in Reichweite");
if ( num == ERR_VEH_VIRUS ) strcpy(text, "Ein Programm wurde von einem Virus infiziert");
- if ( num == ERR_BAT_VIRUS ) strcpy(text, "Von Virus infiziert, zeitweise außer Betrieb");
+ if ( num == ERR_BAT_VIRUS ) strcpy(text, "Von Virus infiziert, zeitweise au�er Betrieb");
if ( num == ERR_VEH_POWER ) strcpy(text, "Keine Batterie");
if ( num == ERR_VEH_ENERGY ) strcpy(text, "Keine Energie mehr");
- if ( num == ERR_FLAG_FLY ) strcpy(text, "Im Flug unmöglich");
- if ( num == ERR_FLAG_WATER ) strcpy(text, "Im Wasser unmöglich");
- if ( num == ERR_FLAG_MOTOR ) strcpy(text, "Beim Gehen unmöglich");
- if ( num == ERR_FLAG_BUSY ) strcpy(text, "Unmöglich wenn Sie etwas tragen");
+ if ( num == ERR_FLAG_FLY ) strcpy(text, "Im Flug unm�glich");
+ if ( num == ERR_FLAG_WATER ) strcpy(text, "Im Wasser unm�glich");
+ if ( num == ERR_FLAG_MOTOR ) strcpy(text, "Beim Gehen unm�glich");
+ if ( num == ERR_FLAG_BUSY ) strcpy(text, "Unm�glich wenn Sie etwas tragen");
if ( num == ERR_FLAG_CREATE ) strcpy(text, "Zu viele Fahnen dieser Farbe (Maximum 5)");
if ( num == ERR_FLAG_PROXY ) strcpy(text, "Zu nahe an einer anderen Fahne");
if ( num == ERR_FLAG_DELETE ) strcpy(text, "Keine Fahne in Reichweite");
- if ( num == ERR_MISSION_NOTERM ) strcpy(text, "Mission noch nicht beendet (Drücken Sie auf \\key help; für weitere Informationen)");
- if ( num == ERR_DELETEMOBILE ) strcpy(text, "Roboter zerstört");
- if ( num == ERR_DELETEBUILDING ) strcpy(text, "Gebäude zerstört");
+ if ( num == ERR_MISSION_NOTERM ) strcpy(text, "Mission noch nicht beendet (Dr�cken Sie auf \\key help; f�r weitere Informationen)");
+ if ( num == ERR_DELETEMOBILE ) strcpy(text, "Roboter zerst�rt");
+ if ( num == ERR_DELETEBUILDING ) strcpy(text, "Geb�ude zerst�rt");
if ( num == ERR_TOOMANY ) strcpy(text, "Kein neues Objekt kann erstellt werden (zu viele vorhanden)");
if ( num == ERR_OBLIGATORYTOKEN ) strcpy(text, "Es fehlt \"%s\" in Ihrem Programm");
- if ( num == ERR_PROHIBITEDTOKEN ) strcpy(text, "In dieser Übung verboten");
+ if ( num == ERR_PROHIBITEDTOKEN ) strcpy(text, "In dieser �bung verboten");
- if ( num == INFO_BUILD ) strcpy(text, "Gebäude fertiggestellt");
- if ( num == INFO_CONVERT ) strcpy(text, "Titan verfügbar");
+ if ( num == INFO_BUILD ) strcpy(text, "Geb�ude fertiggestellt");
+ if ( num == INFO_CONVERT ) strcpy(text, "Titan verf�gbar");
if ( num == INFO_RESEARCH ) strcpy(text, "Forschungsprogramm abgeschlossen");
- if ( num == INFO_RESEARCHTANK ) strcpy(text, "Herstellung eines Roboters mit Kettenantrieb möglich");
- if ( num == INFO_RESEARCHFLY ) strcpy(text, "Sie können jetzt mit den Tasten \\key gup; und \\key gdown; fliegen");
- if ( num == INFO_RESEARCHTHUMP ) strcpy(text, "Herstellung eines Stampfers möglich");
- if ( num == INFO_RESEARCHCANON ) strcpy(text, "Herstellung eines Shooters möglich");
- if ( num == INFO_RESEARCHTOWER ) strcpy(text, "Errichtung eines Geschützturms möglich");
- if ( num == INFO_RESEARCHPHAZER ) strcpy(text, "Herstellung eines Phazershooters möglich");
- if ( num == INFO_RESEARCHSHIELD ) strcpy(text, "Herstellung eines Schutzschildes möglich");
- if ( num == INFO_RESEARCHATOMIC ) strcpy(text, "Errichtung einer Brennstoffzellenfabrik möglich");
- if ( num == INFO_FACTORY ) strcpy(text, "Neuer Roboter verfügbar");
+ if ( num == INFO_RESEARCHTANK ) strcpy(text, "Herstellung eines Roboters mit Kettenantrieb m�glich");
+ if ( num == INFO_RESEARCHFLY ) strcpy(text, "Sie k�nnen jetzt mit den Tasten \\key gup; und \\key gdown; fliegen");
+ if ( num == INFO_RESEARCHTHUMP ) strcpy(text, "Herstellung eines Stampfers m�glich");
+ if ( num == INFO_RESEARCHCANON ) strcpy(text, "Herstellung eines Shooters m�glich");
+ if ( num == INFO_RESEARCHTOWER ) strcpy(text, "Errichtung eines Gesch�tzturms m�glich");
+ if ( num == INFO_RESEARCHPHAZER ) strcpy(text, "Herstellung eines Phazershooters m�glich");
+ if ( num == INFO_RESEARCHSHIELD ) strcpy(text, "Herstellung eines Schutzschildes m�glich");
+ if ( num == INFO_RESEARCHATOMIC ) strcpy(text, "Errichtung einer Brennstoffzellenfabrik m�glich");
+ if ( num == INFO_FACTORY ) strcpy(text, "Neuer Roboter verf�gbar");
if ( num == INFO_LABO ) strcpy(text, "Analyse vollendet");
- if ( num == INFO_ENERGY ) strcpy(text, "Batterie verfügbar");
- if ( num == INFO_NUCLEAR ) strcpy(text, "Brennstoffzelle verfügbar");
+ if ( num == INFO_ENERGY ) strcpy(text, "Batterie verf�gbar");
+ if ( num == INFO_NUCLEAR ) strcpy(text, "Brennstoffzelle verf�gbar");
if ( num == INFO_FINDING ) strcpy(text, "Sie haben ein brauchbares Objekt gefunden");
- if ( num == INFO_MARKPOWER ) strcpy(text, "Geeignete Stelle für Kraftwerk gefunden");
- if ( num == INFO_MARKURANIUM ) strcpy(text, "Geeignete Stelle für Bohrturm gefunden");
- if ( num == INFO_MARKSTONE ) strcpy(text, "Geeignete Stelle für Bohrturm gefunden");
- if ( num == INFO_MARKKEYa ) strcpy(text, "Geeignete Stelle für Bohrturm gefunden");
- if ( num == INFO_MARKKEYb ) strcpy(text, "Geeignete Stelle für Bohrturm gefunden");
- if ( num == INFO_MARKKEYc ) strcpy(text, "Geeignete Stelle für Bohrturm gefunden");
- if ( num == INFO_MARKKEYd ) strcpy(text, "Geeignete Stelle für Bohrturm gefunden");
+ if ( num == INFO_MARKPOWER ) strcpy(text, "Geeignete Stelle f�r Kraftwerk gefunden");
+ if ( num == INFO_MARKURANIUM ) strcpy(text, "Geeignete Stelle f�r Bohrturm gefunden");
+ if ( num == INFO_MARKSTONE ) strcpy(text, "Geeignete Stelle f�r Bohrturm gefunden");
+ if ( num == INFO_MARKKEYa ) strcpy(text, "Geeignete Stelle f�r Bohrturm gefunden");
+ if ( num == INFO_MARKKEYb ) strcpy(text, "Geeignete Stelle f�r Bohrturm gefunden");
+ if ( num == INFO_MARKKEYc ) strcpy(text, "Geeignete Stelle f�r Bohrturm gefunden");
+ if ( num == INFO_MARKKEYd ) strcpy(text, "Geeignete Stelle f�r Bohrturm gefunden");
if ( num == INFO_WIN ) strcpy(text, "<<< Bravo, Mission vollendet >>>");
if ( num == INFO_LOST ) strcpy(text, "<<< Mission gescheitert >>>");
if ( num == INFO_LOSTq ) strcpy(text, "<<< Mission gescheitert >>>");
if ( num == INFO_WRITEOK ) strcpy(text, "Mission gespeichert");
if ( num == INFO_DELETEPATH ) strcpy(text, "Checkpoint erreicht");
- if ( num == INFO_DELETEMOTHER ) strcpy(text, "Insektenkönigin tödlich verwundet");
- if ( num == INFO_DELETEANT ) strcpy(text, "Ameise tödlich verwundet");
- if ( num == INFO_DELETEBEE ) strcpy(text, "Wespe tödlich verwundet");
- if ( num == INFO_DELETEWORM ) strcpy(text, "Wurm tödlich verwundet");
- if ( num == INFO_DELETESPIDER ) strcpy(text, "Spinne tödlich verwundet");
- if ( num == INFO_BEGINSATCOM ) strcpy(text, "Beziehen Sie sich auf Ihren SatCom, indem Sie auf \\key help; drücken");
+ if ( num == INFO_DELETEMOTHER ) strcpy(text, "Insektenk�nigin t�dlich verwundet");
+ if ( num == INFO_DELETEANT ) strcpy(text, "Ameise t�dlich verwundet");
+ if ( num == INFO_DELETEBEE ) strcpy(text, "Wespe t�dlich verwundet");
+ if ( num == INFO_DELETEWORM ) strcpy(text, "Wurm t�dlich verwundet");
+ if ( num == INFO_DELETESPIDER ) strcpy(text, "Spinne t�dlich verwundet");
+ if ( num == INFO_BEGINSATCOM ) strcpy(text, "Beziehen Sie sich auf Ihren SatCom, indem Sie auf \\key help; dr�cken");
}
if ( type == RES_CBOT )
@@ -2612,20 +2613,20 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == TX_CLOSEPAR ) strcpy(text, "Es fehlt eine geschlossene Klammer "")""");
if ( num == TX_NOTBOOL ) strcpy(text, "Der Ausdruck muss einen boolschen Wert ergeben");
if ( num == TX_UNDEFVAR ) strcpy(text, "Variable nicht deklariert");
- if ( num == TX_BADLEFT ) strcpy(text, "Zuweisung unmöglich");
+ if ( num == TX_BADLEFT ) strcpy(text, "Zuweisung unm�glich");
if ( num == TX_ENDOF ) strcpy(text, "Es fehlt ein Strichpunkt "";"" am Ende der Anweisung");
if ( num == TX_OUTCASE ) strcpy(text, "Anweisung ""case"" ohne vorhergehende Anweisung ""switch""");
if ( num == TX_NOTERM ) strcpy(text, "Hier ist eine Anweisung nach dem Ende des Programms");
if ( num == TX_CLOSEBLK ) strcpy(text, "Es fehlt eine geschlossene geschweifte Klammer ""}"" (Ende des Blocks)");
if ( num == TX_ELSEWITHOUTIF ) strcpy(text, "Anweisung ""else"" ohne vorhergehende Anweisung ""if""");
if ( num == TX_OPENBLK ) strcpy(text, "Es fehlt eine offene geschweifte Klammer""{""");
- if ( num == TX_BADTYPE ) strcpy(text, "Der Ausdruck ergibt einen falschen Typ für die Zuweisung");
+ if ( num == TX_BADTYPE ) strcpy(text, "Der Ausdruck ergibt einen falschen Typ f�r die Zuweisung");
if ( num == TX_REDEFVAR ) strcpy(text, "Eine Variable wird zum zweiten Mal deklariert");
if ( num == TX_BAD2TYPE ) strcpy(text, "Die zwei Operanden sind nicht kompatibel");
if ( num == TX_UNDEFCALL ) strcpy(text, "Unbekannte Funktion");
if ( num == TX_MISDOTS ) strcpy(text, "Es fehlt ein Doppelpunkt "" : """);
if ( num == TX_WHILE ) strcpy(text, "Es fehlt das Wort ""while""");
- if ( num == TX_BREAK ) strcpy(text, "Anweisung ""break"" außerhalb einer Schleife");
+ if ( num == TX_BREAK ) strcpy(text, "Anweisung ""break"" au�erhalb einer Schleife");
if ( num == TX_LABEL ) strcpy(text, "Ein Label kann nur vor den Anweisungen ""for"", ""while"", ""do"" oder ""switch"" vorkommen");
if ( num == TX_NOLABEL ) strcpy(text, "Dieses Label existiert nicht");
if ( num == TX_NOCASE ) strcpy(text, "Es fehlt eine Anweisung ""case""");
@@ -2637,34 +2638,34 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == TX_OVERPARAM ) strcpy(text, "Zu viele Parameter");
if ( num == TX_REDEF ) strcpy(text, "Diese Funktion gibt es schon");
if ( num == TX_LOWPARAM ) strcpy(text, "Nicht genug Parameter");
- if ( num == TX_BADPARAM ) strcpy(text, "Keine Funktion mit diesem Namen verträgt Parameter diesen Typs");
- if ( num == TX_NUMPARAM ) strcpy(text, "Keine Funktion mit diesem Namen verträgt diese Anzahl Parameter");
+ if ( num == TX_BADPARAM ) strcpy(text, "Keine Funktion mit diesem Namen vertr�gt Parameter diesen Typs");
+ if ( num == TX_NUMPARAM ) strcpy(text, "Keine Funktion mit diesem Namen vertr�gt diese Anzahl Parameter");
if ( num == TX_NOITEM ) strcpy(text, "Dieses Element gibt es nicht in dieser Klasse");
if ( num == TX_DOT ) strcpy(text, "Das Objekt ist nicht eine Instanz einer Klasse");
if ( num == TX_NOCONST ) strcpy(text, "Es gibt keinen geeigneten Konstruktor");
if ( num == TX_REDEFCLASS ) strcpy(text, "Diese Klasse gibt es schon");
if ( num == TX_CLBRK ) strcpy(text, "Es fehlt eine geschlossene eckige Klammer "" ] """);
if ( num == TX_RESERVED ) strcpy(text, "Dieses Wort ist reserviert");
- if ( num == TX_BADNEW ) strcpy(text, "Falsche Argumente für ""new""");
+ if ( num == TX_BADNEW ) strcpy(text, "Falsche Argumente f�r ""new""");
if ( num == TX_OPBRK ) strcpy(text, "Es fehlt eine offene eckige Klammer "" [ """);
if ( num == TX_BADSTRING ) strcpy(text, "Hier wird eine Zeichenkette erwartet");
- if ( num == TX_BADINDEX ) strcpy(text, "Falscher Typ für einen Index");
- if ( num == TX_PRIVATE ) strcpy(text, "Geschütztes Element (private)");
+ if ( num == TX_BADINDEX ) strcpy(text, "Falscher Typ f�r einen Index");
+ if ( num == TX_PRIVATE ) strcpy(text, "Gesch�tztes Element (private)");
if ( num == TX_NOPUBLIC ) strcpy(text, "Hier muss das Wort ""public"" stehen");
if ( num == TX_DIVZERO ) strcpy(text, "Teilung durch Null");
if ( num == TX_NOTINIT ) strcpy(text, "Der Wert dieser Variable wurde nicht definiert");
- if ( num == TX_BADTHROW ) strcpy(text, "Negativer Wert ungeeignet für Anweisung ""throw""");
- if ( num == TX_NORETVAL ) strcpy(text, "Die Funktion hat kein Ergebnis zurückgegeben");
- if ( num == TX_NORUN ) strcpy(text, "Keine Funktion wird ausgeführt");
+ if ( num == TX_BADTHROW ) strcpy(text, "Negativer Wert ungeeignet f�r Anweisung ""throw""");
+ if ( num == TX_NORETVAL ) strcpy(text, "Die Funktion hat kein Ergebnis zur�ckgegeben");
+ if ( num == TX_NORUN ) strcpy(text, "Keine Funktion wird ausgef�hrt");
if ( num == TX_NOCALL ) strcpy(text, "Die aufgerufene Funktion existiert nicht");
if ( num == TX_NOCLASS ) strcpy(text, "Diese Klasse existiert nicht");
if ( num == TX_NULLPT ) strcpy(text, "Das Objekt existiert nicht");
if ( num == TX_OPNAN ) strcpy(text, "Operation mit dem Wert ""nan""");
- if ( num == TX_OUTARRAY ) strcpy(text, "Zugriff im Array außerhalb der Grenzen");
+ if ( num == TX_OUTARRAY ) strcpy(text, "Zugriff im Array au�erhalb der Grenzen");
if ( num == TX_STACKOVER ) strcpy(text, "Stack overflow");
- if ( num == TX_DELETEDPT ) strcpy(text, "Objekt nicht verfügbar");
- if ( num == TX_FILEOPEN ) strcpy(text, "Die Datei kann nicht geöffnet werden");
- if ( num == TX_NOTOPEN ) strcpy(text, "Die Datei wurde nicht geöffnet");
+ if ( num == TX_DELETEDPT ) strcpy(text, "Objekt nicht verf�gbar");
+ if ( num == TX_FILEOPEN ) strcpy(text, "Die Datei kann nicht ge�ffnet werden");
+ if ( num == TX_NOTOPEN ) strcpy(text, "Die Datei wurde nicht ge�ffnet");
if ( num == TX_ERRREAD ) strcpy(text, "Fehler beim Lesezugriff");
if ( num == TX_ERRWRITE ) strcpy(text, "Fehler beim Schreibzugriff");
}
@@ -2672,115 +2673,115 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( type == RES_KEY )
{
if ( num == 0 ) strcpy(text, "< keine >");
- if ( num == VK_LEFT ) strcpy(text, "Pfeiltaste links");
- if ( num == VK_RIGHT ) strcpy(text, "Pfeiltaste rechts");
- if ( num == VK_UP ) strcpy(text, "Pfeil nach oben");
- if ( num == VK_DOWN ) strcpy(text, "Pfeil nach unten");
- if ( num == VK_CANCEL ) strcpy(text, "Ctrl-Break");
- if ( num == VK_BACK ) strcpy(text, "<--");
- if ( num == VK_TAB ) strcpy(text, "Tab");
- if ( num == VK_CLEAR ) strcpy(text, "Clear");
- if ( num == VK_RETURN ) strcpy(text, "Eingabe");
- if ( num == VK_SHIFT ) strcpy(text, "Shift");
- if ( num == VK_CONTROL ) strcpy(text, "Ctrl");
- if ( num == VK_MENU ) strcpy(text, "Alt");
- if ( num == VK_PAUSE ) strcpy(text, "Pause");
- if ( num == VK_CAPITAL ) strcpy(text, "Caps Lock");
- if ( num == VK_ESCAPE ) strcpy(text, "Esc");
- if ( num == VK_SPACE ) strcpy(text, "Leertaste");
- if ( num == VK_PRIOR ) strcpy(text, "Page Up");
- if ( num == VK_NEXT ) strcpy(text, "Page Down");
- if ( num == VK_END ) strcpy(text, "End");
- if ( num == VK_HOME ) strcpy(text, "Home");
- if ( num == VK_SELECT ) strcpy(text, "Select");
- if ( num == VK_EXECUTE ) strcpy(text, "Execute");
- if ( num == VK_SNAPSHOT ) strcpy(text, "Print Scrn");
- if ( num == VK_INSERT ) strcpy(text, "Insert");
- if ( num == VK_DELETE ) strcpy(text, "Delete");
- if ( num == VK_HELP ) strcpy(text, "Help");
- if ( num == VK_LWIN ) strcpy(text, "Left Windows");
- if ( num == VK_RWIN ) strcpy(text, "Right Windows");
- if ( num == VK_APPS ) strcpy(text, "Application key");
- if ( num == VK_NUMPAD0 ) strcpy(text, "NumPad 0");
- if ( num == VK_NUMPAD1 ) strcpy(text, "NumPad 1");
- if ( num == VK_NUMPAD2 ) strcpy(text, "NumPad 2");
- if ( num == VK_NUMPAD3 ) strcpy(text, "NumPad 3");
- if ( num == VK_NUMPAD4 ) strcpy(text, "NumPad 4");
- if ( num == VK_NUMPAD5 ) strcpy(text, "NumPad 5");
- if ( num == VK_NUMPAD6 ) strcpy(text, "NumPad 6");
- if ( num == VK_NUMPAD7 ) strcpy(text, "NumPad 7");
- if ( num == VK_NUMPAD8 ) strcpy(text, "NumPad 8");
- if ( num == VK_NUMPAD9 ) strcpy(text, "NumPad 9");
- if ( num == VK_MULTIPLY ) strcpy(text, "NumPad *");
- if ( num == VK_ADD ) strcpy(text, "NumPad +");
- if ( num == VK_SEPARATOR ) strcpy(text, "NumPad sep");
- if ( num == VK_SUBTRACT ) strcpy(text, "NumPad -");
- if ( num == VK_DECIMAL ) strcpy(text, "NumPad .");
- if ( num == VK_DIVIDE ) strcpy(text, "NumPad /");
- if ( num == VK_F1 ) strcpy(text, "F1");
- if ( num == VK_F2 ) strcpy(text, "F2");
- if ( num == VK_F3 ) strcpy(text, "F3");
- if ( num == VK_F4 ) strcpy(text, "F4");
- if ( num == VK_F5 ) strcpy(text, "F5");
- if ( num == VK_F6 ) strcpy(text, "F6");
- if ( num == VK_F7 ) strcpy(text, "F7");
- if ( num == VK_F8 ) strcpy(text, "F8");
- if ( num == VK_F9 ) strcpy(text, "F9");
- if ( num == VK_F10 ) strcpy(text, "F10");
- if ( num == VK_F11 ) strcpy(text, "F11");
- if ( num == VK_F12 ) strcpy(text, "F12");
- if ( num == VK_F13 ) strcpy(text, "F13");
- if ( num == VK_F14 ) strcpy(text, "F14");
- if ( num == VK_F15 ) strcpy(text, "F15");
- if ( num == VK_F16 ) strcpy(text, "F16");
- if ( num == VK_F17 ) strcpy(text, "F17");
- if ( num == VK_F18 ) strcpy(text, "F18");
- if ( num == VK_F19 ) strcpy(text, "F19");
- if ( num == VK_F20 ) strcpy(text, "F20");
- if ( num == VK_NUMLOCK ) strcpy(text, "Num Lock");
- if ( num == VK_SCROLL ) strcpy(text, "Scroll");
- if ( num == VK_ATTN ) strcpy(text, "Attn");
- if ( num == VK_CRSEL ) strcpy(text, "CrSel");
- if ( num == VK_EXSEL ) strcpy(text, "ExSel");
- if ( num == VK_EREOF ) strcpy(text, "Erase EOF");
- if ( num == VK_PLAY ) strcpy(text, "Play");
- if ( num == VK_ZOOM ) strcpy(text, "Zoom");
- if ( num == VK_PA1 ) strcpy(text, "PA1");
- if ( num == VK_OEM_CLEAR ) strcpy(text, "Clear");
- if ( num == VK_BUTTON1 ) strcpy(text, "Knopf 1");
- if ( num == VK_BUTTON2 ) strcpy(text, "Knopf 2");
- if ( num == VK_BUTTON3 ) strcpy(text, "Knopf 3");
- if ( num == VK_BUTTON4 ) strcpy(text, "Knopf 4");
- if ( num == VK_BUTTON5 ) strcpy(text, "Knopf 5");
- if ( num == VK_BUTTON6 ) strcpy(text, "Knopf 6");
- if ( num == VK_BUTTON7 ) strcpy(text, "Knopf 7");
- if ( num == VK_BUTTON8 ) strcpy(text, "Knopf 8");
- if ( num == VK_BUTTON9 ) strcpy(text, "Knopf 9");
- if ( num == VK_BUTTON10 ) strcpy(text, "Knopf 10");
- if ( num == VK_BUTTON11 ) strcpy(text, "Knopf 11");
- if ( num == VK_BUTTON12 ) strcpy(text, "Knopf 12");
- if ( num == VK_BUTTON13 ) strcpy(text, "Knopf 13");
- if ( num == VK_BUTTON14 ) strcpy(text, "Knopf 14");
- if ( num == VK_BUTTON15 ) strcpy(text, "Knopf 15");
- if ( num == VK_BUTTON16 ) strcpy(text, "Knopf 16");
- if ( num == VK_BUTTON17 ) strcpy(text, "Knopf 17");
- if ( num == VK_BUTTON18 ) strcpy(text, "Knopf 18");
- if ( num == VK_BUTTON19 ) strcpy(text, "Knopf 19");
- if ( num == VK_BUTTON20 ) strcpy(text, "Knopf 20");
- if ( num == VK_BUTTON21 ) strcpy(text, "Knopf 21");
- if ( num == VK_BUTTON22 ) strcpy(text, "Knopf 22");
- if ( num == VK_BUTTON23 ) strcpy(text, "Knopf 23");
- if ( num == VK_BUTTON24 ) strcpy(text, "Knopf 24");
- if ( num == VK_BUTTON25 ) strcpy(text, "Knopf 25");
- if ( num == VK_BUTTON26 ) strcpy(text, "Knopf 26");
- if ( num == VK_BUTTON27 ) strcpy(text, "Knopf 27");
- if ( num == VK_BUTTON28 ) strcpy(text, "Knopf 28");
- if ( num == VK_BUTTON29 ) strcpy(text, "Knopf 29");
- if ( num == VK_BUTTON30 ) strcpy(text, "Knopf 30");
- if ( num == VK_BUTTON31 ) strcpy(text, "Knopf 31");
- if ( num == VK_BUTTON32 ) strcpy(text, "Knopf 32");
- if ( num == VK_WHEELUP ) strcpy(text, "Mausrad nach vorne");
- if ( num == VK_WHEELDOWN ) strcpy(text, "Mausrad zurück");
+ if ( num == SDLK_LEFT ) strcpy(text, "Pfeiltaste links");
+ if ( num == SDLK_RIGHT ) strcpy(text, "Pfeiltaste rechts");
+ if ( num == SDLK_UP ) strcpy(text, "Pfeil nach oben");
+ if ( num == SDLK_DOWN ) strcpy(text, "Pfeil nach unten");
+ if ( num == SDLK_CANCEL ) strcpy(text, "Ctrl-Break");
+ if ( num == SDLK_BACK ) strcpy(text, "<--");
+ if ( num == SDLK_TAB ) strcpy(text, "Tab");
+ if ( num == SDLK_CLEAR ) strcpy(text, "Clear");
+ if ( num == SDLK_RETURN ) strcpy(text, "Eingabe");
+ if ( num == SDLK_SHIFT ) strcpy(text, "Shift");
+ if ( num == SDLK_CONTROL ) strcpy(text, "Ctrl");
+ if ( num == SDLK_MENU ) strcpy(text, "Alt");
+ if ( num == SDLK_PAUSE ) strcpy(text, "Pause");
+ if ( num == SDLK_CAPITAL ) strcpy(text, "Caps Lock");
+ if ( num == SDLK_ESCAPE ) strcpy(text, "Esc");
+ if ( num == SDLK_SPACE ) strcpy(text, "Leertaste");
+ if ( num == SDLK_PRIOR ) strcpy(text, "Page Up");
+ if ( num == SDLK_NEXT ) strcpy(text, "Page Down");
+ if ( num == SDLK_END ) strcpy(text, "End");
+ if ( num == SDLK_HOME ) strcpy(text, "Home");
+ if ( num == SDLK_SELECT ) strcpy(text, "Select");
+ if ( num == SDLK_EXECUTE ) strcpy(text, "Execute");
+ if ( num == SDLK_SNAPSHOT ) strcpy(text, "Print Scrn");
+ if ( num == SDLK_INSERT ) strcpy(text, "Insert");
+ if ( num == SDLK_DELETE ) strcpy(text, "Delete");
+ if ( num == SDLK_HELP ) strcpy(text, "Help");
+ if ( num == SDLK_LWIN ) strcpy(text, "Left Windows");
+ if ( num == SDLK_RWIN ) strcpy(text, "Right Windows");
+ if ( num == SDLK_APPS ) strcpy(text, "Application key");
+ if ( num == SDLK_NUMPAD0 ) strcpy(text, "NumPad 0");
+ if ( num == SDLK_NUMPAD1 ) strcpy(text, "NumPad 1");
+ if ( num == SDLK_NUMPAD2 ) strcpy(text, "NumPad 2");
+ if ( num == SDLK_NUMPAD3 ) strcpy(text, "NumPad 3");
+ if ( num == SDLK_NUMPAD4 ) strcpy(text, "NumPad 4");
+ if ( num == SDLK_NUMPAD5 ) strcpy(text, "NumPad 5");
+ if ( num == SDLK_NUMPAD6 ) strcpy(text, "NumPad 6");
+ if ( num == SDLK_NUMPAD7 ) strcpy(text, "NumPad 7");
+ if ( num == SDLK_NUMPAD8 ) strcpy(text, "NumPad 8");
+ if ( num == SDLK_NUMPAD9 ) strcpy(text, "NumPad 9");
+ if ( num == SDLK_MULTIPLY ) strcpy(text, "NumPad *");
+ if ( num == SDLK_ADD ) strcpy(text, "NumPad +");
+ if ( num == SDLK_SEPARATOR ) strcpy(text, "NumPad sep");
+ if ( num == SDLK_SUBTRACT ) strcpy(text, "NumPad -");
+ if ( num == SDLK_DECIMAL ) strcpy(text, "NumPad .");
+ if ( num == SDLK_DIVIDE ) strcpy(text, "NumPad /");
+ if ( num == SDLK_F1 ) strcpy(text, "F1");
+ if ( num == SDLK_F2 ) strcpy(text, "F2");
+ if ( num == SDLK_F3 ) strcpy(text, "F3");
+ if ( num == SDLK_F4 ) strcpy(text, "F4");
+ if ( num == SDLK_F5 ) strcpy(text, "F5");
+ if ( num == SDLK_F6 ) strcpy(text, "F6");
+ if ( num == SDLK_F7 ) strcpy(text, "F7");
+ if ( num == SDLK_F8 ) strcpy(text, "F8");
+ if ( num == SDLK_F9 ) strcpy(text, "F9");
+ if ( num == SDLK_F10 ) strcpy(text, "F10");
+ if ( num == SDLK_F11 ) strcpy(text, "F11");
+ if ( num == SDLK_F12 ) strcpy(text, "F12");
+ if ( num == SDLK_F13 ) strcpy(text, "F13");
+ if ( num == SDLK_F14 ) strcpy(text, "F14");
+ if ( num == SDLK_F15 ) strcpy(text, "F15");
+ if ( num == SDLK_F16 ) strcpy(text, "F16");
+ if ( num == SDLK_F17 ) strcpy(text, "F17");
+ if ( num == SDLK_F18 ) strcpy(text, "F18");
+ if ( num == SDLK_F19 ) strcpy(text, "F19");
+ if ( num == SDLK_F20 ) strcpy(text, "F20");
+ if ( num == SDLK_NUMLOCK ) strcpy(text, "Num Lock");
+ if ( num == SDLK_SCROLL ) strcpy(text, "Scroll");
+ if ( num == SDLK_ATTN ) strcpy(text, "Attn");
+ if ( num == SDLK_CRSEL ) strcpy(text, "CrSel");
+ if ( num == SDLK_EXSEL ) strcpy(text, "ExSel");
+ if ( num == SDLK_EREOF ) strcpy(text, "Erase EOF");
+ if ( num == SDLK_PLAY ) strcpy(text, "Play");
+ if ( num == SDLK_ZOOM ) strcpy(text, "Zoom");
+ if ( num == SDLK_PA1 ) strcpy(text, "PA1");
+ if ( num == SDLK_OEM_CLEAR ) strcpy(text, "Clear");
+ if ( num == SDLK_BUTTON1 ) strcpy(text, "Knopf 1");
+ if ( num == SDLK_BUTTON2 ) strcpy(text, "Knopf 2");
+ if ( num == SDLK_BUTTON3 ) strcpy(text, "Knopf 3");
+ if ( num == SDLK_BUTTON4 ) strcpy(text, "Knopf 4");
+ if ( num == SDLK_BUTTON5 ) strcpy(text, "Knopf 5");
+ if ( num == SDLK_BUTTON6 ) strcpy(text, "Knopf 6");
+ if ( num == SDLK_BUTTON7 ) strcpy(text, "Knopf 7");
+ if ( num == SDLK_BUTTON8 ) strcpy(text, "Knopf 8");
+ if ( num == SDLK_BUTTON9 ) strcpy(text, "Knopf 9");
+ if ( num == SDLK_BUTTON10 ) strcpy(text, "Knopf 10");
+ if ( num == SDLK_BUTTON11 ) strcpy(text, "Knopf 11");
+ if ( num == SDLK_BUTTON12 ) strcpy(text, "Knopf 12");
+ if ( num == SDLK_BUTTON13 ) strcpy(text, "Knopf 13");
+ if ( num == SDLK_BUTTON14 ) strcpy(text, "Knopf 14");
+ if ( num == SDLK_BUTTON15 ) strcpy(text, "Knopf 15");
+ if ( num == SDLK_BUTTON16 ) strcpy(text, "Knopf 16");
+ if ( num == SDLK_BUTTON17 ) strcpy(text, "Knopf 17");
+ if ( num == SDLK_BUTTON18 ) strcpy(text, "Knopf 18");
+ if ( num == SDLK_BUTTON19 ) strcpy(text, "Knopf 19");
+ if ( num == SDLK_BUTTON20 ) strcpy(text, "Knopf 20");
+ if ( num == SDLK_BUTTON21 ) strcpy(text, "Knopf 21");
+ if ( num == SDLK_BUTTON22 ) strcpy(text, "Knopf 22");
+ if ( num == SDLK_BUTTON23 ) strcpy(text, "Knopf 23");
+ if ( num == SDLK_BUTTON24 ) strcpy(text, "Knopf 24");
+ if ( num == SDLK_BUTTON25 ) strcpy(text, "Knopf 25");
+ if ( num == SDLK_BUTTON26 ) strcpy(text, "Knopf 26");
+ if ( num == SDLK_BUTTON27 ) strcpy(text, "Knopf 27");
+ if ( num == SDLK_BUTTON28 ) strcpy(text, "Knopf 28");
+ if ( num == SDLK_BUTTON29 ) strcpy(text, "Knopf 29");
+ if ( num == SDLK_BUTTON30 ) strcpy(text, "Knopf 30");
+ if ( num == SDLK_BUTTON31 ) strcpy(text, "Knopf 31");
+ if ( num == SDLK_BUTTON32 ) strcpy(text, "Knopf 32");
+ if ( num == SDLK_WHEELUP ) strcpy(text, "Mausrad nach vorne");
+ if ( num == SDLK_WHEELDOWN ) strcpy(text, "Mausrad zur�ck");
}
#endif
@@ -2818,9 +2819,9 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == RT_VERSION_ID ) strcpy(text, "Demo 1.18 /pl");
#endif
if ( num == RT_DISINFO_TITLE ) strcpy(text, "SatCom");
- if ( num == RT_WINDOW_MAXIMIZED ) strcpy(text, "Powiêksz");
+ if ( num == RT_WINDOW_MAXIMIZED ) strcpy(text, "Powi�ksz");
if ( num == RT_WINDOW_MINIMIZED ) strcpy(text, "Pomniejsz");
- if ( num == RT_WINDOW_STANDARD ) strcpy(text, "Normalna wielkoϾ");
+ if ( num == RT_WINDOW_STANDARD ) strcpy(text, "Normalna wielko��");
if ( num == RT_WINDOW_CLOSE ) strcpy(text, "Zamknij");
if ( num == RT_STUDIO_TITLE ) strcpy(text, "Edytor programu");
@@ -2836,27 +2837,27 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == RT_TITLE_BASE ) strcpy(text, "COLOBOT");
if ( num == RT_TITLE_INIT ) strcpy(text, "COLOBOT");
#endif
- if ( num == RT_TITLE_TRAINER ) strcpy(text, "Æwiczenia programistyczne");
+ if ( num == RT_TITLE_TRAINER ) strcpy(text, "�wiczenia programistyczne");
if ( num == RT_TITLE_DEFI ) strcpy(text, "Wyzwania");
if ( num == RT_TITLE_MISSION ) strcpy(text, "Misje");
if ( num == RT_TITLE_FREE ) strcpy(text, "Swobodna gra");
if ( num == RT_TITLE_TEEN ) strcpy(text, "Swobodna gra");
- if ( num == RT_TITLE_USER ) strcpy(text, "Poziomy u¿ytkownika");
+ if ( num == RT_TITLE_USER ) strcpy(text, "Poziomy u�ytkownika");
if ( num == RT_TITLE_PROTO ) strcpy(text, "Prototypy");
if ( num == RT_TITLE_SETUP ) strcpy(text, "Opcje");
- if ( num == RT_TITLE_NAME ) strcpy(text, "Imiê gracza");
- if ( num == RT_TITLE_PERSO ) strcpy(text, "Dostosuj wygl¹d");
- if ( num == RT_TITLE_WRITE ) strcpy(text, "Zapisz bie¿¹c¹ misjê");
- if ( num == RT_TITLE_READ ) strcpy(text, "Wczytaj zapisan¹ misjê");
+ if ( num == RT_TITLE_NAME ) strcpy(text, "Imi� gracza");
+ if ( num == RT_TITLE_PERSO ) strcpy(text, "Dostosuj wygl�d");
+ if ( num == RT_TITLE_WRITE ) strcpy(text, "Zapisz bie��c� misj�");
+ if ( num == RT_TITLE_READ ) strcpy(text, "Wczytaj zapisan� misj�");
- if ( num == RT_PLAY_CHAPt ) strcpy(text, " Rozdzia³y:");
- if ( num == RT_PLAY_CHAPd ) strcpy(text, " Rozdzia³y:");
+ if ( num == RT_PLAY_CHAPt ) strcpy(text, " Rozdzia�y:");
+ if ( num == RT_PLAY_CHAPd ) strcpy(text, " Rozdzia�y:");
if ( num == RT_PLAY_CHAPm ) strcpy(text, " Planety:");
if ( num == RT_PLAY_CHAPf ) strcpy(text, " Planety:");
- if ( num == RT_PLAY_CHAPu ) strcpy(text, " Poziomy u¿ytkownika:");
+ if ( num == RT_PLAY_CHAPu ) strcpy(text, " Poziomy u�ytkownika:");
if ( num == RT_PLAY_CHAPp ) strcpy(text, " Planety:");
if ( num == RT_PLAY_CHAPte ) strcpy(text, " Planety:");
- if ( num == RT_PLAY_LISTt ) strcpy(text, " Æwiczenia w tym rozdziale:");
+ if ( num == RT_PLAY_LISTt ) strcpy(text, " �wiczenia w tym rozdziale:");
if ( num == RT_PLAY_LISTd ) strcpy(text, " Wyzwania w tym rozdziale:");
if ( num == RT_PLAY_LISTm ) strcpy(text, " Misje na tej planecie:");
if ( num == RT_PLAY_LISTf ) strcpy(text, " Swobodna gra na tej planecie:");
@@ -2866,57 +2867,57 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == RT_PLAY_RESUME ) strcpy(text, " Streszczenie:");
if ( num == RT_SETUP_DEVICE ) strcpy(text, " Sterowniki:");
- if ( num == RT_SETUP_MODE ) strcpy(text, " RozdzielczoϾ:");
- if ( num == RT_SETUP_KEY1 ) strcpy(text, "1) Najpierw kliknij klawisz, który chcesz przedefiniowaæ.");
- if ( num == RT_SETUP_KEY2 ) strcpy(text, "2) Nastêpnie naciœnij klawisz, którego chcesz u¿ywaæ.");
+ if ( num == RT_SETUP_MODE ) strcpy(text, " Rozdzielczo��:");
+ if ( num == RT_SETUP_KEY1 ) strcpy(text, "1) Najpierw kliknij klawisz, kt�ry chcesz przedefiniowa�.");
+ if ( num == RT_SETUP_KEY2 ) strcpy(text, "2) Nast�pnie naci�nij klawisz, kt�rego chcesz u�ywa�.");
if ( num == RT_PERSO_FACE ) strcpy(text, "Rodzaj twarzy:");
if ( num == RT_PERSO_GLASSES ) strcpy(text, "Okulary:");
- if ( num == RT_PERSO_HAIR ) strcpy(text, "Kolor w³osów:");
+ if ( num == RT_PERSO_HAIR ) strcpy(text, "Kolor w�os�w:");
if ( num == RT_PERSO_COMBI ) strcpy(text, "Kolor skafandra:");
- if ( num == RT_PERSO_BAND ) strcpy(text, "Kolor pasków:");
+ if ( num == RT_PERSO_BAND ) strcpy(text, "Kolor pask�w:");
#if _NEWLOOK
if ( num == RT_DIALOG_TITLE ) strcpy(text, "CeeBot");
- if ( num == RT_DIALOG_QUIT ) strcpy(text, "Czy na pewno chcesz opuœciæ grê CeeBot?");
- if ( num == RT_DIALOG_YESQUIT ) strcpy(text, "Zakoñcz\\Koñczy grê CeeBot");
+ if ( num == RT_DIALOG_QUIT ) strcpy(text, "Czy na pewno chcesz opu�ci� gr� CeeBot?");
+ if ( num == RT_DIALOG_YESQUIT ) strcpy(text, "Zako�cz\\Ko�czy gr� CeeBot");
#else
if ( num == RT_DIALOG_TITLE ) strcpy(text, "COLOBOT");
- if ( num == RT_DIALOG_QUIT ) strcpy(text, "Czy na pewno chcesz opuœciæ grê COLOBOT?");
- if ( num == RT_DIALOG_YESQUIT ) strcpy(text, "Zakoñcz\\Koñczy grê COLOBOT");
+ if ( num == RT_DIALOG_QUIT ) strcpy(text, "Czy na pewno chcesz opu�ci� gr� COLOBOT?");
+ if ( num == RT_DIALOG_YESQUIT ) strcpy(text, "Zako�cz\\Ko�czy gr� COLOBOT");
#endif
- if ( num == RT_DIALOG_ABORT ) strcpy(text, "Opuœciæ misjê?");
- if ( num == RT_DIALOG_YES ) strcpy(text, "Przerwij\\Przerywa bie¿¹c¹ misjê");
- if ( num == RT_DIALOG_NO ) strcpy(text, "Kontynuuj\\Kontynuuje bie¿¹c¹ misjê");
- if ( num == RT_DIALOG_NOQUIT ) strcpy(text, "Kontynuuj\\Kontynuuje grê");
- if ( num == RT_DIALOG_DELOBJ ) strcpy(text, "Czy na pewno chcesz zniszczyæ zaznaczony budynek?");
- if ( num == RT_DIALOG_DELGAME ) strcpy(text, "Czy na pewno chcesz skasowaæ zapisane gry gracza %s? ");
- if ( num == RT_DIALOG_YESDEL ) strcpy(text, "Usuñ");
+ if ( num == RT_DIALOG_ABORT ) strcpy(text, "Opu�ci� misj�?");
+ if ( num == RT_DIALOG_YES ) strcpy(text, "Przerwij\\Przerywa bie��c� misj�");
+ if ( num == RT_DIALOG_NO ) strcpy(text, "Kontynuuj\\Kontynuuje bie��c� misj�");
+ if ( num == RT_DIALOG_NOQUIT ) strcpy(text, "Kontynuuj\\Kontynuuje gr�");
+ if ( num == RT_DIALOG_DELOBJ ) strcpy(text, "Czy na pewno chcesz zniszczy� zaznaczony budynek?");
+ if ( num == RT_DIALOG_DELGAME ) strcpy(text, "Czy na pewno chcesz skasowa� zapisane gry gracza %s? ");
+ if ( num == RT_DIALOG_YESDEL ) strcpy(text, "Usu�");
if ( num == RT_DIALOG_NODEL ) strcpy(text, "Anuluj");
if ( num == RT_DIALOG_LOADING ) strcpy(text, "WCZYTYWANIE");
- if ( num == RT_STUDIO_LISTTT ) strcpy(text, "Skróty klawiszowe (\\key cbot;)");
- if ( num == RT_STUDIO_COMPOK ) strcpy(text, "Program skompilowany (0 b³êdów)");
- if ( num == RT_STUDIO_PROGSTOP ) strcpy(text, "Program zakoñczony");
+ if ( num == RT_STUDIO_LISTTT ) strcpy(text, "Skr�ty klawiszowe (\\key cbot;)");
+ if ( num == RT_STUDIO_COMPOK ) strcpy(text, "Program skompilowany (0 b��d�w)");
+ if ( num == RT_STUDIO_PROGSTOP ) strcpy(text, "Program zako�czony");
- if ( num == RT_SATCOM_LIST ) strcpy(text, "\\b;Lista obiektów\n");
+ if ( num == RT_SATCOM_LIST ) strcpy(text, "\\b;Lista obiekt�w\n");
if ( num == RT_SATCOM_BOT ) strcpy(text, "\\b;Roboty\n");
if ( num == RT_SATCOM_BUILDING ) strcpy(text, "\\b;Budynki\n");
if ( num == RT_SATCOM_FRET ) strcpy(text, "\\b;Obiekty ruchome\n");
if ( num == RT_SATCOM_ALIEN ) strcpy(text, "\\b;Obcy\n");
if ( num == RT_SATCOM_NULL ) strcpy(text, "\\c; (brak)\\n;\n");
- if ( num == RT_SATCOM_ERROR1 ) strcpy(text, "\\b;B³¹d\n");
- if ( num == RT_SATCOM_ERROR2 ) strcpy(text, "Lista jest dostêpna jedynie gdy dzia³a \\l;stacja radarowa\\u object\\radar;.\n");
+ if ( num == RT_SATCOM_ERROR1 ) strcpy(text, "\\b;B��d\n");
+ if ( num == RT_SATCOM_ERROR2 ) strcpy(text, "Lista jest dost�pna jedynie gdy dzia�a \\l;stacja radarowa\\u object\\radar;.\n");
- if ( num == RT_IO_OPEN ) strcpy(text, "Otwórz");
+ if ( num == RT_IO_OPEN ) strcpy(text, "Otw�rz");
if ( num == RT_IO_SAVE ) strcpy(text, "Zapisz");
if ( num == RT_IO_LIST ) strcpy(text, "Folder: %s");
if ( num == RT_IO_NAME ) strcpy(text, "Nazwa:");
if ( num == RT_IO_DIR ) strcpy(text, "Folder:");
if ( num == RT_IO_PRIVATE ) strcpy(text, "Prywatny\\Folder prywatny");
- if ( num == RT_IO_PUBLIC ) strcpy(text, "Publiczny\\Folder ogólnodostêpny");
+ if ( num == RT_IO_PUBLIC ) strcpy(text, "Publiczny\\Folder og�lnodost�pny");
- if ( num == RT_GENERIC_DEV1 ) strcpy(text, "Twórcy:");
+ if ( num == RT_GENERIC_DEV1 ) strcpy(text, "Tw�rcy:");
if ( num == RT_GENERIC_DEV2 ) strcpy(text, "www.epsitec.com");
if ( num == RT_GENERIC_EDIT1 ) strcpy(text, "Wersja polska wydana przez:");
if ( num == RT_GENERIC_EDIT2 ) strcpy(text, "www.manta.com.pl");
@@ -2930,133 +2931,133 @@ bool GetResourceBase(ResType type, int num, char* text)
{
if ( num == EVENT_BUTTON_OK ) strcpy(text, "OK");
if ( num == EVENT_BUTTON_CANCEL ) strcpy(text, "Anuluj");
- if ( num == EVENT_BUTTON_NEXT ) strcpy(text, "Nastêpny");
+ if ( num == EVENT_BUTTON_NEXT ) strcpy(text, "Nast�pny");
if ( num == EVENT_BUTTON_PREV ) strcpy(text, "Poprzedni");
if ( num == EVENT_BUTTON_QUIT ) strcpy(text, "Menu (\\key quit;)");
if ( num == EVENT_DIALOG_OK ) strcpy(text, "OK");
if ( num == EVENT_DIALOG_CANCEL ) strcpy(text, "Anuluj");
- if ( num == EVENT_INTERFACE_TRAINER) strcpy(text, "Æwiczenia\\Æwiczenia programistyczne");
+ if ( num == EVENT_INTERFACE_TRAINER) strcpy(text, "�wiczenia\\�wiczenia programistyczne");
if ( num == EVENT_INTERFACE_DEFI ) strcpy(text, "Wyzwania\\Wyzwania programistyczne");
- if ( num == EVENT_INTERFACE_MISSION) strcpy(text, "Misje\\Wybierz misjê");
- if ( num == EVENT_INTERFACE_FREE ) strcpy(text, "Swobodna gra\\Swobodna gra bez konkretnych celów");
- if ( num == EVENT_INTERFACE_TEEN ) strcpy(text, "Swobodna gra\\Swobodna gra bez konkretnych celów");
- if ( num == EVENT_INTERFACE_USER ) strcpy(text, "Poziomy\\Poziomy u¿ytkownika");
+ if ( num == EVENT_INTERFACE_MISSION) strcpy(text, "Misje\\Wybierz misj�");
+ if ( num == EVENT_INTERFACE_FREE ) strcpy(text, "Swobodna gra\\Swobodna gra bez konkretnych cel�w");
+ if ( num == EVENT_INTERFACE_TEEN ) strcpy(text, "Swobodna gra\\Swobodna gra bez konkretnych cel�w");
+ if ( num == EVENT_INTERFACE_USER ) strcpy(text, "Poziomy\\Poziomy u�ytkownika");
if ( num == EVENT_INTERFACE_PROTO ) strcpy(text, "Prototypy\\Prototypy w trakcie rozwijania");
- if ( num == EVENT_INTERFACE_NAME ) strcpy(text, "Nowy gracz\\Wybierz imiê gracza");
+ if ( num == EVENT_INTERFACE_NAME ) strcpy(text, "Nowy gracz\\Wybierz imi� gracza");
if ( num == EVENT_INTERFACE_SETUP ) strcpy(text, "Opcje\\Preferencje");
- if ( num == EVENT_INTERFACE_AGAIN ) strcpy(text, "Uruchom ponownie\\Uruchamia ponownie misjê od pocz¹tku");
- if ( num == EVENT_INTERFACE_WRITE ) strcpy(text, "Zapisz\\Zapisuje bie¿¹c¹ misjê");
- if ( num == EVENT_INTERFACE_READ ) strcpy(text, "Wczytaj\\Wczytuje zapisan¹ misjê");
+ if ( num == EVENT_INTERFACE_AGAIN ) strcpy(text, "Uruchom ponownie\\Uruchamia ponownie misj� od pocz�tku");
+ if ( num == EVENT_INTERFACE_WRITE ) strcpy(text, "Zapisz\\Zapisuje bie��c� misj�");
+ if ( num == EVENT_INTERFACE_READ ) strcpy(text, "Wczytaj\\Wczytuje zapisan� misj�");
#if _NEWLOOK
- if ( num == EVENT_INTERFACE_ABORT ) strcpy(text, "\\Powróæ do gry CeeBot");
- if ( num == EVENT_INTERFACE_QUIT ) strcpy(text, "Zakoñcz\\Koñczy grê CeeBot");
+ if ( num == EVENT_INTERFACE_ABORT ) strcpy(text, "\\Powr�� do gry CeeBot");
+ if ( num == EVENT_INTERFACE_QUIT ) strcpy(text, "Zako�cz\\Ko�czy gr� CeeBot");
#else
- if ( num == EVENT_INTERFACE_ABORT ) strcpy(text, "\\Powróæ do gry COLOBOT");
- if ( num == EVENT_INTERFACE_QUIT ) strcpy(text, "Zakoñcz\\Koñczy grê COLOBOT");
+ if ( num == EVENT_INTERFACE_ABORT ) strcpy(text, "\\Powr�� do gry COLOBOT");
+ if ( num == EVENT_INTERFACE_QUIT ) strcpy(text, "Zako�cz\\Ko�czy gr� COLOBOT");
#endif
if ( num == EVENT_INTERFACE_BACK ) strcpy(text, "<< Wstecz \\Wraca do poprzedniego ekranu");
- if ( num == EVENT_INTERFACE_PLAY ) strcpy(text, "Graj\\Rozpoczyna misjê!");
- if ( num == EVENT_INTERFACE_SETUPd ) strcpy(text, "Urz¹dzenie\\Ustawienia sterownika i rozdzielczoœci");
+ if ( num == EVENT_INTERFACE_PLAY ) strcpy(text, "Graj\\Rozpoczyna misj�!");
+ if ( num == EVENT_INTERFACE_SETUPd ) strcpy(text, "Urz�dzenie\\Ustawienia sterownika i rozdzielczo�ci");
if ( num == EVENT_INTERFACE_SETUPg ) strcpy(text, "Grafika\\Ustawienia grafiki");
if ( num == EVENT_INTERFACE_SETUPp ) strcpy(text, "Gra\\Ustawienia gry");
if ( num == EVENT_INTERFACE_SETUPc ) strcpy(text, "Sterowanie\\Ustawienia klawiatury, joysticka i myszy");
- if ( num == EVENT_INTERFACE_SETUPs ) strcpy(text, "DŸwiêk\\G³oœnoœæ muzyki i dŸwiêków gry");
+ if ( num == EVENT_INTERFACE_SETUPs ) strcpy(text, "D�wi�k\\G�o�no�� muzyki i d�wi�k�w gry");
if ( num == EVENT_INTERFACE_DEVICE ) strcpy(text, "Jednostka");
- if ( num == EVENT_INTERFACE_RESOL ) strcpy(text, "RozdzielczoϾ");
- if ( num == EVENT_INTERFACE_FULL ) strcpy(text, "Pe³ny ekran\\Pe³ny ekran lub tryb okna");
+ if ( num == EVENT_INTERFACE_RESOL ) strcpy(text, "Rozdzielczo��");
+ if ( num == EVENT_INTERFACE_FULL ) strcpy(text, "Pe�ny ekran\\Pe�ny ekran lub tryb okna");
if ( num == EVENT_INTERFACE_APPLY ) strcpy(text, "Zastosuj zmiany\\Aktywuje zmienione ustawienia");
- if ( num == EVENT_INTERFACE_TOTO ) strcpy(text, "Robbie\\Twój asystent");
+ if ( num == EVENT_INTERFACE_TOTO ) strcpy(text, "Robbie\\Tw�j asystent");
if ( num == EVENT_INTERFACE_SHADOW ) strcpy(text, "Cienie\\Cienie na ziemi");
if ( num == EVENT_INTERFACE_GROUND ) strcpy(text, "Znaki na ziemi\\Znaki na ziemi");
- if ( num == EVENT_INTERFACE_DIRTY ) strcpy(text, "Kurz\\Kurz i bród na robotach i budynkach");
- if ( num == EVENT_INTERFACE_FOG ) strcpy(text, "Mg³a\\Mg³a");
- if ( num == EVENT_INTERFACE_LENS ) strcpy(text, "Promienie s³oneczne\\Promienie s³oneczne na niebie");
- if ( num == EVENT_INTERFACE_SKY ) strcpy(text, "Niebo\\Chmury i mg³awice");
+ if ( num == EVENT_INTERFACE_DIRTY ) strcpy(text, "Kurz\\Kurz i br�d na robotach i budynkach");
+ if ( num == EVENT_INTERFACE_FOG ) strcpy(text, "Mg�a\\Mg�a");
+ if ( num == EVENT_INTERFACE_LENS ) strcpy(text, "Promienie s�oneczne\\Promienie s�oneczne na niebie");
+ if ( num == EVENT_INTERFACE_SKY ) strcpy(text, "Niebo\\Chmury i mg�awice");
if ( num == EVENT_INTERFACE_PLANET ) strcpy(text, "Planety i gwiazdy\\Obiekty astronomiczne na niebie");
- if ( num == EVENT_INTERFACE_LIGHT ) strcpy(text, "Dynamiczne oœwietlenie\\Ruchome Ÿród³a œwiat³a");
- if ( num == EVENT_INTERFACE_PARTI ) strcpy(text, "Liczba cz¹stek\\Wybuchy, kurz, odbicia, itp.");
- if ( num == EVENT_INTERFACE_CLIP ) strcpy(text, "G³êbokoœæ pola\\Maksymalna widocznoœæ");
- if ( num == EVENT_INTERFACE_DETAIL ) strcpy(text, "Szczegó³y\\Jakoœæ wizualna obiektów 3D");
- if ( num == EVENT_INTERFACE_TEXTURE) strcpy(text, "Tekstury\\JakoϾ tekstur ");
- if ( num == EVENT_INTERFACE_GADGET ) strcpy(text, "Iloœæ elementów dekoracyjnych \\Iloœæ elementów czysto dekoracyjnych");
- if ( num == EVENT_INTERFACE_RAIN ) strcpy(text, "Cz¹stki w interfejsie\\Para i iskry z silników w interfejsie");
- if ( num == EVENT_INTERFACE_GLINT ) strcpy(text, "Odbicia na przyciskach \\Œwiec¹ce przyciski");
- if ( num == EVENT_INTERFACE_TOOLTIP) strcpy(text, "Dymki pomocy\\Wyjaœnia funkcje przycisków");
- if ( num == EVENT_INTERFACE_MOVIES ) strcpy(text, "Sekwencje filmowe\\Filmy przed rozpoczêciem i na zakoñczenie misji");
- if ( num == EVENT_INTERFACE_NICERST) strcpy(text, "Koñcowy film\\Film na zakoñczenie æwiczeñ");
- if ( num == EVENT_INTERFACE_HIMSELF) strcpy(text, "Przyjacielski ogieñ\\W³asne strza³y uszkadzaj¹ Twoje obiekty");
- if ( num == EVENT_INTERFACE_SCROLL ) strcpy(text, "Przewijanie\\Ekran jest przewijany gdy mysz dotknie prawej lub lewej jego krawêdzi");
- if ( num == EVENT_INTERFACE_INVERTX) strcpy(text, "Odwrócenie myszy X\\Odwrócenie kierunków przewijania w poziomie");
- if ( num == EVENT_INTERFACE_INVERTY) strcpy(text, "Odwrócenie myszy Y\\Odwrócenie kierunków przewijania w pionie");
- if ( num == EVENT_INTERFACE_EFFECT ) strcpy(text, "Wstrz¹sy przy wybuchach\\Ekran trzêsie siê podczas wybuchów");
- if ( num == EVENT_INTERFACE_MOUSE ) strcpy(text, "Cieñ kursora myszy\\Dodaje cieñ kursorowi myszy");
- if ( num == EVENT_INTERFACE_EDITMODE) strcpy(text, "Automatyczne wciêcia\\Automatyczne wciêcia podczas edycji programu");
- if ( num == EVENT_INTERFACE_EDITVALUE)strcpy(text, "Du¿e wciêcie\\2 lub 4 spacje wciêcia na ka¿dy poziom zdefiniowany przez klamry");
- if ( num == EVENT_INTERFACE_SOLUCE4) strcpy(text, "Accès aux solutions\\Programme \"4: Solution\" dans les exercices");
+ if ( num == EVENT_INTERFACE_LIGHT ) strcpy(text, "Dynamiczne o�wietlenie\\Ruchome �r�d�a �wiat�a");
+ if ( num == EVENT_INTERFACE_PARTI ) strcpy(text, "Liczba cz�stek\\Wybuchy, kurz, odbicia, itp.");
+ if ( num == EVENT_INTERFACE_CLIP ) strcpy(text, "G��boko�� pola\\Maksymalna widoczno��");
+ if ( num == EVENT_INTERFACE_DETAIL ) strcpy(text, "Szczeg�y\\Jako�� wizualna obiekt�w 3D");
+ if ( num == EVENT_INTERFACE_TEXTURE) strcpy(text, "Tekstury\\Jako�� tekstur ");
+ if ( num == EVENT_INTERFACE_GADGET ) strcpy(text, "Ilo�� element�w dekoracyjnych \\Ilo�� element�w czysto dekoracyjnych");
+ if ( num == EVENT_INTERFACE_RAIN ) strcpy(text, "Cz�stki w interfejsie\\Para i iskry z silnik�w w interfejsie");
+ if ( num == EVENT_INTERFACE_GLINT ) strcpy(text, "Odbicia na przyciskach \\�wiec�ce przyciski");
+ if ( num == EVENT_INTERFACE_TOOLTIP) strcpy(text, "Dymki pomocy\\Wyja�nia funkcje przycisk�w");
+ if ( num == EVENT_INTERFACE_MOVIES ) strcpy(text, "Sekwencje filmowe\\Filmy przed rozpocz�ciem i na zako�czenie misji");
+ if ( num == EVENT_INTERFACE_NICERST) strcpy(text, "Ko�cowy film\\Film na zako�czenie �wicze�");
+ if ( num == EVENT_INTERFACE_HIMSELF) strcpy(text, "Przyjacielski ogie�\\W�asne strza�y uszkadzaj� Twoje obiekty");
+ if ( num == EVENT_INTERFACE_SCROLL ) strcpy(text, "Przewijanie\\Ekran jest przewijany gdy mysz dotknie prawej lub lewej jego kraw�dzi");
+ if ( num == EVENT_INTERFACE_INVERTX) strcpy(text, "Odwr�cenie myszy X\\Odwr�cenie kierunk�w przewijania w poziomie");
+ if ( num == EVENT_INTERFACE_INVERTY) strcpy(text, "Odwr�cenie myszy Y\\Odwr�cenie kierunk�w przewijania w pionie");
+ if ( num == EVENT_INTERFACE_EFFECT ) strcpy(text, "Wstrz�sy przy wybuchach\\Ekran trz�sie si� podczas wybuch�w");
+ if ( num == EVENT_INTERFACE_MOUSE ) strcpy(text, "Cie� kursora myszy\\Dodaje cie� kursorowi myszy");
+ if ( num == EVENT_INTERFACE_EDITMODE) strcpy(text, "Automatyczne wci�cia\\Automatyczne wci�cia podczas edycji programu");
+ if ( num == EVENT_INTERFACE_EDITVALUE)strcpy(text, "Du�e wci�cie\\2 lub 4 spacje wci�cia na ka�dy poziom zdefiniowany przez klamry");
+ if ( num == EVENT_INTERFACE_SOLUCE4) strcpy(text, "Acc�s aux solutions\\Programme \"4: Solution\" dans les exercices");
if ( num == EVENT_INTERFACE_KDEF ) strcpy(text, "Standardowa kontrola\\Standardowe klawisze funkcyjne");
- if ( num == EVENT_INTERFACE_KLEFT ) strcpy(text, "Skrêæ w lewo\\Obraca robota w lewo");
- if ( num == EVENT_INTERFACE_KRIGHT ) strcpy(text, "Obróæ w prawo\\Obraca robota w prawo");
- if ( num == EVENT_INTERFACE_KUP ) strcpy(text, "Naprzód\\Porusza do przodu");
- if ( num == EVENT_INTERFACE_KDOWN ) strcpy(text, "Wstecz\\Porusza do ty³u");
- if ( num == EVENT_INTERFACE_KGUP ) strcpy(text, "W górê\\Zwiêksza moc silnika");
- if ( num == EVENT_INTERFACE_KGDOWN ) strcpy(text, "W dó³\\Zmniejsza moc silnika");
- if ( num == EVENT_INTERFACE_KCAMERA) strcpy(text, "Zmieñ kamerê\\Prze³¹cza pomiêdzy kamer¹ pok³adow¹ i œledz¹c¹");
+ if ( num == EVENT_INTERFACE_KLEFT ) strcpy(text, "Skr�� w lewo\\Obraca robota w lewo");
+ if ( num == EVENT_INTERFACE_KRIGHT ) strcpy(text, "Obr�� w prawo\\Obraca robota w prawo");
+ if ( num == EVENT_INTERFACE_KUP ) strcpy(text, "Naprz�d\\Porusza do przodu");
+ if ( num == EVENT_INTERFACE_KDOWN ) strcpy(text, "Wstecz\\Porusza do ty�u");
+ if ( num == EVENT_INTERFACE_KGUP ) strcpy(text, "W g�r�\\Zwi�ksza moc silnika");
+ if ( num == EVENT_INTERFACE_KGDOWN ) strcpy(text, "W d�\\Zmniejsza moc silnika");
+ if ( num == EVENT_INTERFACE_KCAMERA) strcpy(text, "Zmie� kamer�\\Prze��cza pomi�dzy kamer� pok�adow� i �ledz�c�");
if ( num == EVENT_INTERFACE_KDESEL ) strcpy(text, "Poprzedni obiekt\\Zaznacz poprzedni obiekt");
- if ( num == EVENT_INTERFACE_KACTION) strcpy(text, "Standardowa akcja\\Standardowa akcja robota (podnieœ/upuœæ, strzelaj, szukaj, itp.)");
- if ( num == EVENT_INTERFACE_KNEAR ) strcpy(text, "Kamera bli¿ej\\Przybli¿a kamerê");
- if ( num == EVENT_INTERFACE_KAWAY ) strcpy(text, "Kamera dalej\\Oddala kamerê");
- if ( num == EVENT_INTERFACE_KNEXT ) strcpy(text, "Nastêpny obiekt\\Zaznacza nastêpny obiekt");
- if ( num == EVENT_INTERFACE_KHUMAN ) strcpy(text, "Zaznacz astronautê\\Zaznacza astronautê");
- if ( num == EVENT_INTERFACE_KQUIT ) strcpy(text, "Zakoñcz\\Koñczy bie¿¹c¹ misjê lub æwiczenie");
- if ( num == EVENT_INTERFACE_KHELP ) strcpy(text, "Rozkazy\\Pokazuje rozkazy dotycz¹ce bie¿¹cej misji");
- if ( num == EVENT_INTERFACE_KPROG ) strcpy(text, "Podrêcznik programowania\\Dostarcza szczegó³ow¹ pomoc w programowaniu");
- if ( num == EVENT_INTERFACE_KCBOT ) strcpy(text, "Pomoc dot. s³ów kluczowych\\Dok³adniejsza pomoc na temat s³ów kluczowych");
- if ( num == EVENT_INTERFACE_KVISIT ) strcpy(text, "Miejsce nadania wiadomoœci\\Pokazuje sk¹d zosta³a wys³ana ostatnia wiadomoœæ");
- if ( num == EVENT_INTERFACE_KSPEED10) strcpy(text, "Prêdkoœæ 1,0x\\Prêdkoœæ normalna");
- if ( num == EVENT_INTERFACE_KSPEED15) strcpy(text, "Prêdkoœæ 1,5x\\1,5 raza szybciej");
- if ( num == EVENT_INTERFACE_KSPEED20) strcpy(text, "Prêdkoœæ 2,0x\\Dwa razy szybciej");
- if ( num == EVENT_INTERFACE_KSPEED30) strcpy(text, "Prêdkoœæ 3,0x\\Trzy razy szybciej");
-
- if ( num == EVENT_INTERFACE_VOLSOUND) strcpy(text, "Efekty dŸwiêkowe:\\G³oœnoœæ silników, g³osów, strza³ów, itp.");
- if ( num == EVENT_INTERFACE_VOLMUSIC) strcpy(text, "Muzyka w tle :\\G³oœnoœæ œcie¿ek dŸwiêkowych z p³yty CD");
- if ( num == EVENT_INTERFACE_SOUND3D) strcpy(text, "DŸwiêk 3D\\Przestrzenne pozycjonowanie dŸwiêków");
-
- if ( num == EVENT_INTERFACE_MIN ) strcpy(text, "Najni¿sza\\Minimalna jakoœæ grafiki (najwy¿sza czêstotliwoœæ odœwie¿ania)");
- if ( num == EVENT_INTERFACE_NORM ) strcpy(text, "Normalna\\Normalna jakoϾ grafiki");
- if ( num == EVENT_INTERFACE_MAX ) strcpy(text, "Najwy¿sza\\Maksymalna jakoœæ grafiki (najni¿sza czêstotliwoœæ odœwie¿ania)");
-
- if ( num == EVENT_INTERFACE_SILENT ) strcpy(text, "Cisza\\Brak dŸwiêków");
- if ( num == EVENT_INTERFACE_NOISY ) strcpy(text, "Normalne\\Normalna g³oœnoœæ dŸwiêków");
-
- if ( num == EVENT_INTERFACE_JOYSTICK) strcpy(text, "U¿ywaj joysticka\\Joystick lub klawiatura");
- if ( num == EVENT_INTERFACE_SOLUCE ) strcpy(text, "Dostêp do rozwi¹zania\\Pokazuje rozwi¹zanie (szczegó³owe instrukcje dotycz¹ce misji)");
-
- if ( num == EVENT_INTERFACE_NEDIT ) strcpy(text, "\\Nowe imiê gracza");
+ if ( num == EVENT_INTERFACE_KACTION) strcpy(text, "Standardowa akcja\\Standardowa akcja robota (podnie�/upu��, strzelaj, szukaj, itp.)");
+ if ( num == EVENT_INTERFACE_KNEAR ) strcpy(text, "Kamera bli�ej\\Przybli�a kamer�");
+ if ( num == EVENT_INTERFACE_KAWAY ) strcpy(text, "Kamera dalej\\Oddala kamer�");
+ if ( num == EVENT_INTERFACE_KNEXT ) strcpy(text, "Nast�pny obiekt\\Zaznacza nast�pny obiekt");
+ if ( num == EVENT_INTERFACE_KHUMAN ) strcpy(text, "Zaznacz astronaut�\\Zaznacza astronaut�");
+ if ( num == EVENT_INTERFACE_KQUIT ) strcpy(text, "Zako�cz\\Ko�czy bie��c� misj� lub �wiczenie");
+ if ( num == EVENT_INTERFACE_KHELP ) strcpy(text, "Rozkazy\\Pokazuje rozkazy dotycz�ce bie��cej misji");
+ if ( num == EVENT_INTERFACE_KPROG ) strcpy(text, "Podr�cznik programowania\\Dostarcza szczeg�ow� pomoc w programowaniu");
+ if ( num == EVENT_INTERFACE_KCBOT ) strcpy(text, "Pomoc dot. s��w kluczowych\\Dok�adniejsza pomoc na temat s��w kluczowych");
+ if ( num == EVENT_INTERFACE_KVISIT ) strcpy(text, "Miejsce nadania wiadomo�ci\\Pokazuje sk�d zosta�a wys�ana ostatnia wiadomo��");
+ if ( num == EVENT_INTERFACE_KSPEED10) strcpy(text, "Pr�dko�� 1,0x\\Pr�dko�� normalna");
+ if ( num == EVENT_INTERFACE_KSPEED15) strcpy(text, "Pr�dko�� 1,5x\\1,5 raza szybciej");
+ if ( num == EVENT_INTERFACE_KSPEED20) strcpy(text, "Pr�dko�� 2,0x\\Dwa razy szybciej");
+ if ( num == EVENT_INTERFACE_KSPEED30) strcpy(text, "Pr�dko�� 3,0x\\Trzy razy szybciej");
+
+ if ( num == EVENT_INTERFACE_VOLSOUND) strcpy(text, "Efekty d�wi�kowe:\\G�o�no�� silnik�w, g�os�w, strza��w, itp.");
+ if ( num == EVENT_INTERFACE_VOLMUSIC) strcpy(text, "Muzyka w tle :\\G�o�no�� �cie�ek d�wi�kowych z p�yty CD");
+ if ( num == EVENT_INTERFACE_SOUND3D) strcpy(text, "D�wi�k 3D\\Przestrzenne pozycjonowanie d�wi�k�w");
+
+ if ( num == EVENT_INTERFACE_MIN ) strcpy(text, "Najni�sza\\Minimalna jako�� grafiki (najwy�sza cz�stotliwo�� od�wie�ania)");
+ if ( num == EVENT_INTERFACE_NORM ) strcpy(text, "Normalna\\Normalna jako�� grafiki");
+ if ( num == EVENT_INTERFACE_MAX ) strcpy(text, "Najwy�sza\\Maksymalna jako�� grafiki (najni�sza cz�stotliwo�� od�wie�ania)");
+
+ if ( num == EVENT_INTERFACE_SILENT ) strcpy(text, "Cisza\\Brak d�wi�k�w");
+ if ( num == EVENT_INTERFACE_NOISY ) strcpy(text, "Normalne\\Normalna g�o�no�� d�wi�k�w");
+
+ if ( num == EVENT_INTERFACE_JOYSTICK) strcpy(text, "U�ywaj joysticka\\Joystick lub klawiatura");
+ if ( num == EVENT_INTERFACE_SOLUCE ) strcpy(text, "Dost�p do rozwi�zania\\Pokazuje rozwi�zanie (szczeg�owe instrukcje dotycz�ce misji)");
+
+ if ( num == EVENT_INTERFACE_NEDIT ) strcpy(text, "\\Nowe imi� gracza");
if ( num == EVENT_INTERFACE_NOK ) strcpy(text, "OK\\Wybiera zaznaczonego gracza");
- if ( num == EVENT_INTERFACE_NCANCEL) strcpy(text, "Anuluj\\Zachowuje bie¿¹ce imiê gracza");
- if ( num == EVENT_INTERFACE_NDELETE) strcpy(text, "Usuñ gracza\\Usuwa gracza z listy");
- if ( num == EVENT_INTERFACE_NLABEL ) strcpy(text, "Imiê gracza");
+ if ( num == EVENT_INTERFACE_NCANCEL) strcpy(text, "Anuluj\\Zachowuje bie��ce imi� gracza");
+ if ( num == EVENT_INTERFACE_NDELETE) strcpy(text, "Usu� gracza\\Usuwa gracza z listy");
+ if ( num == EVENT_INTERFACE_NLABEL ) strcpy(text, "Imi� gracza");
- if ( num == EVENT_INTERFACE_IOWRITE) strcpy(text, "Zapisz\\Zapisuje bie¿¹c¹ misjê");
- if ( num == EVENT_INTERFACE_IOREAD ) strcpy(text, "Wczytaj\\Wczytuje zaznaczon¹ misjê");
+ if ( num == EVENT_INTERFACE_IOWRITE) strcpy(text, "Zapisz\\Zapisuje bie��c� misj�");
+ if ( num == EVENT_INTERFACE_IOREAD ) strcpy(text, "Wczytaj\\Wczytuje zaznaczon� misj�");
if ( num == EVENT_INTERFACE_IOLIST ) strcpy(text, "Lista zapisanych misji");
if ( num == EVENT_INTERFACE_IOLABEL) strcpy(text, "Nazwa pliku:");
if ( num == EVENT_INTERFACE_IONAME ) strcpy(text, "Nazwa misji");
if ( num == EVENT_INTERFACE_IOIMAGE) strcpy(text, "Fotografia");
- if ( num == EVENT_INTERFACE_IODELETE) strcpy(text, "Usuñ\\Usuwa zaznaczony plik");
+ if ( num == EVENT_INTERFACE_IODELETE) strcpy(text, "Usu�\\Usuwa zaznaczony plik");
- if ( num == EVENT_INTERFACE_PERSO ) strcpy(text, "Wygl¹d\\Wybierz swoj¹ postaæ");
+ if ( num == EVENT_INTERFACE_PERSO ) strcpy(text, "Wygl�d\\Wybierz swoj� posta�");
if ( num == EVENT_INTERFACE_POK ) strcpy(text, "OK");
if ( num == EVENT_INTERFACE_PCANCEL) strcpy(text, "Anuluj");
- if ( num == EVENT_INTERFACE_PDEF ) strcpy(text, "Standardowe\\Standardowe ustawienia wygl¹du");
- if ( num == EVENT_INTERFACE_PHEAD ) strcpy(text, "G³owa\\Twarz i w³osy");
+ if ( num == EVENT_INTERFACE_PDEF ) strcpy(text, "Standardowe\\Standardowe ustawienia wygl�du");
+ if ( num == EVENT_INTERFACE_PHEAD ) strcpy(text, "G�owa\\Twarz i w�osy");
if ( num == EVENT_INTERFACE_PBODY ) strcpy(text, "Skafander\\Skafander astronauty");
- if ( num == EVENT_INTERFACE_PLROT ) strcpy(text, "\\Obróæ w lewo");
- if ( num == EVENT_INTERFACE_PRROT ) strcpy(text, "\\Obróæ w prawo");
+ if ( num == EVENT_INTERFACE_PLROT ) strcpy(text, "\\Obr�� w lewo");
+ if ( num == EVENT_INTERFACE_PRROT ) strcpy(text, "\\Obr�� w prawo");
if ( num == EVENT_INTERFACE_PCRa ) strcpy(text, "Czerwony");
if ( num == EVENT_INTERFACE_PCGa ) strcpy(text, "Zielony");
if ( num == EVENT_INTERFACE_PCBa ) strcpy(text, "Niebieski");
@@ -3067,7 +3068,7 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == EVENT_INTERFACE_PFACE2 ) strcpy(text, "\\Twarz 4");
if ( num == EVENT_INTERFACE_PFACE3 ) strcpy(text, "\\Twarz 3");
if ( num == EVENT_INTERFACE_PFACE4 ) strcpy(text, "\\Twarz 2");
- if ( num == EVENT_INTERFACE_PGLASS0) strcpy(text, "\\Bez okularów");
+ if ( num == EVENT_INTERFACE_PGLASS0) strcpy(text, "\\Bez okular�w");
if ( num == EVENT_INTERFACE_PGLASS1) strcpy(text, "\\Okulary 1");
if ( num == EVENT_INTERFACE_PGLASS2) strcpy(text, "\\Okulary 2");
if ( num == EVENT_INTERFACE_PGLASS3) strcpy(text, "\\Okulary 3");
@@ -3075,102 +3076,102 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == EVENT_INTERFACE_PGLASS5) strcpy(text, "\\Okulary 5");
if ( num == EVENT_OBJECT_DESELECT ) strcpy(text, "Poprzednie zaznaczenie (\\key desel;)");
- if ( num == EVENT_OBJECT_LEFT ) strcpy(text, "Skrêæ w lewo (\\key left;)");
- if ( num == EVENT_OBJECT_RIGHT ) strcpy(text, "Skrêæ w prawo (\\key right;)");
- if ( num == EVENT_OBJECT_UP ) strcpy(text, "Naprzód (\\key up;)");
+ if ( num == EVENT_OBJECT_LEFT ) strcpy(text, "Skr�� w lewo (\\key left;)");
+ if ( num == EVENT_OBJECT_RIGHT ) strcpy(text, "Skr�� w prawo (\\key right;)");
+ if ( num == EVENT_OBJECT_UP ) strcpy(text, "Naprz�d (\\key up;)");
if ( num == EVENT_OBJECT_DOWN ) strcpy(text, "Cofnij (\\key down;)");
- if ( num == EVENT_OBJECT_GASUP ) strcpy(text, "Góra (\\key gup;)");
- if ( num == EVENT_OBJECT_GASDOWN ) strcpy(text, "Dó³ (\\key gdown;)");
- if ( num == EVENT_OBJECT_HTAKE ) strcpy(text, "Podnieœ lub upuœæ (\\key action;)");
- if ( num == EVENT_OBJECT_MTAKE ) strcpy(text, "Podnieœ lub upuœæ (\\key action;)");
+ if ( num == EVENT_OBJECT_GASUP ) strcpy(text, "G�ra (\\key gup;)");
+ if ( num == EVENT_OBJECT_GASDOWN ) strcpy(text, "D� (\\key gdown;)");
+ if ( num == EVENT_OBJECT_HTAKE ) strcpy(text, "Podnie� lub upu�� (\\key action;)");
+ if ( num == EVENT_OBJECT_MTAKE ) strcpy(text, "Podnie� lub upu�� (\\key action;)");
if ( num == EVENT_OBJECT_MFRONT ) strcpy(text, "..przed");
if ( num == EVENT_OBJECT_MBACK ) strcpy(text, "..za");
if ( num == EVENT_OBJECT_MPOWER ) strcpy(text, "..ogniwo elektryczne");
- if ( num == EVENT_OBJECT_BHELP ) strcpy(text, "Rozkazy dotycz¹ce misji (\\key help;)");
- if ( num == EVENT_OBJECT_BTAKEOFF ) strcpy(text, "Odleæ, aby zakoñczyæ misjê");
- if ( num == EVENT_OBJECT_BDERRICK ) strcpy(text, "Zbuduj kopalniê");
- if ( num == EVENT_OBJECT_BSTATION ) strcpy(text, "Zbuduj elektrowniê");
- if ( num == EVENT_OBJECT_BFACTORY ) strcpy(text, "Zbuduj fabrykê robotów");
+ if ( num == EVENT_OBJECT_BHELP ) strcpy(text, "Rozkazy dotycz�ce misji (\\key help;)");
+ if ( num == EVENT_OBJECT_BTAKEOFF ) strcpy(text, "Odle�, aby zako�czy� misj�");
+ if ( num == EVENT_OBJECT_BDERRICK ) strcpy(text, "Zbuduj kopalni�");
+ if ( num == EVENT_OBJECT_BSTATION ) strcpy(text, "Zbuduj elektrowni�");
+ if ( num == EVENT_OBJECT_BFACTORY ) strcpy(text, "Zbuduj fabryk� robot�w");
if ( num == EVENT_OBJECT_BREPAIR ) strcpy(text, "Zbuduj warsztat");
- if ( num == EVENT_OBJECT_BCONVERT ) strcpy(text, "Zbuduj hutê");
- if ( num == EVENT_OBJECT_BTOWER ) strcpy(text, "Zbuduj wie¿ê obronn¹");
+ if ( num == EVENT_OBJECT_BCONVERT ) strcpy(text, "Zbuduj hut�");
+ if ( num == EVENT_OBJECT_BTOWER ) strcpy(text, "Zbuduj wie�� obronn�");
if ( num == EVENT_OBJECT_BRESEARCH ) strcpy(text, "Zbuduj centrum badawcze");
- if ( num == EVENT_OBJECT_BRADAR ) strcpy(text, "Zbuduj stacjê radarow¹");
- if ( num == EVENT_OBJECT_BENERGY ) strcpy(text, "Zbuduj fabrykê ogniw elektrycznych");
+ if ( num == EVENT_OBJECT_BRADAR ) strcpy(text, "Zbuduj stacj� radarow�");
+ if ( num == EVENT_OBJECT_BENERGY ) strcpy(text, "Zbuduj fabryk� ogniw elektrycznych");
if ( num == EVENT_OBJECT_BLABO ) strcpy(text, "Zbuduj laboratorium");
- if ( num == EVENT_OBJECT_BNUCLEAR ) strcpy(text, "Zbuduj elektrowniê atomow¹");
+ if ( num == EVENT_OBJECT_BNUCLEAR ) strcpy(text, "Zbuduj elektrowni� atomow�");
if ( num == EVENT_OBJECT_BPARA ) strcpy(text, "Zbuduj odgromnik");
- if ( num == EVENT_OBJECT_BINFO ) strcpy(text, "Zbuduj stacjê przekaŸnikow¹");
- if ( num == EVENT_OBJECT_GFLAT ) strcpy(text, "Poka¿ czy teren jest p³aski");
- if ( num == EVENT_OBJECT_FCREATE ) strcpy(text, "Postaw flagê");
- if ( num == EVENT_OBJECT_FDELETE ) strcpy(text, "Usuñ flagê");
+ if ( num == EVENT_OBJECT_BINFO ) strcpy(text, "Zbuduj stacj� przeka�nikow�");
+ if ( num == EVENT_OBJECT_GFLAT ) strcpy(text, "Poka� czy teren jest p�aski");
+ if ( num == EVENT_OBJECT_FCREATE ) strcpy(text, "Postaw flag�");
+ if ( num == EVENT_OBJECT_FDELETE ) strcpy(text, "Usu� flag�");
if ( num == EVENT_OBJECT_FCOLORb ) strcpy(text, "\\Niebieskie flagi");
if ( num == EVENT_OBJECT_FCOLORr ) strcpy(text, "\\Czerwone flagi");
if ( num == EVENT_OBJECT_FCOLORg ) strcpy(text, "\\Zielone flagi");
- if ( num == EVENT_OBJECT_FCOLORy ) strcpy(text, "\\¯ó³te flagi");
+ if ( num == EVENT_OBJECT_FCOLORy ) strcpy(text, "\\��te flagi");
if ( num == EVENT_OBJECT_FCOLORv ) strcpy(text, "\\Fioletowe flagi");
- if ( num == EVENT_OBJECT_FACTORYfa ) strcpy(text, "Zbuduj transporter lataj¹cy");
- if ( num == EVENT_OBJECT_FACTORYta ) strcpy(text, "Zbuduj transporter na g¹sienicach");
- if ( num == EVENT_OBJECT_FACTORYwa ) strcpy(text, "Zbuduj transporter na ko³ach");
+ if ( num == EVENT_OBJECT_FACTORYfa ) strcpy(text, "Zbuduj transporter lataj�cy");
+ if ( num == EVENT_OBJECT_FACTORYta ) strcpy(text, "Zbuduj transporter na g�sienicach");
+ if ( num == EVENT_OBJECT_FACTORYwa ) strcpy(text, "Zbuduj transporter na ko�ach");
if ( num == EVENT_OBJECT_FACTORYia ) strcpy(text, "Zbuduj transporter na nogach");
- if ( num == EVENT_OBJECT_FACTORYfc ) strcpy(text, "Zbuduj dzia³o lataj¹ce");
- if ( num == EVENT_OBJECT_FACTORYtc ) strcpy(text, "Zbuduj dzia³o na g¹sienicach");
- if ( num == EVENT_OBJECT_FACTORYwc ) strcpy(text, "Zbuduj dzia³o na ko³ach");
- if ( num == EVENT_OBJECT_FACTORYic ) strcpy(text, "Zbuduj dzia³o na nogach");
- if ( num == EVENT_OBJECT_FACTORYfi ) strcpy(text, "Zbuduj lataj¹ce dzia³o organiczne");
- if ( num == EVENT_OBJECT_FACTORYti ) strcpy(text, "Zbuduj dzia³o organiczne na g¹sienicach");
- if ( num == EVENT_OBJECT_FACTORYwi ) strcpy(text, "Zbuduj dzia³o organiczne na ko³ach");
- if ( num == EVENT_OBJECT_FACTORYii ) strcpy(text, "Zbuduj dzia³o organiczne na nogach");
- if ( num == EVENT_OBJECT_FACTORYfs ) strcpy(text, "Zbuduj szperacz lataj¹cy");
- if ( num == EVENT_OBJECT_FACTORYts ) strcpy(text, "Zbuduj szperacz na g¹sienicach");
- if ( num == EVENT_OBJECT_FACTORYws ) strcpy(text, "Zbuduj szperacz na ko³ach");
+ if ( num == EVENT_OBJECT_FACTORYfc ) strcpy(text, "Zbuduj dzia�o lataj�ce");
+ if ( num == EVENT_OBJECT_FACTORYtc ) strcpy(text, "Zbuduj dzia�o na g�sienicach");
+ if ( num == EVENT_OBJECT_FACTORYwc ) strcpy(text, "Zbuduj dzia�o na ko�ach");
+ if ( num == EVENT_OBJECT_FACTORYic ) strcpy(text, "Zbuduj dzia�o na nogach");
+ if ( num == EVENT_OBJECT_FACTORYfi ) strcpy(text, "Zbuduj lataj�ce dzia�o organiczne");
+ if ( num == EVENT_OBJECT_FACTORYti ) strcpy(text, "Zbuduj dzia�o organiczne na g�sienicach");
+ if ( num == EVENT_OBJECT_FACTORYwi ) strcpy(text, "Zbuduj dzia�o organiczne na ko�ach");
+ if ( num == EVENT_OBJECT_FACTORYii ) strcpy(text, "Zbuduj dzia�o organiczne na nogach");
+ if ( num == EVENT_OBJECT_FACTORYfs ) strcpy(text, "Zbuduj szperacz lataj�cy");
+ if ( num == EVENT_OBJECT_FACTORYts ) strcpy(text, "Zbuduj szperacz na g�sienicach");
+ if ( num == EVENT_OBJECT_FACTORYws ) strcpy(text, "Zbuduj szperacz na ko�ach");
if ( num == EVENT_OBJECT_FACTORYis ) strcpy(text, "Zbuduj szperacz na nogach");
if ( num == EVENT_OBJECT_FACTORYrt ) strcpy(text, "Zbuduj robota uderzacza");
- if ( num == EVENT_OBJECT_FACTORYrc ) strcpy(text, "Zbuduj dzia³o fazowe");
+ if ( num == EVENT_OBJECT_FACTORYrc ) strcpy(text, "Zbuduj dzia�o fazowe");
if ( num == EVENT_OBJECT_FACTORYrr ) strcpy(text, "Zbuduj robota recyklera");
- if ( num == EVENT_OBJECT_FACTORYrs ) strcpy(text, "Zbuduj robota os³aniajacza");
+ if ( num == EVENT_OBJECT_FACTORYrs ) strcpy(text, "Zbuduj robota os�aniajacza");
if ( num == EVENT_OBJECT_FACTORYsa ) strcpy(text, "Zbuduj robota nurka");
- if ( num == EVENT_OBJECT_RTANK ) strcpy(text, "Rozpocznij prace badawcze nad transporterem na g¹sienicach");
- if ( num == EVENT_OBJECT_RFLY ) strcpy(text, "Rozpocznij prace badawcze nad transporterem lataj¹cym");
+ if ( num == EVENT_OBJECT_RTANK ) strcpy(text, "Rozpocznij prace badawcze nad transporterem na g�sienicach");
+ if ( num == EVENT_OBJECT_RFLY ) strcpy(text, "Rozpocznij prace badawcze nad transporterem lataj�cym");
if ( num == EVENT_OBJECT_RTHUMP ) strcpy(text, "Rozpocznij prace badawcze nad robotem uderzaczem");
- if ( num == EVENT_OBJECT_RCANON ) strcpy(text, "Rozpocznij prace badawcze nad dzia³em");
- if ( num == EVENT_OBJECT_RTOWER ) strcpy(text, "Rozpocznij prace badawcze nad wie¿¹ obronn¹");
- if ( num == EVENT_OBJECT_RPHAZER ) strcpy(text, "Rozpocznij prace badawcze nad dzia³em fazowym");
- if ( num == EVENT_OBJECT_RSHIELD ) strcpy(text, "Rozpocznij prace badawcze nad robotem os³aniaczem");
- if ( num == EVENT_OBJECT_RATOMIC ) strcpy(text, "Rozpocznij prace badawcze nad energi¹ atomow¹");
+ if ( num == EVENT_OBJECT_RCANON ) strcpy(text, "Rozpocznij prace badawcze nad dzia�em");
+ if ( num == EVENT_OBJECT_RTOWER ) strcpy(text, "Rozpocznij prace badawcze nad wie�� obronn�");
+ if ( num == EVENT_OBJECT_RPHAZER ) strcpy(text, "Rozpocznij prace badawcze nad dzia�em fazowym");
+ if ( num == EVENT_OBJECT_RSHIELD ) strcpy(text, "Rozpocznij prace badawcze nad robotem os�aniaczem");
+ if ( num == EVENT_OBJECT_RATOMIC ) strcpy(text, "Rozpocznij prace badawcze nad energi� atomow�");
if ( num == EVENT_OBJECT_RiPAW ) strcpy(text, "Rozpocznij prace badawcze nad transporterem na nogach");
- if ( num == EVENT_OBJECT_RiGUN ) strcpy(text, "Rozpocznij prace badawcze nad dzia³em organicznym");
- if ( num == EVENT_OBJECT_RESET ) strcpy(text, "Powrót do pocz¹tku");
+ if ( num == EVENT_OBJECT_RiGUN ) strcpy(text, "Rozpocznij prace badawcze nad dzia�em organicznym");
+ if ( num == EVENT_OBJECT_RESET ) strcpy(text, "Powr�t do pocz�tku");
if ( num == EVENT_OBJECT_SEARCH ) strcpy(text, "Szukaj (\\key action;)");
if ( num == EVENT_OBJECT_TERRAFORM ) strcpy(text, "Uderz (\\key action;)");
if ( num == EVENT_OBJECT_FIRE ) strcpy(text, "Strzelaj (\\key action;)");
if ( num == EVENT_OBJECT_RECOVER ) strcpy(text, "Odzyskaj (\\key action;)");
- if ( num == EVENT_OBJECT_BEGSHIELD ) strcpy(text, "Rozszerz os³onê (\\key action;)");
- if ( num == EVENT_OBJECT_ENDSHIELD ) strcpy(text, "Wy³¹cz os³onê (\\key action;)");
- if ( num == EVENT_OBJECT_DIMSHIELD ) strcpy(text, "Zasiêg os³ony");
+ if ( num == EVENT_OBJECT_BEGSHIELD ) strcpy(text, "Rozszerz os�on� (\\key action;)");
+ if ( num == EVENT_OBJECT_ENDSHIELD ) strcpy(text, "Wy��cz os�on� (\\key action;)");
+ if ( num == EVENT_OBJECT_DIMSHIELD ) strcpy(text, "Zasi�g os�ony");
if ( num == EVENT_OBJECT_PROGRUN ) strcpy(text, "Wykonaj zaznaczony program");
if ( num == EVENT_OBJECT_PROGEDIT ) strcpy(text, "Edytuj zaznaczony program");
- if ( num == EVENT_OBJECT_INFOOK ) strcpy(text, "\\Prze³¹cz przekaŸnik SatCom w stan gotowoœci");
+ if ( num == EVENT_OBJECT_INFOOK ) strcpy(text, "\\Prze��cz przeka�nik SatCom w stan gotowo�ci");
if ( num == EVENT_OBJECT_DELETE ) strcpy(text, "Zniszcz budynek");
if ( num == EVENT_OBJECT_GENERGY ) strcpy(text, "Poziom energii");
- if ( num == EVENT_OBJECT_GSHIELD ) strcpy(text, "Poziom os³ony");
+ if ( num == EVENT_OBJECT_GSHIELD ) strcpy(text, "Poziom os�ony");
if ( num == EVENT_OBJECT_GRANGE ) strcpy(text, "Temperatura silnika");
- if ( num == EVENT_OBJECT_GPROGRESS ) strcpy(text, "Wci¹¿ pracuje...");
- if ( num == EVENT_OBJECT_GRADAR ) strcpy(text, "Liczba wykrytych insektów");
- if ( num == EVENT_OBJECT_GINFO ) strcpy(text, "Przes³ane informacje");
+ if ( num == EVENT_OBJECT_GPROGRESS ) strcpy(text, "Wci�� pracuje...");
+ if ( num == EVENT_OBJECT_GRADAR ) strcpy(text, "Liczba wykrytych insekt�w");
+ if ( num == EVENT_OBJECT_GINFO ) strcpy(text, "Przes�ane informacje");
if ( num == EVENT_OBJECT_COMPASS ) strcpy(text, "Kompas");
//? if ( num == EVENT_OBJECT_MAP ) strcpy(text, "Mapka");
- if ( num == EVENT_OBJECT_MAPZOOM ) strcpy(text, "Powiêkszenie mapki");
+ if ( num == EVENT_OBJECT_MAPZOOM ) strcpy(text, "Powi�kszenie mapki");
if ( num == EVENT_OBJECT_CAMERA ) strcpy(text, "Kamera (\\key camera;)");
if ( num == EVENT_OBJECT_CAMERAleft) strcpy(text, "Camera to left");
if ( num == EVENT_OBJECT_CAMERAright) strcpy(text, "Camera to right");
if ( num == EVENT_OBJECT_CAMERAnear) strcpy(text, "Camera nearest");
if ( num == EVENT_OBJECT_CAMERAaway) strcpy(text, "Camera awayest");
if ( num == EVENT_OBJECT_HELP ) strcpy(text, "Pomoc na temat zaznaczonego obiektu");
- if ( num == EVENT_OBJECT_SOLUCE ) strcpy(text, "Poka¿ rozwi¹zanie");
- if ( num == EVENT_OBJECT_SHORTCUT00) strcpy(text, "Prze³¹cz roboty <-> budynki");
- if ( num == EVENT_OBJECT_LIMIT ) strcpy(text, "Poka¿ zasiêg");
- if ( num == EVENT_OBJECT_PEN0 ) strcpy(text, "\\Relève le crayon");
+ if ( num == EVENT_OBJECT_SOLUCE ) strcpy(text, "Poka� rozwi�zanie");
+ if ( num == EVENT_OBJECT_SHORTCUT00) strcpy(text, "Prze��cz roboty <-> budynki");
+ if ( num == EVENT_OBJECT_LIMIT ) strcpy(text, "Poka� zasi�g");
+ if ( num == EVENT_OBJECT_PEN0 ) strcpy(text, "\\Rel�ve le crayon");
if ( num == EVENT_OBJECT_PEN1 ) strcpy(text, "\\Abaisse le crayon noir");
if ( num == EVENT_OBJECT_PEN2 ) strcpy(text, "\\Abaisse le crayon jaune");
if ( num == EVENT_OBJECT_PEN3 ) strcpy(text, "\\Abaisse le crayon orange");
@@ -3179,26 +3180,26 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == EVENT_OBJECT_PEN6 ) strcpy(text, "\\Abaisse le crayon bleu");
if ( num == EVENT_OBJECT_PEN7 ) strcpy(text, "\\Abaisse le crayon vert");
if ( num == EVENT_OBJECT_PEN8 ) strcpy(text, "\\Abaisse le crayon brun");
- if ( num == EVENT_OBJECT_REC ) strcpy(text, "\\Démarre l'enregistrement");
+ if ( num == EVENT_OBJECT_REC ) strcpy(text, "\\D�marre l'enregistrement");
if ( num == EVENT_OBJECT_STOP ) strcpy(text, "\\Stoppe l'enregistrement");
if ( num == EVENT_DT_VISIT0 ||
num == EVENT_DT_VISIT1 ||
num == EVENT_DT_VISIT2 ||
num == EVENT_DT_VISIT3 ||
- num == EVENT_DT_VISIT4 ) strcpy(text, "Poka¿ miejsce");
+ num == EVENT_DT_VISIT4 ) strcpy(text, "Poka� miejsce");
if ( num == EVENT_DT_END ) strcpy(text, "Kontynuuj");
if ( num == EVENT_CMD ) strcpy(text, "Linia polecenia");
- if ( num == EVENT_SPEED ) strcpy(text, "Prêdkoœæ gry");
+ if ( num == EVENT_SPEED ) strcpy(text, "Pr�dko�� gry");
if ( num == EVENT_HYPER_PREV ) strcpy(text, "Wstecz");
- if ( num == EVENT_HYPER_NEXT ) strcpy(text, "Naprzód");
- if ( num == EVENT_HYPER_HOME ) strcpy(text, "Pocz¹tek");
+ if ( num == EVENT_HYPER_NEXT ) strcpy(text, "Naprz�d");
+ if ( num == EVENT_HYPER_HOME ) strcpy(text, "Pocz�tek");
if ( num == EVENT_HYPER_COPY ) strcpy(text, "Kopiuj");
- if ( num == EVENT_HYPER_SIZE1 ) strcpy(text, "WielkoϾ 1");
- if ( num == EVENT_HYPER_SIZE2 ) strcpy(text, "WielkoϾ 2");
- if ( num == EVENT_HYPER_SIZE3 ) strcpy(text, "WielkoϾ 3");
- if ( num == EVENT_HYPER_SIZE4 ) strcpy(text, "WielkoϾ 4");
- if ( num == EVENT_HYPER_SIZE5 ) strcpy(text, "WielkoϾ 5");
+ if ( num == EVENT_HYPER_SIZE1 ) strcpy(text, "Wielko�� 1");
+ if ( num == EVENT_HYPER_SIZE2 ) strcpy(text, "Wielko�� 2");
+ if ( num == EVENT_HYPER_SIZE3 ) strcpy(text, "Wielko�� 3");
+ if ( num == EVENT_HYPER_SIZE4 ) strcpy(text, "Wielko�� 4");
+ if ( num == EVENT_HYPER_SIZE5 ) strcpy(text, "Wielko�� 5");
if ( num == EVENT_SATCOM_HUSTON ) strcpy(text, "Rozkazy z Houston");
#if _TEEN
if ( num == EVENT_SATCOM_SAT ) strcpy(text, "Raport z satelity");
@@ -3206,22 +3207,22 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == EVENT_SATCOM_SAT ) strcpy(text, "Raport z satelity");
#endif
if ( num == EVENT_SATCOM_LOADING ) strcpy(text, "Program dostarczony z Houston");
- if ( num == EVENT_SATCOM_OBJECT ) strcpy(text, "Lista obiektów");
- if ( num == EVENT_SATCOM_PROG ) strcpy(text, "Podrêcznik programowania");
- if ( num == EVENT_SATCOM_SOLUCE ) strcpy(text, "Rozwi¹zanie");
+ if ( num == EVENT_SATCOM_OBJECT ) strcpy(text, "Lista obiekt�w");
+ if ( num == EVENT_SATCOM_PROG ) strcpy(text, "Podr�cznik programowania");
+ if ( num == EVENT_SATCOM_SOLUCE ) strcpy(text, "Rozwi�zanie");
if ( num == EVENT_STUDIO_OK ) strcpy(text, "OK\\Zamyka edytor programu i powraca do gry");
if ( num == EVENT_STUDIO_CANCEL ) strcpy(text, "Anuluj\\Pomija wszystkie zmiany");
if ( num == EVENT_STUDIO_NEW ) strcpy(text, "Nowy");
- if ( num == EVENT_STUDIO_OPEN ) strcpy(text, "Otwórz (Ctrl+O)");
+ if ( num == EVENT_STUDIO_OPEN ) strcpy(text, "Otw�rz (Ctrl+O)");
if ( num == EVENT_STUDIO_SAVE ) strcpy(text, "Zapisz (Ctrl+S)");
if ( num == EVENT_STUDIO_UNDO ) strcpy(text, "Cofnij (Ctrl+Z)");
if ( num == EVENT_STUDIO_CUT ) strcpy(text, "Wytnij (Ctrl+X)");
if ( num == EVENT_STUDIO_COPY ) strcpy(text, "Kopiuj (Ctrl+C)");
if ( num == EVENT_STUDIO_PASTE ) strcpy(text, "Wklej (Ctrl+V)");
- if ( num == EVENT_STUDIO_SIZE ) strcpy(text, "WielkoϾ czcionki");
+ if ( num == EVENT_STUDIO_SIZE ) strcpy(text, "Wielko�� czcionki");
if ( num == EVENT_STUDIO_TOOL ) strcpy(text, "Rozkazy (\\key help;)");
- if ( num == EVENT_STUDIO_HELP ) strcpy(text, "Podrêcznik programowania (\\key prog;)");
+ if ( num == EVENT_STUDIO_HELP ) strcpy(text, "Podr�cznik programowania (\\key prog;)");
if ( num == EVENT_STUDIO_COMPILE ) strcpy(text, "Kompiluj");
if ( num == EVENT_STUDIO_RUN ) strcpy(text, "Wykonaj/Zatrzymaj");
if ( num == EVENT_STUDIO_REALTIME ) strcpy(text, "Pauza/Kontynuuj");
@@ -3230,19 +3231,19 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( type == RES_OBJECT )
{
- if ( num == OBJECT_PORTICO ) strcpy(text, "¯uraw przesuwalny");
+ if ( num == OBJECT_PORTICO ) strcpy(text, "�uraw przesuwalny");
if ( num == OBJECT_BASE ) strcpy(text, "Statek kosmiczny");
if ( num == OBJECT_DERRICK ) strcpy(text, "Kopalnia");
- if ( num == OBJECT_FACTORY ) strcpy(text, "Fabryka robotów");
+ if ( num == OBJECT_FACTORY ) strcpy(text, "Fabryka robot�w");
if ( num == OBJECT_REPAIR ) strcpy(text, "Warsztat");
if ( num == OBJECT_DESTROYER ) strcpy(text, "Destroyer");
if ( num == OBJECT_STATION ) strcpy(text, "Stacja energetyczna");
- if ( num == OBJECT_CONVERT ) strcpy(text, "Przetop rudê na tytan");
- if ( num == OBJECT_TOWER ) strcpy(text, "Wie¿a obronna");
+ if ( num == OBJECT_CONVERT ) strcpy(text, "Przetop rud� na tytan");
+ if ( num == OBJECT_TOWER ) strcpy(text, "Wie�a obronna");
if ( num == OBJECT_NEST ) strcpy(text, "Gniazdo");
if ( num == OBJECT_RESEARCH ) strcpy(text, "Centrum badawcze");
if ( num == OBJECT_RADAR ) strcpy(text, "Stacja radarowa");
- if ( num == OBJECT_INFO ) strcpy(text, "Stacja przekaŸnikowa informacji");
+ if ( num == OBJECT_INFO ) strcpy(text, "Stacja przeka�nikowa informacji");
#if _TEEN
if ( num == OBJECT_ENERGY ) strcpy(text, "Fabryka ogniw elektrycznych");
#else
@@ -3255,7 +3256,7 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == OBJECT_HUSTON ) strcpy(text, "Centrum Kontroli Misji w Houston");
if ( num == OBJECT_TARGET1 ) strcpy(text, "Cel");
if ( num == OBJECT_TARGET2 ) strcpy(text, "Cel");
- if ( num == OBJECT_START ) strcpy(text, "Pocz¹tek");
+ if ( num == OBJECT_START ) strcpy(text, "Pocz�tek");
if ( num == OBJECT_END ) strcpy(text, "Koniec");
if ( num == OBJECT_STONE ) strcpy(text, "Ruda tytanu");
if ( num == OBJECT_URANIUM ) strcpy(text, "Ruda uranu");
@@ -3268,55 +3269,55 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == OBJECT_KEYb ) strcpy(text, "Klucz B");
if ( num == OBJECT_KEYc ) strcpy(text, "Klucz C");
if ( num == OBJECT_KEYd ) strcpy(text, "Klucz D");
- if ( num == OBJECT_TNT ) strcpy(text, "Materia³y wybuchowe");
+ if ( num == OBJECT_TNT ) strcpy(text, "Materia�y wybuchowe");
if ( num == OBJECT_BOMB ) strcpy(text, "Mina");
if ( num == OBJECT_BAG ) strcpy(text, "Zestaw przetrwania");
if ( num == OBJECT_WAYPOINT ) strcpy(text, "Punkt kontrolny");
if ( num == OBJECT_FLAGb ) strcpy(text, "Niebieska flaga");
if ( num == OBJECT_FLAGr ) strcpy(text, "Czerwona flaga");
if ( num == OBJECT_FLAGg ) strcpy(text, "Zielona flaga");
- if ( num == OBJECT_FLAGy ) strcpy(text, "¯ó³ta flaga");
+ if ( num == OBJECT_FLAGy ) strcpy(text, "��ta flaga");
if ( num == OBJECT_FLAGv ) strcpy(text, "Fioletowa flaga");
- if ( num == OBJECT_MARKPOWER ) strcpy(text, "ród³o energii (miejsce na elektrowniê)");
- if ( num == OBJECT_MARKURANIUM ) strcpy(text, "Z³o¿e uranu (miejsce na kopalniê)");
- if ( num == OBJECT_MARKKEYa ) strcpy(text, "Znaleziono klucz A (miejsce na kopalniê)");
- if ( num == OBJECT_MARKKEYb ) strcpy(text, "Znaleziono klucz B (miejsce na kopalniê)");
- if ( num == OBJECT_MARKKEYc ) strcpy(text, "Znaleziono klucz C (miejsce na kopalniê)");
- if ( num == OBJECT_MARKKEYd ) strcpy(text, "Znaleziono klucz D (miejsce na kopalniê)");
- if ( num == OBJECT_MARKSTONE ) strcpy(text, "Z³o¿e tytanu (miejsce na kopalniê)");
+ if ( num == OBJECT_MARKPOWER ) strcpy(text, "�r�d�o energii (miejsce na elektrowni�)");
+ if ( num == OBJECT_MARKURANIUM ) strcpy(text, "Z�o�e uranu (miejsce na kopalni�)");
+ if ( num == OBJECT_MARKKEYa ) strcpy(text, "Znaleziono klucz A (miejsce na kopalni�)");
+ if ( num == OBJECT_MARKKEYb ) strcpy(text, "Znaleziono klucz B (miejsce na kopalni�)");
+ if ( num == OBJECT_MARKKEYc ) strcpy(text, "Znaleziono klucz C (miejsce na kopalni�)");
+ if ( num == OBJECT_MARKKEYd ) strcpy(text, "Znaleziono klucz D (miejsce na kopalni�)");
+ if ( num == OBJECT_MARKSTONE ) strcpy(text, "Z�o�e tytanu (miejsce na kopalni�)");
if ( num == OBJECT_MOBILEft ) strcpy(text, "Robot treningowy");
if ( num == OBJECT_MOBILEtt ) strcpy(text, "Robot treningowy");
if ( num == OBJECT_MOBILEwt ) strcpy(text, "Robot treningowy");
if ( num == OBJECT_MOBILEit ) strcpy(text, "Robot treningowy");
- if ( num == OBJECT_MOBILEfa ) strcpy(text, "Transporter lataj¹cy");
- if ( num == OBJECT_MOBILEta ) strcpy(text, "Transporter na g¹sienicach");
- if ( num == OBJECT_MOBILEwa ) strcpy(text, "Transporter na ko³ach");
+ if ( num == OBJECT_MOBILEfa ) strcpy(text, "Transporter lataj�cy");
+ if ( num == OBJECT_MOBILEta ) strcpy(text, "Transporter na g�sienicach");
+ if ( num == OBJECT_MOBILEwa ) strcpy(text, "Transporter na ko�ach");
if ( num == OBJECT_MOBILEia ) strcpy(text, "Transporter na nogach");
- if ( num == OBJECT_MOBILEfc ) strcpy(text, "Dzia³o lataj¹ce");
- if ( num == OBJECT_MOBILEtc ) strcpy(text, "Dzia³o na g¹sienicach");
- if ( num == OBJECT_MOBILEwc ) strcpy(text, "Dzia³o na ko³ach");
- if ( num == OBJECT_MOBILEic ) strcpy(text, "Dzia³o na nogach");
- if ( num == OBJECT_MOBILEfi ) strcpy(text, "Lataj¹ce dzia³o organiczne");
- if ( num == OBJECT_MOBILEti ) strcpy(text, "Dzia³o organiczne na g¹sienicach");
- if ( num == OBJECT_MOBILEwi ) strcpy(text, "Dzia³o organiczne na ko³ach");
- if ( num == OBJECT_MOBILEii ) strcpy(text, "Dzia³o organiczne na nogach");
- if ( num == OBJECT_MOBILEfs ) strcpy(text, "Szperacz lataj¹cy");
- if ( num == OBJECT_MOBILEts ) strcpy(text, "Szperacz na g¹sienicach");
- if ( num == OBJECT_MOBILEws ) strcpy(text, "Szperacz na ko³ach");
+ if ( num == OBJECT_MOBILEfc ) strcpy(text, "Dzia�o lataj�ce");
+ if ( num == OBJECT_MOBILEtc ) strcpy(text, "Dzia�o na g�sienicach");
+ if ( num == OBJECT_MOBILEwc ) strcpy(text, "Dzia�o na ko�ach");
+ if ( num == OBJECT_MOBILEic ) strcpy(text, "Dzia�o na nogach");
+ if ( num == OBJECT_MOBILEfi ) strcpy(text, "Lataj�ce dzia�o organiczne");
+ if ( num == OBJECT_MOBILEti ) strcpy(text, "Dzia�o organiczne na g�sienicach");
+ if ( num == OBJECT_MOBILEwi ) strcpy(text, "Dzia�o organiczne na ko�ach");
+ if ( num == OBJECT_MOBILEii ) strcpy(text, "Dzia�o organiczne na nogach");
+ if ( num == OBJECT_MOBILEfs ) strcpy(text, "Szperacz lataj�cy");
+ if ( num == OBJECT_MOBILEts ) strcpy(text, "Szperacz na g�sienicach");
+ if ( num == OBJECT_MOBILEws ) strcpy(text, "Szperacz na ko�ach");
if ( num == OBJECT_MOBILEis ) strcpy(text, "Szperacz na nogach");
if ( num == OBJECT_MOBILErt ) strcpy(text, "Uderzacz");
- if ( num == OBJECT_MOBILErc ) strcpy(text, "Dzia³o fazowe");
+ if ( num == OBJECT_MOBILErc ) strcpy(text, "Dzia�o fazowe");
if ( num == OBJECT_MOBILErr ) strcpy(text, "Recykler");
- if ( num == OBJECT_MOBILErs ) strcpy(text, "Os³aniacz");
+ if ( num == OBJECT_MOBILErs ) strcpy(text, "Os�aniacz");
if ( num == OBJECT_MOBILEsa ) strcpy(text, "Robot nurek");
if ( num == OBJECT_MOBILEtg ) strcpy(text, "Robot cel");
if ( num == OBJECT_MOBILEdr ) strcpy(text, "Drawer bot");
if ( num == OBJECT_HUMAN ) strcpy(text, g_gamerName);
- if ( num == OBJECT_TECH ) strcpy(text, "In¿ynier");
+ if ( num == OBJECT_TECH ) strcpy(text, "In�ynier");
if ( num == OBJECT_TOTO ) strcpy(text, "Robbie");
- if ( num == OBJECT_MOTHER ) strcpy(text, "Królowa Obcych");
- if ( num == OBJECT_ANT ) strcpy(text, "Mrówka");
- if ( num == OBJECT_SPIDER ) strcpy(text, "Paj¹k");
+ if ( num == OBJECT_MOTHER ) strcpy(text, "Kr�lowa Obcych");
+ if ( num == OBJECT_ANT ) strcpy(text, "Mr�wka");
+ if ( num == OBJECT_SPIDER ) strcpy(text, "Paj�k");
if ( num == OBJECT_BEE ) strcpy(text, "Osa");
if ( num == OBJECT_WORM ) strcpy(text, "Robal");
if ( num == OBJECT_EGG ) strcpy(text, "Jajo");
@@ -3336,320 +3337,320 @@ bool GetResourceBase(ResType type, int num, char* text)
if ( num == OBJECT_APOLLO1 ||
num == OBJECT_APOLLO3 ||
num == OBJECT_APOLLO4 ||
- num == OBJECT_APOLLO5 ) strcpy(text, "Pozosta³oœci z misji Apollo");
- if ( num == OBJECT_APOLLO2 ) strcpy(text, "Pojazd Ksiê¿ycowy");
+ num == OBJECT_APOLLO5 ) strcpy(text, "Pozosta�o�ci z misji Apollo");
+ if ( num == OBJECT_APOLLO2 ) strcpy(text, "Pojazd Ksi�ycowy");
}
if ( type == RES_ERR )
{
- strcpy(text, "B³¹d");
+ strcpy(text, "B��d");
if ( num == ERR_CMD ) strcpy(text, "Nieznane polecenie");
#if _NEWLOOK
if ( num == ERR_INSTALL ) strcpy(text, "Gra CeeBot nie jest zainstalowana.");
- if ( num == ERR_NOCD ) strcpy(text, "W³ó¿ dysk CD z gr¹ CeeBot\ni uruchom grê jeszcze raz.");
+ if ( num == ERR_NOCD ) strcpy(text, "W�� dysk CD z gr� CeeBot\ni uruchom gr� jeszcze raz.");
#else
if ( num == ERR_INSTALL ) strcpy(text, "Gra COLOBOT nie jest zainstalowana.");
- if ( num == ERR_NOCD ) strcpy(text, "W³ó¿ dysk CD z gr¹ COLOBOT\ni uruchom grê jeszcze raz.");
+ if ( num == ERR_NOCD ) strcpy(text, "W�� dysk CD z gr� COLOBOT\ni uruchom gr� jeszcze raz.");
#endif
if ( num == ERR_MANIP_VEH ) strcpy(text, "Nieodpowiedni robot");
- if ( num == ERR_MANIP_FLY ) strcpy(text, "Niemo¿liwe podczas lotu");
- if ( num == ERR_MANIP_BUSY ) strcpy(text, "Nie mo¿na nieœæ wiêcej przedmiotów");
+ if ( num == ERR_MANIP_FLY ) strcpy(text, "Niemo�liwe podczas lotu");
+ if ( num == ERR_MANIP_BUSY ) strcpy(text, "Nie mo�na nie�� wi�cej przedmiot�w");
if ( num == ERR_MANIP_NIL ) strcpy(text, "Nie ma nic do podniesienia");
- if ( num == ERR_MANIP_MOTOR ) strcpy(text, "Niemo¿liwe podczas ruchu");
- if ( num == ERR_MANIP_OCC ) strcpy(text, "Miejsce zajête");
+ if ( num == ERR_MANIP_MOTOR ) strcpy(text, "Niemo�liwe podczas ruchu");
+ if ( num == ERR_MANIP_OCC ) strcpy(text, "Miejsce zaj�te");
if ( num == ERR_MANIP_FRIEND ) strcpy(text, "Brak innego robota");
- if ( num == ERR_MANIP_RADIO ) strcpy(text, "Nie mo¿esz przenosiæ przedmiotów radioaktywnych");
- if ( num == ERR_MANIP_WATER ) strcpy(text, "Nie mo¿esz przenosiæ przedmiotów pod wod¹");
+ if ( num == ERR_MANIP_RADIO ) strcpy(text, "Nie mo�esz przenosi� przedmiot�w radioaktywnych");
+ if ( num == ERR_MANIP_WATER ) strcpy(text, "Nie mo�esz przenosi� przedmiot�w pod wod�");
if ( num == ERR_MANIP_EMPTY ) strcpy(text, "Nie ma nic do upuszczenia");
- if ( num == ERR_BUILD_FLY ) strcpy(text, "Niemo¿liwe podczas lotu");
- if ( num == ERR_BUILD_WATER ) strcpy(text, "Niemo¿liwe pod wod¹");
- if ( num == ERR_BUILD_ENERGY ) strcpy(text, "Za ma³o energii");
+ if ( num == ERR_BUILD_FLY ) strcpy(text, "Niemo�liwe podczas lotu");
+ if ( num == ERR_BUILD_WATER ) strcpy(text, "Niemo�liwe pod wod�");
+ if ( num == ERR_BUILD_ENERGY ) strcpy(text, "Za ma�o energii");
if ( num == ERR_BUILD_METALAWAY ) strcpy(text, "Tytan za daleko");
if ( num == ERR_BUILD_METALNEAR ) strcpy(text, "Tytan za blisko");
- if ( num == ERR_BUILD_METALINEX ) strcpy(text, "Brak tytanu w pobli¿u");
- if ( num == ERR_BUILD_FLAT ) strcpy(text, "Powierzchnia nie jest wystarczaj¹co p³aska");
- if ( num == ERR_BUILD_FLATLIT ) strcpy(text, "Za ma³o p³askiego terenu");
- if ( num == ERR_BUILD_BUSY ) strcpy(text, "Miejsce zajête");
+ if ( num == ERR_BUILD_METALINEX ) strcpy(text, "Brak tytanu w pobli�u");
+ if ( num == ERR_BUILD_FLAT ) strcpy(text, "Powierzchnia nie jest wystarczaj�co p�aska");
+ if ( num == ERR_BUILD_FLATLIT ) strcpy(text, "Za ma�o p�askiego terenu");
+ if ( num == ERR_BUILD_BUSY ) strcpy(text, "Miejsce zaj�te");
if ( num == ERR_BUILD_BASE ) strcpy(text, "Za blisko statku kosmicznego");
if ( num == ERR_BUILD_NARROW ) strcpy(text, "Za blisko budynku");
- if ( num == ERR_BUILD_MOTOR ) strcpy(text, "Niemo¿liwe podczas ruchu");
- if ( num == ERR_SEARCH_FLY ) strcpy(text, "Niemo¿liwe podczas lotu");
+ if ( num == ERR_BUILD_MOTOR ) strcpy(text, "Niemo�liwe podczas ruchu");
+ if ( num == ERR_SEARCH_FLY ) strcpy(text, "Niemo�liwe podczas lotu");
if ( num == ERR_SEARCH_VEH ) strcpy(text, "Nieodpowiedni robot");
- if ( num == ERR_SEARCH_MOTOR ) strcpy(text, "Niemo¿liwe podczas ruchu");
+ if ( num == ERR_SEARCH_MOTOR ) strcpy(text, "Niemo�liwe podczas ruchu");
if ( num == ERR_TERRA_VEH ) strcpy(text, "Nieodpowiedni robot");
- if ( num == ERR_TERRA_ENERGY ) strcpy(text, "Za ma³o energii");
+ if ( num == ERR_TERRA_ENERGY ) strcpy(text, "Za ma�o energii");
if ( num == ERR_TERRA_FLOOR ) strcpy(text, "Nieodpowiedni teren");
if ( num == ERR_TERRA_BUILDING ) strcpy(text, "Budynek za blisko");
if ( num == ERR_TERRA_OBJECT ) strcpy(text, "Obiekt za blisko");
if ( num == ERR_RECOVER_VEH ) strcpy(text, "Nieodpowiedni robot");
- if ( num == ERR_RECOVER_ENERGY ) strcpy(text, "Za ma³o energii");
+ if ( num == ERR_RECOVER_ENERGY ) strcpy(text, "Za ma�o energii");
if ( num == ERR_RECOVER_NULL ) strcpy(text, "Nie ma niczego do odzysku");
if ( num == ERR_SHIELD_VEH ) strcpy(text, "Nieodpowiedni robot");
- if ( num == ERR_SHIELD_ENERGY ) strcpy(text, "Nie ma wiêcej energii");
- if ( num == ERR_MOVE_IMPOSSIBLE ) strcpy(text, "B³¹d w poleceniu ruchu");
+ if ( num == ERR_SHIELD_ENERGY ) strcpy(text, "Nie ma wi�cej energii");
+ if ( num == ERR_MOVE_IMPOSSIBLE ) strcpy(text, "B��d w poleceniu ruchu");
if ( num == ERR_FIND_IMPOSSIBLE ) strcpy(text, "Obiekt nieznany");
- if ( num == ERR_GOTO_IMPOSSIBLE ) strcpy(text, "Goto: miejsce docelowe niedostêpne");
- if ( num == ERR_GOTO_ITER ) strcpy(text, "Goto: miejsce docelowe niedostêpne");
- if ( num == ERR_GOTO_BUSY ) strcpy(text, "Goto: miejsce docelowe zajête");
+ if ( num == ERR_GOTO_IMPOSSIBLE ) strcpy(text, "Goto: miejsce docelowe niedost�pne");
+ if ( num == ERR_GOTO_ITER ) strcpy(text, "Goto: miejsce docelowe niedost�pne");
+ if ( num == ERR_GOTO_BUSY ) strcpy(text, "Goto: miejsce docelowe zaj�te");
if ( num == ERR_FIRE_VEH ) strcpy(text, "Nieodpowiedni robot");
- if ( num == ERR_FIRE_ENERGY ) strcpy(text, "Za ma³o energii");
- if ( num == ERR_FIRE_FLY ) strcpy(text, "Niemo¿liwe podczas lotu");
+ if ( num == ERR_FIRE_ENERGY ) strcpy(text, "Za ma�o energii");
+ if ( num == ERR_FIRE_FLY ) strcpy(text, "Niemo�liwe podczas lotu");
if ( num == ERR_CONVERT_EMPTY ) strcpy(text, "Brak rudy tytanu do przetopienia");
- if ( num == ERR_DERRICK_NULL ) strcpy(text, "W ziemi nie ma ¿adnej rudy");
+ if ( num == ERR_DERRICK_NULL ) strcpy(text, "W ziemi nie ma �adnej rudy");
if ( num == ERR_STATION_NULL ) strcpy(text, "Brak energii w ziemi");
if ( num == ERR_TOWER_POWER ) strcpy(text, "Brak ogniwa elektrycznego");
- if ( num == ERR_TOWER_ENERGY ) strcpy(text, "Nie ma wiêcej energii");
+ if ( num == ERR_TOWER_ENERGY ) strcpy(text, "Nie ma wi�cej energii");
if ( num == ERR_RESEARCH_POWER ) strcpy(text, "Brak ogniwa elektrycznego");
- if ( num == ERR_RESEARCH_ENERGY ) strcpy(text, "Za ma³o energii");
+ if ( num == ERR_RESEARCH_ENERGY ) strcpy(text, "Za ma�o energii");
if ( num == ERR_RESEARCH_TYPE ) strcpy(text, "Nieodpowiedni rodzaj ogniw");
- if ( num == ERR_RESEARCH_ALREADY) strcpy(text, "Program badawczy zosta³ ju¿ wykonany");
+ if ( num == ERR_RESEARCH_ALREADY) strcpy(text, "Program badawczy zosta� ju� wykonany");
if ( num == ERR_ENERGY_NULL ) strcpy(text, "Brak energii w ziemi");
- if ( num == ERR_ENERGY_LOW ) strcpy(text, "Wci¹¿ za ma³o energii");
+ if ( num == ERR_ENERGY_LOW ) strcpy(text, "Wci�� za ma�o energii");
if ( num == ERR_ENERGY_EMPTY ) strcpy(text, "Brak tytanu do przetworzenia");
if ( num == ERR_ENERGY_BAD ) strcpy(text, "Przetwarza jedynie tytan");
if ( num == ERR_BASE_DLOCK ) strcpy(text, "Drzwi zablokowane przez robota lub inny obiekt ");
- if ( num == ERR_BASE_DHUMAN ) strcpy(text, "Musisz byæ na statku kosmicznym aby nim odlecieæ");
+ if ( num == ERR_BASE_DHUMAN ) strcpy(text, "Musisz by� na statku kosmicznym aby nim odlecie�");
if ( num == ERR_LABO_NULL ) strcpy(text, "Nie ma niczego do zanalizowania");
- if ( num == ERR_LABO_BAD ) strcpy(text, "Analizuje jedynie materiê organiczn¹");
- if ( num == ERR_LABO_ALREADY ) strcpy(text, "Analiza zosta³a ju¿ wykonana");
+ if ( num == ERR_LABO_BAD ) strcpy(text, "Analizuje jedynie materi� organiczn�");
+ if ( num == ERR_LABO_ALREADY ) strcpy(text, "Analiza zosta�a ju� wykonana");
if ( num == ERR_NUCLEAR_NULL ) strcpy(text, "Brak energii w ziemi");
- if ( num == ERR_NUCLEAR_LOW ) strcpy(text, "Wci¹¿ za ma³o energii");
+ if ( num == ERR_NUCLEAR_LOW ) strcpy(text, "Wci�� za ma�o energii");
if ( num == ERR_NUCLEAR_EMPTY ) strcpy(text, "Brak uranu do przetworzenia");
if ( num == ERR_NUCLEAR_BAD ) strcpy(text, "Przetwarza jedynie uran");
if ( num == ERR_FACTORY_NULL ) strcpy(text, "Brak tytanu");
if ( num == ERR_FACTORY_NEAR ) strcpy(text, "Obiekt za blisko");
- if ( num == ERR_RESET_NEAR ) strcpy(text, "Miejsce zajête");
- if ( num == ERR_INFO_NULL ) strcpy(text, "Nie ma ¿adnej stacji przekaŸnikowej w zasiêgu");
+ if ( num == ERR_RESET_NEAR ) strcpy(text, "Miejsce zaj�te");
+ if ( num == ERR_INFO_NULL ) strcpy(text, "Nie ma �adnej stacji przeka�nikowej w zasi�gu");
if ( num == ERR_VEH_VIRUS ) strcpy(text, "Program zawirusowany");
if ( num == ERR_BAT_VIRUS ) strcpy(text, "Zainfekowane wirusem, chwilowo niesprawne");
if ( num == ERR_VEH_POWER ) strcpy(text, "Brak ogniwa elektrycznego");
- if ( num == ERR_VEH_ENERGY ) strcpy(text, "Nie ma wiêcej energii");
- if ( num == ERR_FLAG_FLY ) strcpy(text, "Niemo¿liwe podczas lotu");
- if ( num == ERR_FLAG_WATER ) strcpy(text, "Niemo¿liwe podczas p³ywania");
- if ( num == ERR_FLAG_MOTOR ) strcpy(text, "Niemo¿liwe podczas ruchu");
- if ( num == ERR_FLAG_BUSY ) strcpy(text, "Niemo¿liwe podczas przenoszenia przedmiotu");
- if ( num == ERR_FLAG_CREATE ) strcpy(text, "Za du¿o flag w tym kolorze (maksymalnie 5)");
- if ( num == ERR_FLAG_PROXY ) strcpy(text, "Za blisko istniej¹cej flagi");
- if ( num == ERR_FLAG_DELETE ) strcpy(text, "Nie ma flagi w pobli¿u");
- if ( num == ERR_MISSION_NOTERM ) strcpy(text, "Misja nie jest wype³niona (naciœnij \\key help; aby uzyskaæ szczegó³y)");
+ if ( num == ERR_VEH_ENERGY ) strcpy(text, "Nie ma wi�cej energii");
+ if ( num == ERR_FLAG_FLY ) strcpy(text, "Niemo�liwe podczas lotu");
+ if ( num == ERR_FLAG_WATER ) strcpy(text, "Niemo�liwe podczas p�ywania");
+ if ( num == ERR_FLAG_MOTOR ) strcpy(text, "Niemo�liwe podczas ruchu");
+ if ( num == ERR_FLAG_BUSY ) strcpy(text, "Niemo�liwe podczas przenoszenia przedmiotu");
+ if ( num == ERR_FLAG_CREATE ) strcpy(text, "Za du�o flag w tym kolorze (maksymalnie 5)");
+ if ( num == ERR_FLAG_PROXY ) strcpy(text, "Za blisko istniej�cej flagi");
+ if ( num == ERR_FLAG_DELETE ) strcpy(text, "Nie ma flagi w pobli�u");
+ if ( num == ERR_MISSION_NOTERM ) strcpy(text, "Misja nie jest wype�niona (naci�nij \\key help; aby uzyska� szczeg�y)");
if ( num == ERR_DELETEMOBILE ) strcpy(text, "Robot zniszczony");
if ( num == ERR_DELETEBUILDING ) strcpy(text, "Budynek zniszczony");
- if ( num == ERR_TOOMANY ) strcpy(text, "Nie mo¿na tego utworzyæ, za du¿o obiektów");
+ if ( num == ERR_TOOMANY ) strcpy(text, "Nie mo�na tego utworzy�, za du�o obiekt�w");
if ( num == ERR_OBLIGATORYTOKEN ) strcpy(text, "It misses \"%s\" in this exercise");
if ( num == ERR_PROHIBITEDTOKEN ) strcpy(text, "Do not use in this exercise");
- if ( num == INFO_BUILD ) strcpy(text, "Budowa zakoñczona");
- if ( num == INFO_CONVERT ) strcpy(text, "Tytan dostêpny");
- if ( num == INFO_RESEARCH ) strcpy(text, "Program badawczy zakoñczony");
- if ( num == INFO_RESEARCHTANK ) strcpy(text, "Dostêpne plany tranporterów na g¹sienicach");
- if ( num == INFO_RESEARCHFLY ) strcpy(text, "Mo¿esz lataæ u¿ywaj¹c klawiszy (\\key gup;) oraz (\\key gdown;)");
- if ( num == INFO_RESEARCHTHUMP ) strcpy(text, "Dostêpne plany robota uderzacza");
- if ( num == INFO_RESEARCHCANON ) strcpy(text, "Dostêpne plany dzia³a");
- if ( num == INFO_RESEARCHTOWER ) strcpy(text, "Dostêpne plany wie¿y obronnej");
- if ( num == INFO_RESEARCHPHAZER ) strcpy(text, "Dostêpne plany dzia³a fazowego");
- if ( num == INFO_RESEARCHSHIELD ) strcpy(text, "Dostêpne plany robota os³aniacza");
- if ( num == INFO_RESEARCHATOMIC ) strcpy(text, "Dostêpne plany elektrowni atomowej");
- if ( num == INFO_FACTORY ) strcpy(text, "Dostêpny nowy robot");
+ if ( num == INFO_BUILD ) strcpy(text, "Budowa zako�czona");
+ if ( num == INFO_CONVERT ) strcpy(text, "Tytan dost�pny");
+ if ( num == INFO_RESEARCH ) strcpy(text, "Program badawczy zako�czony");
+ if ( num == INFO_RESEARCHTANK ) strcpy(text, "Dost�pne plany tranporter�w na g�sienicach");
+ if ( num == INFO_RESEARCHFLY ) strcpy(text, "Mo�esz lata� u�ywaj�c klawiszy (\\key gup;) oraz (\\key gdown;)");
+ if ( num == INFO_RESEARCHTHUMP ) strcpy(text, "Dost�pne plany robota uderzacza");
+ if ( num == INFO_RESEARCHCANON ) strcpy(text, "Dost�pne plany dzia�a");
+ if ( num == INFO_RESEARCHTOWER ) strcpy(text, "Dost�pne plany wie�y obronnej");
+ if ( num == INFO_RESEARCHPHAZER ) strcpy(text, "Dost�pne plany dzia�a fazowego");
+ if ( num == INFO_RESEARCHSHIELD ) strcpy(text, "Dost�pne plany robota os�aniacza");
+ if ( num == INFO_RESEARCHATOMIC ) strcpy(text, "Dost�pne plany elektrowni atomowej");
+ if ( num == INFO_FACTORY ) strcpy(text, "Dost�pny nowy robot");
if ( num == INFO_LABO ) strcpy(text, "Analiza wykonana");
if ( num == INFO_ENERGY ) strcpy(text, "Wytworzono ogniwo elektryczne");
if ( num == INFO_NUCLEAR ) strcpy(text, "Wytworzono atomowe ogniwo elektryczne");
- if ( num == INFO_FINDING ) strcpy(text, "Znaleziono u¿yteczny przedmiot");
- if ( num == INFO_MARKPOWER ) strcpy(text, "Znaleziono miejsce na elektrowniê");
- if ( num == INFO_MARKURANIUM ) strcpy(text, "Znaleziono miejsce na kopalniê");
- if ( num == INFO_MARKSTONE ) strcpy(text, "Znaleziono miejsce na kopalniê");
- if ( num == INFO_MARKKEYa ) strcpy(text, "Znaleziono miejsce na kopalniê");
- if ( num == INFO_MARKKEYb ) strcpy(text, "Znaleziono miejsce na kopalniê");
- if ( num == INFO_MARKKEYc ) strcpy(text, "Znaleziono miejsce na kopalniê");
- if ( num == INFO_MARKKEYd ) strcpy(text, "Znaleziono miejsce na kopalniê");
- if ( num == INFO_WIN ) strcpy(text, "<<< Dobra robota, misja wype³niona >>>");
- if ( num == INFO_LOST ) strcpy(text, "<<< Niestety, misja nie powiod³a siê >>>");
- if ( num == INFO_LOSTq ) strcpy(text, "<<< Niestety, misja nie powiod³a siê >>>");
- if ( num == INFO_WRITEOK ) strcpy(text, "Bie¿¹ca misja zapisana");
+ if ( num == INFO_FINDING ) strcpy(text, "Znaleziono u�yteczny przedmiot");
+ if ( num == INFO_MARKPOWER ) strcpy(text, "Znaleziono miejsce na elektrowni�");
+ if ( num == INFO_MARKURANIUM ) strcpy(text, "Znaleziono miejsce na kopalni�");
+ if ( num == INFO_MARKSTONE ) strcpy(text, "Znaleziono miejsce na kopalni�");
+ if ( num == INFO_MARKKEYa ) strcpy(text, "Znaleziono miejsce na kopalni�");
+ if ( num == INFO_MARKKEYb ) strcpy(text, "Znaleziono miejsce na kopalni�");
+ if ( num == INFO_MARKKEYc ) strcpy(text, "Znaleziono miejsce na kopalni�");
+ if ( num == INFO_MARKKEYd ) strcpy(text, "Znaleziono miejsce na kopalni�");
+ if ( num == INFO_WIN ) strcpy(text, "<<< Dobra robota, misja wype�niona >>>");
+ if ( num == INFO_LOST ) strcpy(text, "<<< Niestety, misja nie powiod�a si� >>>");
+ if ( num == INFO_LOSTq ) strcpy(text, "<<< Niestety, misja nie powiod�a si� >>>");
+ if ( num == INFO_WRITEOK ) strcpy(text, "Bie��ca misja zapisana");
if ( num == INFO_DELETEPATH ) strcpy(text, "Przekroczono punkt kontrolny");
- if ( num == INFO_DELETEMOTHER ) strcpy(text, "Królowa Obcych zosta³a zabita");
- if ( num == INFO_DELETEANT ) strcpy(text, "Mrówka œmiertelnie raniona");
- if ( num == INFO_DELETEBEE ) strcpy(text, "Osa œmiertelnie raniona");
- if ( num == INFO_DELETEWORM ) strcpy(text, "Robal œmiertelnie raniony");
- if ( num == INFO_DELETESPIDER ) strcpy(text, "Paj¹k œmiertelnie raniony");
- if ( num == INFO_BEGINSATCOM ) strcpy(text, "Naciœnij klawisz \\key help; aby wyœwietliæ rozkazy na przekaŸniku SatCom");
+ if ( num == INFO_DELETEMOTHER ) strcpy(text, "Kr�lowa Obcych zosta�a zabita");
+ if ( num == INFO_DELETEANT ) strcpy(text, "Mr�wka �miertelnie raniona");
+ if ( num == INFO_DELETEBEE ) strcpy(text, "Osa �miertelnie raniona");
+ if ( num == INFO_DELETEWORM ) strcpy(text, "Robal �miertelnie raniony");
+ if ( num == INFO_DELETESPIDER ) strcpy(text, "Paj�k �miertelnie raniony");
+ if ( num == INFO_BEGINSATCOM ) strcpy(text, "Naci�nij klawisz \\key help; aby wy�wietli� rozkazy na przeka�niku SatCom");
}
if ( type == RES_CBOT )
{
- strcpy(text, "B³¹d");
- if ( num == TX_OPENPAR ) strcpy(text, "Brak nawiasu otwieraj¹cego");
- if ( num == TX_CLOSEPAR ) strcpy(text, "Brak nawiasu zamykaj¹cego");
- if ( num == TX_NOTBOOL ) strcpy(text, "Wyra¿enie musi zwróciæ wartoœæ logiczn¹");
- if ( num == TX_UNDEFVAR ) strcpy(text, "Zmienna nie zosta³a zadeklarowana");
- if ( num == TX_BADLEFT ) strcpy(text, "Przypisanie niemo¿liwe");
- if ( num == TX_ENDOF ) strcpy(text, "Brak œrednika na koñcu wiersza");
- if ( num == TX_OUTCASE ) strcpy(text, "Polecenie ""case"" na zewn¹trz bloku ""switch""");
- if ( num == TX_NOTERM ) strcpy(text, "Polecenie po koñcowej klamrze zamykaj¹cej");
- if ( num == TX_CLOSEBLK ) strcpy(text, "Brak koñca bloku");
- if ( num == TX_ELSEWITHOUTIF ) strcpy(text, "Polecenie ""else"" bez wyst¹pienia ""if"" ");
- if ( num == TX_OPENBLK ) strcpy(text, "Brak klamry otwieraj¹cej");//début d'un bloc attendu?
- if ( num == TX_BADTYPE ) strcpy(text, "Z³y typ dla przypisania");
- if ( num == TX_REDEFVAR ) strcpy(text, "Zmienna nie mo¿e byæ zadeklarowana dwukrotnie");
- if ( num == TX_BAD2TYPE ) strcpy(text, "Niezgodne typy operatorów");
+ strcpy(text, "B��d");
+ if ( num == TX_OPENPAR ) strcpy(text, "Brak nawiasu otwieraj�cego");
+ if ( num == TX_CLOSEPAR ) strcpy(text, "Brak nawiasu zamykaj�cego");
+ if ( num == TX_NOTBOOL ) strcpy(text, "Wyra�enie musi zwr�ci� warto�� logiczn�");
+ if ( num == TX_UNDEFVAR ) strcpy(text, "Zmienna nie zosta�a zadeklarowana");
+ if ( num == TX_BADLEFT ) strcpy(text, "Przypisanie niemo�liwe");
+ if ( num == TX_ENDOF ) strcpy(text, "Brak �rednika na ko�cu wiersza");
+ if ( num == TX_OUTCASE ) strcpy(text, "Polecenie ""case"" na zewn�trz bloku ""switch""");
+ if ( num == TX_NOTERM ) strcpy(text, "Polecenie po ko�cowej klamrze zamykaj�cej");
+ if ( num == TX_CLOSEBLK ) strcpy(text, "Brak ko�ca bloku");
+ if ( num == TX_ELSEWITHOUTIF ) strcpy(text, "Polecenie ""else"" bez wyst�pienia ""if"" ");
+ if ( num == TX_OPENBLK ) strcpy(text, "Brak klamry otwieraj�cej");//d�but d'un bloc attendu?
+ if ( num == TX_BADTYPE ) strcpy(text, "Z�y typ dla przypisania");
+ if ( num == TX_REDEFVAR ) strcpy(text, "Zmienna nie mo�e by� zadeklarowana dwukrotnie");
+ if ( num == TX_BAD2TYPE ) strcpy(text, "Niezgodne typy operator�w");
if ( num == TX_UNDEFCALL ) strcpy(text, "Funkcja nieznana");
if ( num == TX_MISDOTS ) strcpy(text, "Brak znaku "" : ");
- if ( num == TX_WHILE ) strcpy(text, "Brak kluczowego s³owa ""while");
- if ( num == TX_BREAK ) strcpy(text, "Polecenie ""break"" na zewn¹trz pêtli");
- if ( num == TX_LABEL ) strcpy(text, "Po etykiecie musi wyst¹piæ ""for"", ""while"", ""do"" lub ""switch""");
- if ( num == TX_NOLABEL ) strcpy(text, "Taka etykieta nie istnieje");// Cette étiquette n'existe pas
+ if ( num == TX_WHILE ) strcpy(text, "Brak kluczowego s�owa ""while");
+ if ( num == TX_BREAK ) strcpy(text, "Polecenie ""break"" na zewn�trz p�tli");
+ if ( num == TX_LABEL ) strcpy(text, "Po etykiecie musi wyst�pi� ""for"", ""while"", ""do"" lub ""switch""");
+ if ( num == TX_NOLABEL ) strcpy(text, "Taka etykieta nie istnieje");// Cette �tiquette n'existe pas
if ( num == TX_NOCASE ) strcpy(text, "Brak polecenia ""case");
if ( num == TX_BADNUM ) strcpy(text, "Brak liczby");
if ( num == TX_VOID ) strcpy(text, "Pusty parametr");
if ( num == TX_NOTYP ) strcpy(text, "Brak deklaracji typu");
if ( num == TX_NOVAR ) strcpy(text, "Brak nazwy zmiennej");
- if ( num == TX_NOFONC ) strcpy(text, "Brakuj¹ca nazwa funkcji");
- if ( num == TX_OVERPARAM ) strcpy(text, "Za du¿o parametrów");
- if ( num == TX_REDEF ) strcpy(text, "Funkcja ju¿ istnieje");
+ if ( num == TX_NOFONC ) strcpy(text, "Brakuj�ca nazwa funkcji");
+ if ( num == TX_OVERPARAM ) strcpy(text, "Za du�o parametr�w");
+ if ( num == TX_REDEF ) strcpy(text, "Funkcja ju� istnieje");
if ( num == TX_LOWPARAM ) strcpy(text, "Brak wymaganego parametru");
- if ( num == TX_BADPARAM ) strcpy(text, "Funkcja o tej nazwie nie akceptuje parametrów tego typu");
- if ( num == TX_NUMPARAM ) strcpy(text, "Funkcja o tej nazwie nie akceptuje takiej liczby parametrów");
+ if ( num == TX_BADPARAM ) strcpy(text, "Funkcja o tej nazwie nie akceptuje parametr�w tego typu");
+ if ( num == TX_NUMPARAM ) strcpy(text, "Funkcja o tej nazwie nie akceptuje takiej liczby parametr�w");
if ( num == TX_NOITEM ) strcpy(text, "To nie jest obiekt tej klasy");
- if ( num == TX_DOT ) strcpy(text, "Ten obiekt nie jest cz³onkiem klasy");
+ if ( num == TX_DOT ) strcpy(text, "Ten obiekt nie jest cz�onkiem klasy");
if ( num == TX_NOCONST ) strcpy(text, "Brak odpowiedniego konstruktora");
- if ( num == TX_REDEFCLASS ) strcpy(text, "Taka klasa ju¿ istnieje");
+ if ( num == TX_REDEFCLASS ) strcpy(text, "Taka klasa ju� istnieje");
if ( num == TX_CLBRK ) strcpy(text, "Brak "" ] """);
- if ( num == TX_RESERVED ) strcpy(text, "S³owo zarezerwowane jêzyka CBOT");
- if ( num == TX_BADNEW ) strcpy(text, "Z³y argument dla funkcji ""new""");
+ if ( num == TX_RESERVED ) strcpy(text, "S�owo zarezerwowane j�zyka CBOT");
+ if ( num == TX_BADNEW ) strcpy(text, "Z�y argument dla funkcji ""new""");
if ( num == TX_OPBRK ) strcpy(text, "Oczekiwane "" [ """);
- if ( num == TX_BADSTRING ) strcpy(text, "Brak ³añcucha");
- if ( num == TX_BADINDEX ) strcpy(text, "Nieprawid³owy typ indeksu");
+ if ( num == TX_BADSTRING ) strcpy(text, "Brak �a�cucha");
+ if ( num == TX_BADINDEX ) strcpy(text, "Nieprawid�owy typ indeksu");
if ( num == TX_PRIVATE ) strcpy(text, "Element prywatny");
if ( num == TX_NOPUBLIC ) strcpy(text, "Wymagany publiczny");
if ( num == TX_DIVZERO ) strcpy(text, "Dzielenie przez zero");
- if ( num == TX_NOTINIT ) strcpy(text, "Zmienna nie zosta³a zainicjalizowana");
- if ( num == TX_BADTHROW ) strcpy(text, "Wartoœæ ujemna odrzucona przez ""throw""");//C'est quoi, ça?
- if ( num == TX_NORETVAL ) strcpy(text, "Funkcja nie zwróci³a ¿adnej wartoœci ");
- if ( num == TX_NORUN ) strcpy(text, "¯adna funkcja nie dzia³a");
- if ( num == TX_NOCALL ) strcpy(text, "Odwo³anie do nieznanej funkcji");
+ if ( num == TX_NOTINIT ) strcpy(text, "Zmienna nie zosta�a zainicjalizowana");
+ if ( num == TX_BADTHROW ) strcpy(text, "Warto�� ujemna odrzucona przez ""throw""");//C'est quoi, �a?
+ if ( num == TX_NORETVAL ) strcpy(text, "Funkcja nie zwr�ci�a �adnej warto�ci ");
+ if ( num == TX_NORUN ) strcpy(text, "�adna funkcja nie dzia�a");
+ if ( num == TX_NOCALL ) strcpy(text, "Odwo�anie do nieznanej funkcji");
if ( num == TX_NOCLASS ) strcpy(text, "Taka klasa nie istnieje");
if ( num == TX_NULLPT ) strcpy(text, "Obiekt nieznany");
- if ( num == TX_OPNAN ) strcpy(text, "Dzia³anie niemo¿liwe z wartoœci¹ ""nan""");
- if ( num == TX_OUTARRAY ) strcpy(text, "Dostêp poza tablicê");
- if ( num == TX_STACKOVER ) strcpy(text, "Przepe³nienie stosu");
- if ( num == TX_DELETEDPT ) strcpy(text, "Nieprawid³owy obiekt");
- if ( num == TX_FILEOPEN ) strcpy(text, "Nie mo¿na otworzyæ pliku");
+ if ( num == TX_OPNAN ) strcpy(text, "Dzia�anie niemo�liwe z warto�ci� ""nan""");
+ if ( num == TX_OUTARRAY ) strcpy(text, "Dost�p poza tablic�");
+ if ( num == TX_STACKOVER ) strcpy(text, "Przepe�nienie stosu");
+ if ( num == TX_DELETEDPT ) strcpy(text, "Nieprawid�owy obiekt");
+ if ( num == TX_FILEOPEN ) strcpy(text, "Nie mo�na otworzy� pliku");
if ( num == TX_NOTOPEN ) strcpy(text, "Plik nie jest otwarty");
- if ( num == TX_ERRREAD ) strcpy(text, "B³¹d odczytu");
- if ( num == TX_ERRWRITE ) strcpy(text, "B³¹d zapisu");
+ if ( num == TX_ERRREAD ) strcpy(text, "B��d odczytu");
+ if ( num == TX_ERRWRITE ) strcpy(text, "B��d zapisu");
}
if ( type == RES_KEY )
{
if ( num == 0 ) strcpy(text, "< brak >");
- if ( num == VK_LEFT ) strcpy(text, "Strza³ka w lewo");
- if ( num == VK_RIGHT ) strcpy(text, "Strza³ka w prawo");
- if ( num == VK_UP ) strcpy(text, "Strza³ka w górê");
- if ( num == VK_DOWN ) strcpy(text, "Strza³ka w dó³");
- if ( num == VK_CANCEL ) strcpy(text, "Ctrl-break");
- if ( num == VK_BACK ) strcpy(text, "<--");
- if ( num == VK_TAB ) strcpy(text, "Tab");
- if ( num == VK_CLEAR ) strcpy(text, "Delete");
- if ( num == VK_RETURN ) strcpy(text, "Enter");
- if ( num == VK_SHIFT ) strcpy(text, "Shift");
- if ( num == VK_CONTROL ) strcpy(text, "Ctrl");
- if ( num == VK_MENU ) strcpy(text, "Alt");
- if ( num == VK_PAUSE ) strcpy(text, "Pause");
- if ( num == VK_CAPITAL ) strcpy(text, "Caps Lock");
- if ( num == VK_ESCAPE ) strcpy(text, "Esc");
- if ( num == VK_SPACE ) strcpy(text, "Spacja");
- if ( num == VK_PRIOR ) strcpy(text, "Page Up");
- if ( num == VK_NEXT ) strcpy(text, "Page Down");
- if ( num == VK_END ) strcpy(text, "End");
- if ( num == VK_HOME ) strcpy(text, "Home");
- if ( num == VK_SELECT ) strcpy(text, "Zaznacz");
- if ( num == VK_EXECUTE ) strcpy(text, "Wykonaj");
- if ( num == VK_SNAPSHOT ) strcpy(text, "Print Scrn");
- if ( num == VK_INSERT ) strcpy(text, "Insert");
- if ( num == VK_DELETE ) strcpy(text, "Delete");
- if ( num == VK_HELP ) strcpy(text, "Pomoc");
- if ( num == VK_LWIN ) strcpy(text, "Lewy klawisz Windows");
- if ( num == VK_RWIN ) strcpy(text, "Prawy klawisz Windows");
- if ( num == VK_APPS ) strcpy(text, "Klawisz menu kontekstowego");
- if ( num == VK_NUMPAD0 ) strcpy(text, "Klaw. Num. 0");
- if ( num == VK_NUMPAD1 ) strcpy(text, "Klaw. Num. 1");
- if ( num == VK_NUMPAD2 ) strcpy(text, "Klaw. Num. 2");
- if ( num == VK_NUMPAD3 ) strcpy(text, "Klaw. Num. 3");
- if ( num == VK_NUMPAD4 ) strcpy(text, "Klaw. Num. 4");
- if ( num == VK_NUMPAD5 ) strcpy(text, "Klaw. Num. 5");
- if ( num == VK_NUMPAD6 ) strcpy(text, "Klaw. Num. 6");
- if ( num == VK_NUMPAD7 ) strcpy(text, "Klaw. Num. 7");
- if ( num == VK_NUMPAD8 ) strcpy(text, "Klaw. Num. 8");
- if ( num == VK_NUMPAD9 ) strcpy(text, "Klaw. Num. 9");
- if ( num == VK_MULTIPLY ) strcpy(text, "Klaw. Num. *");
- if ( num == VK_ADD ) strcpy(text, "Klaw. Num. +");
- if ( num == VK_SEPARATOR ) strcpy(text, "Klaw. Num. separator");
- if ( num == VK_SUBTRACT ) strcpy(text, "Klaw. Num. -");
- if ( num == VK_DECIMAL ) strcpy(text, "Klaw. Num. .");
- if ( num == VK_DIVIDE ) strcpy(text, "Klaw. Num. /");
- if ( num == VK_F1 ) strcpy(text, "F1");
- if ( num == VK_F2 ) strcpy(text, "F2");
- if ( num == VK_F3 ) strcpy(text, "F3");
- if ( num == VK_F4 ) strcpy(text, "F4");
- if ( num == VK_F5 ) strcpy(text, "F5");
- if ( num == VK_F6 ) strcpy(text, "F6");
- if ( num == VK_F7 ) strcpy(text, "F7");
- if ( num == VK_F8 ) strcpy(text, "F8");
- if ( num == VK_F9 ) strcpy(text, "F9");
- if ( num == VK_F10 ) strcpy(text, "F10");
- if ( num == VK_F11 ) strcpy(text, "F11");
- if ( num == VK_F12 ) strcpy(text, "F12");
- if ( num == VK_F13 ) strcpy(text, "F13");
- if ( num == VK_F14 ) strcpy(text, "F14");
- if ( num == VK_F15 ) strcpy(text, "F15");
- if ( num == VK_F16 ) strcpy(text, "F16");
- if ( num == VK_F17 ) strcpy(text, "F17");
- if ( num == VK_F18 ) strcpy(text, "F18");
- if ( num == VK_F19 ) strcpy(text, "F19");
- if ( num == VK_F20 ) strcpy(text, "F20");
- if ( num == VK_NUMLOCK ) strcpy(text, "Num Lock");
- if ( num == VK_SCROLL ) strcpy(text, "Scroll Lock");
- if ( num == VK_ATTN ) strcpy(text, "Attn");
- if ( num == VK_CRSEL ) strcpy(text, "CrSel");
- if ( num == VK_EXSEL ) strcpy(text, "ExSel");
- if ( num == VK_EREOF ) strcpy(text, "Erase EOF");
- if ( num == VK_PLAY ) strcpy(text, "Graj");
- if ( num == VK_ZOOM ) strcpy(text, "Powiêkszenie");
- if ( num == VK_PA1 ) strcpy(text, "PA1");
- if ( num == VK_OEM_CLEAR ) strcpy(text, "WyczyϾ");
- if ( num == VK_BUTTON1 ) strcpy(text, "Przycisk 1");
- if ( num == VK_BUTTON2 ) strcpy(text, "Przycisk 2");
- if ( num == VK_BUTTON3 ) strcpy(text, "Przycisk 3");
- if ( num == VK_BUTTON4 ) strcpy(text, "Przycisk 4");
- if ( num == VK_BUTTON5 ) strcpy(text, "Przycisk 5");
- if ( num == VK_BUTTON6 ) strcpy(text, "Przycisk 6");
- if ( num == VK_BUTTON7 ) strcpy(text, "Przycisk 7");
- if ( num == VK_BUTTON8 ) strcpy(text, "Przycisk 8");
- if ( num == VK_BUTTON9 ) strcpy(text, "Przycisk 9");
- if ( num == VK_BUTTON10 ) strcpy(text, "Przycisk 10");
- if ( num == VK_BUTTON11 ) strcpy(text, "Przycisk 11");
- if ( num == VK_BUTTON12 ) strcpy(text, "Przycisk 12");
- if ( num == VK_BUTTON13 ) strcpy(text, "Przycisk 13");
- if ( num == VK_BUTTON14 ) strcpy(text, "Przycisk 14");
- if ( num == VK_BUTTON15 ) strcpy(text, "Przycisk 15");
- if ( num == VK_BUTTON16 ) strcpy(text, "Przycisk 16");
- if ( num == VK_BUTTON17 ) strcpy(text, "Przycisk 17");
- if ( num == VK_BUTTON18 ) strcpy(text, "Przycisk 18");
- if ( num == VK_BUTTON19 ) strcpy(text, "Przycisk 19");
- if ( num == VK_BUTTON20 ) strcpy(text, "Przycisk 20");
- if ( num == VK_BUTTON21 ) strcpy(text, "Przycisk 21");
- if ( num == VK_BUTTON22 ) strcpy(text, "Przycisk 22");
- if ( num == VK_BUTTON23 ) strcpy(text, "Przycisk 23");
- if ( num == VK_BUTTON24 ) strcpy(text, "Przycisk 24");
- if ( num == VK_BUTTON25 ) strcpy(text, "Przycisk 25");
- if ( num == VK_BUTTON26 ) strcpy(text, "Przycisk 26");
- if ( num == VK_BUTTON27 ) strcpy(text, "Przycisk 27");
- if ( num == VK_BUTTON28 ) strcpy(text, "Przycisk 28");
- if ( num == VK_BUTTON29 ) strcpy(text, "Przycisk 29");
- if ( num == VK_BUTTON30 ) strcpy(text, "Przycisk 30");
- if ( num == VK_BUTTON31 ) strcpy(text, "Przycisk 31");
- if ( num == VK_BUTTON32 ) strcpy(text, "Przycisk 32");
- if ( num == VK_WHEELUP ) strcpy(text, "Kó³ko w górê");
- if ( num == VK_WHEELDOWN ) strcpy(text, "Kó³ko w dó³");
+ if ( num == SDLK_LEFT ) strcpy(text, "Strza�ka w lewo");
+ if ( num == SDLK_RIGHT ) strcpy(text, "Strza�ka w prawo");
+ if ( num == SDLK_UP ) strcpy(text, "Strza�ka w g�r�");
+ if ( num == SDLK_DOWN ) strcpy(text, "Strza�ka w d�");
+ if ( num == SDLK_CANCEL ) strcpy(text, "Ctrl-break");
+ if ( num == SDLK_BACK ) strcpy(text, "<--");
+ if ( num == SDLK_TAB ) strcpy(text, "Tab");
+ if ( num == SDLK_CLEAR ) strcpy(text, "Delete");
+ if ( num == SDLK_RETURN ) strcpy(text, "Enter");
+ if ( num == SDLK_SHIFT ) strcpy(text, "Shift");
+ if ( num == SDLK_CONTROL ) strcpy(text, "Ctrl");
+ if ( num == SDLK_MENU ) strcpy(text, "Alt");
+ if ( num == SDLK_PAUSE ) strcpy(text, "Pause");
+ if ( num == SDLK_CAPITAL ) strcpy(text, "Caps Lock");
+ if ( num == SDLK_ESCAPE ) strcpy(text, "Esc");
+ if ( num == SDLK_SPACE ) strcpy(text, "Spacja");
+ if ( num == SDLK_PRIOR ) strcpy(text, "Page Up");
+ if ( num == SDLK_NEXT ) strcpy(text, "Page Down");
+ if ( num == SDLK_END ) strcpy(text, "End");
+ if ( num == SDLK_HOME ) strcpy(text, "Home");
+ if ( num == SDLK_SELECT ) strcpy(text, "Zaznacz");
+ if ( num == SDLK_EXECUTE ) strcpy(text, "Wykonaj");
+ if ( num == SDLK_SNAPSHOT ) strcpy(text, "Print Scrn");
+ if ( num == SDLK_INSERT ) strcpy(text, "Insert");
+ if ( num == SDLK_DELETE ) strcpy(text, "Delete");
+ if ( num == SDLK_HELP ) strcpy(text, "Pomoc");
+ if ( num == SDLK_LWIN ) strcpy(text, "Lewy klawisz Windows");
+ if ( num == SDLK_RWIN ) strcpy(text, "Prawy klawisz Windows");
+ if ( num == SDLK_APPS ) strcpy(text, "Klawisz menu kontekstowego");
+ if ( num == SDLK_NUMPAD0 ) strcpy(text, "Klaw. Num. 0");
+ if ( num == SDLK_NUMPAD1 ) strcpy(text, "Klaw. Num. 1");
+ if ( num == SDLK_NUMPAD2 ) strcpy(text, "Klaw. Num. 2");
+ if ( num == SDLK_NUMPAD3 ) strcpy(text, "Klaw. Num. 3");
+ if ( num == SDLK_NUMPAD4 ) strcpy(text, "Klaw. Num. 4");
+ if ( num == SDLK_NUMPAD5 ) strcpy(text, "Klaw. Num. 5");
+ if ( num == SDLK_NUMPAD6 ) strcpy(text, "Klaw. Num. 6");
+ if ( num == SDLK_NUMPAD7 ) strcpy(text, "Klaw. Num. 7");
+ if ( num == SDLK_NUMPAD8 ) strcpy(text, "Klaw. Num. 8");
+ if ( num == SDLK_NUMPAD9 ) strcpy(text, "Klaw. Num. 9");
+ if ( num == SDLK_MULTIPLY ) strcpy(text, "Klaw. Num. *");
+ if ( num == SDLK_ADD ) strcpy(text, "Klaw. Num. +");
+ if ( num == SDLK_SEPARATOR ) strcpy(text, "Klaw. Num. separator");
+ if ( num == SDLK_SUBTRACT ) strcpy(text, "Klaw. Num. -");
+ if ( num == SDLK_DECIMAL ) strcpy(text, "Klaw. Num. .");
+ if ( num == SDLK_DIVIDE ) strcpy(text, "Klaw. Num. /");
+ if ( num == SDLK_F1 ) strcpy(text, "F1");
+ if ( num == SDLK_F2 ) strcpy(text, "F2");
+ if ( num == SDLK_F3 ) strcpy(text, "F3");
+ if ( num == SDLK_F4 ) strcpy(text, "F4");
+ if ( num == SDLK_F5 ) strcpy(text, "F5");
+ if ( num == SDLK_F6 ) strcpy(text, "F6");
+ if ( num == SDLK_F7 ) strcpy(text, "F7");
+ if ( num == SDLK_F8 ) strcpy(text, "F8");
+ if ( num == SDLK_F9 ) strcpy(text, "F9");
+ if ( num == SDLK_F10 ) strcpy(text, "F10");
+ if ( num == SDLK_F11 ) strcpy(text, "F11");
+ if ( num == SDLK_F12 ) strcpy(text, "F12");
+ if ( num == SDLK_F13 ) strcpy(text, "F13");
+ if ( num == SDLK_F14 ) strcpy(text, "F14");
+ if ( num == SDLK_F15 ) strcpy(text, "F15");
+ if ( num == SDLK_F16 ) strcpy(text, "F16");
+ if ( num == SDLK_F17 ) strcpy(text, "F17");
+ if ( num == SDLK_F18 ) strcpy(text, "F18");
+ if ( num == SDLK_F19 ) strcpy(text, "F19");
+ if ( num == SDLK_F20 ) strcpy(text, "F20");
+ if ( num == SDLK_NUMLOCK ) strcpy(text, "Num Lock");
+ if ( num == SDLK_SCROLL ) strcpy(text, "Scroll Lock");
+ if ( num == SDLK_ATTN ) strcpy(text, "Attn");
+ if ( num == SDLK_CRSEL ) strcpy(text, "CrSel");
+ if ( num == SDLK_EXSEL ) strcpy(text, "ExSel");
+ if ( num == SDLK_EREOF ) strcpy(text, "Erase EOF");
+ if ( num == SDLK_PLAY ) strcpy(text, "Graj");
+ if ( num == SDLK_ZOOM ) strcpy(text, "Powi�kszenie");
+ if ( num == SDLK_PA1 ) strcpy(text, "PA1");
+ if ( num == SDLK_OEM_CLEAR ) strcpy(text, "Wyczy��");
+ if ( num == SDLK_BUTTON1 ) strcpy(text, "Przycisk 1");
+ if ( num == SDLK_BUTTON2 ) strcpy(text, "Przycisk 2");
+ if ( num == SDLK_BUTTON3 ) strcpy(text, "Przycisk 3");
+ if ( num == SDLK_BUTTON4 ) strcpy(text, "Przycisk 4");
+ if ( num == SDLK_BUTTON5 ) strcpy(text, "Przycisk 5");
+ if ( num == SDLK_BUTTON6 ) strcpy(text, "Przycisk 6");
+ if ( num == SDLK_BUTTON7 ) strcpy(text, "Przycisk 7");
+ if ( num == SDLK_BUTTON8 ) strcpy(text, "Przycisk 8");
+ if ( num == SDLK_BUTTON9 ) strcpy(text, "Przycisk 9");
+ if ( num == SDLK_BUTTON10 ) strcpy(text, "Przycisk 10");
+ if ( num == SDLK_BUTTON11 ) strcpy(text, "Przycisk 11");
+ if ( num == SDLK_BUTTON12 ) strcpy(text, "Przycisk 12");
+ if ( num == SDLK_BUTTON13 ) strcpy(text, "Przycisk 13");
+ if ( num == SDLK_BUTTON14 ) strcpy(text, "Przycisk 14");
+ if ( num == SDLK_BUTTON15 ) strcpy(text, "Przycisk 15");
+ if ( num == SDLK_BUTTON16 ) strcpy(text, "Przycisk 16");
+ if ( num == SDLK_BUTTON17 ) strcpy(text, "Przycisk 17");
+ if ( num == SDLK_BUTTON18 ) strcpy(text, "Przycisk 18");
+ if ( num == SDLK_BUTTON19 ) strcpy(text, "Przycisk 19");
+ if ( num == SDLK_BUTTON20 ) strcpy(text, "Przycisk 20");
+ if ( num == SDLK_BUTTON21 ) strcpy(text, "Przycisk 21");
+ if ( num == SDLK_BUTTON22 ) strcpy(text, "Przycisk 22");
+ if ( num == SDLK_BUTTON23 ) strcpy(text, "Przycisk 23");
+ if ( num == SDLK_BUTTON24 ) strcpy(text, "Przycisk 24");
+ if ( num == SDLK_BUTTON25 ) strcpy(text, "Przycisk 25");
+ if ( num == SDLK_BUTTON26 ) strcpy(text, "Przycisk 26");
+ if ( num == SDLK_BUTTON27 ) strcpy(text, "Przycisk 27");
+ if ( num == SDLK_BUTTON28 ) strcpy(text, "Przycisk 28");
+ if ( num == SDLK_BUTTON29 ) strcpy(text, "Przycisk 29");
+ if ( num == SDLK_BUTTON30 ) strcpy(text, "Przycisk 30");
+ if ( num == SDLK_BUTTON31 ) strcpy(text, "Przycisk 31");
+ if ( num == SDLK_BUTTON32 ) strcpy(text, "Przycisk 32");
+ if ( num == SDLK_WHEELUP ) strcpy(text, "K�ko w g�r�");
+ if ( num == SDLK_WHEELDOWN ) strcpy(text, "K�ko w d�");
}
#endif
diff --git a/src/common/restext.h b/src/common/restext.h
index d5f22de..abd8fd9 100644
--- a/src/common/restext.h
+++ b/src/common/restext.h
@@ -18,11 +18,11 @@
#pragma once
-
+//#include "graphics/engine/engine.h"
#include "common/event.h"
-class CD3DEngine;
+class Gfx::CEngine;
@@ -32,7 +32,7 @@ class CD3DEngine;
enum ResType
{
RES_TEXT = 0, // RT_*
- RES_EVENT = 1, // EVENT_* (EventMsg)
+ RES_EVENT = 1, // EVENT_* (EventType)
RES_OBJECT = 2, // OBJECT_* (ObjectType)
RES_ERR = 3, // ERR_* (Error)
RES_KEY = 4, // VK_* (keys)
@@ -145,10 +145,10 @@ enum ResTextType
};
-static CD3DEngine* g_engine = 0;
+static Gfx::CEngine* g_engine = 0;
static char g_gamerName[100];
-extern void SetEngine(CD3DEngine *engine);
+extern void SetEngine(Gfx::CEngine *engine);
extern void SetGlobalGamerName(char *name);
extern bool SearchKey(char *cmd, KeyRank &key);
extern void PutKeyName(char* dst, char* src);
diff --git a/src/object/robotmain.h b/src/object/robotmain.h
index 559453b..d3b2e4d 100644
--- a/src/object/robotmain.h
+++ b/src/object/robotmain.h
@@ -22,12 +22,14 @@
#include <stdio.h>
#include "common/misc.h"
-#include "old/d3dengine.h"
+//#include "old/d3dengine.h"
+#include "graphics/engine/engine.h"
#include "object/object.h"
#include "object/mainmovie.h"
-#include "old/camera.h"
-#include "old/particule.h"
-
+//#include "old/camera.h"
+#include "graphics/engine/camera.h"
+//#include "old/particule.h"
+#include "graphics/engine/particle.h"
enum Phase
{
@@ -260,7 +262,7 @@ public:
void HideDropZone(CObject* metal);
void ShowDropZone(CObject* metal, CObject* truck);
void FlushShowLimit(int i);
- void SetShowLimit(int i, ParticuleType parti, CObject *pObj, Math::Vector pos, float radius, float duration=SHOWLIMITTIME);
+ void SetShowLimit(int i, Gfx::ParticleType parti, CObject *pObj, Math::Vector pos, float radius, float duration=SHOWLIMITTIME);
void AdjustShowLimit(int i, Math::Vector pos);
void StartShowLimit();
void FrameShowLimit(float rTime);
@@ -287,7 +289,7 @@ public:
void IOWriteObject(FILE *file, CObject* pObj, char *cmd);
CObject* IOReadObject(char *line, char* filename, int objRank);
- int CreateSpot(Math::Vector pos, D3DCOLORVALUE color);
+ int CreateSpot(Math::Vector pos, Gfx::Color color);
protected:
bool EventFrame(const Event &event);
@@ -300,7 +302,7 @@ protected:
void CreateModel();
Math::Vector LookatPoint( Math::Vector eye, float angleH, float angleV, float length );
CObject* CreateObject(Math::Vector pos, float angle, float zoom, float height, ObjectType type, float power=1.0f, bool bTrainer=false, bool bToy=false, int option=0);
- int CreateLight(Math::Vector direction, D3DCOLORVALUE color);
+ int CreateLight(Math::Vector direction, Gfx::Color color);
void HiliteClear();
void HiliteObject(Math::Point pos);
void HiliteFrame(float rTime);
@@ -309,7 +311,7 @@ protected:
CObject* DetectObject(Math::Point pos);
void ChangeCamera();
void RemoteCamera(float pan, float zoom, float rTime);
- void KeyCamera(EventMsg event, long param);
+ void KeyCamera(EventType event, long param);
void AbortMovie();
bool IsSelectable(CObject* pObj);
void SelectOneObject(CObject* pObj, bool bDisplayError=true);
@@ -319,7 +321,7 @@ protected:
void UpdateInfoText();
CObject* SearchObject(ObjectType type);
CObject* RetSelect();
- void StartDisplayVisit(EventMsg event);
+ void StartDisplayVisit(EventType event);
void FrameVisit(float rTime);
void StopDisplayVisit();
void ExecuteCmd(char *cmd);
@@ -333,7 +335,7 @@ protected:
CMainMap* m_map;
CEvent* m_event;
CD3DEngine* m_engine;
- CParticule* m_particule;
+ Gfx::CParticle* m_particule;
CWater* m_water;
CCloud* m_cloud;
CBlitz* m_blitz;
@@ -359,7 +361,7 @@ protected:
Phase m_phase;
int m_cameraRank;
- D3DCOLORVALUE m_color;
+ Gfx::Color m_color;
bool m_bFreePhoto;
bool m_bCmdEdit;
bool m_bShowPos;
@@ -420,7 +422,7 @@ protected:
float m_cameraPan;
float m_cameraZoom;
- EventMsg m_visitLast;
+ EventType m_visitLast;
CObject* m_visitObject;
CObject* m_visitArrow;
float m_visitTime;
@@ -446,14 +448,14 @@ protected:
ShowLimit m_showLimit[MAXSHOWLIMIT];
- D3DCOLORVALUE m_colorRefBot;
- D3DCOLORVALUE m_colorNewBot;
- D3DCOLORVALUE m_colorRefAlien;
- D3DCOLORVALUE m_colorNewAlien;
- D3DCOLORVALUE m_colorRefGreen;
- D3DCOLORVALUE m_colorNewGreen;
- D3DCOLORVALUE m_colorRefWater;
- D3DCOLORVALUE m_colorNewWater;
+ Gfx::Color m_colorRefBot;
+ Gfx::Color m_colorNewBot;
+ Gfx::Color m_colorRefAlien;
+ Gfx::Color m_colorNewAlien;
+ Gfx::Color m_colorRefGreen;
+ Gfx::Color m_colorNewGreen;
+ Gfx::Color m_colorRefWater;
+ Gfx::Color m_colorNewWater;
float m_colorShiftWater;
};
diff --git a/src/ui/button.cpp b/src/ui/button.cpp
index 0147f63..ab2c644 100644
--- a/src/ui/button.cpp
+++ b/src/ui/button.cpp
@@ -15,15 +15,16 @@
// * along with this program. If not, see http://www.gnu.org/licenses/.
-#include <windows.h>
-#include <stdio.h>
-#include <d3d.h>
-
-#include "common/struct.h"
-#include "old/d3dengine.h"
-#include "common/language.h"
-#include "old/math3d.h"
-#include "common/event.h"
+//#include <windows.h>
+//#include <stdio.h>
+//#include <d3d.h>
+
+//#include "common/struct.h"
+//#include "old/d3dengine.h"
+#include "graphics/engine/engine.h"
+//#include "common/language.h"
+//#include "old/math3d.h"
+//#include "common/event.h"
#include "common/misc.h"
#include "common/iman.h"
#include "common/restext.h"
@@ -55,18 +56,18 @@ CButton::~CButton()
// Creates a new button.
-bool CButton::Create(Math::Point pos, Math::Point dim, int icon, EventMsg eventMsg)
+bool CButton::Create(Math::Point pos, Math::Point dim, int icon, EventType eventType)
{
- if ( eventMsg == EVENT_NULL ) eventMsg = GetUniqueEventMsg();
+ if ( eventType == EVENT_NULL ) eventType = GetUniqueEventType();
- CControl::Create(pos, dim, icon, eventMsg);
+ CControl::Create(pos, dim, icon, eventType);
if ( icon == -1 )
{
char name[100];
char* p;
- GetResource(RES_EVENT, eventMsg, name);
+ GetResource(RES_EVENT, eventType, name);
p = strchr(name, '\\');
if ( p != 0 ) *p = 0;
SetName(name);
@@ -85,7 +86,7 @@ bool CButton::EventProcess(const Event &event)
CControl::EventProcess(event);
- if ( event.event == EVENT_FRAME )
+ if ( event.type == EVENT_FRAME )
{
if ( m_bRepeat && m_repeat != 0.0f )
{
@@ -95,14 +96,15 @@ bool CButton::EventProcess(const Event &event)
m_repeat = DELAY2;
Event newEvent = event;
- newEvent.event = m_eventMsg;
+ newEvent.type = m_eventType;
m_event->AddEvent(newEvent);
return false;
}
}
}
- if ( event.event == EVENT_LBUTTONDOWN &&
+ if ( event.type == EVENT_MOUSE_BUTTON_DOWN &&
+ event.mouseButton.button == 1 &&
(m_state & STATE_VISIBLE) &&
(m_state & STATE_ENABLE) )
{
@@ -114,25 +116,27 @@ bool CButton::EventProcess(const Event &event)
if ( m_bImmediat || m_bRepeat )
{
Event newEvent = event;
- newEvent.event = m_eventMsg;
+ newEvent.type = m_eventType;
m_event->AddEvent(newEvent);
}
return false;
}
}
- if ( event.event == EVENT_MOUSEMOVE && m_bCapture )
+ if ( event.type == EVENT_MOUSE_MOVE && m_bCapture )
{
}
- if ( event.event == EVENT_LBUTTONUP && m_bCapture )
+ if ( event.type == EVENT_MOUSE_BUTTON_UP && //left
+ event.mouseButton.button == 1 &&
+ m_bCapture )
{
if ( CControl::Detect(event.pos) )
{
if ( !m_bImmediat && !m_bRepeat )
{
Event newEvent = event;
- newEvent.event = m_eventMsg;
+ newEvent.type = m_eventType;
m_event->AddEvent(newEvent);
}
}
@@ -182,7 +186,7 @@ void CButton::Draw()
(m_state & STATE_SIMPLY) == 0 )
{
m_engine->SetTexture("button2.tga");
- m_engine->SetState(D3DSTATENORMAL);
+ m_engine->SetState(Gfx::ENG_RSTATE_NORMAL);
dp = 0.5f/256.0f;
@@ -225,7 +229,7 @@ void CButton::SetImmediat(bool bImmediat)
m_bImmediat = bImmediat;
}
-bool CButton::RetImmediat()
+bool CButton::GetImmediat()
{
return m_bImmediat;
}
@@ -239,7 +243,7 @@ void CButton::SetRepeat(bool bRepeat)
m_bRepeat = bRepeat;
}
-bool CButton::RetRepeat()
+bool CButton::GetRepeat()
{
return m_bRepeat;
}
diff --git a/src/ui/button.h b/src/ui/button.h
index 0a05b11..38b2dab 100644
--- a/src/ui/button.h
+++ b/src/ui/button.h
@@ -22,7 +22,7 @@
#include "ui/control.h"
-class CD3DEngine;
+//class CD3DEngine;
@@ -32,17 +32,17 @@ public:
CButton(CInstanceManager* iMan);
virtual ~CButton();
- bool Create(Math::Point pos, Math::Point dim, int icon, EventMsg eventMsg);
+ bool Create(Math::Point pos, Math::Point dim, int icon, EventType eventType);
bool EventProcess(const Event &event);
void Draw();
void SetImmediat(bool bRepeat);
- bool RetImmediat();
+ bool GetImmediat();
void SetRepeat(bool bRepeat);
- bool RetRepeat();
+ bool GetRepeat();
protected:
diff --git a/src/ui/check.cpp b/src/ui/check.cpp
index 18c7633..424e4fc 100644
--- a/src/ui/check.cpp
+++ b/src/ui/check.cpp
@@ -15,18 +15,19 @@
// * along with this program. If not, see http://www.gnu.org/licenses/.
-#include <windows.h>
+//#include <windows.h>
#include <stdio.h>
-#include <d3d.h>
+//#include <d3d.h>
#include "common/struct.h"
-#include "old/d3dengine.h"
-#include "old/math3d.h"
+//#include "old/d3dengine.h"
+#include "graphics/engine/engine.h"
+//#include "old/math3d.h"
#include "common/event.h"
#include "common/misc.h"
#include "common/iman.h"
#include "common/restext.h"
-#include "old/text.h"
+//#include "old/text.h"
#include "ui/check.h"
@@ -47,16 +48,16 @@ CCheck::~CCheck()
// Creates a new button.
-bool CCheck::Create(Math::Point pos, Math::Point dim, int icon, EventMsg eventMsg)
+bool CCheck::Create(Math::Point pos, Math::Point dim, int icon, EventType eventType)
{
char name[100];
char* p;
- if ( eventMsg == EVENT_NULL ) eventMsg = GetUniqueEventMsg();
+ if ( eventType == EVENT_NULL ) eventType = GetUniqueEventType();
- CControl::Create(pos, dim, icon, eventMsg);
+ CControl::Create(pos, dim, icon, eventType);
- GetResource(RES_EVENT, eventMsg, name);
+ GetResource(RES_EVENT, eventType, name);
p = strchr(name, '\\');
if ( p != 0 ) *p = 0;
SetName(name);
@@ -73,14 +74,15 @@ bool CCheck::EventProcess(const Event &event)
CControl::EventProcess(event);
- if ( event.event == EVENT_LBUTTONDOWN &&
- (m_state & STATE_VISIBLE) &&
+ if ( event.type == EVENT_MOUSE_BUTTON_DOWN &&
+ event.mouseButton.button == 1 &&
+ (m_state & STATE_VISIBLE) &&
(m_state & STATE_ENABLE) )
{
if ( CControl::Detect(event.pos) )
{
Event newEvent = event;
- newEvent.event = m_eventMsg;
+ newEvent.type = m_eventType;
m_event->AddEvent(newEvent);
return false;
}
@@ -109,7 +111,7 @@ void CCheck::Draw()
}
m_engine->SetTexture("button1.tga");
- m_engine->SetState(D3DSTATENORMAL);
+ m_engine->SetState(Gfx::ENG_RSTATE_NORMAL);
zoomExt = 1.00f;
zoomInt = 0.95f;
@@ -143,7 +145,7 @@ void CCheck::Draw()
if ( (m_state & STATE_DEAD) == 0 )
{
- m_engine->SetState(D3DSTATETTw);
+ m_engine->SetState(Gfx::ENG_RSTATE_TTEXTURE_WHITE);
if ( m_state & STATE_CHECK )
{
@@ -159,8 +161,8 @@ void CCheck::Draw()
// Draw the name.
pos.x = m_pos.x+m_dim.y/0.9f;
pos.y = m_pos.y+m_dim.y*0.50f;
- pos.y -= m_engine->RetText()->RetHeight(m_fontSize, m_fontType)/2.0f;
- m_engine->RetText()->DrawText(m_name, pos, m_dim.x, 1, m_fontSize, m_fontStretch, m_fontType, 0);
+ pos.y -= m_engine->GetText()->GetHeight(m_fontType, m_fontSize)/2.0f;
+ m_engine->GetText()->DrawText(m_name, m_fontType, m_fontSize, pos, m_dim.x, m_textAlign, 0);
}
diff --git a/src/ui/check.h b/src/ui/check.h
index 24c58f3..3af6849 100644
--- a/src/ui/check.h
+++ b/src/ui/check.h
@@ -32,7 +32,7 @@ public:
CCheck(CInstanceManager* iMan);
virtual ~CCheck();
- bool Create(Math::Point pos, Math::Point dim, int icon, EventMsg eventMsg);
+ bool Create(Math::Point pos, Math::Point dim, int icon, EventType eventType);
bool EventProcess(const Event &event);
diff --git a/src/ui/color.cpp b/src/ui/color.cpp
index 1038343..3ba68b3 100644
--- a/src/ui/color.cpp
+++ b/src/ui/color.cpp
@@ -15,14 +15,16 @@
// * along with this program. If not, see http://www.gnu.org/licenses/.
-#include <windows.h>
+//#include <windows.h>
#include <stdio.h>
-#include <d3d.h>
-
-#include "common/struct.h"
-#include "old/d3dengine.h"
-#include "common/language.h"
-#include "old/math3d.h"
+//#include <d3d.h>
+
+//#include "common/struct.h"
+//#include "old/d3dengine.h"
+#include "graphics/engine/engine.h"
+#include "graphics/core/device.h"
+//#include "common/language.h"
+//#include "old/math3d.h"
#include "common/event.h"
#include "common/misc.h"
#include "common/iman.h"
@@ -58,18 +60,18 @@ CColor::~CColor()
// Creates a new button.
-bool CColor::Create(Math::Point pos, Math::Point dim, int icon, EventMsg eventMsg)
+bool CColor::Create(Math::Point pos, Math::Point dim, int icon, EventType eventType)
{
- if ( eventMsg == EVENT_NULL ) eventMsg = GetUniqueEventMsg();
+ if ( eventType == EVENT_NULL ) eventType = GetUniqueEventType();
- CControl::Create(pos, dim, icon, eventMsg);
+ CControl::Create(pos, dim, icon, eventType);
if ( icon == -1 )
{
char name[100];
char* p;
- GetResource(RES_EVENT, eventMsg, name);
+ GetResource(RES_EVENT, eventType, name);
p = strchr(name, '\\');
if ( p != 0 ) *p = 0;
SetName(name);
@@ -87,7 +89,7 @@ bool CColor::EventProcess(const Event &event)
CControl::EventProcess(event);
- if ( event.event == EVENT_FRAME && m_bRepeat )
+ if ( event.type == EVENT_FRAME && m_bRepeat )
{
if ( m_repeat != 0.0f )
{
@@ -97,14 +99,15 @@ bool CColor::EventProcess(const Event &event)
m_repeat = DELAY2;
Event newEvent = event;
- newEvent.event = m_eventMsg;
+ newEvent.type = m_eventType;
m_event->AddEvent(newEvent);
return false;
}
}
}
- if ( event.event == EVENT_LBUTTONDOWN &&
+ if ( event.type == EVENT_MOUSE_BUTTON_DOWN &&
+ event.mouseButton.button == 1 &&
(m_state & STATE_VISIBLE) &&
(m_state & STATE_ENABLE) )
{
@@ -113,13 +116,13 @@ bool CColor::EventProcess(const Event &event)
m_repeat = DELAY1;
Event newEvent = event;
- newEvent.event = m_eventMsg;
+ newEvent.type = m_eventType;
m_event->AddEvent(newEvent);
return false;
}
}
- if ( event.event == EVENT_LBUTTONUP )
+ if ( event.type == EVENT_MOUSE_BUTTON_UP && event.mouseButton.button == 1)
{
m_repeat = 0.0f;
}
@@ -132,9 +135,9 @@ bool CColor::EventProcess(const Event &event)
void CColor::Draw()
{
- LPDIRECT3DDEVICE7 device;
- D3DLVERTEX vertex[4]; // 2 triangles
- D3DCOLOR color;
+ Gfx::CDevice* device;
+ Gfx::VertexCol vertex[4]; // 2 triangles
+ Gfx::Color color;
Math::Point p1, p2;
if ( (m_state & STATE_VISIBLE) == 0 ) return;
@@ -145,36 +148,37 @@ void CColor::Draw()
}
m_engine->SetTexture("button1.tga");
- m_engine->SetState(D3DSTATENORMAL);
+ m_engine->SetState(Gfx::ENG_RSTATE_NORMAL);
CControl::Draw();
#if _TEEN
- color = ::RetColor(m_color);
+// color = GetColor(m_color);
+ color = GetColor();
m_engine->SetTexture("xxx.tga"); // no texture
- m_engine->SetState(D3DSTATENORMAL);
+ m_engine->SetState(Gfx::ENG_RSTATE_NORMAL);
- device = m_engine->RetD3DDevice();
+ device = m_engine->GetDevice();
p1.x = m_pos.x+(4.0f/640.0f);
p1.y = m_pos.y+(4.0f/480.0f);
p2.x = m_pos.x+m_dim.x-(4.0f/640.0f);
p2.y = m_pos.y+m_dim.y-(4.0f/480.0f);
- vertex[0] = D3DLVERTEX(D3DVECTOR(p1.x, p1.y, 0.0f), 0x00000000,0x00000000, 0.0f,0.0f);
- vertex[1] = D3DLVERTEX(D3DVECTOR(p1.x, p2.y, 0.0f), 0x00000000,0x00000000, 0.0f,0.0f);
- vertex[2] = D3DLVERTEX(D3DVECTOR(p2.x, p1.y, 0.0f), 0x00000000,0x00000000, 0.0f,0.0f);
- vertex[3] = D3DLVERTEX(D3DVECTOR(p2.x, p2.y, 0.0f), 0x00000000,0x00000000, 0.0f,0.0f);
- device->DrawPrimitive(D3DPT_TRIANGLESTRIP, D3DFVF_LVERTEX, vertex, 4, NULL);
+ vertex[0] = Gfx::Vertex(Math::Vector(p1.x, p1.y, 0.0f), 0x00000000,0x00000000, 0.0f,0.0f);
+ vertex[1] = Gfx::Vertex(Math::Vector(p1.x, p2.y, 0.0f), 0x00000000,0x00000000, 0.0f,0.0f);
+ vertex[2] = Gfx::Vertex(Math::Vector(p2.x, p1.y, 0.0f), 0x00000000,0x00000000, 0.0f,0.0f);
+ vertex[3] = Gfx::Vertex(Math::Vector(p2.x, p2.y, 0.0f), 0x00000000,0x00000000, 0.0f,0.0f);
+ device->DrawPrimitive(Gfx::PRIMITIVE_TRIANGLE_STRIP, vertex, 4);
p1.x = m_pos.x+(5.0f/640.0f);
p1.y = m_pos.y+(5.0f/480.0f);
p2.x = m_pos.x+m_dim.x-(5.0f/640.0f);
p2.y = m_pos.y+m_dim.y-(5.0f/480.0f);
- vertex[0] = D3DLVERTEX(D3DVECTOR(p1.x, p1.y, 0.0f), color,0x00000000, 0.0f,0.0f);
- vertex[1] = D3DLVERTEX(D3DVECTOR(p1.x, p2.y, 0.0f), color,0x00000000, 0.0f,0.0f);
- vertex[2] = D3DLVERTEX(D3DVECTOR(p2.x, p1.y, 0.0f), color,0x00000000, 0.0f,0.0f);
- vertex[3] = D3DLVERTEX(D3DVECTOR(p2.x, p2.y, 0.0f), color,0x00000000, 0.0f,0.0f);
- device->DrawPrimitive(D3DPT_TRIANGLESTRIP, D3DFVF_LVERTEX, vertex, 4, NULL);
+ vertex[0] = Gfx::Vertex(Math::Vector(p1.x, p1.y, 0.0f), color,0x00000000, 0.0f,0.0f);
+ vertex[1] = Gfx::Vertex(Math::Vector(p1.x, p2.y, 0.0f), color,0x00000000, 0.0f,0.0f);
+ vertex[2] = Gfx::Vertex(Math::Vector(p2.x, p1.y, 0.0f), color,0x00000000, 0.0f,0.0f);
+ vertex[3] = Gfx::Vertex(Math::Vector(p2.x, p2.y, 0.0f), color,0x00000000, 0.0f,0.0f);
+ device->DrawPrimitive(Gfx::PRIMITIVE_TRIANGLE_STRIP, vertex, 4);
m_engine->AddStatisticTriangle(4);
#else
@@ -183,18 +187,18 @@ void CColor::Draw()
p2.x = m_pos.x+m_dim.x-(3.0f/640.0f);
p2.y = m_pos.y+m_dim.y-(3.0f/480.0f);
- color = ::RetColor(m_color);
+ color = GetColor();
m_engine->SetTexture("xxx.tga"); // no texture
- m_engine->SetState(D3DSTATENORMAL);
+ m_engine->SetState(Gfx::ENG_RSTATE_NORMAL);
- vertex[0] = D3DLVERTEX(D3DVECTOR(p1.x, p1.y, 0.0f), color,0x00000000, 0.0f,0.0f);
- vertex[1] = D3DLVERTEX(D3DVECTOR(p1.x, p2.y, 0.0f), color,0x00000000, 0.0f,0.0f);
- vertex[2] = D3DLVERTEX(D3DVECTOR(p2.x, p1.y, 0.0f), color,0x00000000, 0.0f,0.0f);
- vertex[3] = D3DLVERTEX(D3DVECTOR(p2.x, p2.y, 0.0f), color,0x00000000, 0.0f,0.0f);
+ vertex[0] = Gfx::VertexCol(Math::Vector(p1.x, p1.y, 0.0f), color,0x00000000, Math::Point( 0.0f,0.0f));
+ vertex[1] = Gfx::VertexCol(Math::Vector(p1.x, p2.y, 0.0f), color,0x00000000, Math::Point(0.0f,0.0f));
+ vertex[2] = Gfx::VertexCol(Math::Vector(p2.x, p1.y, 0.0f), color,0x00000000, Math::Point(0.0f,0.0f));
+ vertex[3] = Gfx::VertexCol(Math::Vector(p2.x, p2.y, 0.0f), color,0x00000000, Math::Point(0.0f,0.0f));
- device = m_engine->RetD3DDevice();
- device->DrawPrimitive(D3DPT_TRIANGLESTRIP, D3DFVF_LVERTEX, vertex, 4, NULL);
+ device = m_engine->GetDevice();
+ device->DrawPrimitive(Gfx::PRIMITIVE_TRIANGLE_STRIP, vertex, 4);
m_engine->AddStatisticTriangle(2);
#endif
}
@@ -205,18 +209,18 @@ void CColor::SetRepeat(bool bRepeat)
m_bRepeat = bRepeat;
}
-bool CColor::RetRepeat()
+bool CColor::GetRepeat()
{
return m_bRepeat;
}
-void CColor::SetColor(D3DCOLORVALUE color)
+void CColor::SetColor(Gfx::Color color)
{
m_color = color;
}
-D3DCOLORVALUE CColor::RetColor()
+Gfx::Color CColor::GetColor()
{
return m_color;
}
diff --git a/src/ui/color.h b/src/ui/color.h
index 41052a7..151a4df 100644
--- a/src/ui/color.h
+++ b/src/ui/color.h
@@ -20,10 +20,10 @@
#include "ui/control.h"
-#include "old/d3dengine.h"
+//#include "graphics/engine/engine.h"
-class CD3DEngine;
+//class CEngine;
@@ -33,24 +33,24 @@ public:
CColor(CInstanceManager* iMan);
virtual ~CColor();
- bool Create(Math::Point pos, Math::Point dim, int icon, EventMsg eventMsg);
+ bool Create(Math::Point pos, Math::Point dim, int icon, EventType eventType);
bool EventProcess(const Event &event);
void Draw();
void SetRepeat(bool bRepeat);
- bool RetRepeat();
+ bool GetRepeat();
- void SetColor(D3DCOLORVALUE color);
- D3DCOLORVALUE RetColor();
+ void SetColor(Gfx::Color color);
+ Gfx::Color GetColor();
protected:
protected:
- bool m_bRepeat;
- float m_repeat;
- D3DCOLORVALUE m_color;
+ bool m_bRepeat;
+ float m_repeat;
+ Gfx::Color m_color;
};
diff --git a/src/ui/compass.cpp b/src/ui/compass.cpp
index 7ea6e9d..d4a15a8 100644
--- a/src/ui/compass.cpp
+++ b/src/ui/compass.cpp
@@ -15,14 +15,16 @@
// * along with this program. If not, see http://www.gnu.org/licenses/.
-#include <windows.h>
+//#include <windows.h>
#include <stdio.h>
-#include <d3d.h>
+//#include <d3d.h>
-#include "common/struct.h"
+//#include "common/struct.h"
#include "math/geometry.h"
-#include "old/d3dengine.h"
-#include "old/math3d.h"
+//#include "old/d3dengine.h"
+#include "graphics/engine/engine.h"
+#include "graphics/core/device.h"
+//#include "old/math3d.h"
#include "common/event.h"
#include "common/misc.h"
#include "common/iman.h"
@@ -47,11 +49,11 @@ CCompass::~CCompass()
// Creates a new button.
-bool CCompass::Create(Math::Point pos, Math::Point dim, int icon, EventMsg eventMsg)
+bool CCompass::Create(Math::Point pos, Math::Point dim, int icon, EventType eventType)
{
- if ( eventMsg == EVENT_NULL ) eventMsg = GetUniqueEventMsg();
+ if ( eventType == EVENT_NULL ) eventType = GetUniqueEventType();
- CControl::Create(pos, dim, icon, eventMsg);
+ CControl::Create(pos, dim, icon, eventType);
return true;
}
@@ -62,12 +64,13 @@ bool CCompass::EventProcess(const Event &event)
{
CControl::EventProcess(event);
- if ( event.event == EVENT_LBUTTONDOWN )
+ if ( event.type == EVENT_MOUSE_BUTTON_DOWN &&
+ event.mouseButton.button == 1)
{
if ( CControl::Detect(event.pos) )
{
Event newEvent = event;
- newEvent.event = m_eventMsg;
+ newEvent.type = m_eventType;
m_event->AddEvent(newEvent);
return false;
}
@@ -81,18 +84,18 @@ bool CCompass::EventProcess(const Event &event)
void CCompass::Draw()
{
- LPDIRECT3DDEVICE7 device;
- D3DVERTEX2 vertex[4]; // 2 triangles
- Math::Point p1, p2, p3, c, uv1, uv2;
- Math::Vector n;
- float dp;
+ Gfx::CDevice* device;
+ Gfx::Vertex vertex[4]; // 2 triangles
+ Math::Point p1, p2, p3, c, uv1, uv2;
+ Math::Vector n;
+ float dp;
if ( (m_state & STATE_VISIBLE) == 0 ) return;
- device = m_engine->RetD3DDevice();
+ device = m_engine->GetDevice();
m_engine->SetTexture("button2.tga");
- m_engine->SetState(D3DSTATENORMAL);
+ m_engine->SetState(Gfx::ENG_RSTATE_NORMAL);
p1.x = m_pos.x;
p1.y = m_pos.y;
@@ -115,12 +118,12 @@ void CCompass::Draw()
n = Math::Vector(0.0f, 0.0f, -1.0f); // normal
- vertex[0] = D3DVERTEX2(Math::Vector(p1.x, p1.y, 0.0f), n, uv1.x,uv2.y);
- vertex[1] = D3DVERTEX2(Math::Vector(p1.x, p2.y, 0.0f), n, uv1.x,uv1.y);
- vertex[2] = D3DVERTEX2(Math::Vector(p2.x, p1.y, 0.0f), n, uv2.x,uv2.y);
- vertex[3] = D3DVERTEX2(Math::Vector(p2.x, p2.y, 0.0f), n, uv2.x,uv1.y);
+ vertex[0] = Gfx::Vertex(Math::Vector(p1.x, p1.y, 0.0f), n, Math::Point( uv1.x,uv2.y));
+ vertex[1] = Gfx::Vertex(Math::Vector(p1.x, p2.y, 0.0f), n, Math::Point( uv1.x,uv1.y));
+ vertex[2] = Gfx::Vertex(Math::Vector(p2.x, p1.y, 0.0f), n, Math::Point( uv2.x,uv2.y));
+ vertex[3] = Gfx::Vertex(Math::Vector(p2.x, p2.y, 0.0f), n, Math::Point( uv2.x,uv1.y));
- device->DrawPrimitive(D3DPT_TRIANGLESTRIP, D3DFVF_VERTEX2, vertex, 4, NULL);
+ device->DrawPrimitive(Gfx::PRIMITIVE_TRIANGLE_STRIP, vertex, 4);
m_engine->AddStatisticTriangle(2);
if ( m_state & STATE_ENABLE )
@@ -150,11 +153,11 @@ void CCompass::Draw()
uv2.x -= dp;
uv2.y -= dp;
- vertex[0] = D3DVERTEX2(Math::Vector(p1.x, p1.y, 0.0f), n, uv1.x,uv1.y);
- vertex[1] = D3DVERTEX2(Math::Vector(p2.x, p2.y, 0.0f), n, uv1.x,uv2.y);
- vertex[2] = D3DVERTEX2(Math::Vector(p3.x, p3.y, 0.0f), n, uv2.x,uv2.y);
+ vertex[0] = Gfx::Vertex(Math::Vector(p1.x, p1.y, 0.0f), n, Math::Point( uv1.x,uv1.y));
+ vertex[1] = Gfx::Vertex(Math::Vector(p2.x, p2.y, 0.0f), n, Math::Point( uv1.x,uv2.y));
+ vertex[2] = Gfx::Vertex(Math::Vector(p3.x, p3.y, 0.0f), n, Math::Point( uv2.x,uv2.y));
- device->DrawPrimitive(D3DPT_TRIANGLELIST, D3DFVF_VERTEX2, vertex, 3, NULL);
+ device->DrawPrimitive(Gfx::PRIMITIVE_TRIANGLES, vertex, 3);
m_engine->AddStatisticTriangle(1);
}
}
diff --git a/src/ui/compass.h b/src/ui/compass.h
index 0014f3d..ac5f608 100644
--- a/src/ui/compass.h
+++ b/src/ui/compass.h
@@ -22,7 +22,7 @@
#include "ui/control.h"
-class CD3DEngine;
+//class CEngine;
@@ -32,7 +32,7 @@ public:
CCompass(CInstanceManager* iMan);
virtual ~CCompass();
- bool Create(Math::Point pos, Math::Point dim, int icon, EventMsg eventMsg);
+ bool Create(Math::Point pos, Math::Point dim, int icon, EventType eventType);
bool EventProcess(const Event &event);
diff --git a/src/ui/control.cpp b/src/ui/control.cpp
index 6ff7c2f..867958c 100644
--- a/src/ui/control.cpp
+++ b/src/ui/control.cpp
@@ -1,6 +1,7 @@
// * This file is part of the COLOBOT source code
// * Copyright (C) 2001-2008, Daniel ROUX & EPSITEC SA, www.epsitec.ch
-// *
+// * Copyright (C) 2012, Polish Portal of Colobot (PPC)
+//
// * 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 3 of the License, or
@@ -15,23 +16,26 @@
// * along with this program. If not, see http://www.gnu.org/licenses/.
-#include <windows.h>
+//#include <windows.h>
#include <stdio.h>
-#include <d3d.h>
+//#include <d3d.h>
+#include "graphics/core/device.h"
#include "common/struct.h"
-#include "old/d3dengine.h"
+//#include "old/d3dengine.h"
+#include "graphics/engine/engine.h"
#include "common/language.h"
#include "common/restext.h"
-#include "old/math3d.h"
+//#include "old/math3d.h"
#include "common/event.h"
#include "common/misc.h"
#include "object/robotmain.h"
-#include "old/particule.h"
-#include "common/misc.h"
+//#include "old/particule.h"
+#include "graphics/engine/particle.h"
#include "common/iman.h"
-#include "old/text.h"
-#include "old/sound.h"
+//#include "old/text.h"
+#include "graphics/engine/text.h"
+//#include "old/sound.h"
#include "ui/control.h"
@@ -43,17 +47,18 @@ CControl::CControl(CInstanceManager* iMan)
{
m_iMan = iMan;
- m_engine = (CD3DEngine*)m_iMan->SearchInstance(CLASS_ENGINE);
- m_event = (CEvent*)m_iMan->SearchInstance(CLASS_EVENT);
- m_main = (CRobotMain*)m_iMan->SearchInstance(CLASS_MAIN);
- m_particule = (CParticule*)m_iMan->SearchInstance(CLASS_PARTICULE);
- m_sound = (CSound*)m_iMan->SearchInstance(CLASS_SOUND);
- m_eventMsg = EVENT_NULL;
+ m_engine = static_cast< Gfx::CEngine* > ( m_iMan->SearchInstance(CLASS_ENGINE) );
+ m_event = static_cast< CEventQueue* > ( m_iMan->SearchInstance(CLASS_EVENT) );
+ m_main = static_cast< CRobotMain* > ( m_iMan->SearchInstance(CLASS_MAIN) );
+ m_particle = static_cast< Gfx::CParticle* > (m_iMan->SearchInstance(CLASS_PARTICULE));
+ m_sound = static_cast< CSound* > (m_iMan->SearchInstance(CLASS_SOUND));
+ m_eventType = EVENT_NULL;
m_state = STATE_ENABLE|STATE_VISIBLE|STATE_GLINT;
- m_fontSize = SMALLFONT;
- m_fontStretch = NORMSTRETCH;
- m_fontType = FONT_COLOBOT;
- m_justif = 0;
+ m_fontSize = Gfx::FONT_SIZE_SMALL;
+// m_fontStretch = Gfx::FONT_NORM_STRETCH; //there is font stretching no more master
+ m_fontType = Gfx::FONT_COLOBOT;
+ m_textAlign = Gfx::TEXT_ALIGN_CENTER; //instead m_justify
+// m_justif = 0;
m_name[0] = 0;
m_tooltip[0] = 0;
m_bFocus = false;
@@ -76,23 +81,23 @@ CControl::~CControl()
// Creates a new button.
// pos: [0..1]
-bool CControl::Create(Math::Point pos, Math::Point dim, int icon, EventMsg eventMsg)
+bool CControl::Create(Math::Point pos, Math::Point dim, int icon, EventType eventType)
{
char text[100];
char* p;
- if ( eventMsg == EVENT_NULL ) eventMsg = GetUniqueEventMsg();
+ if ( eventType == EVENT_NULL ) eventType = GetUniqueEventType();
m_pos = pos;
m_dim = dim;
m_icon = icon;
- m_eventMsg = eventMsg;
+ m_eventType = eventType;
pos.x = m_pos.x;
pos.y = m_pos.y+m_dim.y;
GlintCreate(pos);
- GetResource(RES_EVENT, m_eventMsg, text);
+ GetResource(RES_EVENT, m_eventType, text);
p = strchr(text, '\\');
if ( p == 0 )
{
@@ -119,7 +124,7 @@ void CControl::SetPos(Math::Point pos)
GlintCreate(pos);
}
-Math::Point CControl::RetPos()
+Math::Point CControl::GetPos()
{
return m_pos;
}
@@ -135,7 +140,7 @@ void CControl::SetDim(Math::Point dim)
GlintCreate(pos);
}
-Math::Point CControl::RetDim()
+Math::Point CControl::GetDim()
{
return m_dim;
}
@@ -175,7 +180,7 @@ bool CControl::TestState(int state)
// Returns all attributes of state.
-int CControl::RetState()
+int CControl::GetState()
{
return m_state;
}
@@ -188,7 +193,7 @@ void CControl::SetIcon(int icon)
m_icon = icon;
}
-int CControl::RetIcon()
+int CControl::GetIcon()
{
return m_icon;
}
@@ -230,7 +235,7 @@ void CControl::SetName(char* name, bool bTooltip)
}
}
-char* CControl::RetName()
+char* CControl::GetName()
{
return m_name;
}
@@ -238,14 +243,16 @@ char* CControl::RetName()
// Management of the mode of justification (-1,0,1).
-void CControl::SetJustif(int mode)
+void CControl::SetTextAlign(Gfx::TextAlign mode)
{
- m_justif = mode;
+ m_textAlign = mode;
+// m_justif = mode;
}
-int CControl::RetJustif()
+int CControl::GetTextAlign()
{
- return m_justif;
+ return m_textAlign;
+// return m_justif;
}
@@ -256,7 +263,7 @@ void CControl::SetFontSize(float size)
m_fontSize = size;
}
-float CControl::RetFontSize()
+float CControl::GetFontSize()
{
return m_fontSize;
}
@@ -269,7 +276,7 @@ void CControl::SetFontStretch(float stretch)
m_fontStretch = stretch;
}
-float CControl::RetFontStretch()
+float CControl::GetFontStretch()
{
return m_fontStretch;
}
@@ -277,12 +284,12 @@ float CControl::RetFontStretch()
// Choice of the font.
-void CControl::SetFontType(FontType font)
+void CControl::SetFontType(Gfx::FontType font)
{
m_fontType = font;
}
-FontType CControl::RetFontType()
+Gfx::FontType CControl::GetFontType()
{
return m_fontType;
}
@@ -316,7 +323,7 @@ void CControl::SetFocus(bool bFocus)
m_bFocus = bFocus;
}
-bool CControl::RetFocus()
+bool CControl::GetFocus()
{
return m_bFocus;
}
@@ -324,9 +331,9 @@ bool CControl::RetFocus()
// Returns the event associated with the control.
-EventMsg CControl::RetEventMsg()
+EventType CControl::GetEventType()
{
- return m_eventMsg;
+ return m_eventType;
}
@@ -336,21 +343,21 @@ bool CControl::EventProcess(const Event &event)
{
if ( m_state & STATE_DEAD ) return true;
- if ( event.event == EVENT_FRAME && m_bGlint )
+ if ( event.type == EVENT_FRAME && m_bGlint )
{
GlintFrame(event);
}
- if ( event.event == EVENT_MOUSEMOVE )
+ if ( event.type == EVENT_MOUSE_MOVE )
{
- m_glintMouse = event.pos;
+ m_glintMouse = event.mouseMove.pos;
- if ( Detect(event.pos) )
+ if ( Detect(event.mouseMove.pos) )
{
if ( (m_state & STATE_VISIBLE) &&
(m_state & STATE_ENABLE ) )
{
- m_engine->SetMouseType(D3DMOUSEHAND);
+ m_engine->SetMouseType(Gfx::ENG_MOUSE_HAND);
}
SetState(STATE_HILIGHT);
}
@@ -360,7 +367,7 @@ bool CControl::EventProcess(const Event &event)
}
}
- if ( event.event == EVENT_LBUTTONDOWN )
+ if ( event.type == EVENT_MOUSE_BUTTON_DOWN && event.mouseButton.button == 1)
{
if ( Detect(event.pos) )
{
@@ -369,7 +376,7 @@ bool CControl::EventProcess(const Event &event)
}
}
- if ( event.event == EVENT_MOUSEMOVE && m_bCapture )
+ if ( event.type == EVENT_MOUSE_MOVE && m_bCapture )
{
if ( Detect(event.pos) )
{
@@ -381,7 +388,7 @@ bool CControl::EventProcess(const Event &event)
}
}
- if ( event.event == EVENT_LBUTTONUP && m_bCapture )
+ if ( event.type == EVENT_MOUSE_BUTTON_UP && m_bCapture && event.mouseButton.button == 1)
{
m_bCapture = false;
ClearState(STATE_PRESS);
@@ -458,8 +465,8 @@ void CControl::GlintFrame(const Event &event)
speed = Math::Vector(0.0f, 0.0f, 0.0f);
dim.x = ((15.0f+Math::Rand()*15.0f)/640.0f);
dim.y = dim.x/0.75f;
- m_particule->CreateParticule(pos, speed, dim, PARTICONTROL,
- 1.0f, 0.0f, 0.0f, SH_INTERFACE);
+ m_particle->CreateParticle(pos, speed, dim, Gfx::PARTICONTROL,
+ 1.0f, 0.0f, 0.0f, Gfx::SH_INTERFACE );
m_glintProgress = 0.0f;
}
@@ -477,7 +484,7 @@ void CControl::Draw()
if ( (m_state & STATE_VISIBLE) == 0 ) return;
m_engine->SetTexture("button1.tga");
- m_engine->SetState(D3DSTATENORMAL);
+ m_engine->SetState(Gfx::ENG_RSTATE_NORMAL);
zoomExt = 1.00f;
zoomInt = 0.95f;
@@ -550,23 +557,23 @@ void CControl::Draw()
#else
m_engine->SetTexture("text.tga");
#endif
- m_engine->SetState(D3DSTATETTw);
+ m_engine->SetState(Gfx::ENG_RSTATE_TTEXTURE_WHITE);
}
else if ( icon >= 128 )
{
icon -= 128;
m_engine->SetTexture("button3.tga");
- m_engine->SetState(D3DSTATETTw);
+ m_engine->SetState(Gfx::ENG_RSTATE_TTEXTURE_WHITE);
}
else if ( icon >= 64 )
{
icon -= 64;
m_engine->SetTexture("button2.tga");
- m_engine->SetState(D3DSTATETTw);
+ m_engine->SetState(Gfx::ENG_RSTATE_TTEXTURE_WHITE);
}
else
{
- m_engine->SetState(D3DSTATETTw);
+ m_engine->SetState(Gfx::ENG_RSTATE_TTEXTURE_WHITE);
}
if ( icon != -1 )
{
@@ -579,26 +586,28 @@ void CControl::Draw()
if ( m_state & STATE_DEAD ) return;
- if ( m_justif < 0 )
+// if ( m_justif < 0 )
+ if ( m_textAlign == Gfx::TEXT_ALIGN_LEFT )
{
pos.x = m_pos.x+m_dim.x-m_dim.y*0.5f;
pos.y = m_pos.y+m_dim.y*0.5f;
- pos.y -= m_engine->RetText()->RetHeight(m_fontSize, m_fontType)/2;
- m_engine->RetText()->DrawText(m_name, pos, m_dim.x, m_justif, m_fontSize, m_fontStretch, m_fontType, 0);
+ pos.y -= m_engine->GetText()->GetHeight(m_fontType, m_fontSize)/2.0f;
+ m_engine->GetText()->DrawText(m_name, m_fontType, m_fontSize, pos, m_dim.x, m_textAlign, 0);
}
- else if ( m_justif > 0 )
+ else if ( m_textAlign == Gfx::TEXT_ALIGN_RIGHT )
+// else if ( m_justif > 0 )
{
pos.x = m_pos.x+m_dim.y*0.5f;
pos.y = m_pos.y+m_dim.y*0.5f;
- pos.y -= m_engine->RetText()->RetHeight(m_fontSize, m_fontType)/2.0f;
- m_engine->RetText()->DrawText(m_name, pos, m_dim.x, m_justif, m_fontSize, m_fontStretch, m_fontType, 0);
+ pos.y -= m_engine->GetText()->GetHeight(m_fontType, m_fontSize)/2.0f;
+ m_engine->GetText()->DrawText(m_name, m_fontType, m_fontSize, pos, m_dim.x, m_textAlign, 0);
}
else
{
pos.x = m_pos.x+m_dim.x*0.5f;
pos.y = m_pos.y+m_dim.y*0.5f;
- pos.y -= m_engine->RetText()->RetHeight(m_fontSize, m_fontType)/2.0f;
- m_engine->RetText()->DrawText(m_name, pos, m_dim.x, m_justif, m_fontSize, m_fontStretch, m_fontType, 0);
+ pos.y -= m_engine->GetText()->GetHeight( m_fontType, m_fontSize)/2.0f;
+ m_engine->GetText()->DrawText(m_name, m_fontType, m_fontSize, pos, m_dim.x, m_textAlign, 0);
}
}
}
@@ -652,12 +661,12 @@ void CControl::DrawPart(int icon, float zoom, float ex)
void CControl::DrawIcon(Math::Point pos, Math::Point dim, Math::Point uv1, Math::Point uv2,
float ex)
{
- LPDIRECT3DDEVICE7 device;
- D3DVERTEX2 vertex[8]; // 6 triangles
+ Gfx::CDevice* device;
+ Gfx::Vertex vertex[8]; // 6 triangles
Math::Point p1, p2, p3, p4;
Math::Vector n;
- device = m_engine->RetD3DDevice();
+ device = m_engine->GetDevice();
p1.x = pos.x;
p1.y = pos.y;
@@ -668,12 +677,12 @@ void CControl::DrawIcon(Math::Point pos, Math::Point dim, Math::Point uv1, Math:
if ( ex == 0.0f ) // one piece?
{
- vertex[0] = D3DVERTEX2(Math::Vector(p1.x, p1.y, 0.0f), n, uv1.x,uv2.y);
- vertex[1] = D3DVERTEX2(Math::Vector(p1.x, p2.y, 0.0f), n, uv1.x,uv1.y);
- vertex[2] = D3DVERTEX2(Math::Vector(p2.x, p1.y, 0.0f), n, uv2.x,uv2.y);
- vertex[3] = D3DVERTEX2(Math::Vector(p2.x, p2.y, 0.0f), n, uv2.x,uv1.y);
+ vertex[0] = Gfx::Vertex(Math::Vector(p1.x, p1.y, 0.0f), n, Math::Point(uv1.x,uv2.y));
+ vertex[1] = Gfx::Vertex(Math::Vector(p1.x, p2.y, 0.0f), n, Math::Point(uv1.x,uv1.y));
+ vertex[2] = Gfx::Vertex(Math::Vector(p2.x, p1.y, 0.0f), n, Math::Point(uv2.x,uv2.y));
+ vertex[3] = Gfx::Vertex(Math::Vector(p2.x, p2.y, 0.0f), n, Math::Point(uv2.x,uv1.y));
- device->DrawPrimitive(D3DPT_TRIANGLESTRIP, D3DFVF_VERTEX2, vertex, 4, NULL);
+ device->DrawPrimitive(Gfx::PRIMITIVE_TRIANGLE_STRIP, vertex, 4);
m_engine->AddStatisticTriangle(2);
}
else // 3 pieces?
@@ -683,16 +692,16 @@ void CControl::DrawIcon(Math::Point pos, Math::Point dim, Math::Point uv1, Math:
p3.x = p1.x + ex*dim.y/(uv2.y-uv1.y);
p4.x = p2.x - ex*dim.y/(uv2.y-uv1.y);
- vertex[0] = D3DVERTEX2(Math::Vector(p1.x, p1.y, 0.0f), n, uv1.x, uv2.y);
- vertex[1] = D3DVERTEX2(Math::Vector(p1.x, p2.y, 0.0f), n, uv1.x, uv1.y);
- vertex[2] = D3DVERTEX2(Math::Vector(p3.x, p1.y, 0.0f), n, uv1.x+ex,uv2.y);
- vertex[3] = D3DVERTEX2(Math::Vector(p3.x, p2.y, 0.0f), n, uv1.x+ex,uv1.y);
- vertex[4] = D3DVERTEX2(Math::Vector(p4.x, p1.y, 0.0f), n, uv2.x-ex,uv2.y);
- vertex[5] = D3DVERTEX2(Math::Vector(p4.x, p2.y, 0.0f), n, uv2.x-ex,uv1.y);
- vertex[6] = D3DVERTEX2(Math::Vector(p2.x, p1.y, 0.0f), n, uv2.x, uv2.y);
- vertex[7] = D3DVERTEX2(Math::Vector(p2.x, p2.y, 0.0f), n, uv2.x, uv1.y);
+ vertex[0] = Gfx::Vertex(Math::Vector(p1.x, p1.y, 0.0f), n, Math::Point(uv1.x, uv2.y));
+ vertex[1] = Gfx::Vertex(Math::Vector(p1.x, p2.y, 0.0f), n, Math::Point(uv1.x, uv1.y));
+ vertex[2] = Gfx::Vertex(Math::Vector(p3.x, p1.y, 0.0f), n, Math::Point(uv1.x+ex,uv2.y));
+ vertex[3] = Gfx::Vertex(Math::Vector(p3.x, p2.y, 0.0f), n, Math::Point(uv1.x+ex,uv1.y));
+ vertex[4] = Gfx::Vertex(Math::Vector(p4.x, p1.y, 0.0f), n, Math::Point(uv2.x-ex,uv2.y));
+ vertex[5] = Gfx::Vertex(Math::Vector(p4.x, p2.y, 0.0f), n, Math::Point(uv2.x-ex,uv1.y));
+ vertex[6] = Gfx::Vertex(Math::Vector(p2.x, p1.y, 0.0f), n, Math::Point(uv2.x, uv2.y));
+ vertex[7] = Gfx::Vertex(Math::Vector(p2.x, p2.y, 0.0f), n, Math::Point(uv2.x, uv1.y));
- device->DrawPrimitive(D3DPT_TRIANGLESTRIP, D3DFVF_VERTEX2, vertex, 8, NULL);
+ device->DrawPrimitive(Gfx::PRIMITIVE_TRIANGLE_STRIP, vertex, 8);
m_engine->AddStatisticTriangle(6);
}
else
@@ -700,16 +709,16 @@ void CControl::DrawIcon(Math::Point pos, Math::Point dim, Math::Point uv1, Math:
p3.y = p1.y + ex*dim.x/(uv2.x-uv1.x);
p4.y = p2.y - ex*dim.x/(uv2.x-uv1.x);
- vertex[0] = D3DVERTEX2(Math::Vector(p2.x, p1.y, 0.0f), n, uv2.x,uv2.y );
- vertex[1] = D3DVERTEX2(Math::Vector(p1.x, p1.y, 0.0f), n, uv1.x,uv2.y );
- vertex[2] = D3DVERTEX2(Math::Vector(p2.x, p3.y, 0.0f), n, uv2.x,uv2.y-ex);
- vertex[3] = D3DVERTEX2(Math::Vector(p1.x, p3.y, 0.0f), n, uv1.x,uv2.y-ex);
- vertex[4] = D3DVERTEX2(Math::Vector(p2.x, p4.y, 0.0f), n, uv2.x,uv1.y+ex);
- vertex[5] = D3DVERTEX2(Math::Vector(p1.x, p4.y, 0.0f), n, uv1.x,uv1.y+ex);
- vertex[6] = D3DVERTEX2(Math::Vector(p2.x, p2.y, 0.0f), n, uv2.x,uv1.y );
- vertex[7] = D3DVERTEX2(Math::Vector(p1.x, p2.y, 0.0f), n, uv1.x,uv1.y );
+ vertex[0] = Gfx::Vertex(Math::Vector(p2.x, p1.y, 0.0f), n, Math::Point(uv2.x,uv2.y ));
+ vertex[1] = Gfx::Vertex(Math::Vector(p1.x, p1.y, 0.0f), n, Math::Point(uv1.x,uv2.y ));
+ vertex[2] = Gfx::Vertex(Math::Vector(p2.x, p3.y, 0.0f), n, Math::Point(uv2.x,uv2.y-ex));
+ vertex[3] = Gfx::Vertex(Math::Vector(p1.x, p3.y, 0.0f), n, Math::Point(uv1.x,uv2.y-ex));
+ vertex[4] = Gfx::Vertex(Math::Vector(p2.x, p4.y, 0.0f), n, Math::Point(uv2.x,uv1.y+ex));
+ vertex[5] = Gfx::Vertex(Math::Vector(p1.x, p4.y, 0.0f), n, Math::Point(uv1.x,uv1.y+ex));
+ vertex[6] = Gfx::Vertex(Math::Vector(p2.x, p2.y, 0.0f), n, Math::Point(uv2.x,uv1.y ));
+ vertex[7] = Gfx::Vertex(Math::Vector(p1.x, p2.y, 0.0f), n, Math::Point(uv1.x,uv1.y ));
- device->DrawPrimitive(D3DPT_TRIANGLESTRIP, D3DFVF_VERTEX2, vertex, 8, NULL);
+ device->DrawPrimitive(Gfx::PRIMITIVE_TRIANGLE_STRIP, vertex, 8);
m_engine->AddStatisticTriangle(6);
}
}
@@ -720,12 +729,12 @@ void CControl::DrawIcon(Math::Point pos, Math::Point dim, Math::Point uv1, Math:
void CControl::DrawIcon(Math::Point pos, Math::Point dim, Math::Point uv1, Math::Point uv2,
Math::Point corner, float ex)
{
- LPDIRECT3DDEVICE7 device;
- D3DVERTEX2 vertex[8]; // 6 triangles
+ Gfx::CDevice* device;
+ Gfx::Vertex vertex[8]; // 6 triangles
Math::Point p1, p2, p3, p4;
Math::Vector n;
- device = m_engine->RetD3DDevice();
+ device = m_engine->GetDevice();
p1.x = pos.x;
p1.y = pos.y;
@@ -747,39 +756,39 @@ void CControl::DrawIcon(Math::Point pos, Math::Point dim, Math::Point uv1, Math:
p4.y = p2.y - corner.y;
// Bottom horizontal band.
- vertex[0] = D3DVERTEX2(Math::Vector(p1.x, p1.y, 0.0f), n, uv1.x, uv2.y );
- vertex[1] = D3DVERTEX2(Math::Vector(p1.x, p3.y, 0.0f), n, uv1.x, uv2.y-ex);
- vertex[2] = D3DVERTEX2(Math::Vector(p3.x, p1.y, 0.0f), n, uv1.x+ex,uv2.y );
- vertex[3] = D3DVERTEX2(Math::Vector(p3.x, p3.y, 0.0f), n, uv1.x+ex,uv2.y-ex);
- vertex[4] = D3DVERTEX2(Math::Vector(p4.x, p1.y, 0.0f), n, uv2.x-ex,uv2.y );
- vertex[5] = D3DVERTEX2(Math::Vector(p4.x, p3.y, 0.0f), n, uv2.x-ex,uv2.y-ex);
- vertex[6] = D3DVERTEX2(Math::Vector(p2.x, p1.y, 0.0f), n, uv2.x, uv2.y );
- vertex[7] = D3DVERTEX2(Math::Vector(p2.x, p3.y, 0.0f), n, uv2.x, uv2.y-ex);
- device->DrawPrimitive(D3DPT_TRIANGLESTRIP, D3DFVF_VERTEX2, vertex, 8, NULL);
+ vertex[0] = Gfx::Vertex(Math::Vector(p1.x, p1.y, 0.0f), n, Math::Point(uv1.x, uv2.y ));
+ vertex[1] = Gfx::Vertex(Math::Vector(p1.x, p3.y, 0.0f), n, Math::Point(uv1.x, uv2.y-ex));
+ vertex[2] = Gfx::Vertex(Math::Vector(p3.x, p1.y, 0.0f), n, Math::Point(uv1.x+ex,uv2.y ));
+ vertex[3] = Gfx::Vertex(Math::Vector(p3.x, p3.y, 0.0f), n, Math::Point(uv1.x+ex,uv2.y-ex));
+ vertex[4] = Gfx::Vertex(Math::Vector(p4.x, p1.y, 0.0f), n, Math::Point(uv2.x-ex,uv2.y ));
+ vertex[5] = Gfx::Vertex(Math::Vector(p4.x, p3.y, 0.0f), n, Math::Point(uv2.x-ex,uv2.y-ex));
+ vertex[6] = Gfx::Vertex(Math::Vector(p2.x, p1.y, 0.0f), n, Math::Point(uv2.x, uv2.y ));
+ vertex[7] = Gfx::Vertex(Math::Vector(p2.x, p3.y, 0.0f), n, Math::Point(uv2.x, uv2.y-ex));
+ device->DrawPrimitive(Gfx::PRIMITIVE_TRIANGLE_STRIP, vertex, 8);
m_engine->AddStatisticTriangle(6);
// Central horizontal band.
- vertex[0] = D3DVERTEX2(Math::Vector(p1.x, p3.y, 0.0f), n, uv1.x, uv2.y-ex);
- vertex[1] = D3DVERTEX2(Math::Vector(p1.x, p4.y, 0.0f), n, uv1.x, uv1.y+ex);
- vertex[2] = D3DVERTEX2(Math::Vector(p3.x, p3.y, 0.0f), n, uv1.x+ex,uv2.y-ex);
- vertex[3] = D3DVERTEX2(Math::Vector(p3.x, p4.y, 0.0f), n, uv1.x+ex,uv1.y+ex);
- vertex[4] = D3DVERTEX2(Math::Vector(p4.x, p3.y, 0.0f), n, uv2.x-ex,uv2.y-ex);
- vertex[5] = D3DVERTEX2(Math::Vector(p4.x, p4.y, 0.0f), n, uv2.x-ex,uv1.y+ex);
- vertex[6] = D3DVERTEX2(Math::Vector(p2.x, p3.y, 0.0f), n, uv2.x, uv2.y-ex);
- vertex[7] = D3DVERTEX2(Math::Vector(p2.x, p4.y, 0.0f), n, uv2.x, uv1.y+ex);
- device->DrawPrimitive(D3DPT_TRIANGLESTRIP, D3DFVF_VERTEX2, vertex, 8, NULL);
+ vertex[0] = Gfx::Vertex(Math::Vector(p1.x, p3.y, 0.0f), n, Math::Point(uv1.x, uv2.y-ex));
+ vertex[1] = Gfx::Vertex(Math::Vector(p1.x, p4.y, 0.0f), n, Math::Point(uv1.x, uv1.y+ex));
+ vertex[2] = Gfx::Vertex(Math::Vector(p3.x, p3.y, 0.0f), n, Math::Point(uv1.x+ex,uv2.y-ex));
+ vertex[3] = Gfx::Vertex(Math::Vector(p3.x, p4.y, 0.0f), n, Math::Point(uv1.x+ex,uv1.y+ex));
+ vertex[4] = Gfx::Vertex(Math::Vector(p4.x, p3.y, 0.0f), n, Math::Point(uv2.x-ex,uv2.y-ex));
+ vertex[5] = Gfx::Vertex(Math::Vector(p4.x, p4.y, 0.0f), n, Math::Point(uv2.x-ex,uv1.y+ex));
+ vertex[6] = Gfx::Vertex(Math::Vector(p2.x, p3.y, 0.0f), n, Math::Point(uv2.x, uv2.y-ex));
+ vertex[7] = Gfx::Vertex(Math::Vector(p2.x, p4.y, 0.0f), n, Math::Point(uv2.x, uv1.y+ex));
+ device->DrawPrimitive(Gfx::PRIMITIVE_TRIANGLE_STRIP, vertex, 8);
m_engine->AddStatisticTriangle(6);
// Top horizontal band.
- vertex[0] = D3DVERTEX2(Math::Vector(p1.x, p4.y, 0.0f), n, uv1.x, uv1.y+ex);
- vertex[1] = D3DVERTEX2(Math::Vector(p1.x, p2.y, 0.0f), n, uv1.x, uv1.y );
- vertex[2] = D3DVERTEX2(Math::Vector(p3.x, p4.y, 0.0f), n, uv1.x+ex,uv1.y+ex);
- vertex[3] = D3DVERTEX2(Math::Vector(p3.x, p2.y, 0.0f), n, uv1.x+ex,uv1.y );
- vertex[4] = D3DVERTEX2(Math::Vector(p4.x, p4.y, 0.0f), n, uv2.x-ex,uv1.y+ex);
- vertex[5] = D3DVERTEX2(Math::Vector(p4.x, p2.y, 0.0f), n, uv2.x-ex,uv1.y );
- vertex[6] = D3DVERTEX2(Math::Vector(p2.x, p4.y, 0.0f), n, uv2.x, uv1.y+ex);
- vertex[7] = D3DVERTEX2(Math::Vector(p2.x, p2.y, 0.0f), n, uv2.x, uv1.y );
- device->DrawPrimitive(D3DPT_TRIANGLESTRIP, D3DFVF_VERTEX2, vertex, 8, NULL);
+ vertex[0] = Gfx::Vertex(Math::Vector(p1.x, p4.y, 0.0f), n, Math::Point(uv1.x, uv1.y+ex));
+ vertex[1] = Gfx::Vertex(Math::Vector(p1.x, p2.y, 0.0f), n, Math::Point(uv1.x, uv1.y ));
+ vertex[2] = Gfx::Vertex(Math::Vector(p3.x, p4.y, 0.0f), n, Math::Point(uv1.x+ex,uv1.y+ex));
+ vertex[3] = Gfx::Vertex(Math::Vector(p3.x, p2.y, 0.0f), n, Math::Point(uv1.x+ex,uv1.y ));
+ vertex[4] = Gfx::Vertex(Math::Vector(p4.x, p4.y, 0.0f), n, Math::Point(uv2.x-ex,uv1.y+ex));
+ vertex[5] = Gfx::Vertex(Math::Vector(p4.x, p2.y, 0.0f), n, Math::Point(uv2.x-ex,uv1.y ));
+ vertex[6] = Gfx::Vertex(Math::Vector(p2.x, p4.y, 0.0f), n, Math::Point(uv2.x, uv1.y+ex));
+ vertex[7] = Gfx::Vertex(Math::Vector(p2.x, p2.y, 0.0f), n, Math::Point(uv2.x, uv1.y ));
+ device->DrawPrimitive(Gfx::PRIMITIVE_TRIANGLE_STRIP, vertex, 8);
m_engine->AddStatisticTriangle(6);
}
@@ -793,7 +802,7 @@ void CControl::DrawWarning(Math::Point pos, Math::Point dim)
dp = 0.5f/256.0f;
m_engine->SetTexture("button2.tga");
- m_engine->SetState(D3DSTATENORMAL);
+ m_engine->SetState(Gfx::ENG_RSTATE_NORMAL);
uv1.x = 64.0f/256.0f;
uv1.y = 208.0f/256.0f;
@@ -837,7 +846,7 @@ void CControl::DrawShadow(Math::Point pos, Math::Point dim, float deep)
dp = 0.5f/256.0f;
m_engine->SetTexture("button2.tga");
- m_engine->SetState(D3DSTATETTw);
+ m_engine->SetState( Gfx::ENG_RSTATE_TTEXTURE_WHITE);
pos.x += deep*0.010f*0.75f;
pos.y -= deep*0.015f;
diff --git a/src/ui/control.h b/src/ui/control.h
index 0a12ff1..b211ff6 100644
--- a/src/ui/control.h
+++ b/src/ui/control.h
@@ -19,16 +19,18 @@
#pragma once
-#include "old/text.h"
+//#include "old/text.h"
#include "common/struct.h"
#include "common/event.h"
-
+#include "graphics/engine/engine.h"
+#include "graphics/engine/text.h"
+#include "graphics/engine/particle.h"
class CInstanceManager;
class CEvent;
-class CD3DEngine;
+//class Gfx::CEngine;
class CRobotMain;
-class CParticule;
+//class Gfx::CParticle;
class CSound;
@@ -61,39 +63,39 @@ public:
CControl(CInstanceManager* iMan);
virtual ~CControl();
- virtual bool Create(Math::Point pos, Math::Point dim, int icon, EventMsg eventMsg);
-
- virtual bool EventProcess(const Event &event);
-
- virtual void SetPos(Math::Point pos);
- virtual Math::Point RetPos();
- virtual void SetDim(Math::Point dim);
- virtual Math::Point RetDim();
- virtual bool SetState(int state, bool bState);
- virtual bool SetState(int state);
- virtual bool ClearState(int state);
- virtual bool TestState(int state);
- virtual int RetState();
- virtual void SetIcon(int icon);
- virtual int RetIcon();
- virtual void SetName(char* name, bool bTooltip=true);
- virtual char* RetName();
- virtual void SetJustif(int mode);
- virtual int RetJustif();
- virtual void SetFontSize(float size);
- virtual float RetFontSize();
- virtual void SetFontStretch(float stretch);
- virtual float RetFontStretch();
- virtual void SetFontType(FontType font);
- virtual FontType RetFontType();
- virtual bool SetTooltip(char* name);
- virtual bool GetTooltip(Math::Point pos, char* name);
- virtual void SetFocus(bool bFocus);
- virtual bool RetFocus();
-
- virtual EventMsg RetEventMsg();
-
- virtual void Draw();
+ virtual bool Create(Math::Point pos, Math::Point dim, int icon, EventType eventType);
+
+ virtual bool EventProcess(const Event &event);
+
+ virtual void SetPos(Math::Point pos);
+ virtual Math::Point GetPos();
+ virtual void SetDim(Math::Point dim);
+ virtual Math::Point GetDim();
+ virtual bool SetState(int state, bool bState);
+ virtual bool SetState(int state);
+ virtual bool ClearState(int state);
+ virtual bool TestState(int state);
+ virtual int GetState();
+ virtual void SetIcon(int icon);
+ virtual int GetIcon();
+ virtual void SetName(char* name, bool bTooltip=true);
+ virtual char* GetName();
+ virtual void SetTextAlign(Gfx::TextAlign mode);
+ virtual int GetTextAlign();
+ virtual void SetFontSize(float size);
+ virtual float GetFontSize();
+ virtual void SetFontStretch(float stretch);
+ virtual float GetFontStretch();
+ virtual void SetFontType(Gfx::FontType font);
+ virtual Gfx::FontType GetFontType();
+ virtual bool SetTooltip(char* name);
+ virtual bool GetTooltip(Math::Point pos, char* name);
+ virtual void SetFocus(bool bFocus);
+ virtual bool GetFocus();
+
+ virtual EventType GetEventType();
+
+ virtual void Draw();
protected:
void GlintDelete();
@@ -108,31 +110,32 @@ protected:
protected:
CInstanceManager* m_iMan;
- CD3DEngine* m_engine;
- CEvent* m_event;
- CRobotMain* m_main;
- CParticule* m_particule;
- CSound* m_sound;
-
- Math::Point m_pos; // corner upper / left
- Math::Point m_dim; // dimensions
- int m_icon;
- EventMsg m_eventMsg; // message to send when clicking
- int m_state; // states (STATE_ *)
- float m_fontSize; // size of the button name
- float m_fontStretch; // stretch of the font
- FontType m_fontType; // type of font
- int m_justif; // type of justification (-1,0,1)
- char m_name[100]; // name of the button
- char m_tooltip[100]; // name of tooltip
- bool m_bFocus;
- bool m_bCapture;
-
- bool m_bGlint;
- Math::Point m_glintCorner1;
- Math::Point m_glintCorner2;
- float m_glintProgress;
- Math::Point m_glintMouse;
+ Gfx::CEngine* m_engine;
+ CEventQueue* m_event;
+ CRobotMain* m_main;
+ Gfx::CParticle* m_particle;
+ CSound* m_sound;
+
+ Math::Point m_pos; // corner upper / left
+ Math::Point m_dim; // dimensions
+ int m_icon;
+ EventType m_eventType; // message to send when clicking
+ int m_state; // states (STATE_ *)
+ float m_fontSize; // size of the button name
+ float m_fontStretch; // stretch of the font
+ Gfx::FontType m_fontType; // type of font
+ Gfx::TextAlign m_textAlign; //type of alignment //comes in the place of m_justif
+// int m_justif; // type of justification (-1,0,1)
+ char m_name[100]; // name of the button
+ char m_tooltip[100]; // name of tooltip
+ bool m_bFocus;
+ bool m_bCapture;
+
+ bool m_bGlint;
+ Math::Point m_glintCorner1;
+ Math::Point m_glintCorner2;
+ float m_glintProgress;
+ Math::Point m_glintMouse;
};
diff --git a/src/ui/gauge.cpp b/src/ui/gauge.cpp
index 13cd4f7..a4571da 100644
--- a/src/ui/gauge.cpp
+++ b/src/ui/gauge.cpp
@@ -17,13 +17,13 @@
// gauge.cpp
-#include <windows.h>
+//#include <windows.h>
#include <stdio.h>
-#include <d3d.h>
+//#include <d3d.h>
-#include "common/struct.h"
-#include "old/d3dengine.h"
-#include "old/math3d.h"
+//#include "common/struct.h"
+//#include "old/d3dengine.h"
+//#include "old/math3d.h"
#include "common/event.h"
#include "common/misc.h"
#include "common/iman.h"
@@ -48,11 +48,11 @@ CGauge::~CGauge()
// Creates a new button.
-bool CGauge::Create(Math::Point pos, Math::Point dim, int icon, EventMsg eventMsg)
+bool CGauge::Create(Math::Point pos, Math::Point dim, int icon, EventType eventType)
{
- if ( eventMsg == EVENT_NULL ) eventMsg = GetUniqueEventMsg();
+ if ( eventType == EVENT_NULL ) eventType = GetUniqueEventType();
- CControl::Create(pos, dim, icon, eventMsg);
+ CControl::Create(pos, dim, icon, eventType);
return true;
}
@@ -63,12 +63,12 @@ bool CGauge::EventProcess(const Event &event)
{
CControl::EventProcess(event);
- if ( event.event == EVENT_LBUTTONDOWN )
+ if ( event.type == EVENT_MOUSE_BUTTON_DOWN )
{
if ( CControl::Detect(event.pos) )
{
Event newEvent = event;
- newEvent.event = m_eventMsg;
+ newEvent.type = m_eventType;
m_event->AddEvent(newEvent);
return false;
}
@@ -88,7 +88,7 @@ void CGauge::Draw()
if ( (m_state & STATE_VISIBLE) == 0 ) return;
m_engine->SetTexture("button2.tga");
- m_engine->SetState(D3DSTATENORMAL);
+ m_engine->SetState(Gfx::ENG_RSTATE_NORMAL);
dp = 0.5f/256.0f;
@@ -149,7 +149,7 @@ void CGauge::SetLevel(float level)
m_level = level;
}
-float CGauge::RetLevel()
+float CGauge::GetLevel()
{
return m_level;
}
diff --git a/src/ui/gauge.h b/src/ui/gauge.h
index bdc85ff..1686c56 100644
--- a/src/ui/gauge.h
+++ b/src/ui/gauge.h
@@ -22,7 +22,7 @@
#include "ui/control.h"
-class CD3DEngine;
+//class CD3DEngine;
@@ -32,14 +32,14 @@ public:
CGauge(CInstanceManager* iMan);
virtual ~CGauge();
- bool Create(Math::Point pos, Math::Point dim, int icon, EventMsg eventMsg);
+ bool Create(Math::Point pos, Math::Point dim, int icon, EventType eventType);
bool EventProcess(const Event &event);
void Draw();
void SetLevel(float level);
- float RetLevel();
+ float GetLevel();
protected:
diff --git a/src/ui/group.cpp b/src/ui/group.cpp
index 06290e4..d2cd192 100644
--- a/src/ui/group.cpp
+++ b/src/ui/group.cpp
@@ -17,13 +17,14 @@
// group.cpp
-#include <windows.h>
+//#include <windows.h>
#include <stdio.h>
-#include <d3d.h>
+//#include <d3d.h>
-#include "common/struct.h"
-#include "old/d3dengine.h"
-#include "old/math3d.h"
+//#include "common/struct.h"
+//#include "old/d3dengine.h"
+#include "graphics/engine/engine.h"
+//#include "old/math3d.h"
#include "common/event.h"
#include "common/misc.h"
#include "common/iman.h"
@@ -48,18 +49,18 @@ CGroup::~CGroup()
// Creates a new button.
-bool CGroup::Create(Math::Point pos, Math::Point dim, int icon, EventMsg eventMsg)
+bool CGroup::Create(Math::Point pos, Math::Point dim, int icon, EventType eventType)
{
- if ( eventMsg == EVENT_NULL ) eventMsg = GetUniqueEventMsg();
+ if ( eventType == EVENT_NULL ) eventType = GetUniqueEventType();
- CControl::Create(pos, dim, icon, eventMsg);
+ CControl::Create(pos, dim, icon, eventType);
if ( icon == -1 )
{
char name[100];
char* p;
- GetResource(RES_EVENT, eventMsg, name);
+ GetResource(RES_EVENT, eventType, name);
p = strchr(name, '\\');
if ( p != 0 ) *p = 0;
SetName(name);
@@ -97,7 +98,7 @@ void CGroup::Draw()
if ( m_icon == 0 ) // hollow frame?
{
m_engine->SetTexture("button2.tga");
- m_engine->SetState(D3DSTATENORMAL);
+ m_engine->SetState(Gfx::ENG_RSTATE_NORMAL);
uv1.x = 160.0f/256.0f;
uv1.y = 192.0f/256.0f; // u-v texture
uv2.x = 192.0f/256.0f;
@@ -113,7 +114,7 @@ void CGroup::Draw()
if ( m_icon == 1 ) // orange solid opaque?
{
m_engine->SetTexture("button2.tga");
- m_engine->SetState(D3DSTATENORMAL);
+ m_engine->SetState(Gfx::ENG_RSTATE_NORMAL);
uv1.x = 104.0f/256.0f;
uv1.y = 48.0f/256.0f;
uv2.x = 112.0f/256.0f;
@@ -127,7 +128,7 @@ void CGroup::Draw()
if ( m_icon == 2 ) // orange degrade -> transparent?
{
m_engine->SetTexture("button2.tga");
- m_engine->SetState(D3DSTATETTw);
+ m_engine->SetState(Gfx::ENG_RSTATE_TTEXTURE_WHITE);
uv1.x = 112.0f/256.0f;
uv1.y = 48.0f/256.0f;
uv2.x = 120.0f/256.0f;
@@ -141,7 +142,7 @@ void CGroup::Draw()
if ( m_icon == 3 ) // transparent gradient -> gray?
{
m_engine->SetTexture("button2.tga");
- m_engine->SetState(D3DSTATETTw);
+ m_engine->SetState(Gfx::ENG_RSTATE_TTEXTURE_WHITE);
uv1.x = 120.0f/256.0f;
uv1.y = 48.0f/256.0f;
uv2.x = 128.0f/256.0f;
@@ -155,7 +156,7 @@ void CGroup::Draw()
if ( m_icon == 4 ) // degrade blue corner?
{
m_engine->SetTexture("button2.tga");
- m_engine->SetState(D3DSTATETTw);
+ m_engine->SetState(Gfx::ENG_RSTATE_TTEXTURE_WHITE);
uv1.x = 192.0f/256.0f;
uv1.y = 128.0f/256.0f;
uv2.x = 224.0f/256.0f;
@@ -169,7 +170,7 @@ void CGroup::Draw()
if ( m_icon == 5 ) // degrade orange corner?
{
m_engine->SetTexture("button2.tga");
- m_engine->SetState(D3DSTATETTw);
+ m_engine->SetState(Gfx::ENG_RSTATE_TTEXTURE_WHITE);
uv1.x = 224.0f/256.0f;
uv1.y = 128.0f/256.0f;
uv2.x = 256.0f/256.0f;
@@ -183,7 +184,7 @@ void CGroup::Draw()
if ( m_icon == 6 )
{
m_engine->SetTexture("button2.tga");
- m_engine->SetState(D3DSTATETTb);
+ m_engine->SetState(Gfx::ENG_RSTATE_TTEXTURE_BLACK);
uv1.x = 0.0f/256.0f; // brown transparent
uv1.y = 75.0f/256.0f;
uv2.x = 64.0f/256.0f;
@@ -199,7 +200,7 @@ void CGroup::Draw()
if ( m_icon == 7 )
{
m_engine->SetTexture("button1.tga");
- m_engine->SetState(D3DSTATENORMAL);
+ m_engine->SetState(Gfx::ENG_RSTATE_NORMAL);
uv1.x = 64.0f/256.0f;
uv1.y = 0.0f/256.0f;
uv2.x = 96.0f/256.0f;
@@ -213,7 +214,7 @@ void CGroup::Draw()
if ( m_icon == 8 )
{
m_engine->SetTexture("button2.tga");
- m_engine->SetState(D3DSTATETTb);
+ m_engine->SetState(Gfx::ENG_RSTATE_TTEXTURE_BLACK);
uv1.x = 64.0f/256.0f; // green transparent
uv1.y = 160.0f/256.0f;
uv2.x = 160.0f/256.0f;
@@ -227,7 +228,7 @@ void CGroup::Draw()
if ( m_icon == 9 )
{
m_engine->SetTexture("button2.tga");
- m_engine->SetState(D3DSTATETTb);
+ m_engine->SetState(Gfx::ENG_RSTATE_TTEXTURE_BLACK);
uv1.x = 64.0f/256.0f; // red transparent
uv1.y = 176.0f/256.0f;
uv2.x = 160.0f/256.0f;
@@ -241,7 +242,7 @@ void CGroup::Draw()
if ( m_icon == 10 )
{
m_engine->SetTexture("button2.tga");
- m_engine->SetState(D3DSTATETTb);
+ m_engine->SetState(Gfx::ENG_RSTATE_TTEXTURE_BLACK);
uv1.x = 64.0f/256.0f; // blue transparent
uv1.y = 192.0f/256.0f;
uv2.x = 160.0f/256.0f;
@@ -255,7 +256,7 @@ void CGroup::Draw()
if ( m_icon == 11 )
{
m_engine->SetTexture("button2.tga");
- m_engine->SetState(D3DSTATETTb);
+ m_engine->SetState(Gfx::ENG_RSTATE_TTEXTURE_BLACK);
uv1.x = 64.0f/256.0f; // yellow transparent
uv1.y = 224.0f/256.0f;
uv2.x = 160.0f/256.0f;
@@ -272,7 +273,7 @@ void CGroup::Draw()
dim.y = m_dim.y/2.0f;
m_engine->SetTexture("mouse.tga");
- m_engine->SetState(D3DSTATETTb);
+ m_engine->SetState(Gfx::ENG_RSTATE_TTEXTURE_BLACK);
pos.x = m_pos.x-m_dim.x/300.0f;
pos.y = m_pos.y+m_dim.y/300.0f+dim.y;
uv1.x = 0.5f/256.0f;
@@ -290,7 +291,7 @@ void CGroup::Draw()
Math::Swap(uv1.x, uv2.x);
DrawIcon(pos, dim, uv1, uv2); // dl
- m_engine->SetState(D3DSTATETTw);
+ m_engine->SetState(Gfx::ENG_RSTATE_TTEXTURE_WHITE);
pos.x = m_pos.x+m_dim.x/300.0f;
pos.y = m_pos.y-m_dim.y/300.0f+dim.y;
uv1.x = 64.5f/256.0f;
@@ -311,7 +312,7 @@ void CGroup::Draw()
if ( m_icon == 13 ) // corner upper / left?
{
m_engine->SetTexture("mouse.tga");
- m_engine->SetState(D3DSTATETTb);
+ m_engine->SetState(Gfx::ENG_RSTATE_TTEXTURE_BLACK);
pos.x = m_pos.x-m_dim.x/150.0f;
pos.y = m_pos.y+m_dim.y/150.0f;
uv1.x = 128.5f/256.0f;
@@ -320,7 +321,7 @@ void CGroup::Draw()
uv2.y = 255.5f/256.0f;
DrawIcon(pos, m_dim, uv1, uv2);
- m_engine->SetState(D3DSTATETTw);
+ m_engine->SetState(Gfx::ENG_RSTATE_TTEXTURE_WHITE);
pos.x = m_pos.x+m_dim.x/150.0f;
pos.y = m_pos.y-m_dim.y/150.0f;
uv1.x = 192.5f/256.0f;
@@ -332,7 +333,7 @@ void CGroup::Draw()
if ( m_icon == 14 ) // corner upper / right?
{
m_engine->SetTexture("mouse.tga");
- m_engine->SetState(D3DSTATETTb);
+ m_engine->SetState(Gfx::ENG_RSTATE_TTEXTURE_BLACK);
pos.x = m_pos.x-m_dim.x/150.0f;
pos.y = m_pos.y+m_dim.y/150.0f;
uv2.x = 128.5f/256.0f;
@@ -341,7 +342,7 @@ void CGroup::Draw()
uv2.y = 255.5f/256.0f;
DrawIcon(pos, m_dim, uv1, uv2);
- m_engine->SetState(D3DSTATETTw);
+ m_engine->SetState(Gfx::ENG_RSTATE_TTEXTURE_WHITE);
pos.x = m_pos.x+m_dim.x/150.0f;
pos.y = m_pos.y-m_dim.y/150.0f;
uv2.x = 192.5f/256.0f;
@@ -353,7 +354,7 @@ void CGroup::Draw()
if ( m_icon == 15 ) // corner lower / left?
{
m_engine->SetTexture("mouse.tga");
- m_engine->SetState(D3DSTATETTb);
+ m_engine->SetState(Gfx::ENG_RSTATE_TTEXTURE_BLACK);
pos.x = m_pos.x-m_dim.x/150.0f;
pos.y = m_pos.y+m_dim.y/150.0f;
uv1.x = 128.5f/256.0f;
@@ -362,7 +363,7 @@ void CGroup::Draw()
uv1.y = 255.5f/256.0f;
DrawIcon(pos, m_dim, uv1, uv2);
- m_engine->SetState(D3DSTATETTw);
+ m_engine->SetState(Gfx::ENG_RSTATE_TTEXTURE_WHITE);
pos.x = m_pos.x+m_dim.x/150.0f;
pos.y = m_pos.y-m_dim.y/150.0f;
uv1.x = 192.5f/256.0f;
@@ -374,7 +375,7 @@ void CGroup::Draw()
if ( m_icon == 16 ) // corner lower / left?
{
m_engine->SetTexture("mouse.tga");
- m_engine->SetState(D3DSTATETTb);
+ m_engine->SetState(Gfx::ENG_RSTATE_TTEXTURE_BLACK);
pos.x = m_pos.x-m_dim.x/150.0f;
pos.y = m_pos.y+m_dim.y/150.0f;
uv2.x = 128.5f/256.0f;
@@ -383,7 +384,7 @@ void CGroup::Draw()
uv1.y = 255.5f/256.0f;
DrawIcon(pos, m_dim, uv1, uv2);
- m_engine->SetState(D3DSTATETTw);
+ m_engine->SetState(Gfx::ENG_RSTATE_TTEXTURE_WHITE);
pos.x = m_pos.x+m_dim.x/150.0f;
pos.y = m_pos.y-m_dim.y/150.0f;
uv2.x = 192.5f/256.0f;
@@ -395,7 +396,7 @@ void CGroup::Draw()
if ( m_icon == 17 )
{
m_engine->SetTexture("button2.tga");
- m_engine->SetState(D3DSTATENORMAL);
+ m_engine->SetState(Gfx::ENG_RSTATE_NORMAL);
uv1.x = 0.0f/256.0f; // blue frame
uv1.y = 75.0f/256.0f;
uv2.x = 64.0f/256.0f;
@@ -411,7 +412,7 @@ void CGroup::Draw()
if ( m_icon == 18 ) // arrow> for SatCom?
{
m_engine->SetTexture("button1.tga");
- m_engine->SetState(D3DSTATETTw);
+ m_engine->SetState(Gfx::ENG_RSTATE_TTEXTURE_WHITE);
uv1.x = 0.0f/256.0f; // >
uv1.y = 192.0f/256.0f;
uv2.x = 32.0f/256.0f;
@@ -425,7 +426,7 @@ void CGroup::Draw()
if ( m_icon == 19 ) // SatCom symbol?
{
m_engine->SetTexture("button1.tga");
- m_engine->SetState(D3DSTATETTw);
+ m_engine->SetState(Gfx::ENG_RSTATE_TTEXTURE_WHITE);
uv1.x = 224.0f/256.0f; // SatCom symbol
uv1.y = 224.0f/256.0f;
uv2.x = 256.0f/256.0f;
@@ -439,7 +440,7 @@ void CGroup::Draw()
if ( m_icon == 20 ) // solid blue background?
{
m_engine->SetTexture("button1.tga");
- m_engine->SetState(D3DSTATETTw);
+ m_engine->SetState(Gfx::ENG_RSTATE_TTEXTURE_WHITE);
uv1.x = 224.0f/256.0f;
uv1.y = 32.0f/256.0f;
uv2.x = 256.0f/256.0f;
@@ -453,7 +454,7 @@ void CGroup::Draw()
if ( m_icon == 21 ) // stand-by symbol?
{
m_engine->SetTexture("button2.tga");
- m_engine->SetState(D3DSTATETTw);
+ m_engine->SetState(Gfx::ENG_RSTATE_TTEXTURE_WHITE);
uv1.x = 160.0f/256.0f;
uv1.y = 32.0f/256.0f;
uv2.x = 192.0f/256.0f;
@@ -467,7 +468,7 @@ void CGroup::Draw()
if ( m_icon == 22 )
{
m_engine->SetTexture("button2.tga");
- m_engine->SetState(D3DSTATENORMAL);
+ m_engine->SetState(Gfx::ENG_RSTATE_NORMAL);
uv1.x = 64.0f/256.0f; // opaque yellow
uv1.y = 224.0f/256.0f;
uv2.x = 160.0f/256.0f;
@@ -484,7 +485,7 @@ void CGroup::Draw()
if ( m_icon == 23 )
{
m_engine->SetTexture("button3.tga");
- m_engine->SetState(D3DSTATENORMAL);
+ m_engine->SetState(Gfx::ENG_RSTATE_NORMAL);
uv1.x = 64.0f/256.0f; // yellow
uv1.y = 192.0f/256.0f;
uv2.x = 80.0f/256.0f;
@@ -500,7 +501,7 @@ void CGroup::Draw()
if ( m_icon == 24 )
{
m_engine->SetTexture("button3.tga");
- m_engine->SetState(D3DSTATENORMAL);
+ m_engine->SetState(Gfx::ENG_RSTATE_NORMAL);
uv1.x = 80.0f/256.0f; // orange
uv1.y = 192.0f/256.0f;
uv2.x = 96.0f/256.0f;
@@ -516,7 +517,7 @@ void CGroup::Draw()
if ( m_icon == 25 )
{
m_engine->SetTexture("button3.tga");
- m_engine->SetState(D3DSTATENORMAL);
+ m_engine->SetState(Gfx::ENG_RSTATE_NORMAL);
uv1.x = 64.0f/256.0f; // orange
uv1.y = 208.0f/256.0f;
uv2.x = 80.0f/256.0f;
@@ -532,7 +533,7 @@ void CGroup::Draw()
if ( m_icon == 26 )
{
m_engine->SetTexture("button3.tga");
- m_engine->SetState(D3DSTATENORMAL);
+ m_engine->SetState(Gfx::ENG_RSTATE_NORMAL);
uv1.x = 80.0f/256.0f; // red
uv1.y = 208.0f/256.0f;
uv2.x = 96.0f/256.0f;
@@ -548,7 +549,7 @@ void CGroup::Draw()
if ( m_icon == 27 )
{
m_engine->SetTexture("button3.tga");
- m_engine->SetState(D3DSTATENORMAL);
+ m_engine->SetState(Gfx::ENG_RSTATE_NORMAL);
uv1.x = 32.0f/256.0f;
uv1.y = 0.0f/256.0f;
uv2.x = 64.0f/256.0f;
@@ -566,7 +567,7 @@ void CGroup::Draw()
dim = m_dim;
m_engine->SetTexture("button2.tga");
- m_engine->SetState(D3DSTATENORMAL);
+ m_engine->SetState(Gfx::ENG_RSTATE_NORMAL);
uv1.x = 32.0f/256.0f;
uv1.y = 32.0f/256.0f;
uv2.x = uv1.x+32.0f/256.0f;
@@ -578,7 +579,7 @@ void CGroup::Draw()
DrawIcon(pos, dim, uv1, uv2);
m_engine->SetTexture("button3.tga");
- m_engine->SetState(D3DSTATENORMAL);
+ m_engine->SetState(Gfx::ENG_RSTATE_NORMAL);
pos.x += 8.0f/640.0f;
pos.y += 8.0f/480.0f;
dim.x -= 16.0f/640.0f;
@@ -593,7 +594,7 @@ void CGroup::Draw()
uv2.y -= dp;
DrawIcon(pos, dim, uv1, uv2);
- m_engine->SetState(D3DSTATENORMAL);
+ m_engine->SetState(Gfx::ENG_RSTATE_NORMAL);
pos.x += 2.0f/640.0f;
pos.y += 2.0f/480.0f;
dim.x -= 4.0f/640.0f;
@@ -608,7 +609,7 @@ void CGroup::Draw()
uv2.y -= dp;
DrawIcon(pos, dim, uv1, uv2);
- m_engine->SetState(D3DSTATETTb);
+ m_engine->SetState(Gfx::ENG_RSTATE_TTEXTURE_BLACK);
pos.x += 8.0f/640.0f;
pos.y += 8.0f/480.0f;
dim.x -= 16.0f/640.0f;
diff --git a/src/ui/group.h b/src/ui/group.h
index baf609f..b54829d 100644
--- a/src/ui/group.h
+++ b/src/ui/group.h
@@ -32,7 +32,7 @@ public:
CGroup(CInstanceManager* iMan);
virtual ~CGroup();
- bool Create(Math::Point pos, Math::Point dim, int icon, EventMsg eventMsg);
+ bool Create(Math::Point pos, Math::Point dim, int icon, EventType eventType);
bool EventProcess(const Event &event);