krzys-h
08d87fa975
Make initial scoreboard values editable
2017-05-24 12:39:05 +02:00
krzys-h
f60108f367
Prevent enforcement of ObligatoryToken for level controller scripts
2017-05-24 10:50:43 +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
d8b0bd4df8
Make TargetBots explode when they run into something
2017-05-23 22:02:00 +02:00
krzys-h
149d1f8156
Fix aliens not appearing on the minimap, closes #901
2017-05-23 20:51:37 +02:00
krzys-h
004106eb19
Don't limit types of objects visible on minimap with fixed image
2017-05-23 20:47:03 +02:00
krzys-h
648dfd75c4
Fix handling of particle 'father' objects when they are destroyed
2017-05-23 20:31:55 +02:00
krzys-h
904b7e580b
Prevent giving scoreboard points to team 0
2017-05-23 20:20:46 +02:00
krzys-h
2d7911f155
Fix delete() in CBot not destroying PowerCells properly
2017-05-23 20:19:47 +02:00
MatiRg
417301ff06
Fix rendering glasses in FPP camera, closes #775 ( #959 )
2017-05-23 18:57:41 +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
DavivaD
df12f87b47
Implement damage alarm ( #916 )
...
Implements part of #320
2017-05-22 11:01:36 +02:00
krzys_h
cd808ac59f
Merge pull request #920 from melex750/dev
...
Fix default arguments
2017-05-22 10:58:16 +02:00
MatiRg
a0e5cc25e1
Allow ctrl + backspace in the editor. ( #839 )
2017-05-22 10:57:30 +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
tomangelo2
47a8f70f0f
Display warning if there is not enough energy to shoot
...
Fix issue #949
2017-05-20 20:41:30 +02:00
krzys-h
681d5203e5
Make code battle start button header translatable
2017-05-19 21:23:14 +02:00
krzys-h
c68f5e276f
Add live scoreboard display
2017-05-19 21:11:43 +02:00
krzys-h
b3ea687d32
Minor documentation fixes
2017-05-19 20:15:13 +02:00
krzys-h
8948da0612
Add Barricade objects
2017-05-19 15:33:44 +02:00
krzys-h
327eafddb7
Add order= parameter for ScoreboardEndTakeRule
2017-05-18 20:39:32 +02:00
krzys-h
6bebbb3f70
Fix sky rendering artifact
2017-05-18 19:03:19 +02:00
krzys-h
f6cc629054
Log correct terrain relief resolution
2017-05-18 18:32:22 +02:00
krzys-h
cf7c19ef62
Make teams and scoreboard translatable
2017-05-17 19:00:40 +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
6cd72543c4
Fix amount of damage from OrgaShooters
...
I messed it up in previous commit, 0.002/2 is 0.001 not 0.0005 :P
2017-04-29 13:18:01 +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
melex750
f80db9e8fb
Fix using negative numbers in default arguments
...
Issue #919
2017-03-03 02:11:10 -05:00
melex750
b032dad578
Fix execution of default arguments
2017-03-03 01:09:09 -05: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
9eae1e151d
Fix Shooter target getting stuck on not selectable objects ( #900 )
2017-01-28 12:56:42 +01: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
melex750
92a8c48953
Add syntax for parameters with default values
...
Also fixes #642
2017-01-24 15:19:03 -05:00
melex750
baba6081b3
Add checking for return statements in functions
...
issue #30
2017-01-24 14:41:22 -05:00
melex750
2ff8251a81
Fix game crashing with syntax errors
2017-01-24 13:47:00 -05:00
melex750
8e54f7ca9c
Fix memory leaks in CBOT engine
2017-01-16 21:16:59 +01:00
melex750
64bc1f1afb
Fix constructor/destructor and field syntax
2017-01-16 21:16:59 +01:00
melex750
8fc0151444
Fix increment and decrement syntax
2017-01-16 21:16:59 +01:00
piotrwalkusz1
d7fae300b9
Fix crash on class redefinition, closes #703 ( #890 )
2017-01-15 20:28:52 +01:00
Smok94
8a0c7279dc
Command history for cheat console, closes #316 (PR #869 )
...
Adds console command history. Browsable by up and down arrow keys.
2017-01-02 20:23:19 +01:00
piotrwalkusz1
6ec13017eb
Fix apperance camera position, closes #802 ( #880 )
2017-01-02 18:43:19 +01:00
Tomasz Kapuściński
9bdd83771e
Optimizations and changes in OpenGL 2.1 device.
...
* Limited number of lights to 4
* Only directional lights
* Per-pixel lighting
* Improved dynamic shadows a bit
2017-01-02 16:35:40 +01:00
krzys-h
7b3b257580
Fix code style
2017-01-02 14:54:38 +01:00
Tomasz Kapuściński
7bb3245092
Optimizations and changes in OpenGL 3.3 device.
...
* Limited number of lights to 4
* Only directional lights
* Per-pixel lighting
* Improved dynamic shadows a bit
* Optimized texture changes
2017-01-01 17:16:54 +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
6a382830a9
Allow selectinsect to select other objects with selectable=0
2016-12-27 22:20:58 +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
5722fdb163
Fix bug (?) related to lost cutscenes
...
This was here since the original game, probably unused but I fixed it anyway
2016-12-27 15:21:49 +01:00
krzys-h
8d52e27c2b
Add coordinates under cursor overlay and copy function ( #868 )
2016-12-27 14:58:41 +01:00
krzys-h
b6cda6cd4c
Add error when object is busy ( #871 )
2016-12-27 13:36:46 +01:00
krzys-h
e325efa447
Fix crash after precompiling a CBot class with errors ( #881 )
2016-12-27 13:23:41 +01:00
tomangelo2
5dc38f1526
Objects outside BuildType list cannot be build anymore
...
Fix issue #863
2016-12-05 14:16:11 +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
88c6818cfd
Fix code style issues
2016-11-26 13:48:12 +01:00
krzys-h
7190c8518e
Fix destructors not being called when program execution ended, closes #859
2016-11-11 23:07:22 +01:00
krzys-h
b49fbf0cd6
Another this==nullptr fix ( #828 )
2016-11-11 22:58:39 +01:00
krzys-h
48f703282e
Refactor CBotCallMethode -> CBotExternalCall
2016-11-11 21:58:25 +01:00
krzys-h
6b7233c6ae
Remove CBotLinkedList from CBotFunction
...
Fixup for 191151eb7b
No idea how I managed to forget that
2016-11-11 19:47:59 +01:00
krzys-h
35d60aaae5
Remove remaining occurences of "this == nullptr" ( #828 )
2016-11-11 19:45:57 +01:00
krzys-h
191151eb7b
Refactor CBotClass and CBotFunction list to std::list
2016-11-11 19:37:19 +01:00
krzys-h
266b34d578
Make CBotFunction implement CBotLinkedList
2016-11-11 18:16:12 +01:00
krzys-h
8764d28e9e
Remove remaining "this != nullptr" checks in CBOT, closes #828
2016-11-11 18:03:46 +01:00
krzys-h
3bac0aabd9
Fix buffer overrun when rendering goto() debug texture, closes #841
2016-11-11 17:26:37 +01:00
krzys-h
856ee9a0fe
Don't allow whitespace player names, closes #840
2016-11-11 17:13:32 +01:00
krzys-h
6e4764b97c
Fix GroundSpot blending, closes #846
2016-11-11 17:06:53 +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
Tomasz Kapuściński
e7c41ae9e6
Correction in changing wrap mode in SetState
2016-11-10 13:00:42 +01:00
Tomasz Kapuściński
9fe85e280a
Code simplification in CGL14Device
2016-11-10 12:34:30 +01:00
Unknown
3c71354b42
Fix MSVC2015 compilation error
2016-11-07 21:08:02 +01:00
Tomasz Kapuściński
5aa5d91ecb
Fix compilation errors in half.cpp
2016-11-04 18:34:49 +01:00
Tomasz Kapuściński
993d9e9ed6
Added rendering with generic vertex formats
2016-11-04 14:13:16 +01:00
Tomasz Kapuściński
ae3b2b8572
Added types and vertex format specification
2016-11-04 11:59:57 +01:00
Tomasz Kapuściński
c5b5435b4a
Added half-precision floating-point format implementation
2016-11-04 11:35:55 +01:00
krzys-h
bb9d1c8265
Remove "this == nullptr" checks in CBOT, fixes #828
2016-10-02 21:36:59 +02: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
krzys-h
73be03161f
Fix infinite pause when cloning program with errors, closes #837
2016-09-27 18:57:24 +02: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
krzys-h
ca548e2902
Update CBotFieldExpr::ProtectionError docs
2016-09-24 17:04:47 +02:00
melex750
9ab7f7d140
Fix access to protected and private variables
2016-09-17 08:00:34 -04:00
melex750
3debfb9182
Fix finding in-class methods when searching by ID
2016-09-17 07:59:34 -04:00
melex750
4a14a44f3f
Add implicit cast and null for passing arguments
2016-09-17 07:58:39 -04:00
krzys_h
84c98546df
Merge pull request #819 from melex750/dev
...
Method chaining for constructor calls in CBOT
2016-09-09 19:37:37 +02:00
krzys_h
8dc03f40d5
Merge pull request #817 from CyborgMaster/radarall-equidistant-objects
...
radarall can return multiple objects with exactly the same distance
2016-09-09 19:17:40 +02:00
MrSimbax
514829de60
Normalize dir parameter when copying to clipboard
2016-08-20 13:22:53 +02:00
MrSimbax
92b1e544ec
Remove default lambda parameters
...
They cause compilation error on MSVC and should give errors, as it's explicitly stated in the C++11 standard: http://stackoverflow.com/questions/6281472/why-does-a-default-argument-for-a-lambda-argument-trigger-a-pedantic-gcc-warni
2016-08-18 10:02:54 +02:00
melex750
3146d4ef35
Add method chaining for class constructor calls
2016-08-14 16:56:17 -04: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
d411c5ebc0
Allow circular references from different classes ( #814 )
...
Conflicts:
test/unit/CBot/CBot_test.cpp
2016-08-09 21:10:07 +02:00
krzys-h
b9d4d57e33
Syntax sugar: Accessing members of returned objects ( #808 )
...
Conflicts:
src/CBot/CBotInstr/CBotInstrMethode.h
2016-08-09 20:28:37 +02:00
krzys_h
d83553ca14
Merge pull request #809 from melex750/dev
...
Fixes and unit tests for inheritance
2016-08-09 19:23:49 +02:00
krzys-h
0ecdee08cc
Merge branch 'dev-async-music-load' (PR #801 )
2016-08-09 19:20:46 +02:00
melex750
66218319dd
Add support for circular references
...
Issue #433
2016-08-09 11:59:07 -04:00
Jeremy Mickelson
6b8e240d26
Fix implicit downcast with variable initialization
2016-08-07 08:27:01 -04:00
melex750
a205eace38
Add missing license headers
2016-08-06 16:29:02 -04:00