Andrii
c9afec083d
add toggle grid key binding
2020-05-21 00:44:41 +02:00
Andrii
f71c886e34
minor refactor
2020-05-21 00:44:41 +02:00
Andrii
63f185fe94
add LoadCurrentMap key binding
2020-05-21 00:44:41 +02:00
patiga
3f8bebd7af
boundary check on curve type label in editor, avoids client crash
2020-05-19 16:52:30 +02:00
Learath
d2498f257c
Stateful editing
2020-02-28 18:25:27 +03:00
Learath
f679fbfbc5
Allow editing multiple tile layer props
2020-02-27 16:53:12 +03:00
Learath
e567fde9d7
Names aren't unique, thinner popup
2020-01-23 21:24:48 +01:00
Learath
a2eee9a8db
Truncate properly
2020-01-23 20:48:42 +01:00
Learath
2abe4fbcfb
Display envelope name
2020-01-23 20:27:01 +01:00
ChillerDragon
949aa124e9
Overkill optimize editor code runs 200 fps faster
2020-01-19 17:48:07 +01:00
Corantin H
a73525361b
Fix del key removing commands while in editbox
2020-01-16 15:01:45 +01: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
Learath
ba12250892
Constrain ValueSelector to integer multiples of Step
2019-09-22 14:21:17 +03:00
Learath
37d9e4fa26
Add a saner way to select angles. Close #1916
2019-09-20 23:57:35 +03:00
12pm
5f7a09dfe3
Correctly embed replacing images
2019-07-17 03:00:09 +02:00
heinrich5991
b90dd43118
Fix -Wdeprecated-copy from GCC9
2019-06-26 11:53:39 +02:00
bors[bot]
a2f44299e0
Merge #1678
...
1678: Handle colors in console r=def- a=Learath2
DEPENDS: #1654
A better way to fix #1581 possibly deprecates #1597
Co-authored-by: Learath <learath2@gmail.com>
2019-04-30 19:39:56 +00:00
Learath
6c371a9a57
Even more refactoring
2019-04-27 01:11:15 +03:00
Learath
15058330fa
Don't inherit from vector, more cleanup
2019-04-27 00:47:34 +03:00
Learath
93d14a1eca
Inconvenience for windows
2019-04-26 22:36:49 +03:00
Learath
65a17599e1
Add ColorHSVA, phase out more vec3's
2019-04-26 15:06:32 +03:00
Dennis Felsing
ab8b807c5d
Shorten strings correctly ( fixes #1652 )
...
Using a string to format itself is undefined behaviour.
2019-04-25 08:19:31 +02:00
12pm
50236ca45c
Add editor copy & paste
2019-04-17 21:47:52 +02:00
def
f1cf222e95
Editor: Don't enter directory name in filename in save menu
2019-04-13 13:21:05 +02:00
def
598c8cf1c6
Editor: Left align "New folder" button in save menu
2019-04-13 13:21:00 +02:00
def
87f588d8a3
Editor: Don't jump to first entry in file list when editing
...
Fixes saving a new map when a subdirectory already exists
2019-04-13 13:20:56 +02:00
Dennis Felsing
cde07b420b
Implement changes suggested by -Wuseless-cast
...
But don't enable it yet because I'm not sure what the best way is.
2019-04-11 19:54:43 +02:00
def
94f3d97ddf
Remove unmaintained Android code ( fixes #1575 )
2019-04-10 19:40:50 +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
def
9df30dc235
Localize mentions
2019-04-06 15:18:40 +02:00
12pm
98bfeb3e72
Notify about chat mentions in editor
2019-04-06 11:32:50 +02:00
12pm
4efc0e3b82
Make world offset calculation more accurate
...
Noticed that after some time groups with a parallax different than 100 were incorrectly rendered in the editor
2019-04-03 01:05:38 +02:00
12pm
427171bb17
Merge "Add Quad/Sound" + shortcut to add them at mouse position, add quads true to size
2019-03-28 13:41:07 +01:00
12pm
0abbba4c5d
Add non-destructive brush drawing
...
New brush draw mode that doesn't override existing tiles. Empty brush still acts as an eraser. Button and ctrl+d shortcut to toggle it.
2019-03-26 19:19:25 +01:00
12pm
4ca69a39de
Default layer names to the selected image/sound
...
And don't paste default names into the edit field
2019-03-24 03:22:29 +01:00
def
1e4890c499
More error checking in system.c ( fixes #1317 )
2019-03-19 23:16:29 +01:00
Dennis Felsing
1fec65572b
Merge pull request #1500 from 12pm/extraeditor-fix
...
Fix editor render glitch
2019-03-18 07:58:12 +01:00
12pm
90e2b355ae
Fix editor render glitch
2019-03-18 02:34:24 +01:00
12pm
8fb77f1a26
Fit sound name in select button too
2019-03-18 01:14:32 +01:00
12pm
ffe50b3b25
Don't change active edit box corners to default
2019-03-12 22:25:01 +01:00
12pm
0dd0de5ad4
Fit image name in select button
...
Adjusts font size a bit and truncates text if it overflows
2019-03-12 19:35:22 +01:00
Dennis Felsing
40591c2f8b
Remove save group/layer button ( fixes #1475 )
2019-03-11 22:58:18 +01:00
Bojidar Marinov
1ca48a38ac
Fixup #1454 , inadvertedly broke game layer picker
2019-02-13 21:11:13 +02:00
Bojidar Marinov
352157ddbe
Fix crash when painting tiles from a non-switch to a switch layer
...
Fixes #1452 .
2019-02-11 10:41:26 +02:00
def
e8e2cd9f49
Revert "Reset brush when changing active layer ( fixes #485 )"
...
Made it impossible to copy layer content to another layer and then use
autofiller on that: https://forum.ddnet.tw/viewtopic.php?f=16&t=6450
This reverts commit df6e3a541f
.
2019-01-11 17:57:37 +01:00
Dennis Felsing
b0709bbe5f
Merge pull request #1426 from ddnet/mouse-editor
...
Hacky mouse editor fix (fixes #1367 )
2019-01-11 12:16:23 +01:00
def
df6e3a541f
Reset brush when changing active layer ( fixes #485 )
2019-01-11 12:15:19 +01:00
def
8c4a26fa63
Fix editor fullscreen mode ( fixes #1303 )
...
By initializing ToolBar
2019-01-11 10:48:23 +01:00
def
9b88d8f418
Hacky mouse editor fix ( fixes #1367 )
2019-01-11 10:02:15 +01:00
Learath2
c601df8b28
Switch around the colors for used/unused envelopes
2018-11-16 14:51:36 +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
def
aab6fa152a
Fix #1357
2018-10-29 22:16:32 +01:00
bors[bot]
1b0b36c6eb
Merge #1316 #1341 #1349
...
1316: code improvement on gameclient.cpp r=def- a=Ryozuki
1341: Mark unused envelopes r=def- a=Learath2
Thought I'd do this one as well while looking at the editor code.
1349: Don't ignore CONNECT packets with data that we don't know r=def- a=heinrich5991
This specifically affects 0.6.5. Just treat them the same way as those
without any data.
Co-authored-by: Ryozuki <edgar@ryobyte.com>
Co-authored-by: Learath <learath2@gmail.com>
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2018-10-29 14:31:27 +00:00
Learath
657e869901
Handle Tile and Sound layers
2018-10-14 16:57:30 +03:00
Learath
cdce9d84ac
Mark unused envelopes. Fix #1139
2018-10-09 13:42:04 +03:00
Bojidar Marinov
c52a3c970e
Add option to automatically run the automapper
...
Also, put automapping config selection seperatelly from the automapper button.
Also, add seed parameter to the automapper.
2018-10-09 12:56:48 +03:00
Learath
4fedd91020
Arrow keys should account for visibility
2018-10-08 19:07:25 +03:00
Learath
ad566aa158
Consider the search text when counting elements
2018-10-08 18:43:39 +03:00
Learath
5c4203b747
Reset scroll when search text changes. Fix #1331
2018-10-08 18:43:37 +03:00
Dennis Felsing
a09fa562be
Merge pull request #1314 from timakro/pr_editor_entities_gametypes
...
Allow choosing game layer entities for different gametypes, closes #1283
2018-10-07 23:02:20 +02:00
Dennis Felsing
fc7b3732e6
Merge pull request #1315 from Learath2/dd_pr_brushsave
...
Implement brush saving. Fix #1111
2018-10-04 10:59:00 +02:00
Dennis Felsing
20b31723c9
Merge pull request #1323 from heinrich5991/pr_ddnet_fix_editor_dontembedvanilla
...
Duh. Fix editor embedding vanilla images and not others
2018-10-03 20:40:48 +02:00
heinrich5991
479dc8ad8f
Duh. Fix editor embedding vanilla images and not others
...
I don't know how I managed to get this wrong.
Fixes #1178 .
2018-10-03 20:34:13 +02:00
Tim Schumacher
ab6f344daa
Fix current selection highlighting
2018-10-02 23:39:22 +02:00
Tim Schumacher
fd52bc7a26
List all game layer entities images in directory
2018-10-02 23:08:17 +02:00
Learath
fef22f34f2
Implement brush saving. Fix #1111
2018-10-02 03:52:01 +02:00
Tim Schumacher
bee694a8cb
Forgot to remove debug
2018-10-01 23:10:46 +02:00
Tim Schumacher
2e36ad67bb
Allow choosing game layer entities for different gametypes, closes #1283
2018-10-01 23:05:36 +02:00
Dennis Felsing
24bd8f2d56
Merge pull request #1312 from timakro/pr_fix_dragging_quads
...
Fix #963 dragging quads
2018-10-01 22:39:15 +02:00
Tim Schumacher
3fd2f60034
Left align editor menu texts like server settings, closes #1215
2018-10-01 21:45:29 +02:00
Tim Schumacher
8da9a5f9f1
Fix #963 dragging quads
2018-10-01 21:12:14 +02:00
Bojidar Marinov
50d53603e1
Add a toggle button for brush coloring
...
In some cases (very dark color, etc.) it is impossible to see the tiles.
2018-09-11 11:35:02 +03:00
bors[bot]
36a243e395
Merge #1251
...
1251: Selecting multiple quads r=def- a=Aerll
- shift+drag to select quads. Selection is additive
- left click on any empty space deselects all quads
- moving, resizing, rotating etc. works for every selected quad
- fixed resizing quads on grid and in properties. Vertices don't land on the same spot
Co-authored-by: Aerll <31746984+aerll@users.noreply.github.com>
2018-08-21 06:31:06 +00:00
Learath
c5d69f9f63
Fix crash with FillSelection
2018-08-19 20:05:42 +03:00
Aerll
520aa7dd0d
naming & eol
2018-08-13 16:46:53 +02:00
Aerll
f79bf5d03b
selecting multiple quads
2018-08-13 11:11:56 +02:00
Bojidar Marinov
80c829681e
Don't copy alpha when coloring the brush
2018-08-09 13:07:49 +03:00
Aerll
a7a8db4dcb
fix crash when deleting layer
2018-08-03 14:14:25 +02:00
bors[bot]
8194274352
Merge #1236
...
1236: Copy tile layer color to brush and picker r=heinrich5991 a=bojidar-bg
![Comparision](https://user-images.githubusercontent.com/5276727/43340641-aaebcfc4-91e5-11e8-9d43-c18aff8cd6fc.png )
Before is on the left, after is on the right.
Co-authored-by: Bojidar Marinov <bojidar.marinov.bg@gmail.com>
2018-07-30 14:25:11 +00:00
bors[bot]
b82930b56a
Merge #1227
...
1227: Allow multiple layers to be selected and edited at the same time. r=heinrich5991 a=bojidar-bg
Resolves #486 .
Please test, I'm still not completely sure it won't crash or mess up a map from time to time.
Co-authored-by: Bojidar Marinov <bojidar.marinov.bg@gmail.com>
2018-07-30 14:12:49 +00:00
Bojidar Marinov
0f6bd99d12
Copy tile layer color to brush and picker
2018-07-27 21:38:36 +03:00
Bojidar Marinov
333572acd4
Polish; disable picker and quad/sounds popup menus in multi-select
2018-07-27 16:54:52 +03:00
heinrich5991
5c4e819e44
Use str_startswith
, str_endswith
instead of ad-hoc implementations
2018-07-26 14:18:23 +02:00
Bojidar Marinov
aa091bb8f7
Allow multiple layers to be selected and edited at the same time.
2018-07-25 23:57:58 +03:00
yangfl
81a39c229b
Fix typo
2018-07-10 17:29:02 +08:00
heinrich5991
c07412b6c8
By default, don't embed vanilla images
...
Previously, when you added an image to the map in the editor, it would
start off as embedded, i.e. included in the map file. This does not make
sense for vanilla images as every client has those.
That's why we now only mark non-vanilla images as external by default.
2018-06-29 23:28:49 +02:00
def
89ca2cfe8b
Allow some key binds in editor when GUI is hidden
2018-06-26 22:51:43 +02: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
def
bd1653a91b
Editor: Fix debug client crash
2018-04-04 21:41:14 +02:00
Jupeyy
c1a962b870
add ui fixes to work with new text renderer
2018-03-13 21:59:07 +01:00
yangfl
1620fc9b0f
Fix typo
2018-02-07 16:10:40 +08:00
def
7b6317a5d6
buffer sizes
2017-09-03 08:53:54 +02:00
def
862e26dd08
Clean up time handling a bit
2017-09-03 08:48:21 +02:00
heinrich5991
22be1be389
Fix and rename the CEditor::ExtractName
function
...
Fixes #846 .
2017-08-30 13:59:42 +02:00
def
7428dd0637
Editor: Don't show server settings when picker is active
2017-07-22 12:18:53 +02:00
def
9a0706f8b1
Support ctrl-l to load map in editor
2017-07-15 18:08:34 +02:00
def
a5bd671e55
Show X and Y coordinates in map editor
2017-07-12 20:25:48 +02:00
def
f3e3d57a90
Always close files, cleaner demo recording, fix some other stuff
2017-07-08 13:39:20 +02:00
necropotame
b8e4e5beea
Fix style in several places
2017-03-22 19:45:14 +01:00
Learath2
09552a6d9f
Get rid of trailing whitespaces
2017-02-21 19:11:43 +03:00