tomangelo2
789c8b2292
Fix compilation with gcc
2022-09-15 01:14:29 +02:00
Tomasz Kapuściński
8632c7404d
Refactored NaN implementation
...
strfind() now returns -1 instead of NaN when substring can't be found
added isnan() as an alternative way of checking if a value is NaN
2022-08-15 00:09:24 +02:00
MrSimbax
80f074e2ba
Update license headers
2021-09-11 15:53:59 +02:00
melex750
309f80b25f
Fix some bugs and memory leaks in CBOT
...
* Added CBotStack::StackOver() calls where it was possible
to go out-of-bounds when calling CBotStack::AddStack().
* Fixed some bugs in CBotExternalCallClass
2021-06-11 22:46:23 -04:00
tomangelo
37e4ed8029
Updated license headers ( #1317 )
...
* Updated headers
* Updated more headers
2020-07-07 10:19:36 +02:00
tomangelo
51cde3c868
Merge branch 'dev' into dev-savegame
2020-01-02 15:00:33 +01:00
B-CE
17d85eb434
Translate french comments + correct typo
2019-06-19 08:50:47 +02:00
melex750
5f089f4a9b
Fix and improve switch...case ( #1008 )
2019-04-11 05:34:00 -04:00
melex750
c0cdd84e85
Add missing primitive data types in CBOT
2019-04-11 04:19:29 -04:00
AbigailBuccaneer
ea64edaa0b
Compile with -Wmissing-declarations
...
-Wmissing-declarations enforces that every function (except for static
functions) must be declared separately before it's defined. This
essentially enforces that every function must be either static, or
declared in a header elsewhere.
This helps the optimizer, as it can do a better job of inlining if it
knows that a function won't be used outside of a given file. It also
helps -Wunused-function (which is enabled by -Wall) find more unused
functions.
Note that Clang spells this option -Wmissing-prototypes, which
confusingly is the name of a related but different warning option under
GCC.
2018-04-21 16:49:27 +01:00
krzys-h
1c2bdc9cab
Update license headers
2018-04-20 02:08:50 +02:00
melex750
15b8cf7f78
Update object variable when concatenating strings
2017-05-25 02:09:44 -04:00
melex750
6db2832577
Fix conversion to string with + operator
2016-05-29 06:45:08 -04: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
70555d984c
Small CBotTwoOpExpr cleanup
2016-01-05 13:04:15 +01:00
krzys-h
2245863fcd
Some more random refactoring in CBot
2015-12-31 16:11:35 +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
c72cfa234b
Started docs of CBotStack; random refactorings
2015-12-25 19:48:31 +01:00
krzys-h
30fea5893b
Fixed crash from previous commit (oops again)
2015-12-23 17:50:10 +01:00
krzys-h
eedf8dacea
Documentation for CBotProgram; some CBotError refactoring
2015-12-21 21:35:20 +01:00
krzys-h
5db1254dd8
Unified CBot error naming
2015-12-20 19:01:03 +01:00
Grunaka
de5a57f793
Change CBot default include directory. Make all include directive absolute.
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
013be673ce
Moving CBotCStack class in its own header and source files.
2015-12-01 23:25:36 +01:00
Grunaka
660f17454a
Moving CBotVar class in its own header and source files.
2015-12-01 23:25:36 +01:00
Grunaka
e54d8f1ebc
Moving CBotStack class in its own header and source files.
2015-12-01 23:25:35 +01:00
Grunaka
3c1296b4b9
Moving CBotExpression class in its own header and source files.
2015-12-01 23:25:35 +01:00
Grunaka
d44df45d26
Moving CBotTwoOpExpr class in its own header and source files.
2015-12-01 23:25:35 +01:00