Tomasz Kapuściński
0bba168f94
Removed vector.h, refactored redundant functions and moved remaining ones to func.h
2022-01-04 20:43:36 +01:00
Tomasz Kapuściński
55f5d25c95
Refactored Math::Vector to glm::vec3 in remaining auto classes
2022-01-03 23:48:38 +01:00
Tomasz Kapuściński
4634564f17
Refactored Math::Vector to glm::vec3 in various auto classes
2022-01-03 23:32:30 +01:00
Tomasz Kapuściński
d25d6124a9
Changed Math::Vector into alias to glm::vec3
2021-12-28 23:01:30 +01:00
Tomasz Kapuściński
a806bb2657
Refactored Math::Point in auto classes
2021-12-24 03:26:25 +01:00
Mateusz Przybył
ae179d9005
Merge pull request #1440 from melex750/dev-insect-from-egg
...
Fix saving/loading programs for insects from AlienEgg
2021-12-04 10:04:49 +01:00
MrSimbax
80f074e2ba
Update license headers
2021-09-11 15:53:59 +02:00
melex750
ce450d1c00
Fix save/load programs for insects from AlienEgg
...
fixes #1370
2021-06-25 18:47:25 -04:00
Jeff Law
ad2e3db92f
Fix more dynamic casts for gcc-11
...
Signed-off-by: suve <veg@svgames.pl>
Jeff's patch was written for the 0.1.12 stable release.
Adapted to work with the "dev" branch (as of commit 13098ee
).
2020-09-15 10:20:24 +02:00
tomangelo
37e4ed8029
Updated license headers ( #1317 )
...
* Updated headers
* Updated more headers
2020-07-07 10:19:36 +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
B-CE
17d85eb434
Translate french comments + correct typo
2019-06-19 08:50:47 +02:00
tomangelo2
a46750ede2
Fix crash when destroying unpowered PowerPlant with Titanium
...
Appendix to pull #1206
2019-02-18 14:43:56 +01:00
Fiftytwo
723c552783
Add Heavy and Amphibious trainer bots
2018-12-23 07:04:06 +01:00
Fiftytwo
5b2b632de3
Add TargetBot research; make it fully operational
2018-07-13 00:03:20 +02:00
Fiftytwo
5b2f3111b6
Add trainer=1 SpaceShip
2018-07-12 20:54:58 +02:00
Fiftytwo
146581e44c
Add trainer=1 AutoLab
2018-07-12 20:35:50 +02:00
Fiftytwo
02eb4623b9
Add trainer=1 ResearchCenter
2018-07-12 20:17:09 +02:00
Fiftytwo
d0e29d4875
Add trainer=1 BotFactory
2018-07-12 19:55:31 +02:00
melex750
a918fcabb4
Fix save/load NewScript programs for factory bots
...
Fixes #797
2018-04-30 13:43:03 -04: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
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
5f8b7a8149
Update BotFactory interface
2017-11-25 12:30:16 +01:00
Fiftytwo
614dc5e591
Builder research
2017-11-23 00:11:29 +01:00
Fiftytwo
a024866fd3
Builder bots base implementation
2017-11-16 18:43:45 +01:00
krzys-h
bb35585194
Fix object.factory() code type detection, closes #938
2017-06-03 21:43:10 +02:00
krzys-h
46aa6fc907
Some CRobotMain cleanup
...
* improved documentation
* renamed cheat variables to include the word "cheat" to make it clearer what they do
* removed some useless members
2016-12-27 23:38:57 +01:00
krzys-h
b6cda6cd4c
Add error when object is busy ( #871 )
2016-12-27 13:36:46 +01:00
krzys-h
646e5104f6
Some CCamera cleanup and docs
2016-05-28 18:44:38 +02:00
krzys-h
04d7c343ef
Removed misc.cpp / misc.h
2016-04-09 18:46:12 +02:00
KarolTrzeszczkowski
1960b373f1
Solves #700
...
It turns out, that tower is not over powered in code battle mode. It never hits flying enemy robot.
2016-04-03 13:31:08 +02:00
krzys-h
98dd9f90c8
Fixed code style warnings
2016-04-03 13:06:55 +02:00
krzys-h
45c93f58ec
Fixed Houston lights when object is rotated
2016-03-27 18:54:56 +02:00
krzys-h
977607a934
Updated license headers
2016-02-13 14:11:30 +01:00
Piotr Dziwinski
d11ebc891c
Bring to zero some types of issues reported by colobot-lint
2015-10-04 00:09:10 +02:00
Piotr Dziwinski
94b3f82988
Fix colobot-lint issues in restored code
2015-09-29 20:55:51 +02:00
krzys-h
2cb2782c9d
Restored old Ceebot-Teen objects
...
In preparations for new programming course
2015-09-28 22:08:59 +02:00
Piotr Dziwinski
66ce745be0
Introduce forward declarations as suggested by colobot-lint
2015-09-27 16:28:14 +02:00
krzys-h
ff17961584
Refactored CPauseManager
2015-08-31 21:47:55 +02:00
Piotr Dziwinski
a47da3fd3f
Whitespace fixes
2015-08-30 22:18:49 +02:00
krzys-h
6711154762
Fixed produce() and NewScript not marking programs as loaded from level files ( closes #613 ); refactored NewScript to std::vector and std::string
2015-08-29 16:52:07 +02:00
Piotr Dziwinski
a8eb7499ac
Fix #607
2015-08-29 10:49:04 +02:00
krzys-h
65d26733fa
Fixed Derrick output direction, closes #605
...
I won't even ask who designed it like that, okay?
2015-08-25 12:37:55 +02:00
krzys-h
b9e7143734
Fixed PowerCaptor not recharging transported objects, closes #594
2015-08-25 10:32:50 +02:00
krzys-h
5a29bee3b4
Fixed RepairCenter repairing itself, closes #579 and #589
2015-08-25 10:27:14 +02:00
krzys-h
2722e72afb
Fixed Destroyer destroying itself, closes #599
2015-08-24 20:27:57 +02:00