oy
16d5c5234d
added "Limit m_NumTimelineMarkers" by def-. ( #1507 )
2018-01-24 20:33:26 +01:00
oy
9092782254
fixed some line endings
2017-12-11 11:55:59 +01:00
oy
2503dfdaec
finished skip tile based map loading
2017-12-11 09:50:15 +01:00
oy
03d3fb0c71
cleaned up last commit
2017-12-10 19:04:09 +01:00
Needs
c43fa1f34a
Make client launchable from the browser given a special link
...
It's the exact same mechanism than mailto:foo@bar.com links, adapted to
teeworlds. Such links looks like:
teeworlds:1.2.3.4:8300
teeworlds:localhost
Browsers may require extra configuration to be able to open such
links[1].
Once everything is set up, clicking on a link in any webpage will prompt
the user to pick an application to open the link. Choosing (a
compatible) teeworlds client will open it and automatically connect it
to the given address.
Behind the scene, the browser will run the client with only one
argument: the full address. Hence it is the same than running the
teeworlds client with the following command line:
teeworlds "teeworlds:1.2.3.4:8300"
The rational for this change is to allow websites like teerank.com,
teeworlds-stats.info, and others to provide a link to directly connect
to a server. Also users or webpages could also link a server.
[1]: http://kb.mozillazine.org/Register_protocol
2017-12-10 18:29:19 +01:00
oy
ea6d380f7f
added „Made int packing functions safe“ by Redix. ( #1502 )
2017-09-17 18:31:55 +02:00
oy
10eb5fad87
fixed currentdir and added appdir search path
2017-09-16 19:10:19 +02:00
oy
3deb58d409
fixed typo
2016-12-18 11:07:26 +01:00
oy
a09d498bc9
added some checks to snap handling
2016-12-18 11:07:10 +01:00
oy
0a8ce055cd
removed old sdlmain code. Closes #1475
2016-09-13 21:42:28 +02:00
oy
170b487430
fixed compiling on macosx
2016-09-11 18:51:20 +02:00
oy
0c8b327e3a
fixed building with sdl 2.0.4
2016-07-05 17:13:31 +02:00
oy
a2935faae3
removed some unused functions
2016-07-05 15:02:21 +02:00
oy
23a1b80f60
invalidate texture when unloading a texture. Closes #1450 .
2016-07-02 10:33:37 +02:00
oy
176cb36682
reset error string for new connections
2016-06-30 13:04:54 +02:00
oy
85b4cfd245
Added ids to names in the gui, removed ascii name restriction and fixed kick/spectate vote description
2016-06-26 18:28:33 +02:00
oy
2ff7628d65
skip automatic password generation in case initialization fails
2016-06-17 10:04:24 +02:00
heinrich5991
933159a652
Only generate rcon password if it's not manually set
2016-06-17 09:49:05 +02:00
heinrich5991
7af6e6ae5b
If no rcon password is set, generate one
...
After the generation (using the OS random number generator), the password is
displayed to the user on stdout.
2016-06-17 09:49:05 +02:00
heinrich5991
903878f4a2
Add platform-independent secure random number generator
2016-06-17 09:49:05 +02:00
heinrich5991
2eba774a62
Don't send uninitialized memory over the network
2016-06-13 09:11:04 +02:00
east
6faabe9122
Updating TokenCache in CNetClient
2016-02-14 16:49:52 +01:00
oy
ceadee1d75
fixed picking the correct default resolution
2015-12-21 11:37:59 +01:00
oy
bd14ce2a1b
fixed last commit
2015-12-21 11:05:23 +01:00
msiglreith
afa8e57ef2
fix rectangle calculation for reading of the backbuffer
2015-12-21 10:54:34 +01:00
msiglreith
a516935854
add initial support for color picking from editor view
2015-12-21 10:54:34 +01:00
oy
994005de8e
fixed problem with the editboxes
2015-11-24 17:00:56 +01:00
oy
53f1ebf632
fixed last commit
2015-11-23 17:15:04 +01:00
oy
55a4ee2528
separated ingame input handling from the rendering. Closes #1056
2015-11-23 13:23:33 +01:00
oy
82771cc072
fixed problem with input handling that's not linked to rendering and some cleanup
2015-11-23 09:38:55 +01:00
oy
5bef0bcb8f
fixed missing handling for mouse keys
2015-11-08 20:46:48 +01:00
oy
373f98ea3d
cleaned up key press handling
2015-11-08 19:03:03 +01:00
oy
bf61d41c49
improved the debug graphs. Closes #1058
2015-11-08 16:25:14 +01:00
oy
f02b0c8163
made random_int() just return positive values. Closes #1427
2015-11-03 08:47:52 +01:00
oy
fae0115bd8
don't reload serverlist when switching between lan and global. Closes #1281
2015-11-01 20:05:26 +01:00
oy
ee567f7769
fixed server info
2015-11-01 17:56:15 +01:00
oy
eead3cf276
reworked serverbrowser
2015-11-01 17:50:45 +01:00
oy
a9cceea57d
mark highlighted messages in the client console. Closes #1364
2015-10-31 21:28:02 +01:00
oy
fdcb58ac06
added timeout for lan server info requests and some cleanup
2015-10-31 20:38:21 +01:00
oy
25a1044141
fixed updating info from connected server. Closes #1412
2015-10-31 20:22:53 +01:00
oy
b84b8ddfda
cleaned up usage of the rand function
2015-10-31 12:15:52 +01:00
oy
d3c1cd2641
fixed utf8 text input
2015-10-31 11:09:41 +01:00
oy
b864214f1e
fixed updating screen config when moving the window to screen 0
2015-10-30 19:22:42 +01:00
oy
7a6d94b260
fixed command completion in the console
2015-10-29 20:01:07 +01:00
oy
23bfea6f79
changed names of the mouse buttons
2015-10-29 19:37:01 +01:00
oy
dbc43249a5
fixed some unclear code safety. Closes #1285
2015-10-28 17:43:48 +01:00
oy
d55d6ab82d
fixed saving config message
2015-10-27 16:58:43 +01:00
oy
a97c15b20c
switched from scancodes to keycodes
2015-10-27 16:56:20 +01:00
oy
50b98771cc
changed some comments
2015-10-25 21:07:56 +01:00
oy
4423f20cd2
ignore mouse movements in absolute mode
2015-10-25 21:02:55 +01:00
oy
98c11d3d7d
fixed bad mouse state on startup for macosx
2015-10-24 21:31:28 +02:00
oy
e442a023f9
fixed typo
2015-10-23 18:58:22 +02:00
oy
b81e295350
added some workaround for macosx
2015-10-23 18:50:06 +02:00
oy
482f5066b8
skip duplicate mousemode changes
2015-10-23 10:06:14 +02:00
oy
7a5285cff0
disable system cursor when in relative mouse mode
2015-10-23 09:56:41 +02:00
oy
4f8e924067
center the window on startup
2015-10-23 09:46:07 +02:00
oy
989b19a342
update screen config in case the window gets moved outside teeworlds
2015-10-23 09:12:59 +02:00
oy
6d038bd621
added a menu setting to switch the screen
2015-10-22 20:28:19 +02:00
oy
dd98fd86eb
added workaround to make switching screen work in fullscreen
2015-10-22 19:56:10 +02:00
oy
0b29a42e2b
switch screen without restarting the client
2015-10-22 19:51:53 +02:00
oy
444b605d88
use the correct screen on startup
2015-10-22 19:21:58 +02:00
oy
6f28e9e662
filled maximize window dummy function
2015-10-22 18:47:29 +02:00
oy
00ae3c874e
switch vsync without restarting the client
2015-10-22 16:41:18 +02:00
oy
b27b7104ab
switch between bordered and and borderless window without restarting the client
2015-10-22 15:44:03 +02:00
oy
4691df2607
made fullscreen switch via config
2015-10-22 11:04:30 +02:00
oy
e7534094ab
switch between fullscreen and windowed mode without restarting the client
2015-09-29 19:40:35 +02:00
oy
53de4b36b3
fixed some warnings
2015-09-29 12:40:02 +02:00
oy
93651e7b54
some cleanup
2015-09-29 12:03:05 +02:00
oy
f79c117f9e
cleaned up centering the window
2015-09-29 11:58:45 +02:00
oy
2a96c6d247
use correct fullscreen on unix
2015-09-29 11:56:54 +02:00
oy
96c5f9bc9d
removed some unused code
2015-09-29 11:52:10 +02:00
fstd
69fe8ec1bc
add /usr/pkg to the list of paths searched for data files (this is the default installation prefix on NetBSD (pkgsrc))
2015-09-21 18:51:41 +02:00
oy
1fcb7e19e1
fixed masterserver
2015-09-21 18:39:23 +02:00
oy
3086a422f8
some cleanup
2015-09-20 18:25:38 +02:00
oy
cd83db08b8
restored token for master server and some cleanup
2015-09-20 13:06:36 +02:00
oy
3f49c69522
restored master server
2015-09-20 12:46:06 +02:00
heinrich5991
29a4448dbc
Fixed some bugs with the new protocol specification
...
Conflicts:
src/engine/client/serverbrowser.cpp
2015-09-03 18:49:27 +02:00
heinrich5991
cedf0b7a58
New packet header specification
...
Conflicts:
src/engine/client/client.cpp
2015-09-03 18:48:02 +02:00
heinrich5991
ea507a5161
Fixed serverbrowser
...
Conflicts:
src/engine/client/serverbrowser.cpp
2015-09-03 18:43:58 +02:00
heinrich5991
ad070fe277
fixed connless packets sending
2015-09-03 18:42:38 +02:00
heinrich5991
4e7137ad48
removed backward compatiblity
2015-09-03 18:42:34 +02:00
heinrich5991
7129f17fb7
Added versionsrv to mastersrv (ONLY COMPILES, NOT TESTED)
...
- It's now selectable which services the master starts, available are:
- mastersrv 0.5
- mastersrv 0.6
- mastersrv 0.7
- versionsrv
2015-09-03 18:42:29 +02:00
heinrich5991
1c591793b0
refactored mastersrv, working for 0.7 only currently
2015-09-03 18:42:18 +02:00
heinrich5991
e49e67e2f4
Added some assertions to the network
2015-09-03 18:41:49 +02:00
heinrich5991
16f2899e3f
Finished CNetTokenCache
...
Added basic support for mastersrv
Conflicts:
bam.lua
src/engine/shared/network_client.cpp
2015-09-03 18:41:32 +02:00
heinrich5991
9222e37aae
added CNetTokenCache
2015-09-03 18:37:15 +02:00
heinrich5991
ea27d546ac
fixed some things about connless packets
...
Conflicts:
src/engine/client/client.cpp
src/engine/server/server.cpp
2015-09-03 18:36:52 +02:00
heinrich5991
24d299ea34
Finalized server-client communication over the new protocol
...
Still missing:
- Master server
- Version server
Conflicts:
src/engine/client/serverbrowser.cpp
src/engine/shared/network.cpp
Conflicts:
src/engine/client/client.cpp
src/engine/client/serverbrowser.cpp
2015-09-03 18:33:57 +02:00
heinrich5991
3df02af240
fixed Hash function in src/engine/shared/network_token.cpp
2015-09-03 18:31:01 +02:00
heinrich5991
a92a2f5bdd
added support for receiving connless packets over a connection
...
Conflicts:
src/engine/shared/network_client.cpp
2015-09-03 18:30:38 +02:00
heinrich5991
1c15f404b2
added functionality to send connless packets to the connection peer
...
also reworked server info sending
FUNCTIONALITY TO RECEIVE CONNLESS PACKETS FROM THE CONNECTION
PEER IS STILL MISSING
Conflicts:
src/engine/server/server.cpp
2015-09-03 18:27:14 +02:00
heinrich5991
bbf261891c
Added typedef for the tokens
2015-09-03 18:22:09 +02:00
heinrich5991
66fcf9308c
Changed CNetClient and CNetServer to work with CNetTokenManager
...
Conflicts:
src/engine/shared/network_client.cpp
2015-09-03 18:21:52 +02:00
heinrich5991
2ba3cf859f
Added response token and CNetTokenManager
...
Conflicts:
src/engine/shared/network_client.cpp
2015-09-03 18:14:14 +02:00
heinrich5991
eaa036ed0f
added support for tokens to connless packets
...
Conflicts:
src/engine/shared/network.cpp
src/engine/shared/network.h
2015-09-03 18:14:04 +02:00
heinrich5991
40978b87e9
added support for tokens in netbase and netconnnection (NOT TESTED)
...
preserves backward compatiblity for connless packets
Conflicts:
src/engine/shared/network.cpp
src/engine/shared/network.h
src/engine/shared/network_conn.cpp
2015-09-03 18:13:51 +02:00
heinrich5991
058dc8d1ba
added md5 library to teeworlds
...
Conflicts:
bam.lua
2015-09-03 18:12:59 +02:00
Choupom
c63551b450
fixed some memory leaks
2015-08-30 19:03:33 +02:00
oy
453f720212
disabled the map checker
2015-08-30 18:12:15 +02:00
oy
e401679055
fixed last commit
2015-08-30 18:10:31 +02:00
KillaBilla
008c50d429
fixed behaviour for standard maps, added a nullptr check
2015-08-30 17:22:28 +02:00
KillaBilla
52da970427
fixed code style and whitespaces
2015-08-30 17:22:28 +02:00
KillaBilla
1ea6100a3b
removed debug messages
2015-08-30 17:22:27 +02:00
KillaBilla
e96f1995b2
fixed mapchecker, made it check subdirs too before giving up
2015-08-30 17:22:26 +02:00
oy
6e8cbf072d
increased range of the serverlist request token. #1366
2015-08-30 11:21:31 +02:00
oy
246bebb773
show notification about disabled remote console only once
2015-08-30 10:47:35 +02:00
oy
c92c633b95
fixed last commit
2015-08-30 09:58:00 +02:00
Zwelf
b65b02c345
Fixes issues pointed out by heinrich5991
...
Byte lenghts of 128 Bytes is enouth and DDNet is using this lenghts too.
2015-08-30 08:54:42 +02:00
def
f8278ec032
Display map name while downloading
...
Conflicts:
src/engine/client.h
src/engine/client/client.h
2015-08-30 08:54:41 +02:00
oy
b5095427b2
fixed a possible crash within snapshot handling and some misspellings. Closes #1382
2015-08-30 08:42:04 +02:00
encypruon
d41c4b4dbd
Fixed econ clients don't get dropped when banned
2015-08-30 08:41:45 +02:00
oy
014f77eefc
skip duplicate error string. Closes #1339
2015-08-30 08:37:39 +02:00
oy
cbe133dce0
let the client check if a connection is still established and for the correct peer address before processing data. Closes #1356
2015-08-30 08:36:34 +02:00
oy
cc2dcd865a
force vital check on essential cl/srv messages and added additional sequence checking
...
Conflicts:
src/engine/client/client.cpp
src/engine/server/server.cpp
2015-08-30 08:31:29 +02:00
oy
d4c00097a5
separated connless packet handling and use random port for client's server connection
2015-08-30 08:22:04 +02:00
oy
b9e4c7e979
made server info requests more strict
...
Conflicts:
src/engine/client/serverbrowser.cpp
2015-08-30 08:20:24 +02:00
oy
8f0c5d634b
fixed fullscreen on mac osx
2015-04-02 15:37:47 +02:00
oy
15fa362905
fixed stuck mouse on mac osx
2015-04-02 15:28:41 +02:00
oy
135640ac9b
fixed compiling on mac osx. Closes #1334
2015-03-31 16:00:25 +02:00
oy
663c39655e
fixed last commit
2015-03-22 14:38:22 +01:00
oy
721739ed42
Merge remote-tracking branch 'remotes/swick/sdl2'
...
Conflicts:
src/engine/client/backend_sdl.cpp
src/engine/client/graphics_threaded.h
src/engine/shared/config_variables.h
2015-03-22 14:10:53 +01:00
oy
845331bca3
Make SERVERBROWSE_GETINFO extensible. Closes #1324
2015-03-22 13:48:00 +01:00
oy
e6cfd22ca0
removed unused config variable
2015-03-10 19:31:29 +01:00
oy
2fdd97df06
fixed some comments
2015-03-04 11:26:39 +01:00
heinrich5991
d335694931
Make clearer comments on why the current path checking suffices
...
Also fix that it `str_check_pathname` counted dots even if they were after a
non-dot character.
2015-03-04 11:20:48 +01:00
oy
99f26dc020
fixed some problems with the pma interpolation. #1317
2015-02-26 19:31:31 +01:00
oy
f59f3090ac
added start parameter to use the default configuration
2015-02-18 14:15:31 +01:00
oy
6506cf4ddf
fixed last commit, generalized config saving and path check
2015-02-18 14:04:26 +01:00
Rudi
c77518d2e1
Introduced str_safe_as_pathname that just checks string before using them as path to save to, returns error otherwise. Check is performed before saving server conf, recordings and ban list.
2015-02-18 13:21:55 +01:00
Rudi
b3321e506c
Sanitizing the path to which we save server configurations, and also demo files
2015-02-18 13:21:54 +01:00
Rudi
d38af947a1
Introduced optional name for save_conf, sanitized file name?
2015-02-18 13:21:54 +01:00
Rudi
b3c51c33bb
Adding the command save_conf that allows to save current server configuration to a file
2015-02-18 13:21:53 +01:00
oy
c3bce45120
added dilate texture fix by matricks
2015-02-18 13:05:16 +01:00
BeaR
291cdde544
Fix crc32 initial value
2015-01-28 14:41:33 +01:00
oy
2950804cfb
fixed a warning
2015-01-26 16:21:40 +01:00
oy
77daedc814
fixed last commit and removed some outdated stuff
2015-01-24 18:40:49 +01:00
BeaR
a2cb7d339a
Mark some return values as const
2015-01-24 18:19:38 +01:00
BeaR
a929a99fd9
Refactoring: Mark several functions as 'const', fix some return values and cleanup mapinfo struct
2015-01-24 18:19:24 +01:00
oy
74dfee1aee
some cleanup
2015-01-24 18:07:03 +01:00
oy
8ac9ec794e
moved content and added data creation to the build
2015-01-18 18:44:11 +01:00
oy
dc827fa460
fixed quick rejoin check for localhosts. Closes #1140
2015-01-18 16:37:46 +01:00
Learath
be1adf7e51
Scale was always 0 causing Kerning not to be applied
2014-12-21 19:05:59 +01:00
oy
75222892be
cleaned up few things
2014-12-21 18:57:30 +01:00
BeaR
d1ee52c372
Implement stricter panning(audio), make pan depending on screen width and remove useless channel pan value
2014-12-21 18:48:44 +01:00
BeaR
b34e455e4c
Allow to set different wrapmodes for each texcoord and soften texture clamping restrictions for quads
2014-12-21 12:52:28 +01:00
Sebastian Wick
2232a73d37
fix remaining bad include
2014-07-03 13:14:14 +02:00
Sebastian Wick
549e37537f
remove dead code, fix Mac OSX build, fix includes
2014-07-02 23:12:49 +02:00
Sebastian Wick
dac1c65ba5
call SDL_GL_SetSwapInterval after context creation
2014-07-02 18:56:00 +02:00
Sebastian Wick
013e19e497
windows fixes
2014-06-30 21:31:47 +02:00
Sebastian Wick
43a45cd2fa
remove InpGrab config, eliminate dead code, fix glu include for Mac
2014-06-30 13:52:42 +02:00