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