Commit Graph

14 Commits (a000e1a7ed60ddf0e5e3656dfebc36314dd5fc24)

Author SHA1 Message Date
immibis 3608d5c403 Move loop label stack into the compile stack 2019-05-20 23:25:23 +12:00
immibis 7bddf5973f Add more unit tests for CBot.
Fixed a bug when 'switch' errors out causing break labels to be left on an internal
stack.

Line coverage:
CBot 66.6% -> 67.6%
CBotInstr 56.1% -> 66.9%
CBotVar 66.7% -> 66.9%
2019-05-19 00:19:57 +12:00
krzys-h 1c2bdc9cab Update license headers 2018-04-20 02:08:50 +02:00
melex750 baba6081b3 Add checking for return statements in functions
issue #30
2017-01-24 14:41:22 -05:00
krzys-h 977607a934 Updated license headers 2016-02-13 14:11:30 +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 07a4d6a16b CBot namespace 2015-12-26 14:29:10 +01:00
krzys-h 921c266311 Some random refactoring 2015-12-24 14:52:17 +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
Grunaka de5a57f793 Change CBot default include directory. Make all include directive absolute. 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