melex750
9f5ee21bbe
Restore repeat(n) instruction
...
fixes #1403
2021-06-11 23:28:53 -04:00
tomangelo
37e4ed8029
Updated license headers ( #1317 )
...
* Updated headers
* Updated more headers
2020-07-07 10:19:36 +02:00
melex750
1058a326ad
Add binary and character literals in CBOT
2019-04-11 05:14:11 -04:00
melex750
c0cdd84e85
Add missing primitive data types in CBOT
2019-04-11 04:19:29 -04:00
melex750
250ea57e8b
Fix arithmetic operations with integers ( #993 )
...
Also fixed unsigned right shift operator ">>>"
2019-04-11 04:15:27 -04:00
krzys-h
db72a36315
Fix code style
2018-05-08 19:44:24 +02:00
krzys_h
5283865a5c
Merge pull request #1136 from colobot/dev-cbot-optimizations
...
Some CBot code optimizations
2018-05-07 20:53:52 +02:00
krzys-h
1c2bdc9cab
Update license headers
2018-04-20 02:08:50 +02:00
krzys-h
477dc0cae7
Some CBot code optimizations
2018-04-06 15:02:06 +02:00
melex750
c03dfc1284
Add escape codes for string literals
2017-07-22 14:29:05 -04:00
Abigail
11d950221b
Fix all compiler warnings and enable -Werror ( #955 )
...
This removes all compilation warnings on:
* g++ 4.7.4, 4.8.5, 4.9.4, 5.4.1, 6.3.0, 7.0.1-svn246759
* clang++ 3.9.1, 4.0.0, 5.0.0-svn303007
2017-05-22 11:10:35 +02:00
melex750
2ff8251a81
Fix game crashing with syntax errors
2017-01-24 13:47:00 -05:00
krzys-h
35d60aaae5
Remove remaining occurences of "this == nullptr" ( #828 )
2016-11-11 19:45:57 +01:00
krzys-h
977607a934
Updated license headers
2016-02-13 14:11:30 +01:00
krzys-h
048534e89d
Fixed some errors reported by colobot-lint
2016-01-23 20:58:03 +01:00
krzys-h
07a4d6a16b
CBot namespace
2015-12-26 14:29:10 +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
9b4a6e0131
TokenType enum
2015-12-23 14:05:29 +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
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
87a34ba1ff
Refactor CBotString::LoadString
2015-12-20 15:06:35 +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
575ff47c82
Cleaning the CBot.h file.
2015-12-01 23:25:36 +01:00
Grunaka
b42c1376e5
Move CBotToken class in its own header and source files.
2015-12-01 23:25:25 +01:00
Piotr Dziwinski
b93f610930
Fix license header in all files
2015-08-22 16:40:02 +02:00
Piotr Dziwinski
2289d69735
Replace NULL -> nullptr
2015-08-16 12:43:42 +02:00
Artur Czajka
7c8a31c074
#257 Destructor is parsed and (by some magic) already used
2014-11-19 10:02:27 +01:00
krzys-h
9fd6cf5449
Changed all occurences of PPC in the code to TerranovaTeam
2014-10-14 15:26:18 +02:00
Piotr Dziwinski
ac019c263d
Remove unnecessary delete checks ( #318 )
2014-08-09 22:45:07 +02:00
Piotr Dziwinski
8765d58b02
Fixed code formatting
...
* moved braces to new lines
* fixed some function/variable names
* fixed whitespace issues
2013-05-27 10:19:16 +02:00
adiblol
cc2e192f0d
Reorganize string parsing in CBotToken::NextToken to fix #212
2013-05-26 18:40:25 +02:00
Piotr Dziwiński
001d37b257
CInstanceManager refactoring
...
* removed classes managed by CInstanceManager
except for CObject, CPyro, CBrain and CPhysics
because of dependencies
* refactored instance searching to use existing singleton instances of
CApplication, CEngine and CRobotMain and calling their getter
functions
2013-02-17 12:11:56 +01:00
Michał Konopacki
e154e654f1
Reduced amount of warnings in CBot library
...
Changed most of C-style casting to C++ casting
Commented unused variables
2012-08-13 01:45:35 +02:00
Michał Konopacki
a9186d1960
Changed GivAttrName() to GetAttrName()
2012-08-11 20:59:35 +02:00
Piotr Dziwinski
bc24b9f9e5
Whitespace fix
2012-08-08 22:35:17 +02:00
Michał Konopacki
d00a283519
Comments translation
2012-08-02 19:41:13 +02:00
Zaba999
1910219518
Dependency on WINAPI completely removed.
2012-07-10 22:58:52 +02:00
Zaba999
dbd62c96aa
Fixed code compilation without fpermissive flag.
...
Removed Winapi, but now library don't work - work in progress.
Some translations.
2012-07-04 22:14:28 +02:00
Piotr Dziwinski
011d86ed66
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 :)
2012-04-15 00:50:13 +02:00
Krzysztof H
f7d892cf4e
Last coding fix ;)
2012-03-19 12:44:39 +01:00
Krzysztof H
5649419a46
FIX: "If not, see ." was replaced with: "If not, see http://www.gnu.org/licenses/ ."
2012-03-11 20:49:33 +01:00
Krzysztof H
84d1f79fdf
Added license info using a small program SrcHead.
2012-03-09 17:08:05 +01:00
adiblol
a4c804b49e
Initial commit, Copyright (C) 2001-2008, Daniel ROUX & EPSITEC SA, www.epsitec.ch
2012-03-08 19:32:05 +01:00