bors[bot]
d9e748ee91
Merge #2888
...
2888: Fix dilate alpha threshold & auto apply dilate on embedded texture in editor r=def- a=Jupeyy
editor dilate can be turned off.
about the threshold:
old:
![Screenshot_20200920_175749](https://user-images.githubusercontent.com/6654924/93716689-8d605b80-fb71-11ea-8049-848c8bd3a7f2.png )
new:
![Screenshot_20200920_175846](https://user-images.githubusercontent.com/6654924/93716692-8e918880-fb71-11ea-8108-9be5378cd932.png )
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2020-09-22 12:38:53 +00:00
Learath
586043fc64
Use fixed point conversion consistently
2020-09-22 15:29:16 +03:00
def
ddb88c6f3b
Editor: Select game layer by default
...
Since it's the most important layer
2020-09-21 19:36:28 +02:00
Jupeyy
0ec7f1e1dc
Fix dilate threshold & automatically apply dilate on embedded textures in the editor
2020-09-21 19:17:38 +02:00
Edgar
9cdaba88dc
fix style
2020-09-20 14:08:27 +02:00
Edgar
ffade19e19
don't show scrollbar if not needed on auto rules
2020-09-20 14:01:28 +02:00
Edgar
2587328aa4
add scrollbar to auto rules list, fixes #2514
2020-09-20 13:52:38 +02:00
Fireball
bb2be60a08
Ask for confirmation before placing border tiles ( fixes #2823 )
2020-09-20 01:42:07 +01:00
Jupeyy
a1eb5dc114
Max images(for editor, clamp for client and warning for mapconvert) ( fixes #2148 )
2020-09-19 21:22:21 +02:00
bors[bot]
21e080596a
Merge #2836 #2841 #2845
...
2836: Only make Esc key leave editor when no popup is open r=Jupeyy a=def-
2841: Fix ingame browser tab change (fixes #2839 ) r=Jupeyy a=def-
2845: Fix spacing in kick-vote menu (center tees and text) r=Learath2 a=def-
Old: ![screenshot-20200917@090205](https://user-images.githubusercontent.com/2335377/93431529-882ab480-f8c4-11ea-8e56-dfe903a5ae06.png )
New: ![screenshot-20200917@090226](https://user-images.githubusercontent.com/2335377/93431538-8cef6880-f8c4-11ea-8946-449e7aa6dea7.png )
Co-authored-by: def <dennis@felsin9.de>
2020-09-17 14:00:09 +00:00
def
433881824a
Only make Esc key leave editor when no popup is open
2020-09-15 21:57:09 +02:00
Jupeyy
dc3580d976
0.7 cursor
2020-09-15 16:18:12 +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
heinrich5991
ffab6292ad
Merge branch 'master' into pr-start
2020-09-11 14:25:50 +02:00
heinrich5991
aa46ca6bf9
Fix some style issues via scripts/fix_style.py, size_t
2020-09-11 00:47:38 +02:00
Jupeyy
3b403f76a9
Fix editor speedup brush
2020-09-11 00:34:43 +02:00
def
2cdc7d0faf
Adapt 0.7 start menu
...
- Working Local Server button (needs fixing for Windows)
- Highlight buttons if server is running, new news is out and editor has
unsaved changes
2020-09-10 20:13:01 +02:00
def
a496583a93
Fix proof circle position in editor
...
As reported by Ravie on Discord. Tee is not drawn exactly in center.
2020-09-04 23:57:21 +02:00
bors[bot]
ca30afdd66
Merge #2710
...
2710: Fix layers right click on item opens menu for previously selected (left clicked) item r=heinrich5991 a=BannZay
```
Im 'corneumToday at 16:55
when i have a layer selected and rightclick on another one to change its properties, it doesnt switch to that layer. that hasnt always been this way and its throwing me off lately
especially because it still opens the menu for the other layer
```
Co-authored-by: Andrii <bannzay3@gmail.com>
2020-09-02 15:59:48 +00:00
Andrii
5ef0270cd2
Fix map details layout
2020-09-02 18:28:28 +03:00
Andrii
e156cd570c
keep layers selection on group right click
2020-09-02 18:11:57 +03:00
Andrii
392f58ae2f
select layer under mouse pointer on right click
2020-09-02 18:11:24 +03:00
bors[bot]
ea7b2671bc
Merge #2691 #2701 #2702 #2705
...
2691: Also check for divisibility by 16 of height (fixes #2687 ) r=heinrich5991 a=def-
2701: Set search field active when opening file dialog in editor r=heinrich5991 a=def-
2702: Remove fallback for Teeworlds' settings.cfg (partially fixes #2698 ) r=heinrich5991 a=def-
2705: Clarify kill and /kill r=heinrich5991 a=def-
Co-authored-by: def <dennis@felsin9.de>
2020-09-01 14:25:09 +00:00
def
c0f8ad50dc
Set search field active when opening file dialog
2020-09-01 09:48:51 +02:00
def
19d9741438
Rename m_aFileDialogActivate to m_FileDialogActivate
2020-09-01 09:48:13 +02:00
def
b718282def
Add warning for editor as well
2020-08-31 15:08:04 +02:00
def
7032249b26
Fix leak when loading map in editor ( fixes #2573 )
2020-08-17 00:09:07 +02:00
def
a8aeaa4cb6
Editor: Fix Left/right arrow keys when editing text
...
as reported by Silex
2020-08-11 12:21:33 +02:00
def
285701695b
Prevent crash by keeping m_SelectedImage/Sound in correct range
2020-08-10 17:41:58 +02:00
def
29332ea72e
Editor: Add ctrl+n for new map, ctrl+a to append map, add hints
2020-08-10 09:28:36 +02:00
def
1ad43a76dd
Editor: Support up/down for images/sounds
2020-08-08 12:22:37 +02:00
def
4c9d03c063
Editor: Left/Right switch between layers/images/sounds
2020-08-08 12:09:15 +02:00
def
c66201dd22
Editor: Get rid of some debugging output
2020-08-08 12:09:03 +02:00
def
8174dfa779
Editor: Support up/down keys to switch layers
...
Also with shift to add layers
As suggested by Lady Saavik
2020-08-08 12:06:17 +02:00
def
02f6e7081a
Right click: Don't remove selection of layers
2020-08-08 10:33:18 +02:00
Fireball
ab9b96ddb2
Backported fix for Text() incorrect parameter type (int -> float)
...
The original fix was done by @oy for 0.7.4.
2020-07-15 20:49:14 +01:00
Fireball
b1c17c3248
Backported fix for TextWidth() parameter mix-up
...
Fixes #2511 (Stack-buffer-overflows in some UIs).
The original fix was done by @oy for 0.7.4.
2020-07-15 20:48:29 +01:00
bors[bot]
de328c1360
Merge #2301
...
2301: map_convert_07: Check image width for divisibility by 16 r=heinrich5991 a=def-
As noticed on Sunny Land.
> [5:31 PM] redix: in theory it should be enough if width and height are divisible by 16
Now running this over our maps and fixing them manually.
Co-authored-by: def <dennis@felsin9.de>
2020-06-23 23:30:34 +00:00
def
6cfc6adc83
Make ctrl-s/ctrl-l etc work everywhere in editor ( fixes #2302 )
...
instead of just in the layers view
2020-06-21 01:44:01 +02:00
def
c99d791f4b
Add warning in editor for image widths
2020-06-21 01:14:36 +02:00
def
cf7dad8125
Get rid of the clamp that breaks most editor value selection
2020-05-30 09:09:01 +02:00
def
6887b0ff3b
Fix image/sound selection in editor
...
Follow-up to https://github.com/ddnet/ddnet/pull/2186
Thanks to Cøke for notifying me
2020-05-28 10:09:29 +02:00
def
fd67259b77
Silence GCC warning
...
src/game/editor/auto_map.h:47:9: warning: ‘*((void*)& NewConf +16)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
I don't think it's an actual problem
2020-05-23 18:11:35 +02:00
Zwelf
32085a091d
Remove unused declaration
2020-05-22 16:38:20 +02:00
Andrii
e78b8ac6d8
fix format issues
2020-05-21 00:44:52 +02:00
Andrii
ed0b15859a
follow naming convention
2020-05-21 00:44:52 +02:00
Andrii
0505a0b577
code formatting
2020-05-21 00:44:52 +02:00
Andrii
ab79036873
Set camera position on LoadCurrentMap
2020-05-21 00:44:52 +02:00
Andrii
e1828b88ab
fix more format failures
2020-05-21 00:44:41 +02:00
Andrii
4f62389eda
follow naming convention
2020-05-21 00:44:41 +02:00
Andrii
1ae3d5e69c
add key binding description to find empty slot button
2020-05-21 00:44:41 +02:00
Andrii
e132fac612
hide Entities popup after item selected
2020-05-21 00:44:41 +02:00
Andrii
df6e7ef454
add condition for animations
2020-05-21 00:44:41 +02:00
Andrii
b24f12cec8
fix previously made mistake
2020-05-21 00:44:41 +02:00
Andrii
29f093841c
add switch empty slot finder button
2020-05-21 00:44:41 +02:00
Andrii
192d118c85
add binding for teleFindEmpty button
2020-05-21 00:44:41 +02:00
Andrii
1c870a3e1b
fix some tele number picker issues
2020-05-21 00:44:41 +02:00
Andrii
1a5f0ed6a2
use shift instead of alt for load current map
2020-05-21 00:44:41 +02:00
Andrii
0f1af41911
add binding for tele/switch/speedup/tune button
2020-05-21 00:44:41 +02:00
Andrii
d3df450715
add more conditions to menu rendering
2020-05-21 00:44:41 +02:00
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
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
Learath
d2498f257c
Stateful editing
2020-02-28 18:25:27 +03:00
Learath
f2103881c8
Add shift by, fix id overlap
2020-02-28 15:33:32 +03:00
Learath
a50e59d4f6
Allow editing colors, add warning
2020-02-27 18:02:36 +03:00
Learath
f679fbfbc5
Allow editing multiple tile layer props
2020-02-27 16:53:12 +03:00
bors[bot]
8ab8834ccb
Merge #2048
...
2048: Display envelope name in popups r=12pm a=Learath2
A dropdown would've worked better, but we don't have one
Co-authored-by: Learath <learath2@gmail.com>
2020-01-23 20:54:49 +00: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
12pm
9dcfcc8f10
Modify envelope index when appending maps
...
fixes #2044
2020-01-23 18:30:55 +01:00
ChillerDragon
949aa124e9
Overkill optimize editor code runs 200 fps faster
2020-01-19 17:48:07 +01:00
12pm
82ac6091eb
Fix rotating rotatable tiles in switch layer
2020-01-17 18:22:41 +01:00
Corantin H
a73525361b
Fix del key removing commands while in editbox
2020-01-16 15:01:45 +01:00
ChillerDragon
928e5407eb
Style 'void foo() {' -> 'void foo()\n{'
2019-12-21 14:35:09 +01:00
Aerll
9f4721b74b
Fix: automapper skips tiles when it shouldn't
...
In case of something like: INDEX 0 OR 1 all tiles need to be automapped.
2019-12-05 15:28:35 +01:00
bors[bot]
33d88f647c
Merge #1974
...
1974: more typesafty in the graphics. introduced the IGraphics::CTextureHandle r=def- a=ChillerDragon
Edited by @ChillerDragon to fit in ddnet
(cherry picked from commit cb95e8dfe8
)
Co-authored-by: Magnus Auvinen <magnus.auvinen@gmail.com>
2019-11-27 17:55:45 +00:00
bors[bot]
d589f266dc
Merge #1973
...
1973: Rename rifle to laser r=def- a=ChillerDragon
This makes it easier to copy code from/to 0.7
23df3c609e
For the user only the rcon command to give/remove ``laser``/``unlaser`` changes.
Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2019-11-27 17:36:03 +00: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
ChillerDragon
96c9b1ab73
Rename rifle to laser
...
This makes it easier to copy code from/to 0.7
23df3c609e
2019-11-22 15:37:18 +01:00
ChillerDragon
227a223c32
Fix a few names in popups
2019-11-22 12:28:34 +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
Learath
918003911c
Fix bug handling speedup brushes
2019-09-20 21:52:28 +03:00
heinrich5991
1e2b8a4a3e
Replace str_comp_num
with str_startswith
2019-07-31 21:20:03 +02:00
12pm
5f7a09dfe3
Correctly embed replacing images
2019-07-17 03:00:09 +02:00
ChillerDragon
6172a9dca0
Use the float type explicitly
2019-07-08 23:08:42 +02:00
heinrich5991
b90dd43118
Fix -Wdeprecated-copy from GCC9
2019-06-26 11:53:39 +02:00
fokkonaut
18e704017c
Add missing letter to explanations
2019-06-02 18:01:28 +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
12pm
3f76e17830
Fix FillSelection with no selected brush
...
As reported by BannZay on Discord
2019-04-30 14:24:13 +02: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
trml
0b3f3b03b5
Rewrite of prediction code, with additional prediction
2019-04-21 16:12:20 +02:00
12pm
7901cc26ad
More reasonable layer size limits
2019-04-17 21:48:23 +02:00
12pm
50236ca45c
Add editor copy & paste
2019-04-17 21:47:52 +02:00
def
9f3df78cae
Fix typo
2019-04-16 20:37:12 +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
bors[bot]
826a7781ae
Merge #1621
...
1621: Actually enable -Wuseless-cast r=heinrich5991 a=def-
It's not supported in C and we only checked using a C compiler.
Co-authored-by: Dennis Felsing <dennis@felsin9.de>
2019-04-12 00:08:19 +00:00
12pm
a1dd2e45a5
Fix non destructive drawing with hookthrough shortcut
...
Fixes #1623
2019-04-11 21:43:22 +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
11127f9344
Release fixes
2019-04-10 17:57:56 +02:00
Dennis Felsing
2d69935a6b
Add explanations for TILE_THROUGH_CUT/ALL/DIR
2019-04-10 15:48:23 +02:00
Dennis Felsing
bdb579330d
Improve game tile explanations a bit
...
As suggested by Bojidar and jao
2019-04-09 14:23:40 +02:00
def
05fe69751d
Add jao's explanations for telegun
2019-04-08 22:36:47 +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
bors[bot]
5c919b6aab
Merge #1549
...
1549: Allow editing texture UV offsets in Quad properties r=def- a=bojidar-bg
Partial manual cherrypick of de82ad7a26
.
Co-authored-by: Bojidar Marinov <bojidar.marinov.bg@gmail.com>
2019-03-29 13:11:18 +00:00
Bojidar Marinov
6ca6fce0b2
Allow editing texture UV offsets in Quad properties.
...
Manual cherrypick of de82ad7a26
, original code by @cinaera
2019-03-29 13:38:21 +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
bors[bot]
958778b441
Merge #1531
...
1531: Don't rotate static game tiles and fix switch rotation r=def- a=12pm
Should be handy for mapping.
Can be disabled by activating unused tiles (don't think it's worth a separate toggle and if you want to do it, you're doing something unusal)
Co-authored-by: 12pm <30786226+12pm@users.noreply.github.com>
2019-03-24 19:43:27 +00: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
12pm
dff702bd2c
Don't rotate static game tiles and fix switch rotation
...
Should be handy for mapping.
Can be disabled by activating unused tiles (don't think it's worth a separate toggle and if you want to do it, you're doing something unusal)
2019-03-23 01:11:32 +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
bors[bot]
6a791fe8de
Merge #1486
...
1486: Fit image name in select button r=def- a=12pm
Adjusts font size a bit and truncates text if it overflows
Co-authored-by: 12pm <30786226+12pm@users.noreply.github.com>
2019-03-12 20:12:09 +00: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
def
6f9cfd5af1
Increase MAX_PATH_LENGTH to support our own downloadedmaps names
2019-03-12 18:43:03 +01:00
Dennis Felsing
984df7f49d
Merge pull request #1481 from 12pm/game-tiles
...
Add auto game tiles to all possible layers, increase layer size if needed
2019-03-12 16:54:04 +01:00
12pm
7c227c563d
Add auto game tiles to all possible layers, increase layer size if needed
2019-03-12 02:35:29 +01:00
Dennis Felsing
f0cce859ef
Merge pull request #1476 from ddnet/remove-save
...
Remove save group/layer button (fixes #1475 )
2019-03-11 22:58:40 +01:00
Dennis Felsing
40591c2f8b
Remove save group/layer button ( fixes #1475 )
2019-03-11 22:58:18 +01:00
Bojidar Marinov
e944817472
Fix automapper not removing the Opaque flag before checking if flags match
2019-03-11 14:35:24 +02: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
12pm
2daafdaad5
Disable unused tiles only for DDNet entities
2019-02-08 04:04:41 +01: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
def
16f6e23aaa
Nicer fix for crash
2019-01-10 15:44:04 +01:00
def
1c85c962ef
Fix automap crash (reported in #1425 )
2019-01-10 15:38:04 +01:00
Dennis Felsing
f82ab4cb21
Fix editor crash (reported in #1425 )
2019-01-09 08:38:49 +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
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
Learath
abd49ddbf7
Restore old behaviour to be safe :(
2018-10-30 18:56:46 +01:00
Learath
0ecda0ced4
Fix crash introduced by 1e2dce0
. Close #1362
2018-10-30 18:13:32 +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
823e4ee0f3
Save automapper config as external-typed mapitem
2018-10-09 13:17:05 +03:00
Bojidar Marinov
351fee2666
Optimize automatic automap to automap only around changes.
...
Should work, no flaws found when testing with grass_main
2018-10-09 12:56:48 +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
1e2dce06ae
Fix crash when filling selection on tele/switch/speedup layers
2018-09-26 15:53:25 +03: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
Aerll
9951b2a187
optimize automapper a bit
2018-08-11 03:01:25 +02:00
bors[bot]
22ff46e204
Merge #1245
...
1245: Fix automapper bug r=def- a=Aerll
There is some weird bug caused by my last changes, looks like automapper is working only fine for tiles without rotation.
![unknown](https://user-images.githubusercontent.com/31746984/43928232-73d9e8f4-9c30-11e8-802f-e4d239fdf8d4.png )
![unknown2](https://user-images.githubusercontent.com/31746984/43928244-793a25d4-9c30-11e8-9c37-e1fc5c3fd39b.png )
I'm not really sure why it doesn't work with -1, so I did some workaround.
Co-authored-by: Aerll <31746984+aerll@users.noreply.github.com>
2018-08-10 08:17:37 +00:00
Aerll
abc55396d0
fix flag test bug
2018-08-09 23:45:04 +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
Dennis Felsing
409abf1b90
Simplify code a bit
2018-07-27 07:51:16 +02:00
Dennis Felsing
4f18d7f9b8
Merge pull request #1213 from Aerll/automapper
...
Add 2 new commands for automapper
2018-07-27 07:49:04 +02:00
Aerll
292f0a2b09
no need for all pos rule tests
2018-07-27 00:23:53 +02:00
Aerll
52fbade30c
remove unnecessary tiles overwriting
2018-07-26 22:58:05 +02:00
Aerll
56a5ee6d1b
formatting..
2018-07-26 18:59:29 +02:00
Aerll
2e7a0be516
wrong naming for pointer
2018-07-26 18:26:12 +02:00
Aerll
3c07a2b35b
fixes #1213
2018-07-26 14:49:43 +02:00
heinrich5991
5c4e819e44
Use str_startswith
, str_endswith
instead of ad-hoc implementations
2018-07-26 14:18:23 +02:00
Tim Schumacher
1e3b8c7db5
Fix automapper crash without [section] line
2018-07-26 01:21:20 +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
Aerll
d235036f7d
Merge branch 'master' into automapper
2018-07-25 00:25:30 +02:00
Bojidar Marinov
a635d4a121
Allow entering automapper rule probability as percentage
...
Fixes #837
2018-07-24 21:44:33 +03:00
Aerll
d5572dcb23
add 2 new commands to automapper
2018-07-19 17:09:29 +02: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
def
6793acafc4
Allow longer server settings in editor
2018-04-27 21:36:29 +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
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
heinrich5991
33315452c3
Merge branch 'master' into leak_fix
2017-07-31 20:42:32 +02:00
def
7428dd0637
Editor: Don't show server settings when picker is active
2017-07-22 12:18:53 +02:00
HMH
476d57c5c5
Also cleanup CEditorMap on destruction
2017-07-21 20:02:46 +02:00
def
4b4f9992d4
Fix disappearing switches in editor
2017-07-15 18:11:01 +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
46cedf3a8c
Compiler warnings
2017-07-09 10:27:58 +02:00
def
f3e3d57a90
Always close files, cleaner demo recording, fix some other stuff
2017-07-08 13:39:20 +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
necropotame
b8e4e5beea
Fix style in several places
2017-03-22 19:45:14 +01: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
Learath2
09552a6d9f
Get rid of trailing whitespaces
2017-02-21 19:11:43 +03:00
BannZay
c6e7ad5e45
map details button name fix
2016-11-27 20:55:05 +02:00
BannZay
6f99d05ef6
Merge remote-tracking branch 'upstream/master' into openCurrentMap
2016-08-23 14:40:13 +03:00
BannZay
c658411f15
Load Current Map button added
2016-08-23 14:29:53 +03:00
Dennis Felsing
d3f04a9470
Remove accidental code
2016-08-23 12:42:01 +02:00
def
c91ef1ea81
str_append instead of strcat
2016-08-21 21:14:41 +02:00
BannZay
52d8efdfde
editor searchBar added
2016-08-21 03:06:01 +03:00
def
c308c348cb
Merge branch 'Display tee position in editor proof'
2016-08-03 00:11:10 +02:00
def
af250dd74e
Fix colors in tele number selection
2016-07-26 20:28:30 +02:00
Tim Schumacher
a99a9fecfc
Display tee position in editor proof
2016-07-18 08:55:35 +02:00
Andrew
e6eb607cc8
PROPTYPE_ANGLE_SCROLL mixed
2016-06-02 17:53:52 +03:00
Andrew
a624db90b4
editeable proptype_int_step
2016-06-02 14:50:06 +03:00
def
3d3827a57d
Don't render brush when picker is shown
2016-05-22 02:01:22 +02:00
def
668b0b887d
Clean up modifier button
2016-05-22 01:43:33 +02:00
Andrew
adab934c99
Switcher,speeduper,tuner,teleporter mixed to one button
2016-05-15 18:17:57 +03:00
def
d2f5714042
Sort file names case-insensitively
2016-05-15 00:06:32 +02:00
def
475df14134
Fix editor popups a bit
2016-05-14 15:16:52 +02:00
def
ff747953b4
Make envelopes unsynchronized by default and explain the setting better ( fixes #479 )
2016-05-14 00:42:40 +02:00
def
03a48dd09f
Add code to remove unused tiles on game and front layers (commented out)
2016-05-11 12:13:54 +02:00
Dennis Felsing
bc907f319d
Merge pull request #467 from timakro/master
...
rename some auto game tile placers
2016-05-05 18:59:53 +02:00
Tim Schumacher
78f8c9978d
fix editor gametiles automapper overlap
2016-05-05 18:40:38 +02:00
Tim Schumacher
afd0e5a3eb
rename some auto game tile placers
2016-05-05 18:23:04 +02:00
gamertyp
b479dd412c
Removed a tab
2016-05-04 23:37:02 +02:00
gamertyp
e9378973de
Re-ordered the Gametiles-menu
2016-05-04 22:33:10 +02:00
gamertyp
7a3f96431a
Re-ordered the Gametiles-menu
2016-05-04 22:30:16 +02:00
Tim Schumacher
aeea3777a3
show button to mapper when placing unused tiles
2016-05-01 18:12:20 +02:00
Tim Schumacher
e61456f381
added auto game tile placer for hookthrough
2016-05-01 17:44:02 +02:00
Dennis Felsing
bd40eec54f
Merge pull request #446 from timakro/pr_improve_hookthrough_shortcut
...
hookthrough shortcut now works for game and front
2016-05-01 10:13:33 +02:00
Tim Schumacher
01024252b5
fix editor buttons for 5:4 resolutions
2016-05-01 02:34:06 +02:00
Tim Schumacher
04887e44f8
remove useless function
2016-05-01 01:54:37 +02:00
Tim Schumacher
70ffbbbbf9
hookthrough shortcut now works for game and front
2016-05-01 01:47:29 +02:00
def
4761608329
Input fixes from TW master for mouse wheel
2016-04-30 20:11:26 +02:00
def
644fec7e55
Resize window without restarting client
2016-04-30 17:59:58 +02:00
Dennis Felsing
09284c3ba9
Merge pull request #434 from timakro/pr_prevent_unused_tiles
...
Prevent placing unused tiles in the editor
2016-04-29 22:36:35 +02:00
def
db8a126315
Merge swick's SDL2 branch
2016-04-29 21:55:48 +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
618dc9a6b0
Alert if layer size too big in editor (thanks to Lady Saavik, fixes #404 )
2016-04-27 17:49:14 +02:00
Tim Schumacher
ef94797c02
forbid placing hookthrough shortcut in front layer
2016-02-09 17:02:14 +01:00
timgame
ba60cf509a
use index 5 for a shortcut hookthrough tile
2015-11-15 00:00:43 +01:00
H-M-H
930dd8f2ad
set colors to 1.000 instead of 0.001 for new colorenvelopes
2015-09-18 23:47:07 +02:00
H-M-H
e6cf2241b2
fixed Envelopes-Bug see here: http://forum.ddnet.tw/viewtopic.php ?
...
f=5&t=2277
2015-09-18 21:05:44 +02:00
def
aa4bbed178
Hopefully fix editor crash with RGB (no transparency) images
2015-09-18 17:15:30 +02:00
def
7487923774
Fix Windows thread handle leak
2015-09-05 04:49:22 +02:00
def
2b1aa40d77
Fix editor color value to be shown with # instead of 0x
2015-08-28 20:28:53 +02:00
def
e39fb6b535
Very ugly fix for color picker in editor
2015-08-28 01:28:09 +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
heinrich5991
db696c0e78
Fix the 54e61bfe39
cherry-pick, re-add missing line
2015-08-27 12:55:34 +02:00
SushiTee
c025dc2235
saving server settings within the map and loading them on init
2015-08-27 12:51:24 +02:00
SushiTee
7bd0f276d4
saving server settings within the map and loading them on init
2015-08-27 12:51:24 +02:00
def
fabe25dd45
Switches can be set with number 0 (even if they don't make much sense, fixes #265 )
2015-08-22 20:41:46 +02:00
def
b5aca60662
Fix mouse hang with editor popup, value selector and escape ( fixes #290 )
2015-08-22 20:22:23 +02:00
def
eac3d900e7
Remove unused variable
2015-08-22 17:50:34 +02:00
def
db2256e827
Fix a few whitespace-at-end-of-file issues
2015-08-22 15:27:41 +02:00
BeaR
ff3c4f22b4
Add hex value edit field for quad point color
2015-08-20 12:51:30 +02:00
BeaR
6b0d2b9b9a
Fix hue picker scaling
2015-08-17 20:19:27 +02:00
BeaR
a4cfc10898
Implement an HSV picker for color of quad points
2015-08-17 20:14:23 +02:00
def
d5100cdee5
Add ctrl+shift+s for "save as" and ctrl+shift+alt+s for "save copy"
2015-07-26 12:05:45 +02:00
def
ce1d615041
Add "Save copy" button so that filename is not changed
2015-07-26 12:05:14 +02:00
def
f349818f9d
Only save once (hope this doesn't cause any problems)
2015-07-26 12:04:43 +02:00
Dennis Felsing
50a6c30e46
Merge pull request #241 from timgame/DDRace64
...
fixed envelope button color
2015-07-25 00:07:33 +02:00
timgame
6264bb73f3
fixed envelope button color
2015-07-25 00:04:12 +02:00
def
5527870d0a
Revert bruch clearing
2015-07-23 00:43:09 +02:00
Chairn
ea52c68d2c
Zooming will work as in game for editor using numpad.
2015-07-23 00:10:55 +02:00
def
f5ff75a19a
Fix Speedup angle selector
2015-07-15 02:34:50 +02:00
timgame
929919d44b
improved grass_main/0.7 automapper by hi_leute_gll
2015-07-09 19:17:46 +02:00
def
6e8ada1ac8
Fix whitespaces a bit
2015-07-09 02:12:35 +02:00
def
f5d31b595c
Editor: Scroll Speedup angles by 45° (finer with shift)
2015-07-08 13:55:02 +02:00
def
5f6752d238
Show degrees sign in value selector
2015-07-08 13:38:21 +02:00
def
2d5df86443
Add time.h include for editor to fix windows compilation
2015-07-01 17:17:48 +02:00
def
d11f1b0b38
Display local time in editor so that mappers don't lose track of it
2015-07-01 16:38:17 +02:00
def
d846583ba7
Make a few value selectors in editor wrap around
2015-06-28 16:17:23 +02:00
def
8e8283e9cf
Highlight game layers in editor
2015-06-28 15:02:48 +02:00
def
cc5ac820fd
Editor: Ctrl-s doesn't ask about overwriting anymore
2015-06-21 13:02:07 +02:00
def
d96ff538d3
Allow setting freeze number on switch layer in editor
2015-05-31 18:25:00 +02:00
def
aeda4bc6f1
At least reduce the chance of mouse lockups and make them recoverable
2015-05-31 17:34:38 +02:00
def
aaaf0cdaeb
Don't create too many popups
2015-05-31 17:34:01 +02:00
def
f02143e00b
Go back in layer/images/sound selection in editor with right mouse click
2015-04-27 13:43:02 +02:00
def
b5d722672a
On switch layer fix delay number with FillSelection when creating new tiles instead of copying
2015-04-21 04:57:20 +02:00
def
cb64bc6859
Move "Add Sound" button down for 5:4 resolutions
2015-04-21 04:34:14 +02:00
def
c85865c492
Go back in envelopes with right mouse click
2015-04-21 04:25:49 +02:00
def
6d54de89b6
Get rid of clang static analyzer warnings
2015-04-19 00:31:45 +02:00
def
554c865eeb
Fix segfault in editor
2015-04-17 20:14:14 +02:00
def
ef994b87a1
Fix: rendering of images in editor when scrolling
2015-04-08 01:15:52 +02:00
def
3992b1346b
Hopefully fix compilation on new OS X systems
...
Names collided with some new OS X defined names, fixes #189
2015-04-07 19:07:38 +02:00
H-M-H
b97954f635
allow to exit editor valueselectors with mouseclicks
2015-04-07 17:08:01 +02:00
H-M-H
76481a139a
fixed issue with wrongly displayed text in editor
2015-04-07 16:43:51 +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
H-M-H
5e4d504c80
improved envelopeswitching and deleting
2015-03-30 13:06:05 +02:00
def
34f69f0bfd
Cleanup
2015-03-30 11:44:32 +02:00
H-M-H
32606f3822
added labels and improved/fixed few things
2015-03-30 05:27:33 +02:00
H-M-H
c98d8e3a63
added textinput for envelopes
2015-03-30 05:06:08 +02:00
H-M-H
68db1c1113
added option to type text into valueselector
2015-03-30 03:20:35 +02:00
def
c7617b06d2
Resize font in editor to show full image and sound name
2015-03-29 01:32:07 +01:00
def
91756cc529
Merge branch 'DDRace64' of github.com:def-/ddnet into DDRace64
2015-03-10 22:57:52 +01:00
def
05970cc2e2
Add BONUS tile, opposite of PENALTY (for Saavik's new map)
2015-03-10 22:57:40 +01:00
timgame
6188b16e5e
added tile -1 and updated grass automappers
2015-03-04 16:03:52 +01:00
timgame
d2e1137254
automapper: added 'NewRun'
2015-02-20 00:15:09 +01:00
timgame
758c4b1c4d
added 'NOINDEX' and 'OR' to automapper
2015-02-19 22:54:47 +01:00
def
4c2f83714d
Fix typo
2014-12-24 01:40:21 +01:00
def
7f0b1dd35f
Another color change
2014-12-23 16:00:59 +01:00
def
cc7abaef1f
Another color change in editor selections
2014-12-23 15:38:59 +01:00
def
3e410bbd34
Add detection whether an image and sound has to be embedded and redesign colors
2014-12-15 18:59:21 +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
def
158ba846fa
Merge branch 'DDRace64' of github.com:def-/ddnet into DDRace64
2014-12-01 20:35:52 +01:00
def
49f6f2dff2
Fix some editor popup
2014-12-01 20:35:30 +01:00
Dennis Felsing
598c6c9968
Merge pull request #111 from cinaera/pr_pan
...
Add option to enable/disable panning per voice
2014-11-30 13:26:01 +01:00
BeaR
186de4e08e
Add option to enable/disable panning per voice
2014-11-30 12:23:05 +01:00
BeaR
5f4067c483
Check array boundary for shape type
2014-11-30 11:33:44 +01:00
BeaR
98d42adf9d
Implement sound logic for shaped sounds, fix rectangle height property in editor and submit voice shape information to audio interface
2014-11-29 14:29:40 +01:00
BeaR
485aa4ce54
Add editor properties for rectangle shaped sources and visualize falloff distance
2014-11-29 13:20:04 +01:00
BeaR
fbcd560eb0
Working on adding editor UI support for sound shapes
2014-11-28 20:25:43 +01:00
BeaR
a045a20fba
Render sound shapes
2014-11-28 20:01:25 +01:00
BeaR
9996751161
Remove deprecated falloff distance
2014-11-28 19:21:59 +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
913d5ac226
Fix editor in Images & Sounds views when GUI is deactivated (Reported by Welf)
2014-11-19 21:58:25 +01:00
BeaR
c3689658b4
Fix editor sound replacing
2014-11-09 14:58:28 +01:00
def
0b1118938d
Don't try to load preview images of directories
2014-10-28 22:54:24 +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
3d9b232157
Minor Sound cleanup
2014-10-25 01:07:24 +02:00
def
12102a14a6
Fix sound and image loading
2014-10-24 23:03:16 +02:00
def
61b704dac3
Cleanup
2014-10-24 22:15:55 +02:00
def
73567c898e
Cleanup
2014-10-24 22:13:46 +02:00
def
a0bfc5a083
Add shift + right click to delete a quad (Suggestion by Welf)
2014-10-23 15:55:50 +02:00
BeaR
1e42136f5d
Fix wrong memory allocation and sound selection
2014-10-23 12:19:26 +02:00
Dennis Felsing
792a891dfa
Merge pull request #71 from cinaera/pr_speaker
...
Add editor icon for audio source
2014-10-21 12:15:18 +02:00
BeaR
09f8630b68
Add editor icon for audio source
2014-10-21 12:07:09 +02:00
timgame
62ca346122
Merge branch 'DDRace64' of https://github.com/def-/ddnet into DDRace64
2014-10-21 00:06:57 +02:00
timgame
beb125da36
remove basetile
2014-10-20 23:55:55 +02:00
def
d213a30bed
Change new to mem_alloc (thanks BeaR)
2014-10-19 14:09:23 +02:00
def
0b2bf15c35
Clean up compiler warnings
2014-10-19 13:19:36 +02:00
BeaR
b67fab8fdb
Fix parallax scrolling for audio sources and remove global property
2014-10-18 18:41:58 +02:00
BeaR
920ac531aa
Add support for position envelopes to sound sources
2014-10-18 18:41:55 +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
655c2466b9
Start adding a sound envelope
2014-10-18 18:41:54 +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
dd35d2be84
Add editor support for editing sound source properties
2014-10-18 18:41:52 +02:00
BeaR
39f93716e0
Support replaying mapsounds
2014-10-18 18:41:52 +02:00
BeaR
2e36bd9906
Add missing file
2014-10-18 18:41:51 +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
BeaR
d968b42f2f
Add support for sound layers
2014-10-18 18:41:51 +02:00
BeaR
30989566bb
Correctly load sound in the editor on add
2014-10-18 18:41:50 +02:00
BeaR
90975fbe9e
Start adding UI for loading sounds in the editor
2014-10-18 18:41:50 +02:00
BeaR
1f4430f3d0
Editor: Add feature to zoom to mouse position
2014-10-07 20:07:46 +02:00
BeaR
fa83e5b340
Editor: Scale quad point selection indicator with zoomlevel
2014-10-07 14:49:45 +02:00
def
85c953d25b
Consistently allow rotations and flipping in editor
2014-10-01 18:55:53 +02:00
def
6cecffe67c
Fix editor input on Android
2014-09-29 13:13:56 +02:00
def
31b049533c
3 more keys to be disabled on text input
2014-09-27 11:06:55 +02:00
def
01f2b6ea02
Fix buggy envelope editor while tile picker is active
2014-09-27 11:04:09 +02:00
Dennis Felsing
912c4fae5c
Merge pull request #49 from timgame/DDRace64
...
automapper supports rotation (and changed "CheckEmptyTiles" to "NoDefaultRule")
2014-09-27 11:02:42 +02:00
def
b94981019b
Disable key inputs in editor when typing in a field
2014-09-27 11:01:58 +02:00
timgame
20aaa37cb9
automapper supports rotation
2014-09-27 10:11:28 +02:00
def
2c610053c1
Fix: Selecting quads works after having rotated one
2014-09-22 22:25:05 +02:00
timgame
8dc728de96
added option to automap tiles with index 0
2014-09-20 20:57:29 +02:00
timgame
442f88bd2b
automapper works without basetile
2014-09-15 14:45:37 +02:00
def
6ab4c566e9
Add a small close button in editor for people who happen to accidentally click on the Editor symbol in menu, but are unable to find File -> Exit
2014-09-12 23:07:47 +02:00
def
51c508192a
Negative clipping width and height make no sense
2014-08-31 15:24:19 +02:00
def
3edd1bb53f
Fix client crash when holding space and adding a group in editor
2014-08-24 13:38:46 +02:00
def
b4b1f4d1a8
fix tileset selection
2014-08-22 15:40:23 +02:00
def
a5ec9e3240
Show current quad when pressing space in editor
2014-08-21 00:56:35 +02:00
def
6e7594c22a
Keys still work in editor with TAB pressed
2014-08-21 00:21:18 +02:00
def
9d8357b5ca
Don't show proof lines in editor when space is pressed
2014-08-21 00:05:44 +02:00
def
5e45e50d74
Add color for used images in editor (for Saavik)
2014-07-10 05:20:40 +02:00
def
de3a786917
Fix: Shifting front layer works
2014-06-13 00:59:00 +02:00
def
e3b94ead93
Editor: Show all images to choose from, no matter how many
2014-06-12 01:09:02 +02:00
def
11f6ac6f38
Fix: Always allow adding more images
2014-06-12 00:36:26 +02:00
def
0701f67810
Fix: Proper menu size in editor
2014-06-03 23:56:00 +02:00
def
58de05ffdb
Fix: Actually remove old tiles after moving
2014-06-01 13:16:25 +02:00
def
6adb99608e
Editor feature: Add possibility to set how far to shift layer
2014-06-01 01:32:54 +02:00
def
6fe6db8954
Implement horizontal and vertical flipping for quad brushes
2014-05-17 17:47:47 +02:00
def
0a49301eea
New editor feature: Show if tele and switch numbers are used already
2014-05-17 17:19:48 +02:00
def
da9e9d4069
Fix: Info with Grid and animations works (Thanks Obst)
2014-05-13 22:33:37 +02:00
def
0bceef9903
Make larger image selection popups show fully on screen (Thanks to Obst)
2014-05-12 10:41:41 +02:00
def
15ecbb71d1
fixed compiling using visual studio 2013 by renaming the round function
2014-04-22 23:46:55 +02:00
def
f2dccafd4e
Preview when loading PNGs in editor
2014-03-28 22:47:57 +01:00
def
c98ad5bf22
Merge branch 'new' into DDRace64
...
Conflicts:
src/game/editor/layer_tiles.cpp
2014-03-23 23:18:43 +01:00
def
ecb3422280
Fix degrees (°)
2014-03-23 17:42:00 +01:00
HMH
d301010a95
Made texture rendering for layers less resourceintensive
2014-03-23 17:10:49 +01:00
HMH
655546c4d3
added creating button for tunelayer and a popup menu for TuneZone Numbers
2014-03-23 17:10:48 +01:00
HMH
c7e52211d7
merged tunelayer: added Buttons, put an Image for the tunelayer took over most code from other layers and adapted for tunelayer
2014-03-23 17:10:48 +01:00
HMH
8f6d76a27e
added saving/loading code for tunelayer
2014-03-23 17:10:48 +01:00
HMH
12ac06f1f2
added functions for editing Tunelayer (mostly copied from other layers); put Snap(&Rect) into all Fillselection-functions (fix) and made if(Empty) more precise (fix); merged tunelayer into other functions
2014-03-23 17:10:48 +01:00
HMH
c84eaea33d
declared functions needed for new tunelayer in CLayerTune for editor, kinda just copied from the other layers
2014-03-23 17:10:48 +01:00
def
66d3595b44
Minor editor fixes by HMH
2014-03-19 10:26:38 +01:00
def
f765cc577b
Fix: Working Checktele-auto-setting
2014-02-15 01:19:38 +01:00
def
5e2381f746
Remove duplicated Delete button in editor
2014-02-14 20:54:42 +01:00
def
24c5dc3c6a
Make editor undo optional because of too many bug reports
2014-02-13 22:27:11 +01:00
def
92ba863ff0
Automatic conversion of tiles to checkpoint teleports
2014-02-12 21:44:05 +01:00
def
9ae59a1923
Fix: Don't delete all files in editor directory but only files starting with undo_
2014-02-11 19:51:38 +01:00
def
42ed2807cb
Add penalty tile
2014-02-09 23:31:29 +01:00
def
391232017a
Add evil checkpoint teleports
2014-02-01 22:20:41 +01:00
def
e074c52d4b
Crude way of preventing crashes with editor undo
2014-01-26 21:50:30 +01:00
def
4f6e2eb11f
Only reload map afer saving in editor if we're on localhost
2014-01-24 03:41:30 +01:00
def
a031ec343a
Editor Undo: Fix some issues
2014-01-19 18:06:56 +01:00
def
d092b8007d
Add editor undo function (by MAP94)
2014-01-19 04:02:01 +01:00
def
8d2828ed6f
Fix: Always render editor quads
2014-01-11 22:57:23 +01:00
def
e8fd827b6d
Fix crash in editor
2014-01-11 21:23:19 +01:00
def
3e21d31961
Compile errors
2014-01-11 00:54:52 +01:00
def
4a3f75884e
Hopefully fix bug with some malformed maps that can make the client crash
2014-01-11 00:52:23 +01:00
def
80b33220bf
Fix automapper
2013-12-28 13:59:14 +01:00
def
104939b407
More flexible auto mapping
2013-12-28 01:09:47 +01:00
def
da60fb4dc1
Auto mapper: Support 2 flips
2013-12-27 18:32:58 +01:00
def
3eaad43b6b
Merge remote-tracking branch 'upstream-teeworlds/0.6' into DDRace
...
Conflicts:
bam.lua
data/languages/index.txt
src/engine/server/server.cpp
src/engine/shared/network_server.cpp
src/game/client/components/chat.cpp
src/game/client/components/menus_settings.cpp
src/game/server/entities/character.cpp
src/game/server/gamecontext.cpp
src/game/version.h
2013-12-26 18:02:22 +01:00
def
6da8d2146c
New mapping entity: Specify number of jumps
2013-08-24 01:03:45 +02:00
def
bf518df74d
New teleport entities
2013-08-13 04:59:25 +02:00
m!nus
ee9a8ce4b7
prevent map editor from crashing if loaded map is invalid
2013-05-26 10:58:03 +02:00
oy
f0e09f50d9
improved chat msg spam protection
2013-04-01 20:30:58 +02:00
oy
0e92dd5603
fixed some merge problems
2013-02-24 18:55:55 +01:00
oy
8b4026cbbf
fixed last commit
...
Conflicts:
src/game/editor/editor.cpp
src/game/editor/editor.h
2013-02-24 18:26:49 +01:00
BeaR
d58afefaae
Some graphic batching:
...
Speed up for displaying debugtext and envelopepreview
(This reduces the performance hit especially for the 'Show Info' mode in the editor)
Conflicts:
src/engine/client/client.cpp
src/game/editor/editor.cpp
src/game/editor/editor.h
2013-02-24 18:23:06 +01:00
BeaR
dfd15bc899
Fix Renderingbug:
...
If u change the alpha value inside a colorenvelope, the tileset-/quad-rendering is messed sometimes
http://i.solidfiles.net/580a9699c4.png (map: run_exchange by delo)
2013-02-24 18:01:01 +01:00
Magnus Auvinen
1711be955b
fixed all the errors that the clang static analayzer found
2013-02-24 17:58:34 +01:00
oy
4fb57dea91
fixed editor crash on replacing images. Closes #981
2013-02-24 17:44:45 +01:00
oy
ff75c3ba2d
fixed some memory leaks in the map editor
2013-02-24 17:41:15 +01:00
GreYFoX
cd4ba53bae
Merge branch 'master' of git://github.com/teeworlds/teeworlds into DDRace
...
Conflicts:
bam.lua
scripts/build.py
scripts/make_release.py
src/engine/server.h
src/game/client/gameclient.cpp
src/game/server/gamecontext.cpp
src/game/server/gamecontext.h
src/game/server/gamecontroller.cpp
src/game/server/gamecontroller.h
src/game/server/player.cpp
src/game/version.h
2012-04-12 02:09:31 +02:00
SushiTee
f737910e0a
fixed FillSelection so it actually fills the current selection
2012-01-12 22:03:55 +01:00
SushiTee
65f4416164
added map info
2012-01-10 23:14:24 +01:00
oy
a9db705c14
fixed that refocus is done when using Home-key in a editor edit box. Closes #821
2012-01-08 13:36:47 +01:00
oy
f8b895181a
show animation/grid/zoom level in the map editor. Closes #780
2012-01-08 13:16:19 +01:00
oy
bafd22ebe7
show path in the editor file dialog. Closes #786
2012-01-08 13:14:02 +01:00
oy
be37147342
fixed border rendering in the editor's image preview. Closes #908
2012-01-08 01:47:53 +01:00
oy
58f5779508
- disabled clipping lines in the tile picker
...
- fixed aspect ratio of the image in the tile picker
Closes #833
2012-01-08 01:14:52 +01:00
GreYFoX
1446d0980b
Merge branch 'master' of git://github.com/oy/teeworlds into DDRace
...
* Version 1.098a
Conflicts:
bam.lua
src/game/client/gameclient.h
src/game/mapitems.h
2011-12-05 11:32:01 +02:00
Choupom
1efb494169
fixed #791 Ability to disable the magnetic behaviour of the grid
2011-12-04 22:44:06 +01:00
oy
9a03989e84
added "Make an option for each envelope: (a) synchronized (b) starting at join" by Choupom
2011-12-04 14:39:47 +01:00
GreYFoX
5ebf60891c
Merge branch 'master' of git://github.com/oy/teeworlds into DDRace
2011-12-01 19:48:09 +02:00
oy
e858c9396b
renamed a variable
2011-11-29 22:15:27 +01:00
SushiTee
c22b6c4b4f
fixed selecting of quad points
2011-11-29 22:03:10 +01:00
SushiTee
48d21b61a2
fixed links between tile layer color envelopes when deleting envelopes
2011-11-29 22:01:03 +01:00
GreYFoX
8c103b8c13
* Added a new tile to facilitate solo parts ( works with teams )
...
* Can now put tiles with the same indexes as in tele or switch layer i game layer but it will drawn to the correct image
* Adjusted Masking to account for Solo players
2011-09-02 20:04:18 +02:00
GreYFoX
ff696bad6c
Mac Loves Cyclic Includes
2011-08-31 13:56:04 +02:00
Ravomavain
8bd82a3550
Fix DDRace layers in editor
2011-08-26 20:05:18 +02:00
GreYFoX
de4a95c5d2
Merge branch 'master' of git://github.com/oy/teeworlds into DDRace0611
2011-08-20 06:50:06 +02:00
SushiTee
2ceb0fde91
fixed editor zooming if gui is not active
2011-08-16 23:15:51 +02:00
oy
2708256186
fixed quad selection via envelope preview
2011-08-16 21:35:00 +02:00
oy
f36cc57bdd
fixed last commit
2011-08-15 20:12:31 +02:00
Alexandre
de5eccef3f
Fix Stuffs & clean comments
2011-08-15 18:07:09 +02:00
Alexandre
367bb4b837
Map Editor: Envelope Preview
2011-08-15 18:07:05 +02:00
oy
c38c632d06
fixed multiple popup creation in the editor. Closes #836
2011-08-13 19:22:01 +02:00
oy
4e830a71a1
decreased top offset of image add button in the editor. Closes #834
2011-08-13 18:53:41 +02:00
GreYFoX
06afe36db4
Removed old hook through prediction as 0.5.2 servers are no longer compatible
...
made it possible to load old maps
Enumerated layers
2011-08-13 02:12:40 +02:00
GreYFoX
5b27758650
Removed level stuff
...
Removed client ID stuff
Removed console stuff
Resolved merge conflicts
Upgraded Banmaster
Cleaned up
2011-08-13 02:11:06 +02:00
GreYFoX
35d16bd58c
Merge branch 'master' of git://github.com/oy/teeworlds into DDRace0611
...
Conflicts:
src/engine/console.h
src/engine/server.h
src/engine/server/server.cpp
src/engine/shared/config_variables.h
src/engine/shared/console.cpp
src/engine/shared/console.h
src/engine/shared/network_server.cpp
src/game/client/components/console.cpp
src/game/client/components/console.h
src/game/client/components/menus_browser.cpp
src/game/client/gameclient.cpp
src/game/editor/editor.cpp
src/game/editor/editor.h
src/game/editor/io.cpp
src/game/editor/layer_tiles.cpp
src/game/editor/popups.cpp
src/game/gamecore.cpp
src/game/mapitems.h
src/game/server/entities/character.cpp
src/game/server/entities/laser.cpp
src/game/server/gamecontext.cpp
src/game/server/gamecontroller.cpp
src/game/server/gamecontroller.h
src/game/server/gamemodes/ctf.cpp
src/game/server/player.cpp
src/game/variables.h
2011-08-13 02:01:40 +02:00
Shereef Marzouk
c6fd4a2cc5
General whitespace and tab cleanup
2011-08-11 10:59:14 +02:00
oy
5fc5b63dac
just list the correct envelope types(colour/pos) when linking an envelope to a quad/tile layer
2011-08-06 22:30:18 +02:00
oy
003c0aa281
fixed aspect ratio in the editor's image preview. Closes #784
2011-08-06 13:08:29 +02:00
oy
f1ea039df7
added separator in image menu. Closes #785
2011-08-05 19:52:39 +02:00
oy
e5395f00b3
fixed that activating a quad point doesn't align it on the grid and made moving the pivot use the grid. Closes#792
2011-08-05 19:52:37 +02:00
oy
fee2c2c452
fixed an overlapping in the editor. Closes #794
2011-08-05 19:52:36 +02:00
oy
b7605dd0b5
reset quad point selection when activating a different quad. Closes #819
2011-08-05 19:52:34 +02:00
Shereef Marzouk
2b5c532589
converted white spaces to tabs
2011-08-02 12:14:49 +02:00
GreYFoX
74462d4611
enumerated laser types, made it possible to choose which weapon to disable using switch layer delay variable
2011-07-25 22:16:20 +02:00
oy
6312a2d71c
fixed few things in th editor
2011-07-20 22:18:31 +02:00
Choupom
84e5c53432
added color envelope feature for tilemaps
2011-07-20 22:04:13 +02:00
Choupom
c2e8bf5035
made a constant for game layer flag
2011-07-20 21:54:23 +02:00
Choupom
188e622373
fixed auto_map.h header guard
2011-07-20 21:54:19 +02:00
SushiTee
f7a9e80163
added possibility to collapse groups by double clicking them
2011-07-15 01:03:22 +02:00
SushiTee
ef881a5321
added layer/image scrolling via mouse wheel
2011-07-15 01:02:11 +02:00