tomangelo
37e4ed8029
Updated license headers ( #1317 )
...
* Updated headers
* Updated more headers
2020-07-07 10:19:36 +02:00
Emxx52
0102e45855
Merge pull request #1049 from colobot/dev-cbot-factory
...
Rework new functions so they follow established syntax rules
2020-07-05 17:26:04 +02:00
tomangelo2
dece19fbec
Style fix
2020-07-05 12:58:45 +02:00
tomangelo2
a2df003b7e
Fix radar function parameter type detection, fixes #1298
2020-07-05 12:58:45 +02:00
Droog71
f449d9c800
Fix for issue #842
2020-07-05 11:04:21 +02:00
Fiftytwo
55b46942cb
Remove unnecessary whitespaces
2020-06-16 21:02:52 +02:00
Fiftytwo
5c0cfba8ae
Merge branch 'dev' into dev-cbot-factory
2020-06-16 20:07:03 +02:00
Fiftytwo
7f9efea0a2
Remove unnecessary whitespaces
2020-05-15 20:29:48 +02:00
Fiftytwo
0b9673029d
Merge dev into dev-builders and resolve conflicts
2020-05-15 15:06:37 +02:00
Fiftytwo
9a14c8c7e9
Merge branch 'dev' of https://github.com/colobot/colobot into dev
2020-05-15 01:08:06 +02:00
Michał Górny
f3ae4b4209
Fix missing <limits> include
...
Add missing <limits> include for std::numeric_limits. This fixes
build failure after boost stopped implicitly including it for us.
2020-05-14 11:26:15 +02:00
Fiftytwo
e5d994b9e2
Merge branch 'dev' of https://github.com/colobot/colobot into dev
2020-04-07 14:46:43 +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
a66b3d0672
Refactor SaveState and RestoreState to use streams
2019-04-11 04:13:13 -04:00
tomangelo
04b8bf6c42
Merge pull request #1235 from vkuzkokov/master
...
Put pitch and roll in [-180,180) range.
2019-01-29 20:31:37 +01:00
Vladislav Kuzkokov
e3f53dc203
Put pitch and roll in [-180,180) range.
...
Reasonable values lie close to either side of 0.
2019-01-06 07:09:57 +01:00
Fiftytwo
723c552783
Add Heavy and Amphibious trainer bots
2018-12-23 07:04:06 +01:00
tomangelo2
fb00898035
Fix switch case documentation shortcut
...
Also some polishing of loops help texts
2018-07-21 00:09:37 +02:00
Fiftytwo
5b2b632de3
Add TargetBot research; make it fully operational
2018-07-13 00:03:20 +02:00
krzys-h
319d8e6854
Fix delete() not returning sometimes, closes #1067
2018-05-09 23:12:26 +02:00
Fiftytwo
caf58c8ab8
Merge branch 'dev' of https://github.com/colobot/colobot into dev
2018-05-07 21:48:48 +02:00
krzys_h
8b86a1f222
Merge pull request #1142 from AbigailBuccaneer/Wmissing-declarations
...
Compile with -Wmissing-declarations
2018-04-24 14:12:43 +02:00
krzys_h
6289ea91b1
Merge pull request #1140 from AbigailBuccaneer/Wsuggest-override
...
Compile with -Wsuggest-override under GCC
2018-04-24 14:12:31 +02: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
e964d3e48c
Fix colobot-lint warnings
2018-04-20 02:21:12 +02:00
krzys-h
1c2bdc9cab
Update license headers
2018-04-20 02:08:50 +02:00
AbigailBuccaneer
6978c28ee0
Compile with -Wsuggest-override under GCC
...
Clang by default compiles with -Winconsistent-missing-override, which
warns when a class declares virtual functions that override those in the
base class, and some but not all of them are explicitly declared
`override`.
GCC doesn't support this option, but has a stronger version,
-Wsuggest-override. In combination with -Werror, this means that any
virtual function that overrides another *must* be explicitly declared as
`override`.
This commit enables -Wsuggest-override where available. This means that
GCC users can't break the Clang build with inconsistent overrides (see
#1113 and #1114 ) and consequently that any build that passes the pull
request CI build on Jenkins won't break because of inconsistent
overrides.
2018-04-19 19:58:44 +01:00
Fiftytwo
bd0c6d4344
Add PracticeBot helpfile
2017-12-22 17:02:37 +01:00
Fiftytwo
0fddd79501
Add PracticeBot alias detection in search() and detect()
2017-12-21 14:44:43 +01:00
Fiftytwo
ca0ff013d4
Update Trainer bots
2017-12-21 01:49:56 +01:00
Fiftytwo
94aa76e7a1
Add auto object detection for takeoff, destroy, camerafocus
2017-11-30 20:41:44 +01:00
Fiftytwo
e01a6bd0ef
Add Builder documentation
2017-11-30 08:00:17 +01:00
Fiftytwo
614dc5e591
Builder research
2017-11-23 00:11:29 +01:00
Fiftytwo
0b36bdf37f
Quick fix for 9a33551
since I broke sth
2017-11-17 12:00:49 +01:00
Fiftytwo
9a33551a03
Reverted factory() to its original design; reworked syntax of other object.functions() accordingly; improved compatibility with CeeBot4 SCHOOL
2017-11-17 11:32:50 +01:00
Fiftytwo
a024866fd3
Builder bots base implementation
2017-11-16 18:43:45 +01:00
melex750
e3c44e956f
Add syntax highlighting for escape codes
2017-07-22 14:30:05 -04:00
krzys-h
a95f736cbe
Fix delete(this.id), closes #925
2017-06-03 20:05:54 +02:00
melex750
30210d0de7
Add searchall() and improve search() function
2017-05-25 02:01:42 -04:00
krzys-h
2d7911f155
Fix delete() in CBot not destroying PowerCells properly
2017-05-23 20:19:47 +02:00
krzys-h
108551c199
Fix @tomangelo2's code style
...
see 47a8f70f0f
2017-05-22 11:11:44 +02: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
tomangelo2
47a8f70f0f
Display warning if there is not enough energy to shoot
...
Fix issue #949
2017-05-20 20:41:30 +02:00
tomangelo2
588bf30b94
Fixed some functions doesn't returning 0 if no error
...
Fix issue #917
2017-03-02 23:01:55 +01:00
krzys-h
1b074bd94d
Fix crash on loading saves with produce()d objects ( #765 )
...
Thanks @melex750!
2016-11-11 13:38:43 +01:00
krzys-h
a96835e35f
Change CBot file log messages
...
Open mode is logged now. Additionally fixed incorrect file path in log when deleting files.
2016-09-30 17:08:37 +02:00
MatiRg
d107605007
Add file append mode in CBot ( #838 )
2016-09-30 17:03:13 +02:00
MatiRg
dc415c3d2a
Remove character limit in CEdit ( #836 )
2016-09-25 19:13:04 +02:00
krzys-h
14e2910f83
Proper plural form translations for ObligatoryToken
2016-04-09 16:28:11 +02:00