bors[bot]
4875b0993a
Merge #2907
...
2907: properly set sound envelope offsets for sound sources r=def- a=Patiga
before, `m_SoundEnvOffset` was always set to the same value as `m_PosEnvOffset`, due to wrong behavior in the ui.
Co-authored-by: patiga <patigatus21@gmail.com>
2020-09-22 14:17:21 +00:00
patiga
b437526925
run fix_style script
2020-09-22 15:42:20 +02:00
bors[bot]
06b519398b
Merge #2906
...
2906: Use fixed point conversion consistently r=def- a=Learath2
This fixes the issue with the Tex UV coords being complete garbage
Co-authored-by: Learath <learath2@gmail.com>
2020-09-22 13:13:16 +00:00
patiga
2ef344ea1a
set the correct variable
2020-09-22 14:50:04 +02:00
Learath
bbdcb7035d
Style
2020-09-22 15:47:21 +03:00
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
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