def
a67a8e36aa
clang-format: fix style
2020-09-14 16:00:51 +02:00
Vlad
be90f3f48b
Replaced tile names.
2020-09-13 23:00:49 +03:00
def
2f4eac2cf3
Optimization: Don't calculate with too small fraction
...
since it won't add up to anything anyway.
Hopefully doesn't break any physics.
2020-08-13 13:15:59 +02:00
def
8858fc24ec
Fix compiler warning in stoppers without changing physics
...
Probably related to #2487 , was previously fixed and caused stoppers not
to work.
src/game/collision.cpp:902:247: warning: bitwise or with non-zero value always evaluates to true [-Wtautological-bitwise-compare]
src/game/collision.cpp:891:252: warning: bitwise or with non-zero value always evaluates to true [-Wtautological-bitwise-compare]
src/game/collision.cpp:885:251: warning: bitwise or with non-zero value always evaluates to true [-Wtautological-bitwise-compare]
2020-07-11 11:38:29 +02:00
def
431d824cf1
Revert "Fix wrong usage of bitwise-or which is resulting in an always true"
...
This reverts commit 1b6ff929a2
.
2020-06-25 22:00:08 +02:00
Arda Demir
1b6ff929a2
Fix wrong usage of bitwise-or which is resulting in an always true
2020-06-24 22:53:09 +03:00
heinrich5991
a3163c5b9c
Add support for dynamically loading an antibot module
...
Support for this feature is turned off by default. This feature allows
to integrate with noby's anticheat feature.
2020-03-11 01:58:50 +01:00
def
8702af19b5
Optimize CCollision::MoveBox to stop looping once velocity is 0
2019-10-22 13:48:05 +02:00
heinrich5991
eab0815ddc
Fix unintentional behavior change with blockers
...
Could be seen on "Insane 3", on teleporter 37. Thanks to Zwelf for
reporting.
2019-10-06 13:51:16 +02:00
heinrich5991
4e67241794
Fix rotated stoppers not working
...
Fixes #1861 .
Fixes #1914 .
2019-09-19 02:07:22 +02:00
heinrich5991
66ccd808aa
Rewrite stopper code a bit, second try
...
Remove the whole copy-and-paste mess.
A seemingly ineffective and apparently code block has been removed.
The broken front layer from the first try has been fixed.
2019-09-18 02:04:46 +02:00
def
eda16acbca
Explain game tiles and entities in editor ( fixes #1600 )
...
- Explanations by Lady Saavik taken from https://ddnet.tw/explain/
- CCW/CW were mixed up in enum names, fixed
- Make sure that the texts fits, otherwise reduce font size
- Still need explanations for Portal tiles
2019-04-08 19:39:56 +02:00
Ryozuki
674d3f00e0
add support for blue teleport gun
2018-11-03 10:26:20 +01:00
Ryozuki
ddf2e6af36
add tele-activator to the switch layer
2018-11-03 10:26:19 +01:00
Dennis Felsing
13aa154d47
Revert "Rewrite stopper code a bit"
...
This reverts commit 4ee5c5a781
.
2018-08-24 09:34:54 +02:00
Dennis Felsing
02e5fa20a0
Revert "Fix stoppers while retaining backward-compatibility"
...
This reverts commit e2d3e353cf
.
2018-08-22 08:33:28 +02:00
heinrich5991
e2d3e353cf
Fix stoppers while retaining backward-compatibility
...
Stopper behavior is only changed when the player would otherwise go
entirely through the stopper. Players can still enter a stopper as far
as the stopper can still affect them. One-way blockers have a bigger
range, and thus allow tees to enter furtherly.
A possible (manual) test map for this is test_stoppers.map, sha256sum
ed8be386e54a03d7bd7ed69fdd962c86f51f654427972d58d492c8905c8fbdb7, crc
48812a51.
2018-08-16 17:54:55 +02:00
heinrich5991
4ee5c5a781
Rewrite stopper code a bit
...
Remove the whole copy-and-paste mess.
A seemingly ineffective and apparently code block has been removed.
2018-08-15 17:47:07 +02:00
Ryozuki
50c84a60f7
add teleport gun/grenade/laser
2018-07-15 10:21:59 +02:00
heinrich5991
2682480f8a
Rename GetUncompressedDataSize
to GetDataSize
...
Also rename the old `GetDataSize` to `GetFileDataSize`. `GetDataSize`
now returns the actual data size, not the data size before
decompression.
2017-08-30 08:36:17 +02:00
HMH
d03e91153c
removed unused Dest function for layers
2017-07-28 14:43:03 +02:00
HMH
7b3aba8fdc
fixed memoryleak in CCollision
2017-07-21 16:02:24 +02:00
necropotame
b8e4e5beea
Fix style in several places
2017-03-22 19:45:14 +01:00
Tim Schumacher
d80d2de134
fix tab
2016-05-06 16:45:30 +02:00
def
61e47422f6
Clean up debug messages a bit (lower case, no useless errors)
2016-05-02 21:35:32 +02:00
Tim Schumacher
f1b6848d85
dont remove unused tiles
2016-04-30 22:37:17 +02:00
Tim Schumacher
3378811ecf
fix hooktele on unhook, broke with new hookthrough
2016-04-30 21:13:54 +02:00
Tim Schumacher
d69133c877
prevent placing unused tiles in the editor
2016-04-29 19:23:34 +02:00
def
67bff95a72
Merge remote-tracking branch 'timakro/new_hookthrough'
2016-04-27 18:59:51 +02:00
def
ce7eb0aac1
Add UNLOCK_TEAM tile (someone draw a tile please)
2016-03-07 18:04:59 +01:00
def
e577c8e9ae
Fix web links
2016-02-23 01:05:37 +01:00
timgame
ba60cf509a
use index 5 for a shortcut hookthrough tile
2015-11-15 00:00:43 +01:00
timgame
e5f6356899
allow hookblocker in front layer
2015-11-12 19:46:52 +01:00
timgame
a6a4187fb1
add new hookthrough and hookblocker
2015-11-12 19:46:27 +01:00
timgame
dc89301292
clean up intersect line code
2015-11-08 10:20:44 +01:00
timgame
988a8f591a
remove colflags
2015-11-08 10:20:10 +01:00
def
a04578b3ba
Add switch_open to set the initial state of a switch to open
2015-07-22 23:32:39 +02:00
def
6e8ada1ac8
Fix whitespaces a bit
2015-07-09 02:12:35 +02:00
timgame
0c0ab27532
fixed loading unused tiles in game and front layer
2015-03-12 19:37:36 +01:00
def
05970cc2e2
Add BONUS tile, opposite of PENALTY (for Saavik's new map)
2015-03-10 22:57:40 +01:00
timgame
2ee0ca0648
added refill jumps tile and cleaned tile detection
2015-01-19 22:14:49 +01:00
def
18d1e25d5c
Fix: Render SwitchTimedOpen and Unsolo on seprate tiles
2014-09-17 20:22:42 +02:00
def
831694df40
Minor cleanup
2014-08-01 15:04:40 +02:00
def
99c74b5311
Fix wall jumps
2014-06-22 00:50:11 +02:00
def
d768eb4908
Try wall jumps
2014-06-21 18:14:22 +02:00
def
d52b40fab0
Fix IntersectLine to test full line (thanks to Speedy-Consoles)
2014-04-30 16:06:34 +02:00
def
15ecbb71d1
fixed compiling using visual studio 2013 by renaming the round function
2014-04-22 23:46:55 +02:00
def
6774a92029
Cleanup
2014-03-29 00:24:34 +01:00
HMH
cf33ba4790
fix: let IsTune return 0 if there is no tunezone
2014-03-23 17:10:48 +01:00
HMH
ae12a2b04d
added Tunelayer function to return the tunetilenumber and merged Tunelayer into CCollision
2014-03-23 17:10:48 +01:00