krzys-h
bb35585194
Fix object.factory() code type detection, closes #938
2017-06-03 21:43:10 +02:00
Abigail
f4614658cf
Fix -Wundefined-var-template warning ( #963 )
...
This avoids specializing CSingleton<T>::m_instance for each type, and
instead just defines it once in the header. This is allowed by the
standard, multiple definitions are merged in the same way that inline
functions are.
2017-05-29 20:46:11 +02:00
krzys-h
02aa281d30
Remove unnecessary m_instance declarations
...
They don't do anything at all in gcc and clang, but cause compile errors in MSVC
see #955
2017-05-24 14:00:34 +02:00
krzys-h
935b789d02
Fix alien animations after 5d4dfd8cb5
2017-05-24 10:45:31 +02:00
krzys-h
5d4dfd8cb5
Fix scoreboard points sometimes being added multiple times
2017-05-23 22:25:40 +02:00
krzys-h
648dfd75c4
Fix handling of particle 'father' objects when they are destroyed
2017-05-23 20:31:55 +02:00
MatiRg
417301ff06
Fix rendering glasses in FPP camera, closes #775 ( #959 )
2017-05-23 18:57:41 +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
krzys-h
7b328fbfc3
Make UraniumOre not destroyable, closes #777
...
This was likely a mistake during object interface refactoring
2017-05-21 21:45:46 +02:00
krzys-h
8948da0612
Add Barricade objects
2017-05-19 15:33:44 +02:00
krzys-h
880f31a7c6
Add basics of scoreboard implementation; better support for multiple teams
2017-05-17 18:22:58 +02:00
krzys-h
fda58a6008
Change bullet collision logic to allow for collisions with non-damageable objects
...
For now, you have to add bulletWall=true to objects you want bullets to collide with.
It's ugly but will work for now. This is needed mostly for compatibility
with exercises which use barriers to block movement but not bullets.
I also made the collision checks run more often because otherwise the bullets
would sometimes miss the objects (but only visually)
2017-04-29 13:14:10 +02:00
krzys-h
7fadf7bad5
Fix aliens being selectable by default ( #900 )
...
Broken in 6a382830a9
This change also allows you to make selectable insects with selectable=1 in scene file
2017-01-28 12:53:28 +01:00
krzys-h
7b3b257580
Fix code style
2017-01-02 14:54:38 +01: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
17511ddb6a
Fix some code style
2016-12-27 15:54:52 +01:00
krzys-h
f33ffaf18b
Fix mission end before astronaut death scene is finished ( #848 )
2016-12-27 15:32:38 +01:00
krzys-h
b6cda6cd4c
Add error when object is busy ( #871 )
2016-12-27 13:36:46 +01:00
krzys-h
eb2a1857dc
Fix goto() with multiple objects at the exact same position ( #732 )
2016-12-04 16:07:41 +01:00
krzys-h
3472ec6613
Revert CParticle::CheckChannel changes
...
I misinterpreted this as being a bug, while actually it seems to be an explicit CParticle design choice (maybe not the best one, but whatever). We DO need better docs for some old code like this :/
Fixes #806
This reverts commit 99a831a03b
.
2016-09-27 18:34:54 +02:00
MatiRg
dc415c3d2a
Remove character limit in CEdit ( #836 )
2016-09-25 19:13:04 +02:00
Jeremy Mickelson
859cec774a
Added comment explaining container choice
2016-08-13 12:18:54 -06:00
Jeremy Mickelson
88227a3647
Allow multiple objects with exactly the same distance to be returned by `radarall`
2016-08-13 12:13:41 -06:00
krzys-h
2c3e90b126
Added CBot performance counter
2016-07-24 16:36:13 +02:00
krzys-h
646e5104f6
Some CCamera cleanup and docs
2016-05-28 18:44:38 +02:00
krzys-h
d80fa387b9
Fixed some particle crashes after 99a831a03b
2016-05-28 16:16:48 +02:00
krzys-h
99a831a03b
Fixed CParticle::CheckChannel "errors"
...
Not really errors, but I fixed them anyway
2016-05-28 00:26:56 +02:00
krzys-h
d3f808f66d
Merge branch 'dev-savegame' into dev
2016-04-10 13:16:10 +02:00
krzys-h
04d7c343ef
Removed misc.cpp / misc.h
2016-04-09 18:46:12 +02:00
krzys-h
ae4e875729
Do not store exact object part positions
...
This seems to be unnecessary, as the animation update code should set those on its own. Needs some more testing though.
2016-04-08 18:28:35 +02:00
krzys-h
ac950978a9
Fixed AlienWorm collisions ( #740 )
2016-04-07 20:30:25 +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
e24d77bde8
goto() bitmap debugger
2016-03-28 21:42:25 +02:00
krzys-h
d38ddcbc41
goto() path debugger
2016-03-28 20:25:07 +02:00
krzys-h
45c93f58ec
Fixed Houston lights when object is rotated
2016-03-27 18:54:56 +02:00
krzys-h
4e50f36214
Merge branch 'dev' into dev-right-click-camera
2016-03-02 20:00:57 +01:00
krzys-h
dba944740f
Removed unused members of COldObject
2016-02-21 15:16:30 +01:00
krzys-h
63c7b83d82
Removed unused object effect lights
2016-02-21 14:51:09 +01:00
krzys-h
47d39e5b22
Right click camera; minor CCamera cleanups
2016-02-19 17:14:08 +01:00
krzys-h
f3820bc81a
Fixed using SOUND_CLICK instead of SOUND_NONE, some sound documentation fixes
2016-02-19 17:12:27 +01:00
krzys-h
5c9bdde587
Fixed lag on saving programs
2016-02-16 12:54:08 +01:00
krzys-h
c93fa12552
Fixed TitaniumOre and UraniumOre not being destroyable, closes #635
2016-02-13 21:15:15 +01:00
krzys-h
463992b2c1
Fixed ExchangePost info being loaded twice ( closes #671 )
2016-02-13 19:54:56 +01:00
krzys-h
977607a934
Updated license headers
2016-02-13 14:11:30 +01:00
krzys-h
f6db624d00
Fix occasional segfault in drop zone after object destruction
2016-01-30 18:01:38 +01:00
krzys-h
9749419b87
Fixed LevelController
2016-01-30 17:24:47 +01:00
krzys-h
b96305060b
Fix colobot-lint warnings
2016-01-23 21:59:02 +01:00
krzys-h
9bece23ede
Fixed clang build
2016-01-23 21:24:42 +01:00
krzys-h
07a4d6a16b
CBot namespace
2015-12-26 14:29:10 +01:00