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
krzys-h
44d18b77be
Jenkinsfile: Don't keep artifacts for old PR builds
2017-05-21 20:59:43 +02:00
krzys-h
92eb202d5d
Jenkinsfile: Automatically clean workspace after building pull requests
2017-05-21 20:59:30 +02:00
krzys-h
4bb05b32f5
Jenkinsfile: Update deprecated 'stage' syntax
2017-05-21 20:59:00 +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
ac3fd15c5a
Merge pull request #911 from abenkovskii/patch-1
...
Remove a dead link to the dev wiki
2017-02-15 20:05:03 +01:00
Андрей Беньковский
3934eec902
Remove a dead link
...
The wiki is dead now. See c03d8beb8b
2017-02-15 20:19:40 +04:00
MrSimbax
992ca7e842
Update data submodule
2017-02-12 12:24:17 +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
krzys_h
967fb9e30f
Merge pull request #897 from melex750/dev
...
* Fix game crashing related to syntax errors
* Fix problems with not returning correct value from function
* Add default values for parameters
* Fix custom functions not accepting nan
* Fix 'point' constructor not executing when called with new
2017-01-26 18:46:42 +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
Стуров Фёдор
f0550383d1
Add missing russian translations ( #852 )
2016-12-22 19:13:34 +01:00
Martin Quinson
8ce8b2fff3
update french translation
2016-12-22 18:11:20 +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