From 011d86ed668cbbff5c7bfc5f7e88086acb849921 Mon Sep 17 00:00:00 2001 From: Piotr Dziwinski Date: Sun, 15 Apr 2012 00:50:13 +0200 Subject: Pulled changes from test mingw branch * include fixes * syntax fixes for MinGW * fixed encoding of restext.cpp * temporary fix for MinGW in joystick.cpp Successfully compiles under MinGW :) --- src/CBot/CBot.cpp | 33 +- src/CBot/CBot.h | 22 +- src/CBot/CBotDll.h | 19 +- src/CBot/CBotFunction.cpp | 2 +- src/CBot/CBotStack.cpp | 13 +- src/CBot/CBotString.cpp | 5 +- src/CBot/CBotToken.cpp | 2 +- src/CBot/CBotTwoOpExpr.cpp | 4 +- src/CBot/CBotVar.cpp | 130 +-- src/CBot/ClassFILE.cpp | 2 +- src/CBot/TestCBot/CBotConsoleDlg.cpp | 6 +- src/CBot/TestCBot/CBotConsoleDlg.h | 4 +- src/CBot/TestCBot/ChildFrm.cpp | 4 +- src/CBot/TestCBot/ChildFrm.h | 4 +- src/CBot/TestCBot/MainFrm.cpp | 4 +- src/CBot/TestCBot/MainFrm.h | 4 +- src/CBot/TestCBot/PerformDlg.cpp | 4 +- src/CBot/TestCBot/PerformDlg.h | 4 +- src/CBot/TestCBot/TestCBotDoc.cpp | 2 +- src/CBot/TestCBot/TestCBotView.cpp | 4 +- src/ClassFILE.cpp | 2 +- src/d3dapp.cpp | 7 +- src/d3denum.cpp | 6 +- src/edit.cpp | 4 +- src/joystick.cpp | 8 +- src/misc.cpp | 8 +- src/object.cpp | 7 +- src/object.h | 11 +- src/particule.cpp | 7 +- src/particule.h | 7 +- src/physics.cpp | 6 +- src/physics.h | 4 + src/planet.cpp | 4 +- src/planet.h | 3 + src/pyro.h | 9 +- src/restext.cpp | 1738 +++++++++++++++++----------------- src/restext.h | 4 +- src/robotmain.cpp | 8 +- src/robotmain.h | 16 +- src/script.cpp | 6 +- src/script.h | 3 + src/scroll.cpp | 6 +- src/scroll.h | 1 + src/shortcut.cpp | 4 +- src/slider.cpp | 6 +- src/slider.h | 1 + src/sound.cpp | 3 + src/sound.h | 4 + src/studio.cpp | 8 +- src/studio.h | 4 + src/target.cpp | 4 +- src/task.cpp | 2 +- src/task.h | 3 + src/taskadvance.cpp | 2 +- src/taskadvance.h | 4 + src/taskbuild.cpp | 2 +- src/taskbuild.h | 5 +- src/taskfire.h | 3 + src/taskfireant.h | 3 + src/taskflag.cpp | 4 +- src/taskflag.h | 3 + src/taskgoto.cpp | 2 +- src/taskgoto.h | 4 + src/taskgungoal.cpp | 2 +- src/taskgungoal.h | 3 + src/taskinfo.h | 3 + src/taskmanager.cpp | 2 +- src/taskmanager.h | 15 +- src/taskmanip.cpp | 4 +- src/taskmanip.h | 5 + src/taskpen.h | 3 + src/taskrecover.h | 3 + src/taskreset.cpp | 2 +- src/taskreset.h | 4 + src/tasksearch.h | 3 + src/taskshield.h | 4 + src/taskspiderexplo.cpp | 2 +- src/taskspiderexplo.h | 3 + src/tasktake.cpp | 4 +- src/tasktake.h | 4 + src/taskterraform.h | 4 + src/taskturn.cpp | 2 +- src/taskturn.h | 3 + src/taskwait.cpp | 2 +- src/taskwait.h | 3 + src/terrain.cpp | 5 +- src/terrain.h | 3 + src/text.cpp | 2 +- src/text.h | 3 +- src/water.cpp | 5 +- src/water.h | 8 +- src/window.cpp | 7 +- 92 files changed, 1231 insertions(+), 1100 deletions(-) diff --git a/src/CBot/CBot.cpp b/src/CBot/CBot.cpp index 180113d..e2b01a9 100644 --- a/src/CBot/CBot.cpp +++ b/src/CBot/CBot.cpp @@ -29,6 +29,9 @@ #include "CBot.h" + + + // les divers constructeurs / destructeurs // pour libérer tout selon l'arbre établi CBotInstr::CBotInstr() @@ -80,7 +83,7 @@ void CBotInstr::DecLvl() } // controle la validité d'un break ou continu -BOOL CBotInstr::ChkLvl(CBotString& label, int type) +BOOL CBotInstr::ChkLvl(const CBotString& label, int type) { int i = m_LoopLvl; while (--i>=0) @@ -291,7 +294,7 @@ CBotInstr* CBotInstr::Compile(CBotToken* &p, CBotCStack* pStack) BOOL CBotInstr::Execute(CBotStack* &pj) { CBotString ClassManquante = name; - __asm int 3; // ne doit jamais passer par cette routine + ASM_TRAP(); // ne doit jamais passer par cette routine // mais utiliser les routines des classes filles return FALSE; } @@ -306,26 +309,26 @@ BOOL CBotInstr::Execute(CBotStack* &pj, CBotVar* pVar) void CBotInstr::RestoreState(CBotStack* &pj, BOOL bMain) { CBotString ClassManquante = name; - __asm int 3; // ne doit jamais passer par cette routine + ASM_TRAP(); // ne doit jamais passer par cette routine // mais utiliser les routines des classes filles } BOOL CBotInstr::ExecuteVar(CBotVar* &pVar, CBotCStack* &pile) { - __asm int 3; // papa sait pas faire, voir les filles + ASM_TRAP(); // papa sait pas faire, voir les filles return FALSE; } BOOL CBotInstr::ExecuteVar(CBotVar* &pVar, CBotStack* &pile, CBotToken* prevToken, BOOL bStep, BOOL bExtend) { - __asm int 3; // papa sait pas faire, voir les filles + ASM_TRAP(); // papa sait pas faire, voir les filles return FALSE; } void CBotInstr::RestoreStateVar(CBotStack* &pile, BOOL bMain) { - __asm int 3; // papa sait pas faire, voir les filles + ASM_TRAP(); // papa sait pas faire, voir les filles } // cette routine n'est définie que pour la classe fille CBotCase @@ -538,7 +541,7 @@ void CBotLeftExprVar::RestoreState(CBotStack* &pj, BOOL bMain) CBotVar* var1; var1 = pj->FindVar(m_token.GivString()); - if ( var1 == NULL ) __asm int 3; + if ( var1 == NULL ) ASM_TRAP(); var1->SetUniqNum(m_nIdent); // avec cet identificateur unique } @@ -1777,7 +1780,7 @@ BOOL CBotExpression::Execute(CBotStack* &pj) pile2->SetVar(result); // re-place le résultat break; default: - __asm int 3; + ASM_TRAP(); } if (!IsInit) pile2->SetError(TX_NOTINIT, m_leftop->GivToken()); @@ -2298,7 +2301,7 @@ CBotIndexExpr::~CBotIndexExpr() BOOL CBotIndexExpr::ExecuteVar(CBotVar* &pVar, CBotCStack* &pile) { if ( pVar->GivType(1) != CBotTypArrayPointer ) - __asm int 3; + ASM_TRAP(); pVar = ((CBotVarArray*)pVar)->GivItem(0, FALSE); // ŕ la compilation rend l'élément [0] if ( pVar == NULL ) @@ -2320,7 +2323,7 @@ BOOL CBotIndexExpr::ExecuteVar(CBotVar* &pVar, CBotStack* &pile, CBotToken* prev // DEBUG( "CBotIndexExpr::ExecuteVar", -1 , pj); if ( pVar->GivType(1) != CBotTypArrayPointer ) - __asm int 3; + ASM_TRAP(); pile = pile->AddStack(); // if ( pile == EOX ) return TRUE; @@ -2406,7 +2409,7 @@ void CBotFieldExpr::SetUniqNum(int num) BOOL CBotFieldExpr::ExecuteVar(CBotVar* &pVar, CBotCStack* &pile) { if ( pVar->GivType(1) != CBotTypPointer ) - __asm int 3; + ASM_TRAP(); // pVar = pVar->GivItem(m_token.GivString()); pVar = pVar->GivItemRef(m_nIdent); @@ -2433,7 +2436,7 @@ BOOL CBotFieldExpr::ExecuteVar(CBotVar* &pVar, CBotStack* &pile, CBotToken* prev // DEBUG( "CBotFieldExpre::ExecuteVar "+m_token.GivString(), 0, pj ); if ( pVar->GivType(1) != CBotTypPointer ) - __asm int 3; + ASM_TRAP(); CBotVarClass* pItem = pVar->GivPointer(); if ( pItem == NULL ) @@ -2693,7 +2696,7 @@ BOOL CBotLeftExpr::ExecuteVar(CBotVar* &pVar, CBotStack* &pile, CBotToken* prevT if ( pVar == NULL ) { #ifdef _DEBUG - __asm int 3; + ASM_TRAP(); #endif pile->SetError(2, &m_token); return FALSE; @@ -3346,7 +3349,7 @@ BOOL CBotExprVar::ExecuteVar(CBotVar* &pVar, CBotStack* &pj, CBotToken* prevToke if ( pVar == NULL ) { #ifdef _DEBUG - __asm int 3; + ASM_TRAP(); #endif pj->SetError(1, &m_token); return FALSE; @@ -3969,7 +3972,7 @@ BOOL TypeCompatible( CBotTypResult& type1, CBotTypResult& type2, int op ) // regarde si deux variables sont compatible pour un passage de paramčtre -BOOL TypesCompatibles( CBotTypResult& type1, CBotTypResult& type2 ) +BOOL TypesCompatibles( const CBotTypResult& type1, const CBotTypResult& type2 ) { int t1 = type1.GivType(); int t2 = type2.GivType(); diff --git a/src/CBot/CBot.h b/src/CBot/CBot.h index ae2284a..e28bbee 100644 --- a/src/CBot/CBot.h +++ b/src/CBot/CBot.h @@ -30,6 +30,14 @@ #define EOX (CBotStack*)-1 // marqueur condition spéciale + +// fix for MSVC instruction __asm int 3 (setting a trap) +#ifdef __MINGW32__ +#define ASM_TRAP() asm("int $3"); +#else +#define ASM_TRAP() __asm int 3; +#endif + ///////////////////////////////////////////////////////////////////// // résumé des classes utilisées, définies ci-aprčs @@ -372,7 +380,7 @@ public: static void DecLvl(); static - BOOL ChkLvl(CBotString& label, int type); + BOOL ChkLvl(const CBotString& label, int type); BOOL IsOfClass(CBotString name); }; @@ -1194,7 +1202,7 @@ public: }; // classe pour la gestion des nombres réels (float) -class CBotVarFloat : CBotVar +class CBotVarFloat : public CBotVar { private: float m_val; // la valeur @@ -1235,7 +1243,7 @@ public: // classe pour la gestion des chaînes (String) -class CBotVarString : CBotVar +class CBotVarString : public CBotVar { private: CBotString m_val; // la valeur @@ -1262,7 +1270,7 @@ public: }; // classe pour la gestion des boolean -class CBotVarBoolean : CBotVar +class CBotVarBoolean : public CBotVar { private: BOOL m_val; // la valeur @@ -1310,7 +1318,7 @@ private: BOOL m_bConstructor; // set si un constructeur a été appelé public: - CBotVarClass( const CBotToken* name, CBotTypResult& type ); + CBotVarClass( const CBotToken* name, const CBotTypResult& type ); // CBotVarClass( const CBotToken* name, CBotTypResult& type, int &nIdent ); ~CBotVarClass(); // void InitCBotVarClass( const CBotToken* name, CBotTypResult& type, int &nIdent ); @@ -1424,7 +1432,7 @@ public: extern CBotInstr* CompileParams(CBotToken* &p, CBotCStack* pStack, CBotVar** ppVars); extern BOOL TypeCompatible( CBotTypResult& type1, CBotTypResult& type2, int op = 0 ); -extern BOOL TypesCompatibles( CBotTypResult& type1, CBotTypResult& type2 ); +extern BOOL TypesCompatibles( const CBotTypResult& type1, const CBotTypResult& type2 ); extern BOOL WriteWord(FILE* pf, WORD w); extern BOOL ReadWord(FILE* pf, WORD& w); @@ -1439,7 +1447,7 @@ extern BOOL ReadType(FILE* pf, CBotTypResult& type); extern float GivNumFloat( const char* p ); -#ifdef _DEBUG +#if FALSE extern void DEBUG( const char* text, int val, CBotStack* pile ); #endif diff --git a/src/CBot/CBotDll.h b/src/CBot/CBotDll.h index ea67f2c..7fa9472 100644 --- a/src/CBot/CBotDll.h +++ b/src/CBot/CBotDll.h @@ -40,6 +40,7 @@ class CBotVarPointer; // pointeur class CBotCall; // les fonctions class CBotCallMethode; // les méthodes class CBotDefParam; // liste de paramčtres +class CBotCStack; //////////////////////////////////////////////////////////////////////// @@ -106,7 +107,7 @@ public: // pour les tableaux de variables DllExport - CBotTypResult(CBotTypResult& typ); + CBotTypResult(const CBotTypResult& typ); // pour les assignations DllExport CBotTypResult(); @@ -115,18 +116,18 @@ public: ~CBotTypResult(); DllExport - int GivType(int mode = 0); + int GivType(int mode = 0) const; // rend le type CBotTyp* du résultat void SetType(int n); // modifie le type DllExport - CBotClass* GivClass(); + CBotClass* GivClass() const; // rend le pointeur ŕ la classe (pour les CBotTypClass, CBotTypPointer) DllExport - int GivLimite(); + int GivLimite() const; // rend la taille limite du tableau (CBotTypArray) DllExport @@ -137,14 +138,14 @@ public: // idem avec une liste de dimension (tableaux de tableaux) DllExport - CBotTypResult& GivTypElem(); + CBotTypResult& GivTypElem() const; // rend le type des éléments du tableau (CBotTypArray) DllExport - BOOL Compare(CBotTypResult& typ); + BOOL Compare(const CBotTypResult& typ) const; // compare si les types sont compatibles DllExport - BOOL Eq(int type); + BOOL Eq(int type) const; // compare le type DllExport @@ -274,7 +275,7 @@ public: DllExport void Empty(); DllExport - BOOL IsEmpty(); + BOOL IsEmpty() const; DllExport int GivLength(); DllExport @@ -1048,7 +1049,7 @@ private: public: CBotToken(); CBotToken(const CBotToken* pSrc); - CBotToken(CBotString& mot, CBotString& sep, int start=0, int end=0); + CBotToken(const CBotString& mot, const CBotString& sep, int start=0, int end=0); CBotToken(const char* mot, const char* sep = NULL); // constructeur ~CBotToken(); // destructeur diff --git a/src/CBot/CBotFunction.cpp b/src/CBot/CBotFunction.cpp index a7fbadc..488061c 100644 --- a/src/CBot/CBotFunction.cpp +++ b/src/CBot/CBotFunction.cpp @@ -1042,7 +1042,7 @@ BOOL CBotDefParam::Execute(CBotVar** ppVars, CBotStack* &pj) } break; default: - __asm int 3; + ASM_TRAP(); } } newvar->SetUniqNum(p->m_nIdent); diff --git a/src/CBot/CBotStack.cpp b/src/CBot/CBotStack.cpp index b97c2fd..b5aaba0 100644 --- a/src/CBot/CBotStack.cpp +++ b/src/CBot/CBotStack.cpp @@ -53,7 +53,8 @@ CBotStack* CBotStack::FirstStack() CBotStack* pp = p; pp += MAXSTACK; - for ( int i = 0 ; i< 10 ; i++ ) + int i; + for ( i = 0 ; i< 10 ; i++ ) { pp->m_bOver = TRUE; pp ++; @@ -75,12 +76,12 @@ CBotStack* CBotStack::FirstStack() CBotStack::CBotStack(CBotStack* ppapa) { // constructeur doit exister, sinon le destructeur n'est jamais appelé ! - __asm int 3; + ASM_TRAP(); } CBotStack::~CBotStack() { - __asm int 3; // utiliser Delete() ŕ la place + ASM_TRAP(); // utiliser Delete() ŕ la place } void CBotStack::Delete() @@ -696,7 +697,7 @@ void CBotStack::AddVar(CBotVar* pVar) *pp = pVar; // ajoute ŕ la suite #ifdef _DEBUG - if ( pVar->GivUniqNum() == 0 ) __asm int 3; + if ( pVar->GivUniqNum() == 0 ) ASM_TRAP(); #endif } @@ -1094,7 +1095,7 @@ BOOL CBotVar::RestoreState(FILE* pf, CBotVar* &pVar) } break; default: - __asm int 3; + ASM_TRAP(); } if ( pPrev != NULL ) pPrev->m_next = pNew; @@ -1391,7 +1392,7 @@ void CBotCStack::AddVar(CBotVar* pVar) *pp = pVar; // ajoute ŕ la suite #ifdef _DEBUG - if ( pVar->GivUniqNum() == 0 ) __asm int 3; + if ( pVar->GivUniqNum() == 0 ) ASM_TRAP(); #endif } diff --git a/src/CBot/CBotString.cpp b/src/CBot/CBotString.cpp index 5d19861..2a1e3bd 100644 --- a/src/CBot/CBotString.cpp +++ b/src/CBot/CBotString.cpp @@ -92,7 +92,8 @@ CBotString CBotString::Right(int nCount) const int i = m_lg - nCount; if ( i < 0 ) i = 0; - for ( int j = 0; i < m_lg && i < 1999; i++) + int j; + for ( j = 0 ; i < m_lg && i < 1999; i++) { chaine[j++] = m_ptr[i]; } @@ -410,7 +411,7 @@ BOOL CBotString::operator<=(const char* p) return Compare(p) <= 0; } -BOOL CBotString::IsEmpty() +BOOL CBotString::IsEmpty() const { return (m_lg == 0); } diff --git a/src/CBot/CBotToken.cpp b/src/CBot/CBotToken.cpp index 8fd6dbd..fbf6726 100644 --- a/src/CBot/CBotToken.cpp +++ b/src/CBot/CBotToken.cpp @@ -65,7 +65,7 @@ CBotToken::CBotToken(const CBotToken* pSrc) } } -CBotToken::CBotToken(CBotString& mot, CBotString& sep, int start, int end) +CBotToken::CBotToken(const CBotString& mot, const CBotString& sep, int start, int end) { m_Text = mot; // mot trouvé comme token m_Sep = sep; // séparateurs qui suivent diff --git a/src/CBot/CBotTwoOpExpr.cpp b/src/CBot/CBotTwoOpExpr.cpp index 8594787..d8f4ee7 100644 --- a/src/CBot/CBotTwoOpExpr.cpp +++ b/src/CBot/CBotTwoOpExpr.cpp @@ -464,7 +464,7 @@ BOOL CBotTwoOpExpr::Execute(CBotStack* &pStack) if ( !IsNan(left, right, &err) ) result->SL(left , right); break; default: - __asm int 3; + ASM_TRAP(); } delete temp; @@ -563,4 +563,4 @@ void t(BOOL t) x = 1 + t ? 1 : 3 + 4 * 2 ; t ? 0 : "test"; } -#endif \ No newline at end of file +#endif diff --git a/src/CBot/CBotVar.cpp b/src/CBot/CBotVar.cpp index 9d91759..37c8fb4 100644 --- a/src/CBot/CBotVar.cpp +++ b/src/CBot/CBotVar.cpp @@ -105,7 +105,7 @@ CBotVarBoolean::CBotVarBoolean( const CBotToken* name ) CBotVarClass* CBotVarClass::m_ExClass = NULL; -CBotVarClass::CBotVarClass( const CBotToken* name, CBotTypResult& type) +CBotVarClass::CBotVarClass( const CBotToken* name, const CBotTypResult& type) { /* // int nIdent = 0; @@ -123,7 +123,7 @@ void CBotVarClass::InitCBotVarClass( const CBotToken* name, CBotTypResult& type !type.Eq(CBotTypIntrinsic) && // par comodité accepte ces types !type.Eq(CBotTypPointer) && !type.Eq(CBotTypArrayPointer) && - !type.Eq(CBotTypArrayBody)) __asm int 3; + !type.Eq(CBotTypArrayBody)) ASM_TRAP(); m_token = new CBotToken(name); m_next = NULL; @@ -167,7 +167,7 @@ void CBotVarClass::InitCBotVarClass( const CBotToken* name, CBotTypResult& type CBotVarClass::~CBotVarClass( ) { if ( m_CptUse != 0 ) - __asm int 3; + ASM_TRAP(); if ( m_pParent ) delete m_pParent; m_pParent = NULL; @@ -240,7 +240,7 @@ void CBotVar::SetUniqNum(long n) { m_ident = n; - if ( n == 0 ) __asm int 3; + if ( n == 0 ) ASM_TRAP(); } long CBotVar::NextUniqNum() @@ -265,7 +265,7 @@ BOOL CBotVar::Save1State(FILE* pf) // cette routine "virtual" ne doit jamais ętre appellée, // il doit y avoir une routine pour chaque classe fille (CBotVarInt, CBotVarFloat, etc) // ( voir le type dans m_type ) - __asm int 3; + ASM_TRAP(); return FALSE; } @@ -333,7 +333,7 @@ CBotVar* CBotVar::Create(const CBotToken* name, CBotTypResult type) } } - __asm int 3; + ASM_TRAP(); return NULL; } @@ -404,7 +404,7 @@ CBotVar* CBotVar::Create( const char* n, CBotTypResult type) } } - __asm int 3; + ASM_TRAP(); return NULL; } @@ -517,25 +517,25 @@ CBotToken* CBotVar::GivToken() CBotVar* CBotVar::GivItem(const char* name) { - __asm int 3; + ASM_TRAP(); return NULL; } CBotVar* CBotVar::GivItemRef(int nIdent) { - __asm int 3; + ASM_TRAP(); return NULL; } CBotVar* CBotVar::GivItemList() { - __asm int 3; + ASM_TRAP(); return NULL; } CBotVar* CBotVar::GivItem(int row, BOOL bGrow) { - __asm int 3; + ASM_TRAP(); return NULL; } @@ -615,7 +615,7 @@ void CBotVar::SetVal(CBotVar* var) } break; default: - __asm int 3; + ASM_TRAP(); } m_binit = var->m_binit; // copie l'état nan s'il y a @@ -649,12 +649,12 @@ int CBotVar::GivPrivate() void CBotVar::SetPointer(CBotVar* pVarClass) { - __asm int 3; + ASM_TRAP(); } CBotVarClass* CBotVar::GivPointer() { - __asm int 3; + ASM_TRAP(); return NULL; } @@ -663,167 +663,167 @@ CBotVarClass* CBotVar::GivPointer() int CBotVar::GivValInt() { - __asm int 3; + ASM_TRAP(); return 0; } float CBotVar::GivValFloat() { - __asm int 3; + ASM_TRAP(); return 0; } void CBotVar::SetValInt(int c, const char* s) { - __asm int 3; + ASM_TRAP(); } void CBotVar::SetValFloat(float c) { - __asm int 3; + ASM_TRAP(); } void CBotVar::Mul(CBotVar* left, CBotVar* right) { - __asm int 3; + ASM_TRAP(); } void CBotVar::Power(CBotVar* left, CBotVar* right) { - __asm int 3; + ASM_TRAP(); } int CBotVar::Div(CBotVar* left, CBotVar* right) { - __asm int 3; + ASM_TRAP(); return 0; } int CBotVar::Modulo(CBotVar* left, CBotVar* right) { - __asm int 3; + ASM_TRAP(); return 0; } void CBotVar::Add(CBotVar* left, CBotVar* right) { - __asm int 3; + ASM_TRAP(); } void CBotVar::Sub(CBotVar* left, CBotVar* right) { - __asm int 3; + ASM_TRAP(); } BOOL CBotVar::Lo(CBotVar* left, CBotVar* right) { - __asm int 3; + ASM_TRAP(); return FALSE; } BOOL CBotVar::Hi(CBotVar* left, CBotVar* right) { - __asm int 3; + ASM_TRAP(); return FALSE; } BOOL CBotVar::Ls(CBotVar* left, CBotVar* right) { - __asm int 3; + ASM_TRAP(); return FALSE; } BOOL CBotVar::Hs(CBotVar* left, CBotVar* right) { - __asm int 3; + ASM_TRAP(); return FALSE; } BOOL CBotVar::Eq(CBotVar* left, CBotVar* right) { - __asm int 3; + ASM_TRAP(); return FALSE; } BOOL CBotVar::Ne(CBotVar* left, CBotVar* right) { - __asm int 3; + ASM_TRAP(); return FALSE; } void CBotVar::And(CBotVar* left, CBotVar* right) { - __asm int 3; + ASM_TRAP(); } void CBotVar::Or(CBotVar* left, CBotVar* right) { - __asm int 3; + ASM_TRAP(); } void CBotVar::XOr(CBotVar* left, CBotVar* right) { - __asm int 3; + ASM_TRAP(); } void CBotVar::ASR(CBotVar* left, CBotVar* right) { - __asm int 3; + ASM_TRAP(); } void CBotVar::SR(CBotVar* left, CBotVar* right) { - __asm int 3; + ASM_TRAP(); } void CBotVar::SL(CBotVar* left, CBotVar* right) { - __asm int 3; + ASM_TRAP(); } void CBotVar::Neg() { - __asm int 3; + ASM_TRAP(); } void CBotVar::Not() { - __asm int 3; + ASM_TRAP(); } void CBotVar::Inc() { - __asm int 3; + ASM_TRAP(); } void CBotVar::Dec() { - __asm int 3; + ASM_TRAP(); } void CBotVar::Copy(CBotVar* pSrc, BOOL bName) { - __asm int 3; + ASM_TRAP(); } void CBotVar::SetValString(const char* p) { - __asm int 3; + ASM_TRAP(); } CBotString CBotVar::GivValString() { - __asm int 3; + ASM_TRAP(); return CBotString(); } void CBotVar::SetClass(CBotClass* pClass) { - __asm int 3; + ASM_TRAP(); } CBotClass* CBotVar::GivClass() { - __asm int 3; + ASM_TRAP(); return NULL; } @@ -915,7 +915,7 @@ void CBotVarInt::Mul(CBotVar* left, CBotVar* right) void CBotVarInt::Power(CBotVar* left, CBotVar* right) { - m_val = (int) pow( left->GivValInt() , right->GivValInt() ); + m_val = (int) pow( (double) left->GivValInt() , (double) right->GivValInt() ); m_binit = TRUE; } @@ -1396,7 +1396,7 @@ void CBotVarClass::Copy(CBotVar* pSrc, BOOL bName) pSrc = pSrc->GivPointer(); // si source donné par un pointeur if ( pSrc->GivType() != CBotTypClass ) - __asm int 3; + ASM_TRAP(); CBotVarClass* p = (CBotVarClass*)pSrc; @@ -1408,7 +1408,7 @@ void CBotVarClass::Copy(CBotVar* pSrc, BOOL bName) m_pClass = p->m_pClass; if ( p->m_pParent ) { -__asm int 3; "que faire du pParent"; + ASM_TRAP(); "que faire du pParent"; } // m_next = NULL; @@ -1613,7 +1613,7 @@ CBotString CBotVarClass::GivValString() if ( m_pClass != NULL ) // pas utilisé pour un array { - res = m_pClass->GivName() + "( "; + res = m_pClass->GivName() + CBotString("( "); CBotVarClass* my = this; while ( my != NULL ) @@ -1621,7 +1621,7 @@ CBotString CBotVarClass::GivValString() CBotVar* pv = my->m_pVar; while ( pv != NULL ) { - res += pv->GivName() + "="; + res += pv->GivName() + CBotString("="); if ( pv->IsStatic() ) { @@ -1766,7 +1766,7 @@ BOOL CBotVarClass::Ne(CBotVar* left, CBotVar* right) CBotVarArray::CBotVarArray(const CBotToken* name, CBotTypResult& type ) { if ( !type.Eq(CBotTypArrayPointer) && - !type.Eq(CBotTypArrayBody)) __asm int 3; + !type.Eq(CBotTypArrayBody)) ASM_TRAP(); m_token = new CBotToken(name); m_next = NULL; @@ -1789,7 +1789,7 @@ CBotVarArray::~CBotVarArray() void CBotVarArray::Copy(CBotVar* pSrc, BOOL bName) { if ( pSrc->GivType() != CBotTypArrayPointer ) - __asm int 3; + ASM_TRAP(); CBotVarArray* p = (CBotVarArray*)pSrc; @@ -1823,7 +1823,7 @@ void CBotVarArray::SetPointer(CBotVar* pVarClass) if ( !pVarClass->m_type.Eq(CBotTypClass) && !pVarClass->m_type.Eq(CBotTypArrayBody)) - __asm int 3; + ASM_TRAP(); ((CBotVarClass*)pVarClass)->IncrementUse(); // une référence en plus } @@ -1879,7 +1879,7 @@ CBotVarPointer::CBotVarPointer(const CBotToken* name, CBotTypResult& type ) if ( !type.Eq(CBotTypPointer) && !type.Eq(CBotTypNullPointer) && !type.Eq(CBotTypClass) && // par commodité accepte Class et Intrinsic - !type.Eq(CBotTypIntrinsic) ) __asm int 3; + !type.Eq(CBotTypIntrinsic) ) ASM_TRAP(); m_token = new CBotToken(name); m_next = NULL; @@ -1962,7 +1962,7 @@ void CBotVarPointer::SetPointer(CBotVar* pVarClass) // if ( pVarClass->GivType() != CBotTypClass ) if ( !pVarClass->m_type.Eq(CBotTypClass) ) - __asm int 3; + ASM_TRAP(); ((CBotVarClass*)pVarClass)->IncrementUse(); // une référence en plus m_pClass = ((CBotVarClass*)pVarClass)->m_pClass; @@ -2031,7 +2031,7 @@ void CBotVarPointer::Copy(CBotVar* pSrc, BOOL bName) { if ( pSrc->GivType() != CBotTypPointer && pSrc->GivType() != CBotTypNullPointer) - __asm int 3; + ASM_TRAP(); CBotVarPointer* p = (CBotVarPointer*)pSrc; @@ -2128,7 +2128,7 @@ CBotTypResult::CBotTypResult(int type, CBotTypResult elem) m_pNext = new CBotTypResult( elem ); } -CBotTypResult::CBotTypResult(CBotTypResult& typ) +CBotTypResult::CBotTypResult(const CBotTypResult& typ) { m_type = typ.m_type; m_pClass = typ.m_pClass; @@ -2152,18 +2152,18 @@ CBotTypResult::~CBotTypResult() delete m_pNext; } -int CBotTypResult::GivType(int mode) +int CBotTypResult::GivType(int mode) const { #ifdef _DEBUG if ( m_type == CBotTypPointer || m_type == CBotTypClass || m_type == CBotTypIntrinsic ) - if ( m_pClass == NULL ) __asm int 3; + if ( m_pClass == NULL ) ASM_TRAP(); if ( m_type == CBotTypArrayPointer ) - if ( m_pNext == NULL ) __asm int 3; + if ( m_pNext == NULL ) ASM_TRAP(); #endif if ( mode == 3 && m_type == CBotTypNullPointer ) return CBotTypPointer; return m_type; @@ -2174,17 +2174,17 @@ void CBotTypResult::SetType(int n) m_type = n; } -CBotClass* CBotTypResult::GivClass() +CBotClass* CBotTypResult::GivClass() const { return m_pClass; } -CBotTypResult& CBotTypResult::GivTypElem() +CBotTypResult& CBotTypResult::GivTypElem() const { return *m_pNext; } -int CBotTypResult::GivLimite() +int CBotTypResult::GivLimite() const { return m_limite; } @@ -2207,7 +2207,7 @@ void CBotTypResult::SetArray( int* max ) -BOOL CBotTypResult::Compare(CBotTypResult& typ) +BOOL CBotTypResult::Compare(const CBotTypResult& typ) const { if ( m_type != typ.m_type ) return FALSE; @@ -2223,7 +2223,7 @@ BOOL CBotTypResult::Compare(CBotTypResult& typ) return TRUE; } -BOOL CBotTypResult::Eq(int type) +BOOL CBotTypResult::Eq(int type) const { return m_type == type; } diff --git a/src/CBot/ClassFILE.cpp b/src/CBot/ClassFILE.cpp index c80e109..e4dd578 100644 --- a/src/CBot/ClassFILE.cpp +++ b/src/CBot/ClassFILE.cpp @@ -292,7 +292,7 @@ BOOL rfwrite (CBotVar* pThis, CBotVar* pVar, CBotVar* pResult, int& Exception) FILE* pFile= (FILE*)pVar->GivValInt(); - int res = fputs(param+"\n", pFile); + int res = fputs(param+CBotString("\n"), pFile); // en cas d'erreur génčre une exception if ( res < 0 ) { Exception = CBotErrWrite; return FALSE; } diff --git a/src/CBot/TestCBot/CBotConsoleDlg.cpp b/src/CBot/TestCBot/CBotConsoleDlg.cpp index 2305bf3..55a271a 100644 --- a/src/CBot/TestCBot/CBotConsoleDlg.cpp +++ b/src/CBot/TestCBot/CBotConsoleDlg.cpp @@ -12,7 +12,9 @@ // * GNU General Public License for more details. // * // * You should have received a copy of the GNU General Public License -// * along with this program. If not, see http://www.gnu.org/licenses/.// CBotConsoleDlg.cpp : implementation file +// * along with this program. If not, see http://www.gnu.org/licenses/. + +// CBotConsoleDlg.cpp : implementation file // #include "stdafx.h" @@ -208,7 +210,7 @@ BOOL CBotConsoleDlg::OnInitDialog() m_Edit1.ReplaceSel("Les fonctions suivantes sont disponibles:\r\n"); for ( int i = 0; i < m_pListe->GivSize(); i++ ) { - CBotString x = (*m_pListe)[i] + "\r\n"; + CBotString x = (*m_pListe)[i] + CBotString("\r\n"); m_Edit1.ReplaceSel(x); } m_Edit1.ReplaceSel("Entrez une commande ci-dessous.\r\n\r\n"); diff --git a/src/CBot/TestCBot/CBotConsoleDlg.h b/src/CBot/TestCBot/CBotConsoleDlg.h index 52a6e16..f289a4d 100644 --- a/src/CBot/TestCBot/CBotConsoleDlg.h +++ b/src/CBot/TestCBot/CBotConsoleDlg.h @@ -12,7 +12,9 @@ // * GNU General Public License for more details. // * // * You should have received a copy of the GNU General Public License -// * along with this program. If not, see http://www.gnu.org/licenses/.#if !defined(AFX_BOTCONSOLEDLG_H__A11450A2_8E09_11D4_A439_00D059085115__INCLUDED_) +// * along with this program. If not, see http://www.gnu.org/licenses/. + +#if !defined(AFX_BOTCONSOLEDLG_H__A11450A2_8E09_11D4_A439_00D059085115__INCLUDED_) #define AFX_BOTCONSOLEDLG_H__A11450A2_8E09_11D4_A439_00D059085115__INCLUDED_ #if _MSC_VER >= 1000 diff --git a/src/CBot/TestCBot/ChildFrm.cpp b/src/CBot/TestCBot/ChildFrm.cpp index eb7f2b7..4c40f90 100644 --- a/src/CBot/TestCBot/ChildFrm.cpp +++ b/src/CBot/TestCBot/ChildFrm.cpp @@ -12,7 +12,9 @@ // * GNU General Public License for more details. // * // * You should have received a copy of the GNU General Public License -// * along with this program. If not, see http://www.gnu.org/licenses/.// ChildFrm.cpp : implementation of the CChildFrame class +// * along with this program. If not, see http://www.gnu.org/licenses/. + +// ChildFrm.cpp : implementation of the CChildFrame class // #include "stdafx.h" diff --git a/src/CBot/TestCBot/ChildFrm.h b/src/CBot/TestCBot/ChildFrm.h index d8918d4..2ad57b6 100644 --- a/src/CBot/TestCBot/ChildFrm.h +++ b/src/CBot/TestCBot/ChildFrm.h @@ -12,7 +12,9 @@ // * GNU General Public License for more details. // * // * You should have received a copy of the GNU General Public License -// * along with this program. If not, see http://www.gnu.org/licenses/.// ChildFrm.h : interface of the CChildFrame class +// * along with this program. If not, see http://www.gnu.org/licenses/. + +// ChildFrm.h : interface of the CChildFrame class // ///////////////////////////////////////////////////////////////////////////// diff --git a/src/CBot/TestCBot/MainFrm.cpp b/src/CBot/TestCBot/MainFrm.cpp index c3f6b9f..6669350 100644 --- a/src/CBot/TestCBot/MainFrm.cpp +++ b/src/CBot/TestCBot/MainFrm.cpp @@ -12,7 +12,9 @@ // * GNU General Public License for more details. // * // * You should have received a copy of the GNU General Public License -// * along with this program. If not, see http://www.gnu.org/licenses/.// MainFrm.cpp : implementation of the CMainFrame class +// * along with this program. If not, see http://www.gnu.org/licenses/. + +// MainFrm.cpp : implementation of the CMainFrame class // #include "stdafx.h" diff --git a/src/CBot/TestCBot/MainFrm.h b/src/CBot/TestCBot/MainFrm.h index 0c4e737..a1d34f4 100644 --- a/src/CBot/TestCBot/MainFrm.h +++ b/src/CBot/TestCBot/MainFrm.h @@ -12,7 +12,9 @@ // * GNU General Public License for more details. // * // * You should have received a copy of the GNU General Public License -// * along with this program. If not, see http://www.gnu.org/licenses/.// MainFrm.h : interface of the CMainFrame class +// * along with this program. If not, see http://www.gnu.org/licenses/. + +// MainFrm.h : interface of the CMainFrame class // ///////////////////////////////////////////////////////////////////////////// diff --git a/src/CBot/TestCBot/PerformDlg.cpp b/src/CBot/TestCBot/PerformDlg.cpp index f5ccd7b..8abbb4b 100644 --- a/src/CBot/TestCBot/PerformDlg.cpp +++ b/src/CBot/TestCBot/PerformDlg.cpp @@ -12,7 +12,9 @@ // * GNU General Public License for more details. // * // * You should have received a copy of the GNU General Public License -// * along with this program. If not, see http://www.gnu.org/licenses/.// PerformDlg.cpp : implementation file +// * along with this program. If not, see http://www.gnu.org/licenses/. + +// PerformDlg.cpp : implementation file // #include "stdafx.h" diff --git a/src/CBot/TestCBot/PerformDlg.h b/src/CBot/TestCBot/PerformDlg.h index 6a9a845..29d567f 100644 --- a/src/CBot/TestCBot/PerformDlg.h +++ b/src/CBot/TestCBot/PerformDlg.h @@ -12,7 +12,9 @@ // * GNU General Public License for more details. // * // * You should have received a copy of the GNU General Public License -// * along with this program. If not, see http://www.gnu.org/licenses/.#if !defined(AFX_PERFORMDLG_H__EAF2D560_97D8_11D4_A439_00D059085115__INCLUDED_) +// * along with this program. If not, see http://www.gnu.org/licenses/. + +#if !defined(AFX_PERFORMDLG_H__EAF2D560_97D8_11D4_A439_00D059085115__INCLUDED_) #define AFX_PERFORMDLG_H__EAF2D560_97D8_11D4_A439_00D059085115__INCLUDED_ #if _MSC_VER >= 1000 diff --git a/src/CBot/TestCBot/TestCBotDoc.cpp b/src/CBot/TestCBot/TestCBotDoc.cpp index fdb8604..8880c57 100644 --- a/src/CBot/TestCBot/TestCBotDoc.cpp +++ b/src/CBot/TestCBot/TestCBotDoc.cpp @@ -643,7 +643,7 @@ if ( mode == 2 ) if (!m_pProg->Compile(m_DocText, m_Liste, (void*) 44)) while ( pVar != NULL ) { info += sep; - info += pVar->GivName() + " = " + pVar->GivValString(); + info += pVar->GivName() + CBotString(" = ") + pVar->GivValString(); sep = ", "; pVar = pVar->GivNext(); } diff --git a/src/CBot/TestCBot/TestCBotView.cpp b/src/CBot/TestCBot/TestCBotView.cpp index e4710cb..bca3c56 100644 --- a/src/CBot/TestCBot/TestCBotView.cpp +++ b/src/CBot/TestCBot/TestCBotView.cpp @@ -12,7 +12,9 @@ // * GNU General Public License for more details. // * // * You should have received a copy of the GNU General Public License -// * along with this program. If not, see http://www.gnu.org/licenses/.// TestCBotView.cpp : implementation of the CTestCBotView class +// * along with this program. If not, see http://www.gnu.org/licenses/. + +// TestCBotView.cpp : implementation of the CTestCBotView class // #include "stdafx.h" diff --git a/src/ClassFILE.cpp b/src/ClassFILE.cpp index 8ca26a1..ef98e14 100644 --- a/src/ClassFILE.cpp +++ b/src/ClassFILE.cpp @@ -291,7 +291,7 @@ BOOL rfwrite (CBotVar* pThis, CBotVar* pVar, CBotVar* pResult, int& Exception) FILE* pFile= (FILE*)pVar->GivValInt(); - int res = fputs(param+"\n", pFile); + int res = fputs(param+CBotString("\n"), pFile); // if an error occurs generate an exception if ( res < 0 ) { Exception = CBotErrWrite; return FALSE; } diff --git a/src/d3dapp.cpp b/src/d3dapp.cpp index 568cf1a..a1d5c6a 100644 --- a/src/d3dapp.cpp +++ b/src/d3dapp.cpp @@ -40,7 +40,12 @@ #include "sound.h" #include "d3dapp.h" - +// fix for "MSH_MOUSEWHEEL undefined" error +#ifdef UNICODE +#define MSH_MOUSEWHEEL L"MSWHEEL_ROLLMSG" +#else +#define MSH_MOUSEWHEEL "MSWHEEL_ROLLMSG" +#endif #define AUDIO_TRACK 13 // total number of audio tracks on the CD diff --git a/src/d3denum.cpp b/src/d3denum.cpp index bd125d6..46497d8 100644 --- a/src/d3denum.cpp +++ b/src/d3denum.cpp @@ -107,6 +107,8 @@ static HRESULT WINAPI DeviceEnumCallback( TCHAR* strDesc, TCHAR* strName, D3DDEVICEDESC7* pDesc, VOID* pParentInfo ) { + DWORD i; + // Keep track of # of devices that were enumerated g_dwNumDevicesEnumerated++; @@ -152,7 +154,7 @@ static HRESULT WINAPI DeviceEnumCallback( TCHAR* strDesc, TCHAR* strName, return D3DENUMRET_OK; // Build list of supported modes for the device - for( DWORD i=0; idwNumModes; i++ ) + for( i=0; idwNumModes; i++ ) { DDSURFACEDESC2 ddsdMode = pDriverInfo->pddsdModes[i]; DWORD dwRenderDepths = pDeviceInfo->ddDeviceDesc.dwDeviceRenderBitDepth; @@ -177,7 +179,7 @@ static HRESULT WINAPI DeviceEnumCallback( TCHAR* strDesc, TCHAR* strName, return D3DENUMRET_OK; // Find a 640x480x16 mode for the default fullscreen mode - for( DWORD i=0; idwNumModes; i++ ) + for( i=0; idwNumModes; i++ ) { if( ( pDeviceInfo->pddsdModes[i].dwWidth == 640 ) && ( pDeviceInfo->pddsdModes[i].dwHeight == 480 ) && diff --git a/src/edit.cpp b/src/edit.cpp index 0bf90f2..f15b0c2 100644 --- a/src/edit.cpp +++ b/src/edit.cpp @@ -19,8 +19,10 @@ #define STRICT #define D3D_OVERLOADS -#include +#include #include +#include +#include #include #include "struct.h" diff --git a/src/joystick.cpp b/src/joystick.cpp index 29be76f..609a1fb 100644 --- a/src/joystick.cpp +++ b/src/joystick.cpp @@ -79,6 +79,7 @@ BOOL CALLBACK EnumAxesCallback( const DIDEVICEOBJECTINSTANCE* pdidoi, if( FAILED( g_pJoystick->SetProperty( DIPROP_RANGE, &diprg.diph ) ) ) return DIENUM_STOP; +#ifndef __MINGW32__ // FIXME Doesn't work under MinGW // Set the UI to reflect what axes the joystick supports switch( pdidoi->dwOfs ) { @@ -107,6 +108,7 @@ BOOL CALLBACK EnumAxesCallback( const DIDEVICEOBJECTINSTANCE* pdidoi, OutputDebugString("EnumAxesCallback -s1\n"); break; } +#endif return DIENUM_CONTINUE; } @@ -120,8 +122,12 @@ BOOL InitDirectInput(HINSTANCE hInst, HWND hWnd) // Register with the DirectInput subsystem and get a pointer // to a IDirectInput interface we can use. +#ifndef __MINGW32__ // FIXME Doesn't work under MinGW hr = DirectInputCreateEx( hInst, DIRECTINPUT_VERSION,IID_IDirectInput7, (LPVOID*)&g_pDI, NULL ); - if( FAILED(hr) ) return FALSE;; + if( FAILED(hr) ) return FALSE; +#else + return FALSE; +#endif // Look for a simple joystick we can use for this sample program. hr = g_pDI->EnumDevices( DIDEVTYPE_JOYSTICK, EnumJoysticksCallback, diff --git a/src/misc.cpp b/src/misc.cpp index 2042d8e..ce42de0 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -20,15 +20,17 @@ #define D3D_OVERLOADS #include +#include #include +#include #include #include #include #include "struct.h" -#include "D3DEngine.h" -#include "D3DMath.h" -#include "D3DUtil.h" +#include "d3dengine.h" +#include "d3dmath.h" +#include "d3dutil.h" #include "language.h" #include "event.h" #include "misc.h" diff --git a/src/object.cpp b/src/object.cpp index bbaf842..0757e46 100644 --- a/src/object.cpp +++ b/src/object.cpp @@ -23,10 +23,11 @@ #include #include -#include "cbot/cbotdll.h" +#include "CBot/CBotDll.h" #include "struct.h" -#include "D3DEngine.h" -#include "D3DMath.h" +#include "d3dengine.h" +#include "d3dmath.h" +#include "d3dutil.h" #include "global.h" #include "event.h" #include "misc.h" diff --git a/src/object.h b/src/object.h index 4a354f4..af7a3e4 100644 --- a/src/object.h +++ b/src/object.h @@ -20,12 +20,15 @@ #define _OBJECT_H_ +#include "d3dengine.h" +#include "camera.h" +#include "sound.h" + + class CInstanceManager; -class CD3DEngine; class CLight; class CTerrain; class CWater; -class CCamera; class CParticule; class CPhysics; class CBrain; @@ -36,10 +39,6 @@ class CRobotMain; class CBotVar; class CScript; -enum CameraType; -enum Sound; -enum D3DShadowType; - // The father of all parts must always be the part number zero! diff --git a/src/particule.cpp b/src/particule.cpp index fa63f07..0a8c27d 100644 --- a/src/particule.cpp +++ b/src/particule.cpp @@ -24,9 +24,10 @@ #include #include "struct.h" -#include "D3DMath.h" -#include "D3DTextr.h" -#include "D3DEngine.h" +#include "d3dmath.h" +#include "d3dtextr.h" +#include "d3dengine.h" +#include "d3dutil.h" #include "language.h" #include "iman.h" #include "math3d.h" diff --git a/src/particule.h b/src/particule.h index ca0bd6b..67abad3 100644 --- a/src/particule.h +++ b/src/particule.h @@ -20,18 +20,15 @@ #define _PARTICULE_H_ -#include "D3DEngine.h" +#include "d3dengine.h" +#include "sound.h" class CInstanceManager; -class CD3DEngine; class CRobotMain; class CTerrain; class CWater; class CObject; -class CSound; - -enum Sound; #define MAXPARTICULE 500 diff --git a/src/physics.cpp b/src/physics.cpp index 4c43f46..beae37e 100644 --- a/src/physics.cpp +++ b/src/physics.cpp @@ -24,8 +24,8 @@ #include #include "struct.h" -#include "D3DEngine.h" -#include "D3DMath.h" +#include "d3dengine.h" +#include "d3dmath.h" #include "language.h" #include "global.h" #include "event.h" @@ -3784,7 +3784,7 @@ void CPhysics::WheelParticule(int color, float width) character = m_object->RetCharacter(); mat = m_object->RetWorldMatrix(0); - Draw a trace on the ground. + // Draw a trace on the ground. if ( color >= 0 && color <= 17 ) { parti = (ParticuleType)(PARTITRACE0+color); diff --git a/src/physics.h b/src/physics.h index 064540e..72f0c20 100644 --- a/src/physics.h +++ b/src/physics.h @@ -20,6 +20,10 @@ #define _PHYSICS_H_ +#include "d3dengine.h" +#include "misc.h" + + class CInstanceManager; class CD3DEngine; class CLight; diff --git a/src/planet.cpp b/src/planet.cpp index c5b037a..925b2e9 100644 --- a/src/planet.cpp +++ b/src/planet.cpp @@ -24,8 +24,8 @@ #include #include "struct.h" -#include "D3DEngine.h" -#include "D3DMath.h" +#include "d3dengine.h" +#include "d3dmath.h" #include "event.h" #include "misc.h" #include "iman.h" diff --git a/src/planet.h b/src/planet.h index a05a702..9a6ba52 100644 --- a/src/planet.h +++ b/src/planet.h @@ -20,6 +20,9 @@ #define _PLANET_H_ +#include "struct.h" + + class CInstanceManager; class CD3DEngine; diff --git a/src/pyro.h b/src/pyro.h index 9b85c43..5eac0c9 100644 --- a/src/pyro.h +++ b/src/pyro.h @@ -20,6 +20,11 @@ #define _PYRO_H_ +#include "d3dengine.h" +#include "object.h" +#include "misc.h" + + class CInstanceManager; class CD3DEngine; class CTerrain; @@ -63,10 +68,6 @@ enum PyroType }; -enum ObjectType; -enum Error; - - typedef struct { int part; diff --git a/src/restext.cpp b/src/restext.cpp index 001d0dd..7422990 100644 --- a/src/restext.cpp +++ b/src/restext.cpp @@ -12,21 +12,19 @@ // * GNU General Public License for more details. // * // * You should have received a copy of the GNU General Public License -// * along with this program. If not, see http://www.gnu.org/licenses/. - -// restext.cpp +// * along with this program. If not, see http://www.gnu.org/licenses/.// restext.cpp #define STRICT #define D3D_OVERLOADS #include #include "struct.h" -#include "D3DEngine.h" +#include "d3dengine.h" #include "language.h" #include "misc.h" #include "event.h" #include "object.h" -#include "cbot\resource.h" +#include "CBot/resource.h" #include "restext.h" @@ -869,7 +867,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 ");// beginning of a block expected? + 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 "); @@ -878,7 +876,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");// This label doesn't exist + 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"); @@ -904,7 +902,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""");//What is this? + 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"); @@ -1070,7 +1068,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"); @@ -1088,38 +1086,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 :"); @@ -1140,19 +1138,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"); @@ -1164,16 +1162,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, " "); @@ -1187,24 +1185,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"); @@ -1212,65 +1210,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"); @@ -1281,38 +1279,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"); @@ -1330,57 +1328,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"); @@ -1390,43 +1388,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"); @@ -1435,7 +1433,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 || @@ -1446,7 +1444,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"); @@ -1457,13 +1455,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"); @@ -1475,11 +1473,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"); } @@ -1490,40 +1488,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"); @@ -1535,19 +1533,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"); @@ -1565,15 +1563,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"); @@ -1582,11 +1580,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 || @@ -1601,211 +1599,211 @@ 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_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_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"); @@ -1943,10 +1941,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"); @@ -1962,7 +1960,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 @@ -1985,7 +1983,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:"); @@ -1995,9 +1993,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:"); @@ -2007,43 +2005,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"); @@ -2062,17 +2060,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"); @@ -2080,29 +2078,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"); @@ -2116,74 +2114,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"); @@ -2194,10 +2192,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"); @@ -2213,8 +2211,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;)"); @@ -2222,14 +2220,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"); @@ -2242,7 +2240,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"); @@ -2257,10 +2255,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"); @@ -2270,26 +2268,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"); @@ -2300,10 +2298,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"); @@ -2313,7 +2311,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"); @@ -2327,37 +2325,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"); @@ -2366,7 +2364,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"); @@ -2374,13 +2372,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 @@ -2391,8 +2389,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"); @@ -2400,30 +2398,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"); @@ -2436,10 +2434,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"); @@ -2450,7 +2448,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"); @@ -2462,17 +2460,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"); } @@ -2488,34 +2486,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"); @@ -2530,25 +2528,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"); @@ -2558,57 +2556,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 ) @@ -2618,20 +2616,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"""); @@ -2643,34 +2641,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"); } @@ -2786,7 +2784,7 @@ BOOL GetResourceBase(ResType type, int num, char* text) 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 == VK_WHEELDOWN ) strcpy(text, "Mausrad zurück"); } #endif @@ -2824,9 +2822,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"); @@ -2842,27 +2840,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:"); @@ -2872,57 +2870,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"); @@ -2936,133 +2934,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"); @@ -3073,7 +3071,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"); @@ -3081,102 +3079,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"); @@ -3185,26 +3183,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"); @@ -3212,22 +3210,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"); @@ -3236,19 +3234,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 @@ -3261,7 +3259,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"); @@ -3274,55 +3272,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"); @@ -3342,215 +3340,215 @@ 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");// beginning of a block expected? - 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");// This label does not exist + 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""");// What is this? - 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_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"); @@ -3619,9 +3617,9 @@ BOOL GetResourceBase(ResType type, int num, char* text) 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_ZOOM ) strcpy(text, "Powiększenie"); if ( num == VK_PA1 ) strcpy(text, "PA1"); - if ( num == VK_OEM_CLEAR ) strcpy(text, "Wyczyść"); + 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"); @@ -3654,10 +3652,12 @@ BOOL GetResourceBase(ResType type, int num, char* text) 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 == VK_WHEELUP ) strcpy(text, "Kółko w górę"); + if ( num == VK_WHEELDOWN ) strcpy(text, "Kółko w dół"); } #endif return ( text[0] != 0 ); } + + diff --git a/src/restext.h b/src/restext.h index 4a5a422..2fe53fe 100644 --- a/src/restext.h +++ b/src/restext.h @@ -24,8 +24,10 @@ #define D3D_OVERLOADS +#include "d3dengine.h" +#include "event.h" + -enum KeyRank; // Possible types of the text resources. diff --git a/src/robotmain.cpp b/src/robotmain.cpp index 979326b..a6d92e5 100644 --- a/src/robotmain.cpp +++ b/src/robotmain.cpp @@ -23,10 +23,10 @@ #include #include -#include "cbot/cbotdll.h" +#include "CBot/CBotDll.h" #include "struct.h" -#include "D3DEngine.h" -#include "D3DMath.h" +#include "d3dengine.h" +#include "d3dmath.h" #include "language.h" #include "global.h" #include "event.h" @@ -95,7 +95,7 @@ float g_unit; // conversion factor -#include "classfile.cpp" +#include "ClassFILE.cpp" diff --git a/src/robotmain.h b/src/robotmain.h index d7bafbd..bafa62a 100644 --- a/src/robotmain.h +++ b/src/robotmain.h @@ -20,6 +20,13 @@ #define _ROBOTMAIN_H_ +#include "d3dengine.h" +#include "struct.h" +#include "object.h" +#include "mainmovie.h" +#include "camera.h" +#include "particule.h" + enum Phase { @@ -61,22 +68,18 @@ enum Phase class CInstanceManager; -class CMainMovie; class CMainDialog; class CMainShort; class CMainMap; class CEvent; class CD3DEngine; class CLight; -class CParticule; class CWater; class CCloud; class CBlitz; class CPlanet; class CTerrain; -class CObject; class CModel; -class CCamera; class CInterface; class CWindow; class CControl; @@ -84,11 +87,6 @@ class CDisplayText; class CDisplayInfo; class CSound; -enum ObjectType; -enum CameraType; -enum MainMovieType; -enum ParticuleType; - typedef struct { diff --git a/src/script.cpp b/src/script.cpp index eb6b45f..62b2d25 100644 --- a/src/script.cpp +++ b/src/script.cpp @@ -23,10 +23,10 @@ #include #include -#include "cbot/cbotdll.h" +#include "CBot/CBotDll.h" #include "struct.h" -#include "D3DEngine.h" -#include "D3DMath.h" +#include "d3dengine.h" +#include "d3dmath.h" #include "global.h" #include "event.h" #include "misc.h" diff --git a/src/script.h b/src/script.h index e09de70..eeb8ac8 100644 --- a/src/script.h +++ b/src/script.h @@ -20,6 +20,9 @@ #define _SCRIPT_H_ +#include "event.h" + + class CInstanceManager; class CD3DEngine; class CInterface; diff --git a/src/scroll.cpp b/src/scroll.cpp index b21db6d..1122ac5 100644 --- a/src/scroll.cpp +++ b/src/scroll.cpp @@ -24,7 +24,7 @@ #include #include "struct.h" -#include "D3DEngine.h" +#include "d3dengine.h" #include "math3d.h" #include "event.h" #include "misc.h" @@ -39,8 +39,6 @@ CScroll::CScroll(CInstanceManager* iMan) : CControl(iMan) { - CControl::CControl(iMan); - m_buttonUp = 0; m_buttonDown = 0; @@ -60,8 +58,6 @@ CScroll::~CScroll() { delete m_buttonUp; delete m_buttonDown; - - CControl::~CControl(); } diff --git a/src/scroll.h b/src/scroll.h index a51e095..6c08a19 100644 --- a/src/scroll.h +++ b/src/scroll.h @@ -21,6 +21,7 @@ #include "control.h" +#include "struct.h" class CD3DEngine; diff --git a/src/shortcut.cpp b/src/shortcut.cpp index a0dbf21..21a6191 100644 --- a/src/shortcut.cpp +++ b/src/shortcut.cpp @@ -24,7 +24,7 @@ #include #include "struct.h" -#include "D3DEngine.h" +#include "d3dengine.h" #include "math3d.h" #include "event.h" #include "misc.h" @@ -38,7 +38,6 @@ CShortcut::CShortcut(CInstanceManager* iMan) : CControl(iMan) { - CControl::CControl(iMan); m_time = 0.0f; } @@ -46,7 +45,6 @@ CShortcut::CShortcut(CInstanceManager* iMan) : CControl(iMan) CShortcut::~CShortcut() { - CControl::~CControl(); } diff --git a/src/slider.cpp b/src/slider.cpp index 727f794..95bd3a4 100644 --- a/src/slider.cpp +++ b/src/slider.cpp @@ -24,7 +24,7 @@ #include #include "struct.h" -#include "D3DEngine.h" +#include "d3dengine.h" #include "math3d.h" #include "event.h" #include "misc.h" @@ -45,8 +45,6 @@ CSlider::CSlider(CInstanceManager* iMan) : CControl(iMan) { - CControl::CControl(iMan); - m_buttonLeft = 0; m_buttonRight = 0; @@ -70,8 +68,6 @@ CSlider::~CSlider() { delete m_buttonLeft; delete m_buttonRight; - - CControl::~CControl(); } diff --git a/src/slider.h b/src/slider.h index a6716d5..c254254 100644 --- a/src/slider.h +++ b/src/slider.h @@ -21,6 +21,7 @@ #include "control.h" +#include "struct.h" class CD3DEngine; diff --git a/src/sound.cpp b/src/sound.cpp index 1000970..333eba0 100644 --- a/src/sound.cpp +++ b/src/sound.cpp @@ -19,6 +19,9 @@ #define STRICT #define D3D_OVERLOADS +#include +#include +#include #include #include #include "language.h" diff --git a/src/sound.h b/src/sound.h index e8faf5d..16e1be5 100644 --- a/src/sound.h +++ b/src/sound.h @@ -16,6 +16,9 @@ // sound.h +#ifndef SOUND_H +#define SOUND_H + #include @@ -239,3 +242,4 @@ protected: char m_CDpath[100]; }; +#endif // SOUND_H diff --git a/src/studio.cpp b/src/studio.cpp index ace3279..8839f31 100644 --- a/src/studio.cpp +++ b/src/studio.cpp @@ -19,16 +19,18 @@ #define STRICT #define D3D_OVERLOADS -#include +#include #include +#include +#include #include #include #include #include #include "struct.h" -#include "D3DEngine.h" -#include "D3DMath.h" +#include "d3dengine.h" +#include "d3dmath.h" #include "language.h" #include "event.h" #include "misc.h" diff --git a/src/studio.h b/src/studio.h index a9fbe8f..a19bedd 100644 --- a/src/studio.h +++ b/src/studio.h @@ -20,6 +20,10 @@ #define _STUDIO_H_ +#include "object.h" +#include "script.h" + + class CInstanceManager; class CD3DEngine; class CEvent; diff --git a/src/target.cpp b/src/target.cpp index 522dfb4..4a6ae43 100644 --- a/src/target.cpp +++ b/src/target.cpp @@ -24,7 +24,7 @@ #include #include "struct.h" -#include "D3DEngine.h" +#include "d3dengine.h" #include "math3d.h" #include "event.h" #include "misc.h" @@ -41,14 +41,12 @@ CTarget::CTarget(CInstanceManager* iMan) : CControl(iMan) { - CControl::CControl(iMan); } // Object's destructor. CTarget::~CTarget() { - CControl::~CControl(); } diff --git a/src/task.cpp b/src/task.cpp index 427e73f..6b8222e 100644 --- a/src/task.cpp +++ b/src/task.cpp @@ -24,7 +24,7 @@ #include #include "struct.h" -#include "D3DEngine.h" +#include "d3dengine.h" #include "math3d.h" #include "event.h" #include "misc.h" diff --git a/src/task.h b/src/task.h index 2e1a2c8..f5685ef 100644 --- a/src/task.h +++ b/src/task.h @@ -20,6 +20,9 @@ #define _TASK_H_ +#include "misc.h" + + class CInstanceManager; class CD3DEngine; class CEngine; diff --git a/src/taskadvance.cpp b/src/taskadvance.cpp index 064316c..7860cb2 100644 --- a/src/taskadvance.cpp +++ b/src/taskadvance.cpp @@ -24,7 +24,7 @@ #include #include "struct.h" -#include "D3DEngine.h" +#include "d3dengine.h" #include "math3d.h" #include "event.h" #include "misc.h" diff --git a/src/taskadvance.h b/src/taskadvance.h index f6d14c9..284cf12 100644 --- a/src/taskadvance.h +++ b/src/taskadvance.h @@ -20,6 +20,10 @@ #define _TASKADVANCE_H_ +#include "misc.h" +#include "d3dengine.h" + + class CInstanceManager; class CTerrain; class CBrain; diff --git a/src/taskbuild.cpp b/src/taskbuild.cpp index 13cbfec..cc1303b 100644 --- a/src/taskbuild.cpp +++ b/src/taskbuild.cpp @@ -24,7 +24,7 @@ #include #include "struct.h" -#include "D3DEngine.h" +#include "d3dengine.h" #include "math3d.h" #include "event.h" #include "misc.h" diff --git a/src/taskbuild.h b/src/taskbuild.h index ba2af53..75a44f7 100644 --- a/src/taskbuild.h +++ b/src/taskbuild.h @@ -20,11 +20,14 @@ #define _TASKBUILD_H_ +#include "misc.h" +#include "object.h" + + class CInstanceManager; class CTerrain; class CBrain; class CPhysics; -class CObject; diff --git a/src/taskfire.h b/src/taskfire.h index d0c916f..af371b2 100644 --- a/src/taskfire.h +++ b/src/taskfire.h @@ -20,6 +20,9 @@ #define _TASKTIRE_H_ +#include "misc.h" + + class CInstanceManager; class CTerrain; class CBrain; diff --git a/src/taskfireant.h b/src/taskfireant.h index 9372e70..2504241 100644 --- a/src/taskfireant.h +++ b/src/taskfireant.h @@ -20,6 +20,9 @@ #define _TASKTIREANT_H_ +#include "d3dengine.h" + + class CInstanceManager; class CTerrain; class CBrain; diff --git a/src/taskflag.cpp b/src/taskflag.cpp index c13b2d0..b965d08 100644 --- a/src/taskflag.cpp +++ b/src/taskflag.cpp @@ -24,8 +24,8 @@ #include #include "struct.h" -#include "D3DEngine.h" -#include "D3DMath.h" +#include "d3dengine.h" +#include "d3dmath.h" #include "math3d.h" #include "event.h" #include "misc.h" diff --git a/src/taskflag.h b/src/taskflag.h index 3caf7bc..aa979f8 100644 --- a/src/taskflag.h +++ b/src/taskflag.h @@ -19,6 +19,9 @@ #define _TASKFLAG_H_ +#include "misc.h" + + class CInstanceManager; class CTerrain; class CBrain; diff --git a/src/taskgoto.cpp b/src/taskgoto.cpp index 1f01a2c..a6c836f 100644 --- a/src/taskgoto.cpp +++ b/src/taskgoto.cpp @@ -24,7 +24,7 @@ #include #include "struct.h" -#include "D3DEngine.h" +#include "d3dengine.h" #include "math3d.h" #include "event.h" #include "misc.h" diff --git a/src/taskgoto.h b/src/taskgoto.h index e203d1a..be54286 100644 --- a/src/taskgoto.h +++ b/src/taskgoto.h @@ -20,6 +20,10 @@ #define _TASKGOTO_H_ +#include "misc.h" +#include "d3dengine.h" + + class CInstanceManager; class CTerrain; class CBrain; diff --git a/src/taskgungoal.cpp b/src/taskgungoal.cpp index 8ac9d80..7178d6c 100644 --- a/src/taskgungoal.cpp +++ b/src/taskgungoal.cpp @@ -24,7 +24,7 @@ #include #include "struct.h" -#include "D3DEngine.h" +#include "d3dengine.h" #include "math3d.h" #include "event.h" #include "misc.h" diff --git a/src/taskgungoal.h b/src/taskgungoal.h index b9947db..4b6cbc7 100644 --- a/src/taskgungoal.h +++ b/src/taskgungoal.h @@ -20,6 +20,9 @@ #define _TASKGUNGOAL_H_ +#include "misc.h" + + class CInstanceManager; class CTerrain; class CBrain; diff --git a/src/taskinfo.h b/src/taskinfo.h index 1204c9e..26b2071 100644 --- a/src/taskinfo.h +++ b/src/taskinfo.h @@ -20,6 +20,9 @@ #define _TASKINFO_H_ +#include "misc.h" + + class CInstanceManager; class CTerrain; class CBrain; diff --git a/src/taskmanager.cpp b/src/taskmanager.cpp index 1334c51..ffc0d05 100644 --- a/src/taskmanager.cpp +++ b/src/taskmanager.cpp @@ -24,7 +24,7 @@ #include #include "struct.h" -#include "D3DEngine.h" +#include "d3dengine.h" #include "misc.h" #include "iman.h" #include "event.h" diff --git a/src/taskmanager.h b/src/taskmanager.h index 17965e5..2c6c21f 100644 --- a/src/taskmanager.h +++ b/src/taskmanager.h @@ -19,18 +19,17 @@ #ifndef _TASKMANAGER_H_ #define _TASKMANAGER_H_ +#include "misc.h" +#include "object.h" +#include "taskmanip.h" +#include "taskgoto.h" +#include "taskshield.h" +#include "taskflag.h" + class CInstanceManager; class CTask; -enum TaskManipOrder; -enum TaskManipArm; -enum TaskFlagOrder; -enum TaskGotoGoal; -enum TaskGotoCrash; -enum TaskShieldMode; -enum ObjectType; - class CTaskManager diff --git a/src/taskmanip.cpp b/src/taskmanip.cpp index 09549e0..672b96e 100644 --- a/src/taskmanip.cpp +++ b/src/taskmanip.cpp @@ -24,8 +24,8 @@ #include #include "struct.h" -#include "D3DEngine.h" -#include "D3DMath.h" +#include "d3dengine.h" +#include "d3dmath.h" #include "math3d.h" #include "event.h" #include "misc.h" diff --git a/src/taskmanip.h b/src/taskmanip.h index eac44f7..bc746cf 100644 --- a/src/taskmanip.h +++ b/src/taskmanip.h @@ -20,6 +20,11 @@ #define _TASKMANIP_H_ +#include "task.h" +#include "misc.h" +#include "d3dengine.h" + + class CInstanceManager; class CTerrain; class CBrain; diff --git a/src/taskpen.h b/src/taskpen.h index d942204..752a52d 100644 --- a/src/taskpen.h +++ b/src/taskpen.h @@ -20,6 +20,9 @@ #define _TASKSPEN_H_ +#include "d3dengine.h" + + class CInstanceManager; class CTerrain; class CBrain; diff --git a/src/taskrecover.h b/src/taskrecover.h index 1a728ff..cc2adce 100644 --- a/src/taskrecover.h +++ b/src/taskrecover.h @@ -20,6 +20,9 @@ #define _TASKSRECOVER_H_ +#include "d3dengine.h" + + class CInstanceManager; class CTerrain; class CBrain; diff --git a/src/taskreset.cpp b/src/taskreset.cpp index 4f4203d..a626c02 100644 --- a/src/taskreset.cpp +++ b/src/taskreset.cpp @@ -24,7 +24,7 @@ #include #include "struct.h" -#include "D3DEngine.h" +#include "d3dengine.h" #include "math3d.h" #include "event.h" #include "misc.h" diff --git a/src/taskreset.h b/src/taskreset.h index 8b7883e..a866d1f 100644 --- a/src/taskreset.h +++ b/src/taskreset.h @@ -20,6 +20,10 @@ #define _TASKRESET_H_ +#include "misc.h" +#include "d3dengine.h" + + class CInstanceManager; class CTerrain; class CBrain; diff --git a/src/tasksearch.h b/src/tasksearch.h index 8975e7b..80970e1 100644 --- a/src/tasksearch.h +++ b/src/tasksearch.h @@ -20,6 +20,9 @@ #define _TASKSEARCH_H_ +#include "misc.h" + + class CInstanceManager; class CTerrain; class CBrain; diff --git a/src/taskshield.h b/src/taskshield.h index 6e3f2c8..8ec2d05 100644 --- a/src/taskshield.h +++ b/src/taskshield.h @@ -20,6 +20,10 @@ #define _TASKSHIELD_H_ +#include "misc.h" +#include "d3dengine.h" + + class CInstanceManager; class CTerrain; class CBrain; diff --git a/src/taskspiderexplo.cpp b/src/taskspiderexplo.cpp index 251de6c..b655fe6 100644 --- a/src/taskspiderexplo.cpp +++ b/src/taskspiderexplo.cpp @@ -24,7 +24,7 @@ #include #include "struct.h" -#include "D3DEngine.h" +#include "d3dengine.h" #include "math3d.h" #include "event.h" #include "misc.h" diff --git a/src/taskspiderexplo.h b/src/taskspiderexplo.h index 2a75ebf..fb7f5f6 100644 --- a/src/taskspiderexplo.h +++ b/src/taskspiderexplo.h @@ -20,6 +20,9 @@ #define _TASKSPIDEREXPLO_H_ +#include "misc.h" + + class CInstanceManager; class CTerrain; class CBrain; diff --git a/src/tasktake.cpp b/src/tasktake.cpp index debdafc..35de2b7 100644 --- a/src/tasktake.cpp +++ b/src/tasktake.cpp @@ -24,8 +24,8 @@ #include #include "struct.h" -#include "D3DEngine.h" -#include "D3DMath.h" +#include "d3dengine.h" +#include "d3dmath.h" #include "math3d.h" #include "event.h" #include "misc.h" diff --git a/src/tasktake.h b/src/tasktake.h index d591ad5..80b8736 100644 --- a/src/tasktake.h +++ b/src/tasktake.h @@ -20,6 +20,10 @@ #define _TASKTAKE_H_ +#include "misc.h" +#include "object.h" + + class CInstanceManager; class CTerrain; class CBrain; diff --git a/src/taskterraform.h b/src/taskterraform.h index 3d36ff8..254e363 100644 --- a/src/taskterraform.h +++ b/src/taskterraform.h @@ -20,6 +20,10 @@ #define _TASKSTERRAFORM_H_ +#include "misc.h" +#include "d3dengine.h" + + class CInstanceManager; class CTerrain; class CBrain; diff --git a/src/taskturn.cpp b/src/taskturn.cpp index eccc4af..832f523 100644 --- a/src/taskturn.cpp +++ b/src/taskturn.cpp @@ -24,7 +24,7 @@ #include #include "struct.h" -#include "D3DEngine.h" +#include "d3dengine.h" #include "math3d.h" #include "event.h" #include "misc.h" diff --git a/src/taskturn.h b/src/taskturn.h index d1b4dbc..abaef57 100644 --- a/src/taskturn.h +++ b/src/taskturn.h @@ -20,6 +20,9 @@ #define _TASKTURN_H_ +#include "misc.h" + + class CInstanceManager; class CTerrain; class CBrain; diff --git a/src/taskwait.cpp b/src/taskwait.cpp index 10d773b..af06383 100644 --- a/src/taskwait.cpp +++ b/src/taskwait.cpp @@ -24,7 +24,7 @@ #include #include "struct.h" -#include "D3DEngine.h" +#include "d3dengine.h" #include "math3d.h" #include "event.h" #include "misc.h" diff --git a/src/taskwait.h b/src/taskwait.h index afa316e..e8ba2b6 100644 --- a/src/taskwait.h +++ b/src/taskwait.h @@ -20,6 +20,9 @@ #define _TASKWAIT_H_ +#include "misc.h" + + class CInstanceManager; class CTerrain; class CBrain; diff --git a/src/terrain.cpp b/src/terrain.cpp index 742d056..31b1cc9 100644 --- a/src/terrain.cpp +++ b/src/terrain.cpp @@ -24,8 +24,9 @@ #include #include "struct.h" -#include "D3DEngine.h" -#include "D3DMath.h" +#include "d3dengine.h" +#include "d3dmath.h" +#include "d3dutil.h" #include "language.h" #include "event.h" #include "misc.h" diff --git a/src/terrain.h b/src/terrain.h index 499a288..4fc4ace 100644 --- a/src/terrain.h +++ b/src/terrain.h @@ -20,6 +20,9 @@ #define _TERRAIN_H_ +#include "d3dengine.h" + + class CInstanceManager; class CD3DEngine; class CWater; diff --git a/src/text.cpp b/src/text.cpp index 4e84d62..88cfe0a 100644 --- a/src/text.cpp +++ b/src/text.cpp @@ -24,7 +24,7 @@ #include #include "struct.h" -#include "D3DEngine.h" +#include "d3dengine.h" #include "language.h" #include "event.h" #include "misc.h" diff --git a/src/text.h b/src/text.h index fa34664..4407039 100644 --- a/src/text.h +++ b/src/text.h @@ -20,9 +20,10 @@ #define _TEXT_H_ +#include "d3dengine.h" + class CInstanceManager; -class CD3DEngine; diff --git a/src/water.cpp b/src/water.cpp index f4bcb13..59963cc 100644 --- a/src/water.cpp +++ b/src/water.cpp @@ -24,8 +24,9 @@ #include #include "struct.h" -#include "D3DEngine.h" -#include "D3DMath.h" +#include "d3dengine.h" +#include "d3dmath.h" +#include "d3dutil.h" #include "event.h" #include "misc.h" #include "iman.h" diff --git a/src/water.h b/src/water.h index bea2466..dc9384d 100644 --- a/src/water.h +++ b/src/water.h @@ -20,14 +20,14 @@ #define _WATER_H_ +#include "d3dengine.h" +#include "particule.h" + + class CInstanceManager; -class CD3DEngine; class CTerrain; -class CParticule; class CSound; -enum ParticuleType; - #define MAXWATERLINE 500 diff --git a/src/window.cpp b/src/window.cpp index fe54be8..c42493a 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -24,7 +24,7 @@ #include #include "struct.h" -#include "D3DEngine.h" +#include "d3dengine.h" #include "language.h" #include "math3d.h" #include "event.h" @@ -60,8 +60,6 @@ CWindow::CWindow(CInstanceManager* iMan) : CControl(iMan) { int i; - CControl::CControl(iMan); - for ( i=0 ; i