fokkonaut
d4c4031f20
Add F-DDrace entities
2020-12-22 12:23:21 +01:00
Jupeyy
c0dbd4a6f5
Fix leak, initialize UI Element Rect
2020-11-25 13:11:34 +01:00
Jupeyy
c989cd67f9
Check skin/sprite images for correctness
2020-11-18 07:59:15 +01:00
bors[bot]
8dd1cd50ed
Merge #3274
...
3274: Add skin metrics r=def- a=Jupeyy
Finally i had time for this.
This addresses the problem with skin sizes( yes @Banana090 I care for you :* )
Finally a way to calculate skin sizes correctly:
**new**
![image](https://user-images.githubusercontent.com/6654924/98458133-b1154a80-218d-11eb-9c80-1dccec36a250.png )
old:
![image](https://user-images.githubusercontent.com/6654924/98458263-1ddd1480-218f-11eb-9ff2-25c318e8e89a.png )
Maybe more obvious(left new, right old):
![image](https://user-images.githubusercontent.com/6654924/98458338-c5f2dd80-218f-11eb-83f0-d3020a39f1a2.png )
So we can center skins always.
Currently I only applied this to chat, but it should be used everywhere, where a skin is rendered(except the actual game skin)
- Scoreboard
- Skin selection
- and so on
@def- i'd really like to get this into this next release, because I know ppl with smaller skins will complain about the offset.
I'll test it a bit tomorrow, maybe others can test it too already.
## Checklist
- [x] Tested the change ingame
- [x] Provided screenshots if it is a visual change
- [ ] Tested in combination with possibly related configuration options
- [ ] Written a unit test if it works standalone, system.c especially
- [ ] Considered possible null pointers and out of bounds array indexing
- [ ] Changed no physics that affect existing maps
- [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck ) (optional)
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2020-11-09 10:44:56 +00:00
trml
984352dd00
Only use individual character flags for collision when ddnetchar is available
2020-11-08 14:05:44 +01:00
Jupeyy
df4c7a08c8
Add skin metrics
2020-11-08 10:28:47 +01:00
def
fea4481f8d
Fix network x_ check (thanks to Jupeyy)
2020-11-04 19:28:06 +01:00
def
165857a5a8
Fix variable names manually
2020-11-02 22:40:40 +01:00
def
b1f0fd8969
Enable modernize-loop-convert clang-tidy check
...
and run clang-format afterwards
https://clang.llvm.org/extra/clang-tidy/checks/modernize-loop-convert.html
2020-11-02 22:40:24 +01:00
bors[bot]
499cbb254d
Merge #3128
...
3128: Add add_map_votes command for easier local map testing r=heinrich5991 a=def-
No need to tell new players how to manually add a vote or load a map from rcon
Co-authored-by: def <dennis@felsin9.de>
Co-authored-by: Dennis Felsing <dennis@felsin9.de>
2020-10-26 11:52:39 +00:00
Dennis Felsing
23c005144b
consistent formatting for dbg_msg
...
no capital letters, no spaces
2020-10-26 10:04:03 +01:00
bors[bot]
b0803b26e0
Merge #3077
...
3077: UI Elements r=def- a=Jupeyy
Build will fail bcs of clang-format,
i'll update this comment to explain.
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2020-10-26 08:37:25 +00:00
Jupeyy
be23e92671
Remove one particle component
2020-10-23 14:57:20 +02:00
bors[bot]
3bdded3c4f
Merge #3122 #3137
...
3122: Fix arithmentic problems r=def- a=Jupeyy
The first three commits are safe
The ones i'll add later will be inside the gamecore, so might alter behaviour.
I'll see which ones are critical, but takes me some time
i fixed most in #3081
3137: Add gfx debug r=def- a=Jupeyy
If someone wants to try, you have to execute the client with a config that contains dbg_gfx 1
If opengl debug is supported it will show "Enabled OpenGL debug mode" in the console
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2020-10-20 16:19:55 +00:00
Jupeyy
74515d4b95
UI Elements
2020-10-19 23:52:29 +02:00
def
81bc68d9d0
Add add_map_votes command for easier local map testing
...
No need to tell new players how to manually add a vote or load a map
from rcon
2020-10-18 00:06:43 +02:00
Jupeyy
3aef2ebfe0
Make closest_point_on_line safer
...
Does not change behaviour, all NaNs resulted in false checks
2020-10-17 20:22:13 +02:00
Дядя Женя
6708a7a69d
Chat visual update
2020-10-17 15:50:35 +02:00
Jupeyy
fd0848291d
Add missing UpdateRenderInfo call
2020-10-14 19:00:39 +02:00
Jupeyy
8d6148b20b
Modulize skins, particles, emoticons and game
2020-10-09 09:07:19 +02:00
def
1a83651cf1
Allow quitting instantly with SDL_QUIT when non-warning dialog showing
2020-10-04 22:46:28 +02:00
bors[bot]
839f0862fb
Merge #2968 #2969
...
2968: Create codeql-analysis.yaml r=heinrich5991 a=def-
2969: Print error when opening config file for writing fails r=heinrich5991 a=def-
Co-authored-by: Dennis Felsing <dennis@felsin9.de>
Co-authored-by: def <dennis@felsin9.de>
2020-10-02 17:35:09 +00:00
Dennis Felsing
2ba9535529
Use warnings popups for some io failures
2020-10-02 16:06:16 +02:00
def
12f150393b
Free assets
2020-09-30 23:59:38 +02:00
Jupeyy
0e71a47708
Add customization
2020-09-28 23:21:32 +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
def
dcfa752e61
After initialization: Agressively try to grab window again
...
Since some users on Windows report window not being initially focussed
2020-09-26 09:09:05 +02:00
def
f2386d5c02
Address reviewer comments
2020-09-25 22:25:45 +02:00
def
9ab8de5718
fix clang-format
2020-09-24 19:05:30 +02:00
def
00b66362c3
Allow zooming on city mod
2020-09-24 19:05:30 +02:00
def
9f9ccaccf7
Create ALLOW_X_SKINS game info flag
...
To allow server to set any x_ prefixed skin and client won't filter it
out. As requested by Pure_luck for his mod to show players as tanks,
walls, etc. Won't be enabled on DDNet-Servers, thus such skins can be
added where a server modification wants to fine-control what skins are
allowed and can enforce such skins.
2020-09-24 19:05:30 +02:00
Jupeyy
8235df7752
Add menu background map
2020-09-23 23:38:28 +02:00
def
46b21020be
Kill server on quit
...
As suggested by Ryozuki
2020-09-18 00:30:31 +02:00
def
3832d948bd
Sort spectator view by team, then name (not score) ( fixes #2808 )
2020-09-13 21:31:10 +02:00
def
aeb8bcbd9a
Show an error message on missing file
2020-09-11 09:59:05 +02:00
def
9a5ee2cdbf
Auto-bind F7 to show server console if it's free
2020-09-10 20:13:01 +02:00
Andrii
7069d26b5a
dont predict camera position on spectator changed
2020-09-07 02:02:17 +03:00
def
e162045026
Can't detect if paused on KoG, so don't show button
...
Since they're running an old version of DDNet server
2020-09-05 19:06:12 +02:00
def
253c8e00b2
Clarify kill and /kill
2020-09-01 15:35:17 +02:00
bors[bot]
3101747d46
Merge #2666
...
2666: Non divisible by 16 texture resize and warning r=heinrich5991 a=Jupeyy
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2020-08-29 15:25:35 +00:00
Jupeyy
b1e98b598b
Show warnings with non divisible by 16 textures(3D/2D array textures)
2020-08-29 17:04:30 +02:00
bors[bot]
f2cb651075
Merge #2615
...
2615: Use player name from the Steam API as fallback r=def- a=heinrich5991
Fixes #2605 .
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2020-08-25 15:23:42 +00:00
heinrich5991
bfe7b3cbeb
Use player name prefixed with "[D] " for the dummy name
2020-08-25 16:22:03 +02:00
heinrich5991
5d83e9177f
Use player name from the Steam API as fallback
...
Fixes #2605 .
2020-08-25 16:21:58 +02:00
def
d24dbd01ae
Send larger distance when zooming
...
since sometimes with dyncam it can be just at the border.
As reported by Lady Saavik
2020-08-24 20:11:53 +02:00
Fireball
918f321dfb
Improved dummy switching
...
- Fix a use-after-free when there are no new snapshots for the cl_dummy tee after the switch.
- When one of the tees is hooked, cycling through them will no longer show phantom hook for the other tee.
- Dummy switch might happen a bit quicker since it doesn't depend on receiving new snapshots.
- Simplified code: m_LastDummy2 is no more.
2020-07-12 19:14:18 +01:00
def
3585d83196
Don't request IUpdater interface when built without updater
...
Fixes warning:
[kernel]: failed to find interface with the name 'updater'
2020-07-10 00:01:02 +02:00
def
6b7e1f54f4
Send zoom status for dummy too
2020-07-09 13:51:37 +02:00
def
2e8faac549
Don't send zoom level while zooming ( fixes #2470 )
2020-07-08 10:42:28 +02:00
def
1cb9454ab8
Rename showothers2 -> showothers
...
and the old showothers to legacy
2020-06-30 21:38:51 +02:00