def
62dc12aacb
Fix all Multiplication type alerts by CodeQL
...
> Multiplication result converted to larger type
> A multiplication result that is converted to a larger type can be a
> sign that the result can overflow the type converted from.
Example: https://github.com/ddnet/ddnet/security/code-scanning/17?query=ref%3Arefs%2Fheads%2Fmaster
2020-10-05 19:03:54 +02:00
patiga
fc9e1bc325
initialize physics layer pointer, layer item version
2020-10-02 17:45:28 +02:00
def
3be8a592e5
Run clang-format
...
Purely automatic change. In case of conflict with this change, apply the
other change and rerun the formatting to restore it:
$ python scripts/fix_style.py
2020-09-26 21:50:15 +02:00
Jupeyy
84cad658d6
Add new renderer(as streamed vertices) for editor
2020-09-23 16:45:32 +02:00
def
ddb88c6f3b
Editor: Select game layer by default
...
Since it's the most important layer
2020-09-21 19:36:28 +02:00
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
Andrii
ab79036873
Set camera position on LoadCurrentMap
2020-05-21 00:44:52 +02:00
patiga
4bbd019423
fix whitespaces
2020-05-18 00:33:35 +02:00
patiga
359257f73a
write automapper version, was not initialized
2020-05-17 23:28:10 +02:00
def
b480492ded
Don't count freshly loaded map as modified ( fixes #2178 )
...
The reason is that we increased the sensitivity of the modified flag to
include adding layers and groups, and simply loading the map already
adds those, so every loaded map was considered modified.
2020-05-16 08:17:50 +02:00
Magnus Auvinen
6a6a5f00c9
more typesafty in the graphics. introduced the IGraphics::CTextureHandle
...
Edited by @ChillerDragon to fit in ddnet
(cherry picked from commit cb95e8dfe8
)
2019-11-22 18:08:37 +01:00
Dennis Felsing
40591c2f8b
Remove save group/layer button ( fixes #1475 )
2019-03-11 22:58:18 +01:00
Dennis Felsing
045533cef7
Merge pull request #1321 from bojidar-bg/x-add-auto-automapper
...
Add option to automatically run the automapper
2018-11-15 09:30:22 +01: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
Bojidar Marinov
823e4ee0f3
Save automapper config as external-typed mapitem
2018-10-09 13:17:05 +03:00
heinrich5991
f8277267a0
Remove mem_alloc
and mem_free
, use standard C functions instead
...
Replace `mem_free` by `free`, and `mem_alloc` by `malloc` or `calloc`
(the latter one being used to allocate a zeroed array of elements,
sometimes, this makes a call to `mem_zero` superfluous).
This results in having to remove `mem_stats` which previously recorded
the number of allocations and their size that the Teeworlds code did
directly.
Remove OOM handling in `src/game/client/components/binds.cpp`.
Remove needless copying in the CSV code in
`src/game/client/components/statboard.cpp`.
2018-04-09 11:56:39 +02:00
yangfl
1620fc9b0f
Fix typo
2018-02-07 16:10:40 +08:00
Dennis Felsing
eb2634ab0a
Merge pull request #852 from heinrich5991/pr_ddnet_fix_extractname
...
Add testing; fix, rename and test the `CEditor::ExtractName` function
2017-08-30 22:09:17 +02:00
heinrich5991
22be1be389
Fix and rename the CEditor::ExtractName
function
...
Fixes #846 .
2017-08-30 13:59:42 +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
sctt
0849fa6024
fixing map_resave and adding map_replace_image
...
Update datafile.h
Update datafile.cpp
Update datafile.cpp
Update map_resave.cpp
Update datafile.h
Update map_resave.cpp
Update datafile.h
Update datafile.cpp
Update config_store.cpp
Update config_retrieve.cpp
Update io.cpp
Update gamecontext.cpp
Update config_store.cpp
Update CMakeLists.txt
Create map_replace_image.cpp
Update map_replace_image.cpp
fixing bug with height and witdth
2017-08-29 16:21:16 +02:00
def
4b4f9992d4
Fix disappearing switches in editor
2017-07-15 18:11:01 +02:00
def
73c61e4169
Let's not save maps that are ok already
2017-06-11 20:18:28 +02:00
def
2bd6316ce7
Add code for fixing old maps by removing unused tiles
2017-06-11 19:53:55 +02:00
HMH
4a0abf6747
Access the correct Flags variable for saving maplayers
2017-04-01 18:16:02 +02:00
heinrich5991
54c5faa64c
Complete the refactor
2017-03-12 19:52:29 +01:00
Alexandre Díaz
3589ed0b0f
Start refactor...
2017-03-12 19:30:55 +01:00
BannZay
c658411f15
Load Current Map button added
2016-08-23 14:29:53 +03:00
def
03a48dd09f
Add code to remove unused tiles on game and front layers (commented out)
2016-05-11 12:13:54 +02:00
heinrich5991
7d9228f3d5
Fix a severe bug with config saving
...
Thought I had fixed that long ago...
2015-08-27 12:55:35 +02:00
SushiTee
7bd0f276d4
saving server settings within the map and loading them on init
2015-08-27 12:51:24 +02:00
def
6e8ada1ac8
Fix whitespaces a bit
2015-07-09 02:12:35 +02:00
def
0945e24ce4
Actual fix for crash with RGB images, convert them to RGBA instead
2015-04-04 18:07:57 +02:00
def
c11044318e
Hopefully fix map saving with RGB images
2015-04-04 17:16:20 +02:00
def
05970cc2e2
Add BONUS tile, opposite of PENALTY (for Saavik's new map)
2015-03-10 22:57:40 +01:00
def
2e7e4cfd46
Code piece to convert race stoppers to ddrace stoppers
2014-12-06 00:56:08 +01:00
BeaR
5d364410de
Add editor compatibility with sound layers from older maps
2014-12-05 14:38:16 +01:00
BeaR
d1327742e7
Start adding support for custom shaped audio fields
...
Add version check for sound layers
2014-11-27 16:18:15 +01:00
def
26260181bd
Some work on Opus map sounds (not working yet)
2014-10-27 16:23:53 +01:00
def
699fb60532
Fix: Mapping sounds in editor works even when the sound system is disabled
2014-10-25 01:23:39 +02:00
def
12102a14a6
Fix sound and image loading
2014-10-24 23:03:16 +02:00
def
d213a30bed
Change new to mem_alloc (thanks BeaR)
2014-10-19 14:09:23 +02:00
BeaR
0a70d49566
Remove distance from envelopes, add falloff distance to source properties and render it in the editor
2014-10-18 18:41:55 +02:00
BeaR
dfea1e9e71
Remove debug rendering for sound layers and unused item members
2014-10-18 18:41:53 +02:00
BeaR
b5d0034674
Add embedded sound support
2014-10-18 18:41:53 +02:00
BeaR
66d02de673
Fix saving of sounds
2014-10-18 18:41:52 +02:00
BeaR
5df94f772f
Add support for sound sources
2014-10-18 18:41:51 +02:00
BeaR
2bd9df2626
Adding support for saving/loading sound layers
2014-10-18 18:41:51 +02:00