summaryrefslogtreecommitdiffstats
path: root/src/CBot
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2012-10-17 23:16:19 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2012-10-17 23:16:19 +0200
commit0305e0ba17681a43053d1f948ef90cf203b1d640 (patch)
tree908cb78f057e99238597c98a8e5bb7b4850ddf21 /src/CBot
parentf6e27099b294d55c15a6b5dad13cda7730a17a71 (diff)
downloadcolobot-0305e0ba17681a43053d1f948ef90cf203b1d640.tar.gz
colobot-0305e0ba17681a43053d1f948ef90cf203b1d640.tar.bz2
colobot-0305e0ba17681a43053d1f948ef90cf203b1d640.zip
Restext rewrite to runtime initialized arrays
Diffstat (limited to 'src/CBot')
-rw-r--r--src/CBot/resource.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/CBot/resource.h b/src/CBot/resource.h
index 96a01ba..ed14240 100644
--- a/src/CBot/resource.h
+++ b/src/CBot/resource.h
@@ -15,8 +15,7 @@
// * along with this program. If not, see http://www.gnu.org/licenses/.
#pragma once
-#ifndef _RESOURCE_H_
-#define _RESOURCE_H_
+
enum EID
{
@@ -114,6 +113,9 @@ enum EID
TX_NAN,
ID_SUPER = 6000
};
+
+// TODO: refactor & change to enum!
+
#define TX_OPENPAR 5000
#define TX_CLOSEPAR 5001
#define TX_NOTBOOL 5002
@@ -174,4 +176,4 @@ enum EID
#define TX_ERRREAD 6014
#define TX_ERRWRITE 6015
-#endif //_RESOURCE_H_
+#define TX_MAX 6016