bors[bot]
996270af18
Merge #3120
...
3120: Embed map sounds by default r=heinrich5991 a=Patiga
Not one ddnet map has a external map sound since there are none which would work that way
Co-authored-by: Patiga <dev@patiga.eu>
2020-10-17 13:16:55 +00:00
Patiga
17e531374c
Embed sounds by default
2020-10-17 14:05:06 +02:00
def
5c1b8cd221
Fix clang-analyzer-deadcode.DeadStores
...
/media/ddnet/src/game/client/components/statboard.cpp:288:3: warning: Value stored to 'tw' is never read [clang-analyzer-deadcode.DeadStores]
2020-10-14 15:45:47 +02:00
Learath2
d8c9a71e18
Remove usages of qsort
2020-10-10 01:18:42 +02:00
bors[bot]
f93c8e4fdb
Merge #2987
...
2987: Modulize skins, particles, emoticons and game r=def- a=Jupeyy
fixes #2203
Puh, something i always wanted todo.
Need to error read, bcs alot of copy paste.
Modulizes all images, so that all images are mipmap indepedent, without texeloffset problems
I also added the ninja bar analyzer for #2921
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2020-10-09 15:20:48 +00:00
bors[bot]
ce9ba5ec09
Merge #3018
...
3018: Editor: Improve usability of server settings r=Jupeyy a=def-
- Add Mod button
- Show Del button only when it makes sense
- Update command input text when clicking on an existing command
- Make command clearable
As requested by Cøke
Co-authored-by: def <dennis@felsin9.de>
2020-10-09 14:48:59 +00:00
def
ea8bee4d34
Focus command field when something changed
2020-10-09 16:40:59 +02:00
Jupeyy
8d6148b20b
Modulize skins, particles, emoticons and game
2020-10-09 09:07:19 +02:00
Jupeyy
5ebabe2ece
Text alignment
2020-10-07 04:44:35 +02:00
bors[bot]
1f7d544349
Merge #3010 #3014
...
3010: Use hours in score hud and record r=Learath2 a=def-
3014: Scale auto mapper text size (partially fixes #3013 ) r=Learath2 a=def-
Co-authored-by: def <dennis@felsin9.de>
2020-10-06 11:22:06 +00:00
def
032ae67814
Editor: Improve usability of server settings
...
- Add Mod button
- Show Del button only when it makes sense
- Update command input text when clicking on an existing command
- Make command clearable
As requested by Cøke
2020-10-05 17:16:48 +02:00
Jupeyy
50b20fb1cd
Make animations more consistent with high float values
2020-10-05 02:32:50 +02:00
def
c25aede8ea
Scale auto mapper text size (partially fixes #3013 )
2020-10-04 22:39:43 +02:00
Learath2
db9a762f58
Fix multiple layer editing. Close #2981
2020-10-03 18:35:45 +02:00
Learath
88c054261a
Fix multiple layer selection for groups
2020-09-29 13:31:22 +03:00
bors[bot]
6bb8cda483
Merge #2926
...
2926: clang-format entire repo r=heinrich5991 a=def-
Co-authored-by: def <dennis@felsin9.de>
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2020-09-26 22:10:58 +00: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
c69c765507
Only auto dilate for transparent images
2020-09-26 18:57:19 +02:00
bors[bot]
7000987ff5
Merge #2884
...
2884: Add scrollbar to auto rules list, fixes #2514 r=def- a=edg-l
![image](https://user-images.githubusercontent.com/15859336/93710826-afde7e80-fb49-11ea-9754-c44c79d5ff94.png )
It doesn't show a scrollbar when there aren't more than 5 rules.
Co-authored-by: Edgar <git@edgarluque.com>
2020-09-24 17:01:19 +00:00
Edgar
fb3b40917a
fix style script
2020-09-24 18:53:11 +02:00
Edgar
76f3dbfe64
fix scrolling triggering zoom
2020-09-24 18:52:31 +02:00
Jupeyy
84cad658d6
Add new renderer(as streamed vertices) for editor
2020-09-23 16:45:32 +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
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
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
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
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
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