heinrich5991
c24c6274b6
Decode extended packets for the dummy as well
2019-01-14 15:42:37 +01:00
fokkonaut
b2b6d25a92
add missing semicolon
2019-01-14 08:01:20 +01:00
fokkonaut
d156ac47b7
forgot one
2019-01-14 08:01:20 +01:00
fokkonaut
fe4426b008
fixed ddrace score (time score)
2019-01-14 08:01:20 +01:00
fokkonaut
0e842359ad
Add DDRace Score NETMSG
2019-01-14 08:01:20 +01:00
def
caa9e4ba29
Fix auto save statboard limit ( fixes #528 )
2019-01-11 12:07:12 +01:00
def
f05c56d6ce
Fix cl_dyncam_mousesens
...
should only have an effect ingame, not in menus or editor
2019-01-11 09:40:04 +01:00
def
1ece46aa4e
Revert "setlocale for XOpenIM with compose key"
...
Has been fixed: https://bugzilla.libsdl.org/show_bug.cgi?id=3102
This reverts commit 6c4e6c5c44
.
2019-01-07 21:27:09 +01:00
Dennis Felsing
afbb741910
Merge pull request #1420 from Jupeyy/master
...
Fix text kerning and add flags for better positioning
2019-01-06 10:57:16 +01:00
jupeyy
6fc49cbc9e
style
2019-01-06 06:45:47 +01:00
jupeyy
619a33a7d5
text kerning fix, add new text render flags for accurate positioning
2019-01-06 06:42:57 +01:00
def
aa7e6ff3e3
Disable borderless on Mac ( fixes #1413 )
2018-12-28 17:29:54 +01:00
def
6846a6ecad
Fixes and stress improvements
2018-12-17 20:05:50 +01:00
Dennis Felsing
e9ee74a941
Merge pull request #1402 from ddnet/remove-modhelp
...
Remove /modhelp (fixes #1401 )
2018-12-17 14:42:07 +01:00
def
c4d437bc0f
Make client launchable from browser
...
By needs from https://github.com/teeworlds/teeworlds/pull/1478/files
2018-12-13 19:57:34 +01:00
Dennis Felsing
5c18d6c481
Remove /modhelp ( fixes #1401 )
2018-12-12 10:05:44 +01:00
Learath
0c13c8cebb
Handle the windows console properly. Fixes #1394
2018-12-07 23:52:33 +01:00
Learath2
21609d43fb
Fix the beep. Fixes #985
2018-11-22 17:37:52 +01:00
Ryozuki
d9d3ed783e
fix windows sound
2018-11-02 12:47:20 +01:00
def
faf388b853
Fix #1350
2018-10-29 22:03:57 +01:00
heinrich5991
a36250ba34
Use two threads for the server thread pool
...
This might help with long DNS timeouts.
2018-10-07 12:47:32 +02:00
Learath
2696ac134c
Handle the platform differences in CMake.
2018-09-20 14:06:18 +02:00
Learath
3852f0e720
CMake option to disable autoupdater. Closes #1292
2018-09-20 03:01:31 +02:00
Dennis Felsing
e295a121e4
DDNET_INFO(_TMP)
2018-08-23 09:57:35 +02:00
Dennis Felsing
29dd3e29f7
Read ddnet-info.json from correct location
2018-08-23 09:36:20 +02:00
Dennis Felsing
e2eb4a66dc
Add Filter for connecting players ( fixes #1263 )
2018-08-21 09:03:48 +02:00
heinrich5991
2ad4c86632
Fix a typo
2018-08-13 21:35:49 +02:00
Jupeyy
29ecaa2c2a
brace
2018-08-02 20:58:43 +02:00
Jupeyy
bc013513bc
don't restore the config variable in this case
2018-08-02 20:56:29 +02:00
Jupeyy
7ce29e7a1a
Properly reset context attributes, if OpenGL3 context failed to create
2018-08-02 20:52:51 +02:00
Jupeyy
d7bb03ee19
don't render all border all the time
2018-08-02 18:26:12 +02:00
bors[bot]
e571dc8d93
Merge #1200
...
1200: Share libcurl resources across requests r=def- a=heinrich5991
Use the libcurl-share interface to share DNS cache and connections
between different requests.
If compiled with OpenSSL, libcurl can only be safely used from multiple
threads for OpenSSL >= 1.1.0, but this problem is not newly introduced
by this commit: According to libcurl-thread(3):
>OpenSSL <= 1.0.2 the user must set callbacks.
>
>https://www.openssl.org/docs/man1.0.2/crypto/threads.html#DESCRIPTION
>
>https://curl.haxx.se/libcurl/c/opensslthreadlock.html
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2018-07-19 09:15:10 +00:00
Isaac Zhao
83ae953b21
Fixed hidpi resolution issue on macOS
2018-07-17 07:46:17 +00:00
heinrich5991
8d04e7e5e1
Share libcurl resources across requests
...
Use the libcurl-share interface to share DNS cache and connections
between different requests.
If compiled with OpenSSL, libcurl can only be safely used from multiple
threads for OpenSSL >= 1.1.0, but this problem is not newly introduced
by this commit: According to libcurl-thread(3):
>OpenSSL <= 1.0.2 the user must set callbacks.
>
>https://www.openssl.org/docs/man1.0.2/crypto/threads.html#DESCRIPTION
>
>https://curl.haxx.se/libcurl/c/opensslthreadlock.html
2018-07-11 20:17:21 +02:00
yangfl
81a39c229b
Fix typo
2018-07-10 17:29:02 +08:00
heinrich5991
925aff21d4
Fix all the header guards and adjust the script a little
2018-07-06 16:11:38 +02:00
ZombieToad
712fca8adc
fixes
...
thnx to Hey, Fuck you!
2018-07-04 04:35:06 +01:00
def
5e1f62fe7c
Fix http map download...
2018-06-30 09:47:45 +02:00
Dennis Felsing
35a26290db
Mac OSX: Don't use desktop resolution ( fixes #1174 )
2018-06-27 11:01:59 +02:00
heinrich5991
ab55bcd9c8
Also search for maps with sha256 in downloadedmaps
...
Additionally, forget the extra map details after disconnecting, they
shouldn't be used for the next server.
2018-06-24 17:04:50 +02:00
heinrich5991
ca8fcc823c
Use more secure hash function for map downloads
...
SHA256 was chosen because it is reasonably standard, the file names
don't explode in length (this rules out SHA512) and it is supported by
basically all versions of OpenSSL (this rules out SHA512/256 and SHA3).
The protocol is changed in a backward compatible way: The supporting
server sends the SHA256 corresponding to the map in the `MAP_DETAILS`
message prior to sending the `MAP_CHANGE` message. The client saves the
SHA256 obtained from the `MAP_DETAILS` message until the next
`MAP_CHANGE` message.
For servers not supporting this protocol, the client falls back to
simply opening maps like in the previous scheme.
Remove the `map_version` tool, it is not being used and would have been
a little bit effort to update.
Use the OpenSSL implementation of SHA256 if it is supported, otherwise
fall back to a public domain one.
Fix #1127 .
2018-06-24 17:04:50 +02:00
bors[bot]
ebb9481857
Merge #1157 #1160
...
1157: Add a way to call for external moderator help r=Learath2 a=heinrich5991
This is done by HTTP POSTing to a location specified by
`sv_modhelp_url`. We also provide a `src/modhelp/server.py` which can
use theses POSTs to forward them to Discord servers.
The POST contains a JSON object payload, with the keys `"port"` which
contains the server port, `"player_id"` which contains the calling
player's client ID, `"player_name"` which contains the calling player's
nick and `"message"` which is the user-specified message.
Make JSON-escaping function public, add tests and fix bugs uncovered by
these tests.
Supersedes #1129 .
1160: Fix warning about incompatible function pointers r=Learath2 a=heinrich5991
This comes at the cost of one allocation per started thread. This should
be okay because we're about to invoke a syscall anyway.
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2018-06-24 14:12:48 +00:00
bors[bot]
af1f9d198a
Merge #1152
...
1152: send password to first connected server r=heinrich5991 a=ZombieToad
https://github.com/ddnet/ddnet/pull/1149#issuecomment-397538132
fixes issues with connecting to servers with reserved slots
Co-authored-by: ZombieToad <25847476+zombietoad@users.noreply.github.com>
2018-06-20 09:05:56 +00:00
ZombieToad
f6d107b264
Update client.cpp
2018-06-20 07:44:44 +01:00
ZombieToad
dfaa8d1f46
Update client.cpp
2018-06-20 07:43:55 +01:00
ZombieToad
1c88ffd663
Update client.h
2018-06-20 07:36:10 +01:00
heinrich5991
36694d3852
Add a way to call for external moderator help
...
This is done by HTTP POSTing to a location specified by
`sv_modhelp_url`. We also provide a `src/modhelp/server.py` which can
use theses POSTs to forward them to Discord servers.
The POST contains a JSON object payload, with the keys `"port"` which
contains the server port, `"player_id"` which contains the calling
player's client ID, `"player_name"` which contains the calling player's
nick and `"message"` which is the user-specified message.
Make JSON-escaping function public, add tests and fix bugs uncovered by
these tests.
Supersedes #1129 .
2018-06-19 23:27:35 +02:00
heinrich5991
c739aef60e
Some style fixes
2018-06-19 14:28:53 +02:00
ZombieToad
57d1c37fb4
send password to first connected server
2018-06-16 00:44:24 +01:00
ZombieToad
45a9d96a76
send password to first connected server
2018-06-16 00:41:55 +01:00
jupeyy
88acd47c99
reset font texture at window resize
2018-05-07 06:02:44 +02:00
jupeyy
62352a78dd
respect text alpha channel correctly ( fixes #1124 )
2018-05-07 05:52:02 +02:00
Dennis Felsing
e561498617
fix...
2018-04-25 14:12:49 +02:00
def
160b4df81c
Version 11.1.4
2018-04-15 20:15:13 +02:00
bors[bot]
73a65a7026
Merge #1116
...
1116: Don't send buffer cmds to non OpenGL 3.3 backend r=def- a=Jupeyy
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2018-04-15 18:00:54 +00:00
Jupeyy
27d9440751
don't create buffers, if OpenGL 3.3 is not used
2018-04-15 19:34:56 +02:00
def
666b1a9576
Another SDL GL try
2018-04-13 21:34:12 +02:00
def
d0bb180473
Only run glewInit when using OpenGL3.3
2018-04-13 20:03:51 +02:00
bors[bot]
73cc3a147b
Merge #1110
...
1110: Fix killmessage flag render r=def- a=Jupeyy
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2018-04-09 20:28:24 +00:00
Jupeyy
52ff132e56
reset color after text is drawn
2018-04-09 22:02:16 +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
Jupeyy
15f0efc2bd
fix text color if opengl3.3 is off
2018-04-03 17:40:21 +02:00
Jupeyy
53622f56b4
respect the area width in any case
2018-03-26 05:08:21 +02:00
Jupeyy
abb9ba5572
use debug variable in a better way
2018-03-21 16:07:03 +01:00
Jupeyy
16894155e5
add attributes for screen state check
2018-03-21 15:49:15 +01:00
Jupeyy
53a93c077e
add window resize listener
2018-03-21 15:48:48 +01:00
Jupeyy
70c06be87e
allow non pixel alignment rendering, instead fo changing texture filter
...
add window resize event, and remove the font size limitation
2018-03-21 15:45:08 +01:00
Jupeyy
9b8da90151
check screen state
2018-03-21 15:41:45 +01:00
Jupeyy
91b1699994
remove unused and check freetype version
2018-03-15 14:22:08 +01:00
Jupeyy
da311d03c4
use a different texture filter instead of correcting text coordinates
2018-03-15 03:33:22 +01:00
Jupeyy
62c3074c88
add new text renderer engine to support text buffering, cursors, text
...
marking and less character texture updates
2018-03-13 21:49:07 +01:00
Jupeyy
75eddfec7a
add new shader programs
2018-03-13 21:47:45 +01:00
Jupeyy
898af39311
add new functions to support the new backend layout and the new
...
rendering system
2018-03-13 21:47:07 +01:00
Jupeyy
35f3dd5bc2
add new shader programs in the backend
2018-03-13 21:44:58 +01:00
Jupeyy
5b56e5b2c4
move the keyboard state back into the gfx update
2018-03-12 16:51:31 +01:00
Jupeyy
081057d6b9
style fixes and remove float cast
2018-03-12 15:43:31 +01:00
Jupeyy
5e1bee2760
clean up a bit to and descripe it better
2018-03-12 15:10:49 +01:00
Jupeyy
cc7371c1cd
set upper limit, for the case, if the refreshrate is smaller than the gameticks
2018-03-02 03:12:30 +01:00
Jupeyy
089cb1ea44
this must be inactive ofc
2018-03-01 08:25:34 +01:00
Jupeyy
a808ee07d3
add accedentially removed cast
2018-03-01 08:07:48 +01:00
Jupeyy
3458ee0976
check if gfx_refresh_rate is non zero
2018-03-01 07:50:52 +01:00
Jupeyy
6f0509cfae
the actual description to the problem
2018-03-01 07:44:22 +01:00
Jupeyy
edaf632c04
Merge branch 'master' of https://github.com/ddnet/ddnet
2018-03-01 07:38:50 +01:00
Jupeyy
238c8847c0
keep track of lost frames and updates, to ensure FPS stability and
...
better CPU sleep times
2018-03-01 07:34:14 +01:00
Jupeyy
3dabb5c2bd
ensure right internal image format, to prevent unsupported reformatting
2018-03-01 07:31:09 +01:00
heinrich5991
f7b7054152
Fix crash on startup due to sound initialization
...
Of course `WavpackOpenFileInputEx` is subtly incompatible to
`WavpackOpenFileInputEx64` in that it requires the userdata for the main
steam to be nonnull.
Fixes #1041 .
2018-02-18 12:45:03 +01:00
heinrich5991
73c03544b4
Support older wavpack versions
2018-02-17 01:35:07 +01:00
heinrich5991
99fe1d7bcf
Revert "Fix bundled wavpack when system wavpack is available"
...
This reverts commit 0d9265b1fa
.
2018-02-17 01:31:40 +01:00
def
0d9265b1fa
Fix bundled wavpack when system wavpack is available
2018-02-15 19:30:40 +01:00
bors[bot]
c0fa444f3a
Merge #1034
...
1034: Try to find external GLEW, pnglite and Wavpack r=Learath2 a=heinrich5991
Allow for newer versions of Wavpack, fixes #1023 .
Fixes #1016 .
2018-02-13 02:02:07 +00:00
heinrich5991
94818ec1f0
Try to find external GLEW, pnglite and Wavpack
...
Allow for newer versions of Wavpack, fixes #1023 .
Fixes #1016 .
2018-02-12 23:29:45 +01:00
bors[bot]
6283ad2012
Merge #1015
...
1015: Fix typo r=heinrich5991 a=yangfl
2018-02-07 16:22:48 +00:00
Dennis Felsing
f62833b699
Always keep same resolution on macosx
2018-02-07 13:21:18 +01:00
yangfl
1620fc9b0f
Fix typo
2018-02-07 16:10:40 +08:00
Dennis Felsing
4c8a770ba6
macosx highdpi try #123456789
2018-02-07 08:22:57 +01:00
def
864ff1ac74
Remove highdpi stuff
...
This reverts commit d234c55dfa
.
2018-02-06 23:21:17 +01:00
Dennis Felsing
d234c55dfa
Try macosx highdpi fix
2018-02-05 14:37:26 +01:00
def
151da9af97
Remove Emojis
2018-01-25 20:03:18 +01:00
def
9139737aa7
Minor style cleanup
2018-01-15 19:08:33 +01:00
bors[bot]
5b2a929bc1
Merge #976
...
976: fixed rand init error message r=heinrich5991 a=ChillerDragon
the ``dbg_msg()`` func doesn't work until the
``IEngine *pEngine = CreateEngine("DDNet", Silent);`` line gets executed.
I used a bool to leave the code order untouched c:
2018-01-07 17:02:44 +00:00
Chiller Dragun
52a7f84583
code styling
2018-01-07 03:03:33 -08:00
def
4813a4b857
Add cl_shownotifications ( fixes #949 )
2018-01-05 20:20:39 +01:00
Chiller Dragun
654dd597fe
fixed rand init error message
2018-01-04 06:33:21 -08:00
Jupeyy
060f6fd36e
Load shaders through IStorage class
...
Fixes #939 .
2017-12-02 22:19:57 +01:00
bors[bot]
bad105c5e4
Merge #953
...
953: Overhauled job system r=Learath2 a=heinrich5991
The engine now takes `std::shared_ptr<IJob>`, this will ensure the
appropriate lifetime of the given parameters, it also allows for proper
destruction. Remove the now obsolete `IFetcher` interface and `CFetcher`
class.
Also adds some locks to `CUpdater`, previously it didn't have any locks
at all.
2017-11-27 23:34:54 +00:00
bors[bot]
41f6140179
Merge #945
...
945: Don't use nonstandard `#pragma pack` r=Learath2 a=heinrich5991
It's not needed in that place anyway.
2017-11-26 16:27:50 +00:00
bors[bot]
f9e0b6b3fe
Merge #931
...
931: Add Speedup tiles correctly at the border creation & remove tile layer extension restriction & fix the LastIndex buffer initlialization & setup non mipmap textures up correctly(texture completness) r=heinrich5991 a=Jupeyy
Allows speedups to be drawn on extended range(out of map range) too.
2017-11-26 13:32:05 +00:00
Jupeyy
b1d99de87a
s_
2017-11-26 14:10:47 +01:00
Jupeyy
bff1186d3b
is now s_
2017-11-26 14:08:00 +01:00
Jupeyy
14297ae45c
code pattern
2017-11-26 13:28:41 +01:00
heinrich5991
94acac91a0
Overhauled job system
...
The engine now takes `std::shared_ptr<IJob>`, this will ensure the
appropriate lifetime of the given parameters, it also allows for proper
destruction. Remove the now obsolete `IFetcher` interface and `CFetcher`
class.
Also adds some locks to `CUpdater`, previously it didn't have any locks
at all.
2017-11-23 15:47:38 +01:00
heinrich5991
f0c647dba5
Change os_compare_version
to os_is_winxp_or_lower
...
This stops leaking OS details in non-`system.c` files.
2017-11-23 03:10:15 +01:00
heinrich5991
be80ccb7d6
Don't use nonstandard #pragma pack
...
It's not needed in that place anyway.
2017-11-18 00:24:44 +01:00
bors[bot]
27722633a3
Merge #940
...
940: Put shaders into the data/ directory r=Learath2 a=heinrich5991
Simplifies a lot of things
2017-11-15 23:29:55 +00:00
heinrich5991
17d3f4afa4
Put shaders into the data/ directory
...
Simplifies a lot of things
2017-11-08 22:19:47 +01:00
bors[bot]
fdb2e330ce
Merge #904
...
904: Fix use-after-free r=heinrich5991 a=Learath2
Not sure if this is the best way to go about this, but it works :/
2017-11-08 17:30:34 +00:00
Jupeyy
78c06e180f
remove dublicated GL queries
2017-11-04 05:38:48 +01:00
Jupeyy
78a9fbb9b5
use the write buffer slot, instead of elementarray slot to create the
...
index buffer
2017-11-04 04:57:58 +01:00
Jupeyy
d367f94d7c
invalidate all index buffer bindigs, when index buffer is resized
2017-11-03 19:48:17 +01:00
Jupeyy
c22af4bb4d
fix index buffer bindig for normal quads(fixes startup crashes) and
...
initialize non mipmap textures as linear(texture completness)
2017-11-03 19:33:23 +01:00
bors[bot]
5528cde5f6
Merge #869
...
869: Complete rework of the ghost and race recorder r=Learath2 a=Redix
This PR fixes a lot of issues with the ghost and race recorder, introduces a new ghost file format and implements some pretty useful features.
**A quick overview:**
- When you cross the start line multiple times, both (ghost and recorder) will only restart if it is a non-solo server
- If available, both will use the race timer to recognize the start instead of searching for the start line
- Fastcap support for both
- The recorder immediately starts when the Tee spawns, so the preparation steps (which are quite important for speedruns) will be included in the demo. If you do not cross the start-line within 20 seconds, it will stop the demo until you really start.
- Better ghost menu (colors, reloading, deleting and saving ghosts)
- The ghosts are more resistant against lags (old ones were sometimes completely useless due to small lags)
- New ghosts files are significantly smaller
- Cleanup, bugfixes..
**About the new ghost format (version 4/5):**
This format is used by Teerace for over a year now. The code for handling the binary files was moved to the engine. It includes an auto updater which creates a backup of all ghosts and converts them to the new format afterwards. The major differences from the format used by DDNet right now (version 2), are the ability to store multiple types of data, the usage of delta-encoding and a more portable header.
For whatever reason, the ghost stores values for every predicted tick, but without tick information, so lost snapshots can make them unusable. The new code uses the original values from the snapshots including ticks but it can also handle the old ones without. Since hardly any server uses the high bandwidth option this practically reduces the file size.
Like the demo recorder the ghost recorder directly stores the data to a file (every 50 snapshots) instead of writing the whole file at the end of the race. Indeed this can be changed with only a few lines if the old behavior is preferred.
The updater can handle version 2 (DDNet) and 3 (old teerace format, only slightly different from version 2) files. The updating already happens when the files are scanned for generating the list in the menu and not only when you activate them. The change from version 4 to 5 was only needed due to a bug in the implementation, the ghost loader can read both.
Some numbers about the file size: (map: hotrun, both about 30 seconds)
- Old ghost: 30.4 kB (converted: 10.7 kB)
- New ghost: 5.4 kB
**One thing about the race recorder:**
The old implementation compared the new file only with the first file it found for the particular map. The new one compares with all related demos and deletes them possibly, so that only the best demo is left. Since DDNet can also store the demos without name, this might also delete demos from other players, that you might have in your directory.
To prevent this I at least check whether the demo contains the player name if `cl_demo_name` is on.
In my opinion the better solution would be to remove `cl_demo_name` and always use the player name.
2017-10-30 20:27:10 +00:00
Redix
de1c0cf24d
Fixed several issues with the ghost (thanks to Learath2)
2017-10-28 14:23:24 +02:00
Michał
58b0ae5fc7
Possible emoji rendering fix
2017-10-28 09:08:17 +02:00
Learath2
a6eb1b94f2
Add lock around m_Destroy and m_PastCB
2017-10-27 15:26:39 +02:00
Jupeyy
442a1767d4
reset lastindexbuffer at object deletion
2017-10-24 03:12:48 +02:00
Jupeyy
5c9fc3d19b
remove unused variable
2017-10-23 18:31:44 +02:00
Jupeyy
37c5102928
only delete VBOs when the VAO, which uses the VBO, is deleted(AMD driver
...
bug under windows). And only allow true fullscreen under supported
display resolutions, to enable prevention of DPI scaled opengl viewport
2017-10-23 18:02:18 +02:00
def
cb00a294b8
Enable gfx_opengl3 by default
2017-10-20 22:52:38 +02:00
Dennis Felsing
6c7f6e3a7e
glew on macosx as well...
2017-10-20 11:49:00 +02:00
Dennis Felsing
5a75dc7f27
New glew try
2017-10-20 11:35:44 +02:00
Dennis Felsing
88c0778b21
Bundle glew instead
2017-10-20 11:12:27 +02:00
Dennis Felsing
07db95ed59
Mac build fix
2017-10-20 10:20:29 +02:00
Dennis Felsing
d7eabb0ea9
Further macosx fixes
2017-10-20 09:31:42 +02:00
Dennis Felsing
db46d18e71
No GLEW on OSX necessary (untested)
2017-10-20 09:08:49 +02:00
Dennis Felsing
d6999bb726
Merge "Pull Request using OpenGL 3.3"
2017-10-18 12:49:27 +02:00
Edgar Luque
3408d4f016
MinGW putenv workaround.
2017-10-17 16:38:40 +02:00
Learath
30aebc9cf4
Destroy() implies Abort()
2017-10-17 15:42:17 +02:00
Learath
96acddb57f
Fix the other use after free
2017-10-17 15:39:20 +02:00
Learath
7f8356e37e
Fix a heap-use-after-free
2017-10-17 14:23:56 +02:00
Jupeyy
cc54c4acdf
also out the LOD to the fragment shader to make sure we use the same LOD
...
on every hardware
2017-10-14 23:27:14 +02:00
heinrich5991
16694a0d7b
Use a random token for serverbrowse requests
...
This alleviates the risk for spoofed servers.
2017-10-14 21:58:23 +02:00
Jupeyy
5389dd9666
fix border amount for right and bottom border lines
2017-10-14 16:37:48 +02:00
heinrich5991
2fc018aac3
Add asynchronous file output, port dbg_msg()
s to that system
...
Also add tests.
2017-10-10 04:11:14 +02:00
Learath
1855992014
Fix style
2017-10-09 20:51:16 +02:00
Learath
f4b3bc63b3
Forgot classes need to be initialized with new
...
Also matched the function signatures to the ones in the interface
2017-10-09 20:04:23 +02:00
Learath
26efee9506
Forgot the virtuals
2017-10-09 19:22:44 +02:00
Jupeyy
26bd800d63
calculate the LOD on CPU side and restrict mipmap levels for huge
...
textures to remove bad looking mipmap generations at high zoom levels
2017-10-09 18:58:44 +02:00
Learath2
70ee5d9645
Properly free CFetchTask in case of abort
2017-10-09 18:47:02 +02:00
Learath2
9bce7e8630
Use a proper interface for CFetchTask
2017-10-09 18:47:02 +02:00
Jupeyy
43fa2fd1a7
use wrap mode for every individual texture
2017-10-09 15:59:16 +02:00
Learath
1b0ab87015
Get rid of unnecessary queue in CFetcher
2017-10-08 00:57:56 +02:00
def
b368234dae
Delete editor before graphics ( fixes #881 )
2017-09-30 06:27:05 +02:00
Redix
e9a0271c29
Improved ghost and race recorder file handling
2017-09-28 19:13:20 +02:00
Redix
a3a82b6571
Move filename clearing function to base lib
2017-09-28 16:02:01 +02:00
Redix
ac234ad3ee
Write the correct player name into ghosts that are saved from menu
2017-09-28 16:01:59 +02:00
Redix
5b3e9e4bbf
Improved ghost file management
2017-09-28 16:01:58 +02:00
Redix
5cc0d16029
Reworked the race recorder
2017-09-28 16:01:57 +02:00
Redix
c189678e44
Cleaned up the ghost component and made it use the ghost recorder and loader
2017-09-28 16:01:56 +02:00
Jupeyy
7aa547946b
more warning fixes
2017-09-27 15:01:38 +02:00
Jupeyy
463944b143
fix code pattern mistakes and warnings
2017-09-27 14:52:06 +02:00
Jupeyy
9fd1290734
auto adjust font size for entity overlay
2017-09-27 12:19:39 +02:00
Jupeyy
91216fb90c
reduce upload size by normalizing color values, fix slow upload for some
...
iGPUs and force old opengl context, if issueinit fails
2017-09-27 12:16:34 +02:00
Jupeyy
a85f542d1d
only use 4x2 matrix
2017-09-27 12:15:30 +02:00
def
553c97b52d
Fix crash with broken ddnet-info.json
2017-09-20 22:25:55 +02:00
Redix
43f246f174
Made int packing functions safe
2017-09-17 02:36:50 +02:00
Dennis Felsing
43d0299a45
Merge branch 'master' into pr_ddnet_fix_msvs_warnings
2017-09-16 11:17:39 +02:00
Jupeyy
26607cfd47
at texture upload, check if we have enough space in the command buffer
...
too
2017-09-15 03:50:06 +02:00
Jupeyy
31844d3353
set max width for custom text texture upload and fixing alignments for
...
texture updates
2017-09-15 03:01:26 +02:00
Jupeyy
f2820ea392
use 4*4 array instead of declearing a full matrix class
2017-09-14 19:47:04 +02:00
Jupeyy
f48e186bfd
use CLineReader instead of fgets, also delete program at destruct
2017-09-14 19:35:31 +02:00
Jupeyy
b6e4b4b4a6
detach shaders automatically after linking
2017-09-14 19:34:14 +02:00
Jupeyy
4fec86a354
support old opengl version with only 2 vertex coordinates
2017-09-14 08:03:33 +02:00
Jupeyy
3bdd8c19ac
delete primitive index buffer at shutdown too
2017-09-14 03:54:22 +02:00
Jupeyy
1df1731b01
use glDeleteVertexArrays instead of glDeleteBuffers
2017-09-14 03:50:42 +02:00
Jupeyy
211f8a6b11
only allow changing to use single/multiple texture units at restart
2017-09-14 02:58:13 +02:00
Jupeyy
1167ab822c
reduce upload since of vertices if drawing quads
2017-09-14 02:50:31 +02:00
Jupeyy
77b3c39553
allow disabling texture unit optimization by command, also use
...
drawelements instead of drawarrays for quads
2017-09-14 02:49:35 +02:00
Jupeyy
5c7c09d380
fixing most wrong code pattern
2017-09-13 20:33:58 +02:00
Jupeyy
a3658e5526
store alpha textures always as RGBA
2017-09-13 18:32:08 +02:00
Jupeyy
629bf2c5f9
Merge branch 'master' of https://github.com/ddnet/ddnet
2017-09-12 20:24:58 +02:00
Jupeyy
6a7e3d5836
add a glyph upload for custom textures
2017-09-12 20:10:27 +02:00
Jupeyy
bcb5f0ca8d
add new programs for various gpu render tasks, and some more uniform
...
setter
2017-09-12 20:09:40 +02:00
Jupeyy
a477540358
add new commands to buffer objects and draw them
2017-09-12 20:08:45 +02:00
Jupeyy
5f2ccf2960
add support for buffer objects and vertex object, and its draw calls
2017-09-12 20:07:38 +02:00
def
73d9ad7615
Really only download ddnet-info.json at correct time
2017-09-08 22:16:00 +02:00
def
e7e1070adf
WinXP: Use http://info.ddnet.tw
2017-09-08 20:06:48 +02:00
def
c2c453bd45
Make sending name to info.ddnet.tw optional, show dialog at start and some minor fixes
2017-09-07 20:51:46 +02:00
heinrich5991
4d96090770
Fix MSVS warnings
...
```
warning C4291: no matching operator delete found; memory will not be freed if initialization throws an exception
warning C4305: truncation from 'double' to 'float'
warning C4805: unsafe mix of type 'bool' and type 'int' in operation
```
2017-09-06 10:54:29 +02:00
Jupeyy
9bd6d0c6f9
Merge branch 'master' of https://github.com/ddnet/ddnet
2017-09-04 16:13:26 +02:00
def
8b1470c31f
Revert "Merge GAME_VERSION and GAME_RELEASE_VERSION"
...
This reverts commit 5cfd779c68
.
2017-09-03 23:46:15 +02:00
def
5cfd779c68
Merge GAME_VERSION and GAME_RELEASE_VERSION
2017-09-03 18:54:43 +02:00
def
89ed22e8d8
Introduce ddnet-info.json
...
- Single json file containing all information for the client
- Fetched from https://info.ddnet.tw/info?name=deen
- Replaces versionsrv, news, ddnet-maps.json and ddnet-ranks.json
- Servers are sorted by most popular ones for respective player
- Always stays < 100 ms response time, compared to occasional 50 s for
old ddnet-ranks.json
2017-09-03 17:42:04 +02:00
def
27b7549bba
Make --silent stop stdout logging
2017-09-03 10:37:24 +02:00
def
2e537684d5
actually don't need the family
2017-09-03 09:20:46 +02:00
def
f2a7f5f8dd
User agent in http fetcher
2017-09-03 09:18:00 +02:00
def
42bc38227d
Request server list and ranks at better location
2017-09-03 09:00:57 +02:00
def
862e26dd08
Clean up time handling a bit
2017-09-03 08:48:21 +02:00
Jupeyy
1053bc735d
initial port to opengl3.3 (without any optimazations)
2017-09-02 15:24:07 +02:00
Dennis Felsing
6c21738d9d
Try to fix Windows crash
2017-09-01 08:01:26 +02:00
def
7c6c2f5d9b
Fix graphics init to be later so that user resolution is available
2017-08-31 23:42:21 +02:00
def
9b214db85f
Force version.ddnet.tw and update4.ddnet.tw
2017-08-31 23:28:10 +02:00
def
8ebac31c03
Use old ddnet-ranks.json when new one can't be fetched currently
2017-08-31 22:40:55 +02:00
def
03399994b5
Remove duplicate semaphore
2017-08-31 19:36:27 +02:00
def
a58895291c
Only trust ddnet ca
2017-08-31 19:33:20 +02:00
def
705349f2e5
Clean up and fix semaphores and threading
2017-08-31 19:18:07 +02:00
Learath2
cd386488e2
Rename semaphore_* to sphore_*
...
Previous naming conflicted with Mach kernel definitions.
2017-08-31 19:18:07 +02:00
Savander
1741df43cd
Add gametype support to exclude field
2017-08-31 12:35:01 +02:00
def
bff1c12b83
Don't try to load ddnet-ranks.json while fetcher is downloading it anyway
2017-08-31 00:07:59 +02:00
def
a20db6ec56
Don't shutdown sound twice ( fixes #851 )
2017-08-30 23:19:33 +02:00
def
7d71dae87f
Fetcher: sephamore instead of spinlock, exit thread gracefully
2017-08-30 23:14:00 +02:00
def
16f3ddc5a7
Show if user has rank on map in browser (+filter)
...
UI implementation by timakro
2017-08-30 21:34:04 +02:00
def
e480b651e7
Fix fetcher write function to return size
2017-08-30 21:01:19 +02:00
def
7f0eb53ff4
Initialize in order to ensure destruction in order ( fixes #848 )
2017-08-30 17:22:36 +02:00
heinrich5991
33315452c3
Merge branch 'master' into leak_fix
2017-07-31 20:42:32 +02:00
def
c6a5a7dcb3
Try using more modern SDL audio interface
2017-07-30 12:33:51 +02:00
HMH
19a8e7add6
removed some spaces
2017-07-28 20:44:03 +02:00
HMH
04e2946efc
mem_free is safe on null pointers
2017-07-28 15:42:32 +02:00
heinrich5991
6247aa0c7f
Enable -Wextra
and -Wformat=2
...
Also annotate `dbg_msg`, `str_format` and `str_timestamp_ex` so that the
compiler can determine whether the format strings are correct.
Fix the compiler warnings generated by these extra warnings -- some of
them were security issues.
2017-07-27 20:38:17 +02:00
def
5a437b110f
Nicer formatting for task fetcher
2017-07-25 19:23:10 +02:00
heinrich5991
1ebb4f89a6
Reopen: Add a flag for rcon login via username ( #800 )
...
This uses an extended protocol message to signal that rcon
authentication might require a username, allowing the client to enable
the username prompt.
Add a forgotten logout on key update
2017-07-24 21:43:55 +02:00
def
6e5375da71
Moving mouse is not a key
2017-07-22 12:28:06 +02:00
def
2fb5835980
Update json-parser to 1.1.0, zlib to 1.2.11
2017-07-22 11:07:29 +02:00
def
be8a149d12
We want Y axis falloff on both speakers
2017-07-22 09:15:28 +02:00
HMH
5877b17f5a
cleanup freetype
2017-07-21 20:45:23 +02:00
def
b57ffa429e
Use scancodes instead of keycodes for input ( fixes #796 , please test)
2017-07-21 19:53:49 +02:00
HMH
bfc5700314
Yes the Kernel and Interfaces need to be deleted too...
2017-07-21 19:46:31 +02:00
HMH
ae411710ba
unload fonts that are not in use anymore
2017-07-21 19:10:50 +02:00
HMH
7f7fa06dd6
free the Client created by CreateClient
2017-07-21 16:46:29 +02:00
HMH
7486ee867e
also Unload Sound
2017-07-21 16:37:23 +02:00
def
bf6c91a25c
Oops, update4
2017-07-17 00:08:15 +02:00
def
a30323d986
oops
2017-07-16 21:27:18 +02:00
def
4a8f3b083d
Use new update server that runs on Let's Encrypt
2017-07-16 11:46:38 +02:00
def
e4364983ab
Use https for map downloads by default
2017-07-16 11:29:10 +02:00
def
191eefbb2f
Only trust our own custom-selected CAs for our maps download server
2017-07-16 11:25:38 +02:00
def
c7c9c3c4dd
Possible to use https:// for map downloads, but still use http:// by default
2017-07-16 10:45:41 +02:00
def
f9170fd031
ugly workaround for dummy input when frozen with grenade and getting hammered
2017-07-15 18:59:33 +02:00
def
5ad633ef26
No success with Windows fixes, have to delay until someone with a
...
Windows computer can look into it
2017-07-15 17:29:57 +02:00
def
fba3815ddc
Only send password on connection when explicitly asked to ( fixes #788 )
2017-07-15 17:29:20 +02:00
def
49eb0128f2
Windows cleanup
2017-07-15 16:38:40 +02:00
def
1e3476e8bd
Opposite manifest setting
2017-07-15 16:18:18 +02:00
def
78dc5aa959
Another Windows DPI try
2017-07-15 15:31:53 +02:00
def
f627a72ebb
Refcount IME usage ( fixes #577 and #738 )
2017-07-15 15:25:36 +02:00
def
ff8d22e335
Audio volume on right speaker should depend on x coordinate, not y...
2017-07-11 22:10:23 +02:00
Dennis Felsing
38eacf21b7
Next try for Windows
2017-07-11 14:37:12 +02:00
Dennis Felsing
6a90b00b0b
Types
2017-07-11 14:25:53 +02:00
Dennis Felsing
d6f6095358
Types
2017-07-11 14:24:28 +02:00
Dennis Felsing
81c6d0b33c
Who doesn't enjoy fixing Windows stuff?
2017-07-11 14:08:03 +02:00
def
d0f4ffdaad
SDL_HINT_VIDEO_HIGHDPI_DISABLED
2017-07-09 19:53:02 +02:00
def
53565aa937
fixes
2017-07-09 14:56:57 +02:00
def
afe8b4dfbe
Or we just disable stupid highdpi...
2017-07-09 14:50:10 +02:00
def
46cedf3a8c
Compiler warnings
2017-07-09 10:27:58 +02:00
def
66f6f16e81
Windows DPI fixes #2
2017-07-09 09:44:07 +02:00
def
2a1bf93165
Try to fix Windows DPI issue
2017-07-09 09:24:08 +02:00
def
35dcb4d6cf
Don't open map file again if we have it open already
2017-07-08 22:09:03 +02:00
def
f3e3d57a90
Always close files, cleaner demo recording, fix some other stuff
2017-07-08 13:39:20 +02:00
heinrich5991
409bc0e019
Ensure null-termination in str_escape
...
This also fixes a couple of potential buffer overflows. The affected
code is still buggy (doesn't do the right thing on potential buffer
overflow), but at least it won't result in crashes/out of bound writes
anymore.
2017-07-08 13:06:03 +02:00
def
36d5c8d608
string toggling supports escaped strings; also some code cleanup
2017-07-08 11:03:51 +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
heinrich5991
743c58e4ae
Revert "Fix OSX cmake build"
...
This reverts commit 3406f01ff9
.
2017-06-09 19:34:01 +02:00
Learath2
3406f01ff9
Fix OSX cmake build
...
A little crude but it works.
2017-06-09 16:05:04 +02:00
eeeee
2797227063
also remove references to CGameContext from CServer
2017-06-05 22:31:56 -07:00
def
b592d6af55
ms not µs for thread_sleep
2017-06-02 23:28:47 +02:00
def
7e503a306b
Revert "Back to cl_cpu_throttle_inactive"
...
This reverts commit c217040319
.
2017-06-02 23:27:35 +02:00
def
c217040319
Back to cl_cpu_throttle_inactive
2017-06-02 23:18:14 +02:00
def
8553ed727b
Replace cl_cpu_throttle with cl_refresh_rate
2017-06-02 21:33:45 +02:00
def
4125941896
Disable dbg_stress in release builds (fewer confused kids that think they hacked the server, less useless code in cache)
2017-06-02 20:45:09 +02:00
def
814feede33
Don't copy strings into themselves
2017-06-02 18:37:29 +02:00
heinrich5991
5ae37e6c72
Add protocol extension with UUIDs
...
This system can easily be extended by independent authors without
collisions, something the old system with plain increasing integers did
not allow.
Do this by utilizing the previously unused message code `NETMSG_NULL`
which has a value of 0.
This works for engine and game messages, snapshot items and events.
2017-05-25 00:52:43 +02:00
Dennis Felsing
728e548f55
Merge pull request #754 from SheikhZayx/master
...
CSV file instead of statboard screenshot
2017-05-14 11:49:46 +02:00
def
6d81f1f188
Fix cl_cpu_throttle_inactive
2017-05-14 11:01:48 +02:00
SheikhZayx
ea0e4948b4
CSV file instead of statboard screenshot
...
En-/Disable statboard being saved as csv
2017-04-26 05:10:31 +02:00
Dennis Felsing
40d3b4071d
Merge pull request #729 from Learath2/dd_pr_friendcoll
...
Strict checking for friends
2017-04-12 11:16:20 +02:00
Learath
ec1581f13a
Strict checking for friends. Fixes #539
2017-04-12 11:04:20 +02:00
Learath2
568b5e5603
Pointers should be set to NULL
2017-04-12 01:20:39 +02:00
Learath
389b432758
Take a blind stab at #718
2017-04-11 21:47:27 +02:00
heinrich5991
1d81d56850
Introduce new, vanilla-compatible server info protocol
...
This means that we have a reliable and fast way to query for extended info,
while also not wasting network bandwidth.
The protocol is designed to be extensible, there's four bytes space for
encoding more request types (currently zeroed), and there's one string in each
response packet and one string for each player available (currently the empty
string).
The protocol itself has no problems with more than 64 players, although the
current client implementation will drop the player info after the 64th player,
because it uses a static array for storage.
Also fixes #130 , the player list is just sorted each time new player info
arrives.
2017-03-29 12:56:13 +02:00
necropotame
b8e4e5beea
Fix style in several places
2017-03-22 19:45:14 +01:00
heinrich5991
f5446ca3b0
Fix unsigned/signed comparison warning when interacting with freetype
2017-03-19 17:19:59 +01:00
heinrich5991
d91cca728d
Partially revert warning-fixing, it caused warnings on other systems
2017-03-12 16:47:37 +01:00
Ryozuki
84726547aa
Fix warning also for server.cpp, and fixed client.cpp
2017-03-12 14:49:18 +01:00
Ryozuki
79f5b26cf7
Moved _WIN32_WINNT to the top instead
2017-03-12 14:45:57 +01:00
Ryozuki
1614e59e8f
Fix some warnings
2017-03-12 12:12:39 +01:00
heinrich5991
f2b2eb8639
Allow easier login for passwords with spaces
2017-03-10 12:30:41 +01:00
Dennis Felsing
761c3c9be1
Merge pull request #646 from heinrich5991/pr_ddnet_brace_style
...
Fix the brace style in some places
2017-03-09 13:31:21 +01:00
Learath2
4101acd747
Add rcon_login
2017-03-06 10:31:05 +01:00
heinrich5991
ba5af42b1f
Fix the brace style in some places
2017-03-04 15:43:49 +01:00
heinrich5991
e3f2316106
Revert "Revert "Refactor dummy input and demo filtering""
...
This reverts commit 187560c8c0
.
2017-02-28 10:08:14 +01:00
Dennis Felsing
187560c8c0
Revert "Refactor dummy input and demo filtering"
...
This reverts commit 8375f4888e
.
2017-02-28 08:15:35 +01:00
Dennis Felsing
eb36f421c5
Merge pull request #630 from heinrich5991/pr_ddnet_cmake_basic
...
Add overly simple CMakeLists.txt
2017-02-27 16:28:19 +01:00
heinrich5991
8375f4888e
Refactor dummy input and demo filtering
...
Remove references to src/game/ from src/engine/
2017-02-23 14:13:14 +01:00
Learath2
09552a6d9f
Get rid of trailing whitespaces
2017-02-21 19:11:43 +03:00
Dennis Felsing
c21399c4c5
Merge pull request #567 from d3fault/master
...
dummy copyMoves/hammer disabling when dummy connecting
2016-11-07 10:20:11 +01:00
Dennis Felsing
ab6ed4c589
Discard invalid snaps
2016-11-04 13:26:46 +01:00
def
34531c0696
cleanup
2016-11-03 22:10:31 +01:00
d3fault
d6b732113e
dummy copyMoves/hammer disabling when dummy connecting
2016-10-26 15:00:02 -07:00
heinrich5991
fce9ec6cda
Replace UI elements for the timeout code
...
Now you can regenerate your timeout seed with the click of a button.
2016-10-03 13:56:15 +02:00
heinrich5991
89b6d0c3da
Fix C89 compilation and a copy&paste mistake
2016-10-03 12:31:11 +02:00
heinrich5991
7ca2697135
Generate server-specific timeout codes
...
This way, servers can no longer hijack the timeout codes of clients.
Timeout codes are generated from md5(seed + dummy + server address).
If `cl_timeout_seed` is set to the empty string, the old config options
are used instead.
2016-10-02 11:36:42 +02:00
gjdaniel1999
142ae25e5d
Fix #267
...
Fixes crashes caused by dns timeout.
2016-09-28 10:48:51 +05:30
Dennis Felsing
98a2f459b6
Merge pull request #533 from BannZay/openCurrentMap
...
Load Current Map button added
2016-09-05 18:27:54 +02:00
BannZay
66c44cea79
MAX_PATH_LENGTH instead of pure magick
2016-09-05 18:54:35 +03:00
ACTom
363d0f81a4
Fix editor cannot input
...
fix bug that press ctrl+shift+e enter editor and cannot input anything.
fixed by TsFreddie
2016-08-27 02:29:57 +08:00
BannZay
c658411f15
Load Current Map button added
2016-08-23 14:29:53 +03:00
Freddie Wang
e5f23cd87c
Added full IME support
...
Now with display of editing text.
2016-08-14 22:16:06 -07:00
Freddie Wang
51a7b01190
temporary ime fix
...
Fixed Asian IMEs which need to press enter to confirm candidate text.
Disabled keyinput while editing candidate in IME.
2016-08-14 21:01:31 -07:00
def
28f50e4440
Revert "Implement comma in search and exclude queries to separate search terms"
...
This reverts commit 3341e18d13
.
2016-08-07 00:52:00 +02:00
def
3341e18d13
Implement comma in search and exclude queries to separate search terms
2016-08-02 22:16:02 +02:00
def
866ffe8ef2
Fix mouse when opening editor with cl_editor 1
2016-07-03 23:16:43 +02:00
def
4681f69b1b
Introduce cached ticks for client again, this time with workaround for
...
particles. Hopefully not many other parts of the code will need this.
2016-06-28 23:36:34 +02:00
def
19feacb2ad
Revert "Cache time on client as well"
...
This reverts commit 987fad55cd
.
Broke too many graphics animations, couldn't find a fix
2016-06-28 02:51:26 +02:00
def
987fad55cd
Cache time on client as well
...
- Fixes FPS for me after suspend from 40 to 500 fps
- Should generally improve performance
- Might lead to a few problems where we need to call set_new_tick() in a
few more positions, so test please
2016-06-28 02:16:55 +02:00
def
aeec3c6396
Add support for mousewheelleft and mousewheelright
2016-06-21 15:31:28 +02:00
def
8753620e42
Also use cl_reconnect_timeout on 'Too weak connection'
2016-06-19 02:17:23 +02:00
Tim Schumacher
96bcedec29
just set first char of ddnet filter to zero
2016-05-19 15:54:52 +02:00
Tim Schumacher
dae855ee9f
clear ddnet filter strings before appending
2016-05-19 15:51:48 +02:00
def
bb634d7641
Reconnect to last server address, not the one selected in browser
2016-05-17 18:56:33 +02:00
def
695bf346ac
Make gfx_refresh_rate functional ( fixes #255 )
2016-05-10 17:43:27 +02:00
def
2fc2515e0f
Fix DDNet server browser to refresh only once on start, not twice
2016-05-10 12:40:33 +02:00
def
461a09451d
Improve handling of multiple screens and missing screens
2016-05-07 23:19:46 +02:00
def
642e7f7671
Still hide window at start (fixes fullscreen in Gnome)
2016-05-07 21:16:31 +02:00
def
9bd30ce447
Make high-dpi screen support optional
2016-05-07 17:47:05 +02:00
def
4631a7cfa6
Try to enable HighDPI (untested)
2016-05-07 16:35:31 +02:00
def
340c4d2398
Leave it up to the WM where to position windows
2016-05-07 15:59:40 +02:00
def
c325b08087
Add inp_mouseold for warped mouse input
2016-05-07 15:59:13 +02:00
def
f2100fbad7
Change window focus handling (disable input grab when focus lost)
2016-05-06 11:29:34 +02:00
Ryozuki
82d2a994ed
Fixed cl_showping (now cl_showpred)
2016-05-05 18:07:00 +02:00
def
1b668047c8
Clean up auto reconnect and make it independent of rendering
2016-05-04 18:23:00 +02:00
def
21ac41bfae
Clean up fifo console
2016-05-02 23:36:21 +02:00
def
61e47422f6
Clean up debug messages a bit (lower case, no useless errors)
2016-05-02 21:35:32 +02:00
def
a8ce73dffa
Comment m_InpuIgnoredModifiers a bit
2016-05-02 18:21:54 +02:00
def
a9ed7035ee
Add inp_ignored_modifiers to ignore set of keyboard modifiers
2016-05-01 23:07:19 +02:00
def
28571e9cb5
Damn Windows XP
2016-05-01 20:23:14 +02:00
def
0bab90aa20
ALT modifier has no special meaning for key input
2016-05-01 19:57:38 +02:00
def
487de16200
Anotehr WinXP fix
2016-05-01 19:56:18 +02:00
def
dc45ecbe6d
Try to fix du.bat
2016-05-01 19:56:13 +02:00
def
a4840cdfd3
Fix ed_showkeys with mousewheel
2016-05-01 19:34:16 +02:00
def
faa576e73d
Another mouse fix try
2016-05-01 15:34:36 +02:00
def
981533e177
More mouse fixes with SDL2
2016-05-01 15:20:52 +02:00
def
143fd88c2a
Ignore relative mouse movement when in absolute mouse mode
2016-05-01 15:02:08 +02:00
def
644a23ba57
Fix folder creation
2016-05-01 14:45:47 +02:00
def
ab13a0086d
Updater: Support downloading files into new directories
2016-05-01 14:20:55 +02:00
def
779c6d2508
Only move cursor when window has mouse focus
2016-05-01 14:00:53 +02:00
def
32db2e6915
Updater: Support DLLs for win32 and win64
2016-05-01 13:11:51 +02:00
def
88780b8fbc
Use new ddnet update server
2016-05-01 12:09:02 +02:00
def
15fa9f7b74
minor fix: false instead of SDL_FALSE
2016-05-01 11:39:40 +02:00
def
6b3e0981a1
Case-insensitive
2016-05-01 11:23:56 +02:00
def
53a7623191
Updater special handling for ttf files (same as dll)
2016-05-01 11:23:32 +02:00
def
cc002d244d
Fix gfx_resizable to be on by default with X11
2016-05-01 03:28:41 +02:00
def
72a6e20ba8
Split CInput::NextFrame() from CInput::Update() ( fixes #444 )
2016-05-01 00:18:25 +02:00
def
d1b87e6794
Fix resolution on Mac OSX ( fixes #445 )
2016-04-30 23:10:09 +02:00
def
f79bdf69a5
typo
2016-04-30 22:55:21 +02:00
def
0385c3b520
Workaround for global hotkeys causing SDL keydown events
2016-04-30 20:27:47 +02:00
def
4761608329
Input fixes from TW master for mouse wheel
2016-04-30 20:11:26 +02:00
def
1446adee2c
Window resizing only with X11 (not on Windows and Mac OS X)
2016-04-30 19:19:19 +02:00
def
644fec7e55
Resize window without restarting client
2016-04-30 17:59:58 +02:00
def
74f4ad77d6
fixed utf8 text input from tw master
2016-04-30 04:02:32 +02:00
def
502c5aa3cb
Ignore keys after window regained focus
2016-04-30 03:32:23 +02:00
def
26c9c39004
Disable HighDPI displays
2016-04-30 03:32:01 +02:00
def
9b20d3a0ad
Fix relative mouse
2016-04-30 02:06:41 +02:00
def
2a7aa33830
Normal mouse speed again
2016-04-30 00:52:43 +02:00
def
7a5b79e48a
More SDL2 graphics goodness, partially from TW master
2016-04-30 00:43:11 +02:00
def
11e3fd55db
seperated ingame input handling from rendering (from TW master)
2016-04-29 23:05:20 +02:00
def
1727dd5a72
Some early SDL2 Android fixes
2016-04-29 22:56:13 +02:00
def
e8965bee68
Some keyboard input changes from teeworlds master
2016-04-29 21:56:38 +02:00
def
354696afb7
switch between fullscreen and windowed mode without restarting the client (by oy)
2016-04-29 21:56:38 +02:00
def
6c4e6c5c44
setlocale for XOpenIM with compose key
2016-04-29 21:56:38 +02:00
def
8e3550f9c6
Fix keyboard segfault
2016-04-29 21:56:38 +02:00
def
10d6f69d32
Fix Mouse buttons 4 and 5
2016-04-29 21:56:38 +02:00
def
0155c75cf4
Keyname for mouse9
2016-04-29 21:56:38 +02:00
def
a089d3d36d
Fix issue with keys not being recognized on non-English keyboards
2016-04-29 21:56:38 +02:00
def
bd2b61f0e5
Initialize m_pClipboardText
2016-04-29 21:56:38 +02:00
def
c5db3ef5f4
Use SDL_free instead of free
2016-04-29 21:56:38 +02:00
def
ea45173612
Fix NotifiyWindow on Windows
2016-04-29 21:56:38 +02:00
def
3e9b8a62ce
Add includes for windows' getenv/putenv/free
2016-04-29 21:56:38 +02:00
def
632db36fe4
Add clipboard copy&paste support (by swick)
2016-04-29 21:56:38 +02:00
def
9918ada2d8
Add comment about mouse sensitivity on X11
2016-04-29 21:56:38 +02:00
def
4111acd309
Add WIP
2016-04-29 21:56:38 +02:00
def
8bfc0008b7
Hide window until OpenGL context is created
...
Fixes aspect ratio distortion when using multiple screens with different
aspect ratio and switching between them while starting the client
2016-04-29 21:56:38 +02:00
def
6efd028393
Make NotifyWindow work with SDL2
2016-04-29 21:56:38 +02:00
def
38cfe32385
Fix stuck mouse
2016-04-29 21:56:38 +02:00
def
5cdb36ecb0
Debugging with text input handling
2016-04-29 21:56:38 +02:00
def
ff2a7272fa
Improved window grabbing: only when relative mouse mode is active
2016-04-29 21:56:38 +02:00
def
63a4c804de
Grab window, fixes mouse moving out of window and losing control
2016-04-29 21:56:38 +02:00
def
2d70c3e292
Try to get SDL2 on Windows working
2016-04-29 21:55:48 +02:00
def
db8a126315
Merge swick's SDL2 branch
2016-04-29 21:55:48 +02:00
Dennis Felsing
12fa78ca75
Merge pull request #316 from Learath2/pr_dllupdate
...
Allow for the update of dll files
2016-04-27 22:18:30 +02:00
def
ccbdf1d073
Add demo_speed command ( fixes #354 )
2016-04-27 17:21:40 +02:00
def
0f5611c2f0
Add function to filter chat out of demo when slicing ( fixes #382 )
2016-04-27 17:05:30 +02:00
def
a93e7710e1
Remove hacky security against rcon spoofing because we have a better one now (client-side)
2016-02-22 19:56:30 +01:00
def
52224875b4
Style cleanup
2016-01-23 21:44:45 +01:00
def
51504d2bd2
Switch dummy snapshots as well to prevent snapshot accumulation ( fixes #400 )
2016-01-23 21:42:35 +01:00
H-M-H
e41b4f463d
Merge pull request #389 from H-M-H/command_usage
...
added (console-)command usage fixes #387
2016-01-03 20:59:32 +01:00
def
7223d0ecc1
Use a do-while loop instead
2016-01-02 19:51:22 +01:00
east
f3f33904f7
secure_rand() as replacement for client source port generation
2016-01-02 15:37:44 +01:00
H-M-H
8e24ef8020
commanddescription can now be placed directly in
...
the commandparamsstring: "s[file]"
2015-12-28 16:19:52 +01:00
H-M-H
11a426c18b
added (console-)command usage
2015-12-23 14:29:31 +01:00
timgame
2874e18ce0
dont restore empty config values at start
2015-11-16 20:31:56 +01:00
H-M-H
f0d10ac62d
better get dummyinput directly from CControls
2015-11-10 20:29:12 +01:00
H-M-H
50c80a1cfb
classmembers shall start with m_ !
2015-11-09 20:27:18 +01:00
heinrich5991
e6959e116e
Only update cl_antiping_* if cl_antiping is 0
...
If cl_antiping is 1, the previous version of the code would have set all
other antiping variables to 1 anyway, so with this commit the user can
retain their antiping config if they configured after the last start of
the old client.
2015-10-06 15:59:11 +01:00
heinrich5991
7512cc10d6
Introduce a mechanism to import old configs and use it for cl_antiping*
2015-09-10 12:31:02 +01:00
east
5dd2169bb0
keep support for map fastdl
2015-09-01 17:55:12 +02:00
east
7720d6bbf2
client exception for NETMSGTYPE_SV_EXTRAPROJECTILE not vital
2015-09-01 13:50:45 +02:00
oy
e91d26b8ac
force vital check on essential cl/srv messages and added additional sequence checking
2015-09-01 13:50:45 +02:00
Learath2
27d9ad9bfc
Get rid of unnecessary debug messages
2015-08-29 23:55:41 +03:00
Learath2
5f4e2511fb
Allow updating dll files. Replace vectors with map.
2015-08-29 23:48:04 +03:00
Learath2
8504dbc058
Create directories if they are missing
2015-08-29 23:47:55 +03:00
Learath2
d08bd06610
Fix variable naming
2015-08-29 23:46:22 +03:00
def
043d718698
Fix dyncam mousesens
2015-08-27 21:52:10 +02:00
def
1dddf42cbb
Simplify Dyncam and fix #311
2015-08-27 20:26:05 +02:00
def
12f55eb76c
Try FreeConsole() instead
2015-08-26 15:12:27 +02:00
def
fe22edadaa
Hide console window on Windows by default
2015-08-26 12:40:50 +02:00
def
902e4b7487
Also use map name by default for manual demo recording
2015-08-22 17:36:47 +02:00
def
83be8af082
Change auto demo recorder format ( fixes #297 )
...
- auto/MAP_TIME.demo instead of the old auto/autorecord_TIME.demo
- Made CFileCollection usable with a wildcard to include the entire
directory and not just files with a specific file name
2015-08-22 17:22:46 +02:00
def
db2256e827
Fix a few whitespace-at-end-of-file issues
2015-08-22 15:27:41 +02:00
Dennis Felsing
37256d6e2c
Merge pull request #283 from savander/DDRace64
...
Improvements for demoplayer (pause/unpause demo is bindable) + you can hide scoreboard after death
2015-08-13 17:25:57 +02:00
Adam Jaworski
41620b1a36
Con_DemoPlay instead of Con_PlayDemo and demo_play instead of playdemo
2015-08-12 14:26:48 +02:00
def
8f532aad9f
Use autoexec_client/server.cfg by default, fall back to autoexec.cfg for both
2015-08-12 13:49:16 +02:00
Adam Jaworski
18fae123ab
Playdemo - Check if demo is played
2015-08-12 12:17:19 +02:00
Adam Jaworski
8d4aea8a00
Added: playdemo command to start demo via console, bindable
2015-08-12 11:59:34 +02:00
Nikita Zyuzin
0b9e2f144c
Add prefix Cl to dummy and player variables
2015-08-07 00:16:33 +04:00
def
eb29a21142
Improve friends and foes feature
...
- Add friends and foes commands to list them
- Make clan optional for adding and removing
2015-07-28 16:13:29 +02:00
def
e97c8ac08f
Add foes (permanently ignored players)
2015-07-22 22:16:49 +02:00
def
d815193d86
Merge branch 'DDRace64' of github.com:def-/ddnet into DDRace64
2015-07-22 18:24:09 +02:00
def
4e658c1057
Minor cleanups
2015-07-22 18:23:40 +02:00
east
63cfc09017
make add_demomarker working in all recorders
2015-07-22 15:37:59 +02:00
def
76e4ca1bf6
Sort players in scoreboard by name too
2015-07-10 22:26:55 +02:00
def
6e8ada1ac8
Fix whitespaces a bit
2015-07-09 02:12:35 +02:00
def
7c665a7b97
Add auto-antiping based on ping
2015-06-21 18:00:09 +02:00
east
458e83e794
Further revert of auto demo recorder (fixes continuous recording on TILE_BEGIN)
2015-06-17 12:54:41 +02:00
Nikita Zyuzin
12652985c3
Hide scoreboard if statboard is present
2015-05-21 13:55:51 +04:00
Nikita Zyuzin
d8d20b0c1a
Rename detailed_stats to statboard
2015-05-21 13:41:59 +04:00
Nikita Zyuzin
42759e8909
Fix restart on new round and grabs count
2015-05-21 00:23:58 +04:00
Nikita Zyuzin
245ebccd7b
Add initial detailed stats board code
2015-05-20 02:51:02 +04:00
def
b6008f5b20
Only refresh serverbrowser when necessary
2015-05-11 21:51:06 +02:00
def
33c0420edf
Don't stop Autoupdater downloads just because they're slow
2015-05-10 01:53:26 +02:00
def
ad151e5aba
Enable timeouts and low speed limits for HTTP downloads
2015-05-10 01:36:29 +02:00
def
a3ac203b0c
Fix autoupdater on non-Windows
2015-05-08 20:46:48 +02:00
def
4c8834dc6a
Fix autoupdater on non-Windows
2015-05-08 20:45:47 +02:00
def
360be2b727
Fix autoupdater
2015-05-08 20:40:47 +02:00
east
9d50085782
Fix dummy connect on servers without security token protocol
2015-04-19 23:09:55 +02:00
east
93305aef74
Fix dummy connect delay (Fullfill securitytoken handshake)
2015-04-19 19:53:37 +02:00
def
8f02de318b
Make dummy connecting a bit nicer: Show that dummy is being connected, disable unusable buttons
2015-04-19 14:40:05 +02:00
def
a77cd039a6
Get rid of all Clang warnings
2015-04-18 22:29:28 +02:00
def
710a786f88
Rename AutoUpdater to Updater because you have to press a button now
2015-04-18 21:17:27 +02:00
def
aead2631b6
Fix os_compare_version a bit
2015-04-18 16:23:43 +02:00
Learath Lea
df57a981de
Add os_compare_version. Check for WinXP.
2015-04-18 15:53:11 +03:00
def
b55bf7ef90
Try to add back WinXP compatibility for autoupdater (untested)
2015-04-18 13:42:56 +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
def
3c496c62e1
Rename gfx_quads_as_triangles to gfx_quad_as_triangle and set default to 1
2015-03-31 16:41:51 +02:00
BeaR
2d3202862b
Change the way quads are split into triangle splits (conform with intel/nvidia drivers)
2015-03-31 16:18:49 +02:00
BeaR
462d88eac4
Reduce amount of drawcalls when using triangles instead of quads
2015-03-31 13:35:18 +02:00
Learath Lea
1839025732
Do call the callback even if it fails
2015-03-29 00:46:43 +02:00
Learath Lea
0024a4370c
Catch an IO error
2015-03-29 00:41:58 +02:00
def
04c64a1794
Don't ask to autoupdate if we're on a newer version already
2015-03-15 01:09:34 +01:00
def
d835826461
Use proper path for autoupdater on *nix
2015-03-14 20:01:18 +01:00
def
8ae27f81b6
Improve autoupdater a bit
...
- Only ask for restart when we're ingame or unsaved changes in editor
- Otherwise restart directly
2015-03-14 16:10:46 +01:00
def
6af7510cc5
Some more compilability
2015-03-14 11:31:06 +01:00
def
0fd857b410
Compiling on Android
2015-03-14 11:29:20 +01:00
def
ba4f961594
Some more autoupdater changes and a button to check for autoupdates
2015-03-14 10:45:11 +01:00
def
8a5fda61d5
Remove unused "Ignored" parts
2015-03-13 22:33:48 +01:00
Learath Lea
a164458f70
Add a messag for last file too
2015-03-13 21:27:37 +02:00
Learath Lea
b75a756367
Don't get stuck on a manifest fail.
2015-03-13 21:18:00 +02:00
Learath Lea
1f34ed6740
Call the completion callback even on a fail.
2015-03-13 21:17:23 +02:00
def
aa4453da40
Fix autoupdate to show download bar again
2015-03-13 16:27:57 +01:00
def
f893ed6ec4
Fix and clean up autoupdater
2015-03-13 15:14:00 +01:00
Learath Lea
a4d16a2713
Fix bug with replacing executables.
2015-03-08 19:45:37 +02:00
Learath Lea
7e22c77184
Fix small bugs. Update the server executable too.
...
Conform to fetcher interface.
2015-02-27 23:09:04 +02:00
Learath Lea
488db9b4fb
Can't autoupdate on OSX and Android.
2015-02-27 23:08:34 +02:00
Learath Lea
8ee294a412
Fix use after free. Fix thread launching.
2015-02-27 23:06:19 +02:00
Learath Lea
422e726dce
Fix two little bugs
2015-02-23 20:25:38 +02:00
Learath Lea
0f279a33cb
Add restart functionality.
2015-02-23 20:25:03 +02:00
Learath Lea
cf418160b6
Made the user interface functional.
2015-02-23 20:24:27 +02:00
Learath Lea
233ce262ac
Add Autoupdate.
2015-02-23 20:23:56 +02:00
Learath
09ce649238
First get rid of the old autoupdate
...
Conflicts:
src/engine/client/client.cpp
src/engine/client/client.h
Conflicts:
src/engine/shared/config_variables.h
2015-02-23 20:23:35 +02:00
Tobii
b309fd41eb
Added copy moves function for dummy
2015-02-16 11:19:42 +01:00
Learath Lea
62a35bfb81
Escape the filenames.
2015-02-12 19:58:54 +02:00
def
dd3fae069b
Cleanup
2015-02-08 21:18:24 +01:00
Learath Lea
ec84bb890b
Actually use the storagetype we passed.
2015-02-08 11:53:06 +02:00
Learath Lea
142c386cd6
Remove obsolete function prototype.
2015-02-08 11:52:47 +02:00
def
8da8abdeaa
No more verbose curl output
2015-02-05 19:41:48 +01:00
Dennis Felsing
99f2adc29b
Merge pull request #139 from Learath2/pr_FixOverflow
...
Fix progress bar overflow and Abort segfault
2015-01-28 18:45:15 +01:00
Learath Lea
c4ab42333d
Make sure the old object is deleted
2015-01-28 14:17:39 +02:00
Learath Lea
ace7e8208a
Fix a segfault when aborting a download
2015-01-28 14:13:56 +02:00
Learath Lea
2d61e7610e
Fix the progressbar overflow
2015-01-28 13:57:11 +02:00
def
499adf3cdb
HTTP instead of HTTPs
2015-01-27 23:14:04 +01:00
def
3aa4a613b6
Make the option to disable http download work (thanks Learath2)
2015-01-20 00:26:09 +01:00
def
3b0a52319b
Typo
2015-01-20 00:21:38 +01:00
Dennis Felsing
b6c07e40d2
Merge pull request #137 from Learath2/pr_FollowRedirect
...
Follow 3xx Redirects
2015-01-20 00:05:33 +01:00
Learath Lea
6b354475ce
Follow 3xx Redirects
2015-01-20 01:01:35 +02:00
Dennis Felsing
554342eb3f
Merge pull request #136 from Learath2/pr_CrcFail
...
Fix for the crc fail fallback.
2015-01-19 23:56:40 +01:00
Learath Lea
c6ee3ebbed
Fix for the crc fail fallback.
2015-01-20 00:51:55 +02:00
Learath Lea
93d6ca2102
Fixed the order of callbacks
2015-01-20 00:34:05 +02:00
eeeee
e5970145f7
fix fetcher codez formatting
2015-01-19 14:09:30 -08:00
Learath Lea
b8ec5c6e65
Fallback to gameserver if LoadMap fails
2015-01-19 23:34:57 +02:00
def
883cd3d7d3
Adaptation to work with DDNet
2015-01-19 22:19:27 +01:00
Learath
340e79904d
Added fetcher interface.
...
Make fetcher client only and move Task class from interface.
Fix queue logic, add destructor.
LEAN_AND_MEAN moved up to prevent curl including the whole winapi
Remove JobNo, Fix callback, Cleanup debug messages.
Fix include guard
Copy the Url and Destination. Delete pTask.
Fix typo
Add Completion callback
Let the user pass context
Add virtual to inherited funcs
Use 0 instead of NULL
Give fetcher the ability to create folders. Fix couple of small bugs.
Added .lib files for MSVC.
Leave user the allocation of CFetchTask. Get rid of unnecessary cb
arguments.
Get the HTTP return code from libcurl.
Incorperate the storage system.
Fail on HTTP error >= 400.
Add more info to the task.
Add blocking way of getting HTTP resp code.
Remove resp code from normal tasks as we fail >= 400 anyways.
Sleep instead of killing the thread
Forgot one instance of respcode.
Provide HTTP download for maps.
Dont check 404 first.
2015-01-19 22:14:52 +01:00
def
bd62b5da79
Clean up a few compile warnings
2014-12-31 13:04:31 +01:00
def
e24de30f86
Still allow to find clan mates when clan is ignored in friends
2014-12-22 18:18:01 +01:00
def
ee6eae1cee
Fix cl_friends_ignore_clan
2014-12-19 17:56:29 +01:00
def
8d945fe968
Exclude DDNet servery by type
2014-12-14 16:45:18 +01:00
def
3b0f768478
Add setting to ignore clan in friends and enable by default
2014-12-12 17:15:29 +01:00
def
76b6a99f26
Add Exclusion filter strings and clean up menu a bit
2014-12-10 04:49:16 +01:00
def
8b108a2311
Clean up gametype determination
2014-12-10 03:39:15 +01:00
def
801d6033a5
Revert "More unsigned ints because of undefined integer overflow behaviour"
...
This reverts commit 623223354a
.
2014-12-02 15:54:59 +01:00
def
0963b68dea
Fix memory leak in client
2014-12-02 13:36:27 +01:00
def
623223354a
More unsigned ints because of undefined integer overflow behaviour
2014-12-02 12:10:21 +01:00
Dennis Felsing
b525de33b5
Merge pull request #112 from trml/prediction_weapons
...
Prediction weapons
2014-12-02 11:24:52 +01:00
nuborn
9752334e75
convert projectiles back to default format before recording demos
2014-12-01 01:32:51 +01:00
nuborn
03bc769c09
prediction of hammer (hits) and grenade (explosions)
2014-12-01 01:31:58 +01:00
BeaR
186de4e08e
Add option to enable/disable panning per voice
2014-11-30 12:23:05 +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
9996751161
Remove deprecated falloff distance
2014-11-28 19:21:59 +01:00
BeaR
80c06aef91
Fix sound cutoff for looped sounds and make sound offset threshold dependent on the size of the audio buffer
2014-11-27 13:56:01 +01:00
def
f3ba2e86ca
Send timeout code later (fixes timeout code entering issues, fixes timeout protection not working realiably with dummy)
2014-11-27 01:59:55 +01:00
def
c9b4687cce
More time for double click recognition (0.33 instead of 0.25 seconds) ( fixes #17 )
2014-11-25 21:30:16 +01:00
def
91bc16c037
Add an option to assume demos to be race demos
2014-11-25 20:46:21 +01:00
def
2acdf5ea17
Code cleanup
2014-11-25 20:29:31 +01:00
def
140173311e
Uncached time_get by default
2014-11-18 18:21:30 +01:00
def
36a9c00aed
Make sound more exact
2014-11-15 00:13:20 +01:00
def
808f889c00
Improve server wakeup timing
2014-11-11 13:00:02 +01:00
def
4e9b6ea336
Ugly fix for client (TODO: improve)
2014-11-10 00:17:31 +01:00
def
c9ceef7523
Add workaround for FlashWindowEx on mingw with old winapi32
2014-11-05 01:46:40 +01:00
def
d3797289c1
Revert "improve antiping for weapons (particularly in vanilla) by taking into account more of the info already available to the client"
...
This reverts commit 56036dcd7b
.
2014-11-02 10:58:21 +01:00
def
11583ed434
Allow 256 voices
2014-10-30 00:14:16 +01:00
BeaR
f5fa00cfb7
Prevent integer overflow (fixes segfault in the soundengine)
2014-10-29 22:45:48 +01:00
Dennis Felsing
346d7a04f3
Merge pull request #90 from trml/improve_antipingweapons
...
Small improvements to antiping for weapons
2014-10-29 00:34:45 +01:00
def
ec55a87972
Fix opus map sound crash
2014-10-28 22:42:31 +01:00
def
2a44f0cc0f
Merge branch 'Sound' into DDRace64
...
Conflicts:
bam.lua
other/opus/include/ogg/ogg.h
other/opus/include/opus/opus.h
other/opus/include/opus/opus_custom.h
other/opus/include/opus/opus_defines.h
other/opus/include/opus/opus_multistream.h
other/opus/include/opus/opus_types.h
other/opus/include/opusfile.h
src/engine/client/sound.cpp
2014-10-28 22:08:59 +01:00
nuborn
56036dcd7b
improve antiping for weapons (particularly in vanilla) by taking into account more of the info already available to the client
2014-10-28 21:13:55 +01:00
BeaR
5562fac602
Add opus as external library (windows only)
2014-10-28 14:38:50 +01:00
BeaR
49373ee412
Fix opus sound loading
2014-10-28 14:01:21 +01:00
def
e283e10685
A bit better, but still buggy
2014-10-28 12:22:49 +01:00
def
9b3ca0d8a1
Something that sounds a bit more like music (NumFrames wrong or op_read wrong?)
2014-10-28 10:27:00 +01:00
def
f1cca50695
Fix Mac OSX compilation
2014-10-28 02:25:45 +01:00
def
3730e19b5c
Fix Android compilation
2014-10-28 02:01:51 +01:00
def
0b1de66bdf
Revert "Some work on Opus map sounds (not working yet)"
...
This reverts commit 26260181bd
.
2014-10-28 01:33:58 +01:00
def
f4231100a7
Make triangle quad rendering optional, as it seems to cause performance problems
2014-10-28 01:12:11 +01:00
def
26260181bd
Some work on Opus map sounds (not working yet)
2014-10-27 16:23:53 +01:00
def
5fd50e0b46
Fix warning at client start
2014-10-27 09:05:22 +01:00
def
9453b80e66
Forgotten
2014-10-26 02:57:03 +02:00
def
59fccf18f0
Add window highlight on Linux ( fixes #65 )
2014-10-26 02:25:36 +02:00
def
34c39b43f0
Cleanup
2014-10-25 02:53:26 +02:00
def
8d230306d8
Fix sound enabling and disabling ( fixes #82 )
2014-10-25 02:52:08 +02: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
12102a14a6
Fix sound and image loading
2014-10-24 23:03:16 +02:00
BeaR
78aa7c51be
Prevent modulo 0
2014-10-23 12:04:46 +02:00
BeaR
2b1272ed69
Work on nicer audio timing
2014-10-18 18:41:59 +02:00
BeaR
e211c7a2b2
Ingame sound pos envelope support
2014-10-18 18:41:55 +02:00
BeaR
8addf25b24
Add support to modulate voice volume and falloff distance
2014-10-18 18:41:54 +02:00
BeaR
774be5561e
Fix crash when loading sound files threaded (double io_close)
2014-10-18 18:41:54 +02:00
BeaR
b5d0034674
Add embedded sound support
2014-10-18 18:41:53 +02:00
BeaR
96a6d6d85b
Take sample duration into account when enqueuing sound sources
2014-10-18 18:41:53 +02:00
BeaR
16084d93cf
Working on correctly replay sounds
2014-10-18 18:41:52 +02:00
BeaR
2f837a4c44
Notify player on chat highlight (windows only)
2014-10-18 16:17:36 +02:00
def
082ecfe691
Merge branch 'DDRace64' of github.com:def-/ddnet into DDRace64
2014-10-16 17:42:38 +02:00
def
1144ba77c6
Split up demo recording into 3 separate recorders
2014-10-16 17:42:13 +02:00
BeaR
944218ca9f
Render quads as triangle fans
2014-10-15 15:44:29 +02:00
def
607a27718e
Revert "Removed InputData Array"
...
This reverts commit 83f6fc70fa
.
2014-10-12 17:52:53 +02:00
Tomew
83f6fc70fa
Removed InputData Array
2014-10-12 17:19:09 +02:00
def
32fedf3518
Automatically rcon-authenticate dummy on connection if player is authenticated already
2014-10-01 12:41:10 +02:00
def
c54cf2e7ba
Cleanup
2014-09-26 02:41:25 +02:00
def
bde8c33c20
Hopefully real fix now
2014-09-20 21:44:43 +02:00
def
572b4f91bd
Fix serverbrowser for more than 24 players again
2014-09-20 21:14:19 +02:00
def
36b33d6138
Fix: Prevent animated server names and fake 0 pings in serverbrowser
2014-09-20 15:48:30 +02:00
def
7035bf87fd
Refresh DDNet tab when a new serverlist was received
2014-09-20 15:35:01 +02:00
def
3b3955632c
Hopefully fix Windows compile
2014-09-20 14:20:43 +02:00
def
d6aea5ba40
Prepare DDNet gametype name
2014-09-20 13:48:59 +02:00
east
c4fc429e99
small cleanup
2014-09-20 11:47:51 +02:00
east
603727232a
ddnet server list zlib compression added
2014-09-20 11:36:46 +02:00
east
cda02a3d9a
versionsrv serverlist download added
2014-09-20 00:36:22 +02:00
east
202d5d8866
Filter flag grid added
2014-09-19 23:52:09 +02:00
east
9db12d455d
working on CDDNetCountry
2014-09-18 16:13:06 +02:00
east
e732008157
DDNet serverlist added
2014-09-13 16:36:25 +02:00
def
a36358190b
Mac OS X compilation
2014-09-11 21:38:23 +02:00
def
49682f4a8d
Threaded logger output
2014-09-09 23:02:05 +02:00
def
d44e6088bb
console output cleanup
2014-09-09 22:23:56 +02:00
def
0da1ba238c
Add cl_cpu_throttle_inactive
2014-09-06 01:42:59 +02:00
def
4133e642f8
Remove Damage Indications when entering game ( fixes #29 )
2014-09-03 14:17:44 +02:00
def
f66febb009
Revert "Only connect dummy when we're fully connected to the server"
...
This reverts commit 96502a2d88
.
2014-09-03 13:58:06 +02:00
def
96502a2d88
Only connect dummy when we're fully connected to the server
2014-09-01 17:36:10 +02:00
def
9f4ac93d90
fifoconsole cleanup
2014-08-29 19:42:34 +02:00
timgame
7929d9a0c8
added client fifo
2014-08-29 16:52:08 +02:00
def
c653a09f82
Use settings_ddnet.cfg instead of settings.cfg
2014-08-26 22:25:22 +02:00
def
b2f8f272db
Only use rcon spoofing protection on ddnet servers as it's buggy on others
2014-08-26 22:10:22 +02:00
def
c6b63c34ba
Don't show quit popup on update
2014-08-26 22:06:35 +02:00
Dennis Felsing
25bbecc0c9
Merge pull request #10 from east/demoslice
...
Extended demo player features
2014-08-23 18:36:20 +02:00
east
070ebe2895
merge fixed
2014-08-23 17:57:32 +02:00
east
8624d0a747
DemoPlayer: Save dialog added
2014-08-23 17:48:04 +02:00
def
803745fee1
Fix: Working 64 player server info in LAN tab (by Savander)
2014-08-22 19:59:38 +02:00
def
2cff296c25
Protect from IP spoofing of rcon commands
2014-08-22 13:54:13 +02:00
def
bdd8e77d46
also show all players for 32 player serves in serverbrowser
2014-08-21 13:57:21 +02:00
def
0916d8aba5
Fix timeout code stuff
2014-08-17 19:19:40 +02:00
def
c97a412913
Timeout code for dummy, timeout code working on solo servers
2014-08-17 19:10:08 +02:00
def
23f67b5afe
Really disconnect dummy on map change
2014-08-16 12:55:37 +02:00
def
1c4fac8afd
Display map name while downloading
2014-08-16 01:06:17 +02:00
east
f1ee4aa48c
CDemoEditor: slice begin/end markers added
2014-08-13 17:32:03 +02:00
east
65b2426349
CDemoEditor: added new buttons to demo player
2014-08-13 16:35:15 +02:00
def
c493ef4408
imports
2014-08-13 13:00:18 +02:00
def
83cb1cdaea
Initialize random number earlier
2014-08-13 12:58:53 +02:00
def
5436e45e2f
Use another connection (with a truly random port) to request connection infos
2014-08-13 12:03:53 +02:00
east
64810cf11c
worked on CDemoEditor
2014-08-12 16:21:06 +02:00
def
b1da901028
Fix: Only allow dummy reconnect every 5 seconds
2014-07-25 02:43:01 +02:00
def
53346dddfc
Try to fix the movement on dummy connect
2014-07-16 14:45:53 +02:00
def
bbe597ef04
Add cl_dummy_resetonswitch
2014-07-08 01:41:45 +02:00
CookieMichal
e236758118
Fixed compilator warnings
2014-07-07 15:42:46 +02:00
def
13f0a455e1
Unneded include
2014-06-22 02:41:46 +02:00
def
7875c2ec36
Android support (by Pelya)
2014-06-16 13:29:18 +02:00
def
26dbb86d0b
Fix: Save news in teeworlds settings directory
2014-06-05 15:19:26 +02:00
def
c67742f60a
Add news
2014-06-05 12:11:41 +02:00
def
458331597e
Fix: Dummy can see 64 players on non-ddnet servers
2014-06-04 23:19:05 +02:00
def
bf38e947a8
Fix: Dummy connect and disconnect (Thanks to Kati)
2014-05-24 21:34:06 +02:00
def
7dc7165157
Seems like 64 player rerequests are bad for switching between Internet
...
and LAN
2014-05-22 17:02:58 +02:00
def
bede303976
Fix: Dummy connect
2014-05-17 21:37:55 +02:00
def
f0ed57a9a3
Fix: Dummy can connect without port
2014-05-17 20:00:01 +02:00
def
2db6673a46
Reset dummy connect time to fix dummy connect on new server
2014-05-17 19:06:33 +02:00
def
2c1dc335cc
Only consider dummy connected when 2 snapshots were received
2014-05-17 18:57:46 +02:00
def
4b8a52d7c9
Fix: Rerequest 64 player infos
2014-05-17 16:15:01 +02:00
def
73103df309
Make autoupdater only run when ddnet servers can be reached
2014-05-17 15:42:32 +02:00
def
42811dc896
Autoupdater asks for permission to update + Autoupdater fixes
2014-05-17 14:28:50 +02:00
def
46fb8c8b7f
Readd old graphics code for old computers
2014-05-16 01:01:30 +02:00
def
b0dc35080e
Fix: Only allow dummy connect every 5 seconds (Thanks Monsta)
2014-05-13 20:26:59 +02:00
def
6cdca20e4d
Fix last
2014-05-10 20:58:29 +02:00
def
102997a989
Only allow dummy connect when we're connected to server
2014-05-10 20:40:54 +02:00
def
c0be97b8c3
No more crashing on map change with dummy
2014-05-10 20:25:29 +02:00
def
25cfa741e5
Fix: Stop the random shootings at dummy switch
2014-05-10 20:23:26 +02:00
def
96068e0149
Fix random dummy jumps at switch (for the 100th time)
2014-05-10 18:20:03 +02:00
def
5b1c866b35
Feature: Separate inputs for dummy and player
2014-05-10 14:31:00 +02:00
def
0d5790b8cd
No more Connection Problems on dummy connect
2014-05-09 16:46:04 +02:00
def
d2623bbb05
Fix potential crash with dummy
2014-05-08 14:58:42 +02:00
def
98c9fe33bf
Fix: Dummy shouldn't hammer on switch (except after hammerfly, which is harder to fix)
2014-05-07 15:24:53 +02:00
def
9ae6ce7097
Fix: You still receive whispers and team messages for dummy
2014-05-07 03:34:21 +02:00
def
239fdce024
Fix: Always start dummy hammer immediately
2014-05-05 04:56:37 +02:00
def
b6e319f1c5
Fix dummy switching (hopefully crashes as well)
2014-05-04 23:29:29 +02:00
def
9340b1400f
Add team chat sound deactivation
2014-05-04 18:35:37 +02:00
HMH
44a20aca2e
use predicted characters for dummy_hammer
2014-05-04 17:32:26 +02:00
def
c316c3f5a3
Fix: Better dummy behaviour on switches
2014-05-03 23:28:48 +02:00
def
a0eee3f1a7
Fix: No wrong pings in serverbrowser
2014-05-03 20:57:19 +02:00
def
d1cb8a8e06
Fix: No more random inputs when you hold dummy switch pressed...
2014-05-03 20:29:31 +02:00
def
820926d836
Store dummy snapshots for better dummy switching
2014-05-03 20:24:45 +02:00
HMH
addfe47d4c
fix correct dummy-tunings now
2014-05-03 02:44:28 +02:00
def
bf6fb6eb0f
cl_overlay_entities instead of cl_show_entities
2014-05-01 17:44:35 +02:00
def
873d17ceed
Fix: Dummy stop hammering immediately when cl_dummy_hammer is toggled off
2014-04-30 17:51:34 +02:00
def
c4118a3878
Fix: Make inputs work 100% when you're in freeze.
...
This was random before, now these parts are a lot more reasonable
Client-side fix so it works on all servers
2014-04-30 15:21:23 +02:00
def
89777a294b
Fix: Dummy starts hammering immediately on switch
...
This allows perfect hammerfly start timing
2014-04-30 15:15:27 +02:00
def
567e55ca57
Fix dummy delta switching
2014-04-30 13:32:12 +02:00
def
158900cbc1
Fix: Dummy holds keys after freeze
2014-04-29 03:24:40 +02:00
def
83c06cd264
Fix server update
2014-04-28 23:11:15 +02:00
def
c85b99fbae
Add server updater
2014-04-28 22:47:47 +02:00