Commit Graph

103 Commits (14721001e5ad8a7d4a3c893d0343125eddc20ddc)

Author SHA1 Message Date
melex750 8b7410f803 Fix class.arrays using size of one before comma 2016-03-21 06:11:55 -04:00
melex750 6be1f56288 Add error code no expression, remove some bad code 2016-03-20 20:55:22 -04:00
melex750 5b3da83715 Fix inline declaration of an array of string 2016-03-20 13:27:02 -04:00
melex750 707ef97626 Fix syntax+type checking, base types+CBotDefArray 2016-03-20 07:54:41 -04:00
melex750 4a29e8406d Fix syntax and type checking for CBotListArray 2016-03-20 07:48:20 -04:00
krzys-h 967aa22330 Allow assigning to array in initialization from function (#624, #728) 2016-03-13 20:27:10 +01:00
krzys-h 4d99a62d37 Fixed crash with array initialization syntax going out of range (#698) 2016-03-13 19:26:11 +01:00
Mateusz Przybył 7b286d77b5 Fix "std::max" errors in MSVC 2016-02-21 14:29:09 +01:00
krzys-h 977607a934 Updated license headers 2016-02-13 14:11:30 +01:00
krzys-h 344cda4ae6 Add missing override keywords 2016-01-23 20:49:01 +01:00
krzys-h 70555d984c Small CBotTwoOpExpr cleanup 2016-01-05 13:04:15 +01:00
krzys-h d63773d89d Refactored EOX 2015-12-31 18:57:11 +01:00
krzys-h 2245863fcd Some more random refactoring in CBot 2015-12-31 16:11:35 +01:00
krzys-h fa92605225 Renamed some CBotInstr classes 2015-12-31 14:44:19 +01:00
krzys-h 10b201b9e6 Description of CBot instructions 2015-12-30 19:13:32 +01:00
krzys-h e3c53f9912 CBot compiled instruction graphs; some code cleanup 2015-12-27 16:51:57 +01:00
krzys-h 500bd1753f Changed array initialization to use {...} (#698) 2015-12-26 20:05:00 +01:00
krzys-h 07a4d6a16b CBot namespace 2015-12-26 14:29:10 +01:00
krzys-h 6b959a5606 Mostly finished CBotStack docs 2015-12-25 22:03:23 +01:00
krzys-h 9b3b701785 More CBotStack docs 2015-12-25 20:47:30 +01:00
krzys-h c72cfa234b Started docs of CBotStack; random refactorings 2015-12-25 19:48:31 +01:00
krzys-h 40b7d986aa CBotVar::GetTypeMode enum 2015-12-25 19:16:54 +01:00
krzys-h 0807b75d4b Fixed object:: with other types (#207) 2015-12-25 15:13:52 +01:00
krzys-h 5443006979 Refactor public function list 2015-12-24 15:07:40 +01:00
krzys-h 921c266311 Some random refactoring 2015-12-24 14:52:17 +01:00
krzys-h ae544c71ae Made CBotExternalCallList not static 2015-12-24 12:36:09 +01:00
krzys-h 3008e18fc6 Extracted most of linked list logic into a template class 2015-12-23 23:34:11 +01:00
krzys-h 30fea5893b Fixed crash from previous commit (oops again) 2015-12-23 17:50:10 +01:00
krzys-h 8fa5b208c2 Compile fix after previous commit; fix MSVC errors; added missing license headers 2015-12-23 17:37:26 +01:00
krzys-h 6482001b9b CBotToken docs 2015-12-23 17:28:21 +01:00
krzys-h 6ef14617a0 More random CBotToken refactoring, removed CBotToken::Delete 2015-12-23 16:46:41 +01:00
krzys-h fbdc071659 Some random CBotProgram and CBotToken refactoring 2015-12-23 16:11:03 +01:00
krzys-h c9e0249008 Better CBot class destructor parsing (#257)
The previous one broke the NOT (~) operation parsing

This reverts commit 7c8a31c074.
2015-12-23 13:04:46 +01:00
krzys-h 2519825104 CBotVar::ProtectionLevel enum 2015-12-21 23:07:40 +01:00
krzys-h eedf8dacea Documentation for CBotProgram; some CBotError refactoring 2015-12-21 21:35:20 +01:00
krzys-h 76c04e10d5 Removed some unused CBot code 2015-12-21 16:46:44 +01:00
krzys-h 73f8bd5490 Made CBot errors an enum 2015-12-20 19:16:01 +01:00
krzys-h 5db1254dd8 Unified CBot error naming 2015-12-20 19:01:03 +01:00
krzys-h 9ec61d93e5 Refactored CBotString and const char* to std::string in CBot engine
A lot of changes, so it needs lots of testing
2015-12-20 16:19:10 +01:00
krzys-h 3eeab0f9b7 Removed CBotStringArray 2015-12-20 14:49:30 +01:00
krzys-h 964d3574fd Fixed treating 'bool' as 'int' in CBot engine
Appears to fix #199 - further testing required
2015-12-19 21:20:41 +01:00
Grunaka de5a57f793 Change CBot default include directory. Make all include directive absolute. 2015-12-01 23:25:36 +01:00
Grunaka 4a9afdc525 Move enum from resource.h to CBotEnums.h. Delete file resource.h. 2015-12-01 23:25:36 +01:00
Grunaka 922082b360 Move define from resource.h to CBotDefines.h. 2015-12-01 23:25:36 +01:00
Grunaka 575ff47c82 Cleaning the CBot.h file. 2015-12-01 23:25:36 +01:00
Grunaka 889c0fbe8e Split file StringFunctions.cpp into two files StringFunctions.h and StringFunctions.cpp. 2015-12-01 23:25:36 +01:00
Grunaka 7b200a0922 Moving global CompileParams, TypeCompatible and TypesCompatibles from CBot.cpp to CBotInstrUtils.cpp. 2015-12-01 23:25:36 +01:00
Grunaka 51f0675e41 Moving macro MAX from CBot.h to CBotTwoOpExpr.cpp. 2015-12-01 23:25:36 +01:00
Grunaka ef4e2f08a3 Moving CBotInstr class in its own header and source files. 2015-12-01 23:25:36 +01:00
Grunaka 013be673ce Moving CBotCStack class in its own header and source files. 2015-12-01 23:25:36 +01:00