Commit graph

855 commits

Author SHA1 Message Date
GreYFoXGTi fa379a806a Merge branch 'master' of http://github.com/oy/teeworlds
Conflicts:
	src/engine/server/server.cpp
	src/game/client/components/scoreboard.cpp
	src/game/server/gamecontext.cpp
	src/game/server/player.cpp
2010-09-13 07:49:01 +03:00
oy fe9e3f47a8 fixed last commit 2010-09-12 16:56:13 +02:00
Choupom 006fd711b4 made versions system for demos 2010-09-12 16:40:39 +02:00
oy 0c1261620f prevent self kick/ban in the console. Closes #50
and fixed line endings
2010-09-12 13:52:25 +02:00
oy d913af1ab2 renamed demorec files to demo 2010-09-12 12:16:51 +02:00
oy abf74f47f7 fixed wrong output in the ban command and added feedback to the kick command 2010-09-12 12:07:10 +02:00
btd 81beda6260 Merge branch 'master' of git://github.com/GreYFoXGTi/DDRace 2010-09-12 00:57:44 +04:00
GreYFoXGTi 97d1acd89a revert for a fix (sendto) implemented in commits:
Commit:7f42b6225be9d0cc107f838695ba19de0e1b53d8
Commit:9c052398f4e4b185da6a59c25e678711af804d92
which is not needed in trunk tw
2010-09-11 18:10:46 +02:00
btd 7ed685ee11 Merge 2010-09-11 13:42:35 +04:00
GreYFoXGTi 4984d1b64b fixed some mistakes, Closes #23.
finished some todos.

Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-09-09 20:52:17 +02:00
GreYFoXGTi ddb4c2e370 Merge branch 'master' of github.com:GreYFoXGTi/DDRace into teams2
Conflicts:
	src/game/server/entities/character.cpp
	src/game/server/entities/projectile.cpp
	src/game/server/gamecontext.cpp
	src/game/server/gamemodes/DDRace.h
	src/engine/shared/config_variables.h

Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-09-08 22:22:08 +02:00
btd fec294caee Fix linux compilation. Revert last changes. Add /show_other option (in menu now working) 2010-09-08 20:22:11 +04:00
GreYFoXGTi d1b3e01892 Merge branch 'master' of http://github.com/oy/teeworlds 2010-09-07 21:49:12 +02:00
ghost 3baf522330 added the option to hide the console window on the client, too. Fixes #48 2010-09-07 19:32:33 +02:00
ghost 56c4081da4 Demo name is now showed while playing a demo file 2010-09-07 19:12:11 +02:00
GreYFoXGTi 9dda4a5a81 merging conflict mistake
Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-09-07 08:09:35 +02:00
GreYFoXGTi 616498e7b1 Merge branch 'master' of http://github.com/oy/teeworlds into master
Conflicts:
	src/engine/client/input.h
	src/engine/server/server.cpp
	src/engine/shared/config_variables.h
	src/engine/shared/network_server.cpp
	src/engine/storage.h
	src/game/client/components/chat.cpp
	src/game/client/gameclient.cpp
	src/game/client/gameclient.h
	src/game/collision.cpp
	src/game/editor/ed_editor.cpp
	src/game/editor/ed_editor.h
	src/game/server/gamecontext.cpp
	src/game/server/gamecontroller.cpp
	src/game/server/gamemodes/ctf.cpp
	src/game/server/player.cpp

Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-09-07 07:57:38 +02:00
GreYFoXGTi 1fe93f4592 Reworked the Crazy Shotgun, and fixed a bug ( still needs testing )
Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-09-07 07:47:10 +02:00
GreYFoXGTi db3a97c771 Small Mistake. Closes #19
Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-09-07 06:45:36 +02:00
GreYFoXGTi 15576f123a Something i forgot to do while merging from Oy
Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-09-07 06:45:36 +02:00
GreYFoXGTi 91d65a5e69 Added /kill
but i couldn't make the clients have a suicide penalty for some trivial reason since i am ill.. -.-"

Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-09-07 06:45:35 +02:00
GreYFoXGTi 290c453a83 Removed useless config variables
Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-09-07 06:45:35 +02:00
GreYFoXGTi ebb5636fa3 /pause no longer pauses you time by default
Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-09-07 06:42:42 +02:00
Choupom fcfaa8389f added Remove button in demos browser (#66) 2010-09-05 17:40:51 +02:00
oy 2800832e12 add maps from maps folder to the demo as well and prevent that 0.5 demo players read the new demos 2010-09-05 17:39:55 +02:00
Choupom 0198e51fa3 made demo readable for custom map that user doesn't have (#5) 2010-09-05 16:34:39 +02:00
Choupom 3dd1ea0d8f fixed header and swap sizes in datafiles (may fixes #14) 2010-09-05 14:30:44 +02:00
Choupom 885d695f92 show map name without his folder in server info 2010-09-05 14:11:56 +02:00
oy 18632b7f5f fixed last commit 2010-09-05 14:09:55 +02:00
Choupom 44cf6acc3a fixed so png files are closed after loading 2010-09-05 14:07:07 +02:00
oy 8522cab449 fixed variable types 2010-09-05 14:04:50 +02:00
Choupom 25be8b1be3 fixed so clicking 3 times doesn't generate 2 double-clicks 2010-09-05 13:50:10 +02:00
GreYFoXGTi 8901057944 Modified the config variables to have level
Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-08-31 01:47:55 +02:00
GreYFoXGTi 7f0fa6d6b1 Added Switch Layer and it Finally works like it should
Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-08-28 18:24:56 +02:00
GreYFoXGTi 883e0f2222 Trying to fix the crazy shotgun bullets -.-" 2010-08-26 19:55:22 +02:00
GreYFoXGTi 7918fcd179 Trimmed ends
Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-08-26 03:12:56 +02:00
GreYFoXGTi de4a0559d8 need to make this parse work
Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-08-26 03:12:01 +02:00
GreYFoXGTi 06445bfb62 Changed the config_variables.h for parsing reasons
Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-08-26 03:10:50 +02:00
btd d24ca19752 End merge(Good Work btd) 2010-08-26 00:17:05 +02:00
GreYFoXGTi 51b16803d7 Merge branch 'master' of http://github.com/btd/DDRace 2010-08-25 19:16:08 +02:00
GreYFoXGTi 7f8fb7a5a7 Merging the client manually into the server
but i can't get the client to accept the console class of the server -.-" yet..

Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-08-25 17:31:49 +02:00
btd 525e72b1dd Forgot to delete this 2010-08-25 18:39:18 +04:00
btd ecdcf09456 Merge branch 'master' of git://github.com/GreYFoXGTi/DDRace-Server 2010-08-25 18:34:21 +04:00
btd 091a1125a3 Uncomment things in file_score. Add config variables 2010-08-25 18:33:21 +04:00
GreYFoXGTi e37992ae56 fixes after cherry picking
Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-08-25 15:24:31 +02:00
oy 41afca6db2 added output level for console print function, categorised the debug messages and merged them into the new functionality. Closes #8 2010-08-25 01:17:02 +02:00
oy d972e4ed69 fixed text rendering problem. Closes #12 2010-08-24 23:47:55 +02:00
oy 8cb15be7c0 added fixes for compiler errors and warnings by sworddragon 2010-08-24 23:44:33 +02:00
oy 8efbdda546 reverted input key handling back to 0.52(the keyboard layout problem should be fixed with sdl 1.3 or a customised one). Closes #3. Closes #15. 2010-08-24 23:43:39 +02:00
GreYFoXGTi 7ff7ca85ec sometimes my git just wants to commit a file no matter how many times i revert it
Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-08-24 23:38:40 +02:00
GreYFoXGTi 92b51c3ec8 SvShotgunBulletSound default is now 0 sorry i can't take those annoying sounds
Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-08-24 22:47:35 +02:00
GreYFoXGTi 51c6af1303 SvShotgunBulletSound
also added protection to shotgun stucks, needs to be tested when a random crazy shotgun bullet gets stuck
loaded the score file before saving to avoid corruption
added freeze and unfreeze in rcon
added protection in some rcon commands

Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-08-23 23:40:23 +02:00
GreYFoXGTi 8b67e70dfb Fixed /pause not saving the time
made sv_pauseable on by default

Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-08-23 01:59:54 +02:00
GreYFoXGTi 76c6bc7e2f Added option to make super hook endless
removed RACE_PAUSE

Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-08-23 01:40:05 +02:00
GreYFoXGTi c4d60e93ba NOt needed as you can bind your own emote now
Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-08-22 21:32:41 +02:00
GreYFoXGTi 999e8590e7 Fixed Ban --->All<--- System Issues
Also it's not possible do hide the Ban message by setting the reason trying to connect too soon from rcon

Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-08-22 18:06:20 +02:00
GreYFoXGTi e3dffbb741 Making the Mod Cooler ( Pimp My Mod ) xD
Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-08-22 06:28:14 +02:00
GreYFoXGTi 5a2af8f3ff re worked timer commands fixes issue #11
Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-08-21 05:19:47 +02:00
oy 0f72fd19ef fixed text rendering problem. Closes #12 2010-08-18 00:21:38 +02:00
oy cabecb7fa9 added output level for console print function, categorised the debug messages and merged them into the new functionality. Closes #8 2010-08-18 00:06:00 +02:00
oy abc84ac0b0 added fixes for compiler errors and warnings by sworddragon 2010-08-16 02:21:18 +02:00
oy 678fe76566 reverted input key handling back to 0.52(the keyboard layout problem should be fixed with sdl 1.3 or a customised one). Closes #3. Closes #15. 2010-08-15 20:04:03 +02:00
GreYFoXGTi 01cc3f4d68 Merge branch 'master' of http://github.com/oy/teeworlds
and fixed Conflicts:
	src/engine/server/register.h
	src/game/server/gamemodes/mod.cpp

Signed-off-by: GreYFoXGTi <GreYFoXGTi@Gmail.com>
2010-08-15 20:46:02 +03:00
btd bbd48810ad Merge branch 'master' of http://github.com/oy/teeworlds 2010-08-15 19:20:39 +04:00
oy 94b28c8c97 fixed quit/exit command problem on startup 2010-08-15 15:41:04 +02:00
oy 0e36b772d4 fixed line endings in some files 2010-08-15 15:34:55 +02:00
oy 5a237c6f78 fixed utf8 problem with empty entries in the server browser 2010-08-12 19:29:59 +02:00
oy d9a3cc032f updated refactor script and fixed a thing 2010-08-12 19:03:03 +02:00
oy 54f804eda2 fixed bug in servers setclientname 2010-08-12 16:12:25 +02:00
oy f494d344a9 removed some not longer needed stuff 2010-08-12 15:44:11 +02:00
oy 7503c64237 made unpacking of net strings more strict - prevents possible malformed output 2010-08-12 15:22:07 +02:00
oy 1cde96ef79 restore empty strings in the config to their defaults on startup 2010-08-11 00:31:42 +02:00
GreYFoXGTi 20930ce68b too many stuff to write but the idea is to implement the telelayer&speed thnx to Redix and Sushi Tee
also FrontLayer is ready to be implemented soon

Signed-off-by: GreYFoXGTi <GreYFoXGTi@Gmail.com>
2010-08-10 19:32:32 +03:00
GreYFoXGTi 60b5acbb15 Merge branch 'master' of http://github.com/oy/teeworlds
Conflicts:
	src/engine/server/server.cpp
	src/engine/shared/console.cpp
	src/engine/shared/storage.cpp
	src/game/server/gamecontext.cpp
Alterations:
	src/engine/shared/console.h  | made StoreCommands(,)take also the client id
	src/engine/console.h  | made StoreCommands(,)take also the client id

Signed-off-by: GreYFoXGTi <GreYFoXGTi@Gmail.com>
2010-08-09 17:54:42 +03:00
oy 3797eba179 added demo recording button by fujnky 2010-08-09 14:14:15 +02:00
btd 227c03cbb1 Fix mistake 2010-08-07 22:49:57 +04:00
oy 0a66e0586d fixed a small bug in the ban command 2010-08-07 20:31:36 +02:00
oy ad9b32b741 added the possibility to store commands within the console and execute them later on when everything is initialised correctly - fixes several possible startup crashes and the "Support bans in server configuration"-ticket 2010-08-07 20:22:25 +02:00
btd e416c38ad1 GreYFoX fix of ban 2010-08-07 21:16:48 +04:00
btd 84cf23203d Revert storage.h 2010-08-07 12:02:58 +04:00
oy 3f0ff1fb14 removed ServerDummy function cause it isn't needed anymore(actual console separates client and server commands) and added two missing server commands to the tab completion 2010-08-07 00:01:43 +02:00
oy 3c082b6441 changed the client configuration initialisation 2010-08-06 20:47:45 +02:00
oy 49cefa406b added lost logfile feature 2010-08-06 20:38:13 +02:00
oy 05f3757491 added optimisations by sworddragon 2010-08-05 20:55:51 +02:00
oy 4a365d41b6 added fix for crash when there is no datadir 2010-08-05 20:34:16 +02:00
oy 665205327d added lost datadir override feature 2010-08-05 20:26:03 +02:00
btd ecedf0a54f Merge 2010-08-01 00:14:58 +04:00
btd e8018dd712 Optional timer command 2010-07-31 16:58:57 +04:00
btd 7f65d880f3 Fix external records 2010-07-31 15:04:19 +04:00
btd eabe4639c8 Add storage.h. Add config variable for holding records in appSaveDir. I am not sure is it right way 2010-07-31 13:14:20 +04:00
btd 37b0f43d1c Fix strange 0 pointer bug. (very strange bug) 2010-07-31 00:16:36 +04:00
btd c280e5c5b4 Fix ban 2010-07-30 21:20:58 +04:00
btd 9c052398f4 Last changes added. All fixed. Server builded.
Need many test before release.

Signed-off-by: btd <bardadymchik@gmail.com>
2010-07-30 16:50:09 +04:00
btd 7f42b6225b To the last DDRace. Need a lot fix 2010-07-29 23:55:33 +04:00
GreYFoXGTi eb9793d89a Moved all used server variables to config_variables.h
tried to fix /pause and failed cause i can't get the hooked player's character to check if he is paused or not
changed welcome message default.
on join player sees the server's /info

Signed-off-by: GreYFoXGTi <GreYFoXGTi@Gmail.com>
2010-07-29 22:51:58 +03:00
GreYFoXGTi 0a9dc07d0c Fixes Issue #5
Changed /info
Fixed anti-rainbowmod

Signed-off-by: GreYFoXGTi <GreYFoXGTi@Gmail.com>
2010-07-29 17:54:04 +03:00
GreYFoXGTi a8d1c536af re-enabled the DDRace ip count check, then found it's useless tw trunk has it's own
fixed ip 0.0.0.0 showing for the rest of the notifications in server.cpp

Signed-off-by: GreYFoXGTi <GreYFoXGTi@Gmail.com>
2010-07-29 13:09:25 +03:00
GreYFoXGTi 7b5df1e1d3 Fixed Client authentication with blank password
Signed-off-by: GreYFoXGTi <GreYFoXGTi@Gmail.com>
2010-07-29 12:15:55 +03:00
GreYFoXGTi a9c00caafb Merge branch 'master' of http://github.com/matricks/teeworlds 2010-07-29 09:46:07 +03:00
GreYFoXGTi 434b4aad86 The Porting of DDRace-Beta to trunk by [BlackTee] den Maps with one and two layer works properly. Laser works. Fix second game layer Re-added logs Readded the rcon commands addvote and scoring system and time Fixed Weapons
Signed-off-by: btd <bardadymchik@gmail.com>
2010-07-29 08:59:32 +03:00
oy 6193f35423 Merge branch 'master' of http://github.com/matricks/teeworlds 2010-07-17 14:10:43 +02:00
Magnus Auvinen 575f72d978 fixed some compiler errors and warnings with clang 2010-07-05 20:57:07 +02:00
oy 31b63e488a fixed connecting to localhost if the client couldn't find the address and small cleanup 2010-07-02 13:15:35 +02:00
oy 29d29df4f0 fixed screenshot bug. Closes #144 2010-06-27 13:12:00 +02:00
oy 9130c91841 fixed entering a private server on a map change without password. Closes #142 2010-06-26 17:59:59 +02:00
oy a5113c6740 added commands to dump the output of the consoles into a file 2010-06-20 14:12:59 +02:00
oy ea64b0d7b3 made the console use the flagmask when looking for command (FindCommand) and removed double "No such command" console message 2010-06-18 20:32:52 +02:00
oy a5bc567e84 fixed a server register issue 2010-06-13 19:34:14 +02:00
xalduin 6e1eaa96ec Fixed issue #115, text now fits into columns in server browser 2010-06-10 20:38:04 +08:00
xalduin dc3feaf42c Fixed remaining compiler warnings for gcc on Linux 2010-06-10 20:38:03 +08:00
xalduin be5e19d2bd Fixed some compiler warnings 2010-06-09 20:41:00 +08:00
oy 1c041c44a4 made unban command work with the banlist index. Closes #102 2010-06-07 14:12:06 +02:00
oy 2104835d77 update server info for connected clients if map or gametype changes. Closes #108 2010-06-07 13:34:47 +02:00
oy a41d930a85 fixed some compiler warnings. Closes #76 2010-06-06 17:16:52 +02:00
Magnus Auvinen 7d03e70d1e Merge remote branch 'choupom/master' 2010-06-06 14:53:55 +02:00
Magnus Auvinen 442e6e1431 fixed issue when using +commands in the console 2010-06-06 14:31:16 +02:00
Choupom 747d972d38 fixed so we can run a map which is in a folder 2010-06-05 10:44:50 +02:00
xalduin a563c2f322 Issue #82 time and date in screenshot filename 2010-06-03 22:32:42 +02:00
SushiTee 0115161463 mergend stuff 2010-06-03 15:21:12 +02:00
oy 5988b9d388 - show connecting players with rcon status command
- make it possible to limit the number of clients with the same ip that can connect to the server
2010-06-03 14:48:32 +02:00
SushiTee c37335b115 shortened IsAuthed a bit 2010-06-02 21:33:19 +02:00
NoxNebula dd19074deb Admin-Kick-Protection
Add IsAuthed(int ClientID); function.
Add kickprotection for admins (Remote Console logged in players)
Add Anti-Self-Kick (minor)
2010-06-03 03:27:34 +08:00
NoxNebula 9a5a19e7c7 Admin-Kick-Protection
Add IsAuthed(int ClientID); function.
Add kickprotection for admins (Remote Console logged in players)
Add Anti-Self-Kick (minor)
2010-06-02 09:40:08 +02:00
Magnus Auvinen b851bc8799 fixed so that SDL_main is declared as a C function so linking gets done correctly 2010-06-02 04:09:39 +08:00
Magnus Auvinen b12ae69fee fixed compile errors for osx 2010-06-02 04:00:05 +08:00
Magnus Auvinen 61fdee3367 fixed so that SDL_main is declared as a C function so linking gets done correctly 2010-06-01 21:59:04 +02:00
Magnus Auvinen f8d69b2fe6 fixed compile errors for osx 2010-06-01 21:55:08 +02:00
Tom Adams 30987c2040 removed alpha values from screenshots (#742) 2010-05-31 20:44:45 +00:00
Thomas 361380d630 *some esthetic changes
*split "CHud::RenderGoals()"
*added "reload" command
*added the ability to show last chat lines (+show_chat)
*updated french.txt
2010-05-30 12:01:11 +00:00
Tom Adams 47b68170ad auto capture mouse on focus (#728) 2010-05-30 01:00:17 +00:00
Magnus Auvinen f41fa4baba cleaned up some code 2010-05-29 11:23:06 +00:00
Magnus Auvinen d0e0d5b043 cleaned up some comments 2010-05-29 11:21:39 +00:00
Magnus Auvinen 6ff27c56e8 fixed crash with related to player count 2010-05-29 11:12:52 +00:00
Magnus Auvinen 72c06a2589 copied refactor to trunk 2010-05-29 07:25:38 +00:00
Magnus Auvinen e56feb597b added missing headers 2009-10-29 12:14:31 +00:00
Magnus Auvinen 878ede3080 major update with stuff 2009-10-27 14:38:53 +00:00
Magnus Auvinen 7b68ff4277 fixed chaining of console commands, allows snatching updates of console variables. cleaned up some code 2009-06-15 14:01:36 +00:00
Magnus Auvinen 57b2c49d57 fixed so that the demo player doesn't crash when the map isn't found 2009-06-15 13:16:33 +00:00
Magnus Auvinen feade98dae fixed so server stops recording when changing map 2009-06-15 13:04:34 +00:00
Magnus Auvinen f817cb2319 fixed crashing of server side demos due to client_entergame() being processed 2009-06-15 12:40:12 +00:00
Magnus Auvinen c2f8d0e07a minor cleanup of out commented clode 2009-06-13 08:25:50 +00:00
Magnus Auvinen 69511102de improved the font system even futher. utf8 is now used everywhere. it uses less memory as well 2009-06-13 08:22:37 +00:00
Magnus Auvinen 9254ca61f1 fixed utf8 support 2009-06-07 16:06:03 +00:00
Magnus Auvinen cdc5f26900 new font rendering system using freetype2. only compiles under linux for now 2009-06-07 14:36:54 +00:00
Magnus Auvinen 4bb1df3189 moved 0.5 branch to trunk 2009-05-31 09:44:20 +00:00
Magnus Auvinen 9d3fd4a282 continued work on prediction and game timer 2009-01-24 14:32:12 +00:00
Alfred Eriksson 82f9be8ce0 added help messages for all commands. added syntax in the help msg 2009-01-24 14:10:26 +00:00
Magnus Auvinen 91e337c7ab added ping spike detection 2009-01-24 14:08:09 +00:00
Magnus Auvinen 5f186c8906 fixed so the console show help for each command. not all commands have descriptions however 2009-01-24 13:12:04 +00:00
Magnus Auvinen 2ea3023410 fixed bug in text rendering 2009-01-24 12:29:36 +00:00
Magnus Auvinen 9d51d47cea added tab completion to the console. works for local and remote 2009-01-24 12:16:02 +00:00
Magnus Auvinen 2fc86642ef moved refreshing of masters in the client from the server browsers to before we load so we refresh while we are loading 2009-01-24 10:52:45 +00:00
Magnus Auvinen cfe5bd8547 reduced maximum masters from 16 to 4 to make the master server refresh cycle faster 2009-01-24 10:51:50 +00:00
Magnus Auvinen 6696359a28 fixed so that the client connect command works when passed as an argument 2009-01-24 10:46:38 +00:00
Magnus Auvinen bb73314651 removed old debug spam 2009-01-22 23:29:03 +00:00
Magnus Auvinen 6a1766f8ce fixed mouse buttons that I kinda fucked up 2009-01-21 23:12:56 +00:00
Magnus Auvinen 61ed16ec64 cleaned up mouse input a bit 2009-01-21 22:25:28 +00:00
Magnus Auvinen d3f5340a97 added support for mouse buttons 4-8 2009-01-21 21:52:51 +00:00
Magnus Auvinen 29ca9dfb3a stop recording on map load 2009-01-21 21:21:54 +00:00
Magnus Auvinen 0c9dfd81fd fixed vsync option 2009-01-21 20:55:07 +00:00
Alfred Eriksson 4c4d28fd25 added snd_buffer_size 2009-01-21 19:21:26 +00:00
Magnus Auvinen f0760ac0d3 improved crapnet so it changes between different ping configurations. improved the game timer 2009-01-21 19:12:09 +00:00
Magnus Auvinen 24899a13e8 improved the prediction timer to handle crappy connections better 2009-01-21 00:05:07 +00:00
Magnus Auvinen 30695c09a8 increased the number of snapshots the server will hold from 1 second to 3 2009-01-21 00:01:49 +00:00
Magnus Auvinen 013df7ca24 fixed bug that can cause a connection to spam packets 2009-01-18 21:49:03 +00:00
Joel de Vahl 2d8c4a61b6 ppc sound fix 2009-01-13 19:16:58 +00:00
Magnus Auvinen c491d1c537 fixed perma banning and that input timing shouldn't be vital packets 2009-01-13 18:24:42 +00:00
Alfred Eriksson 5141ddac4d refreshing the server info when loading 2009-01-12 14:03:19 +00:00
Magnus Auvinen 5fc2d8fcf8 removed some debug spam in the demo player 2009-01-11 15:22:17 +00:00
Magnus Auvinen d0bcf50ef5 fixed fsaa sampling and reduction of fsaa if gfx init fails 2009-01-11 12:13:18 +00:00
Joel de Vahl 2a7402dd6c use dmg for osx deliver, build universal binary, fix backspace being entered as a character 2009-01-11 12:10:30 +00:00
Alfred Eriksson 39a12060d6 removed the tuning filtering and warning. modded servers can use tuning for free. added pure server checking - ctf, dm and tdm gametypes are not allowed to have different tuning. 2009-01-11 10:40:14 +00:00
Magnus Auvinen 0f41c47996 fixed so the current server info doesn't update the server list causing problems 2009-01-11 09:26:14 +00:00
Magnus Auvinen 3729f4cbf3 fixed error that occurs when you try to free the invalid texture texture 2009-01-10 18:34:27 +00:00
Magnus Auvinen 39370635cc fixed a few debug messages that spammed a bit too much 2009-01-10 12:27:15 +00:00
Magnus Auvinen 6eefa58b52 fixed resending algorithm 2009-01-10 11:48:24 +00:00
Magnus Auvinen 599708824f removed input timing from the snapshot messages and put them in a separate message so we don't loose them if the input were late 2009-01-10 10:49:17 +00:00
Magnus Auvinen b42eb55794 finished the ban support 2009-01-10 10:27:25 +00:00
Magnus Auvinen 8ec0bdc509 improved the demo players scrubbing capabilities 2008-12-19 12:00:05 +00:00
Magnus Auvinen cc576906a3 improved the demo players scrubbing capabilities 2008-12-19 11:59:58 +00:00
Magnus Auvinen 530dace4c9 fixed the demo recorder so it padds the data to 4 byte alignment so the compression works like it should 2008-12-19 11:23:31 +00:00
Magnus Auvinen a6c8eb642b added missing function in network header 2008-12-19 08:27:20 +00:00
Alfred Eriksson 557636dca3 reset error_string when starting demo playback 2008-12-08 18:12:54 +00:00
Magnus Auvinen 4004d13b48 applied patch from Richie Nyhus to convert CRLF to LF, as it should be 2008-11-29 06:39:22 +00:00
Alfred Eriksson e294ca61d9 added rcon_auth command to auth 2008-11-23 09:24:52 +00:00
Alfred Eriksson 2e63ef3299 stops recording when client switches state 2008-11-17 16:13:12 +00:00
Alfred Eriksson 4b053322f3 client can only start a recording when in the game 2008-11-17 16:08:24 +00:00
Alfred Eriksson 51314e4576 fixed window positioning for windows 2008-11-16 16:09:00 +00:00
Magnus Auvinen e27e2d8b2a fixed server side demo recording and some possible crashes with incorrect demos 2008-11-16 13:58:27 +00:00
Alfred Eriksson 17fc1c2ba4 window resizing disabled by default 2008-11-16 10:29:32 +00:00
Magnus Auvinen 8acf5ed788 upgraded the master server code so it can handle more servers 2008-11-15 13:29:56 +00:00
Alfred Eriksson 1d3971f217 forgot some code 2008-11-11 17:24:39 +00:00
Alfred Eriksson 66bd7b81d9 fixed server side demo recording filename 2008-11-11 17:22:22 +00:00
Alfred Eriksson c54c9a1e5c gfx_get_video_modes now returns the right number of modes 2008-11-08 15:44:22 +00:00
Magnus Auvinen aee14baf8d fixed the favorite button in the server info 2008-11-08 12:58:39 +00:00
Magnus Auvinen 4fa7806009 fixed so that downloadedmaps directory is created 2008-11-08 10:25:53 +00:00
Magnus Auvinen d3d2fb2c0b fixed separate directory for downloaded maps 2008-11-08 08:54:54 +00:00
Magnus Auvinen d113cd901c added gfx init fallbacks that disables some troubling gfx options 2008-11-08 08:44:39 +00:00
Magnus Auvinen 19ec7319a5 added no_gfx option 2008-11-08 08:30:20 +00:00
Magnus Auvinen 6eb17ec50c corrected the zlib include 2008-11-08 08:28:24 +00:00
Dominik Geyer b6eb96b7ae fixed unwanted app quitting; commented out check of gfx_window_open(); ticket #550 2008-11-07 15:35:22 +00:00
Dominik Geyer 532b1e25d6 fixed editor input-focus bug; ticket #552 2008-11-05 19:04:18 +00:00
Alfred Eriksson bb6a0504dc editor now works correctly when console is toggled (focus problem) 2008-11-01 16:49:05 +00:00
Magnus Auvinen a19a4d5077 fixed problem that occurs when a resend happens in a packets causing errornous data to enter the engine 2008-10-28 06:32:56 +00:00
Magnus Auvinen 11aa9f95fc fixed recording on the client 2008-10-25 20:29:09 +00:00
Magnus Auvinen 0436e7fc22 cleaned up engine client graphics a bit 2008-10-25 12:19:54 +00:00
Magnus Auvinen 5665867ef3 fixed so that the client broadcasts to 8303-8310 for servers on LAN 2008-10-25 12:19:12 +00:00
Joel de Vahl 34d9c53716 OSX build fix 2008-10-23 17:10:41 +00:00
Magnus Auvinen bd5b2b9f85 removed glfw and portaudio. SDL is now a requirement 2008-10-23 16:18:33 +00:00
scosu 2e3b6f5c7a Some small fixes for changeset:1643 in no_sdl parts 2008-10-22 14:21:15 +00:00
Magnus Auvinen 58601cda36 fixed double clicking 2008-10-21 18:54:02 +00:00
Magnus Auvinen 66579c87a2 fixed gametype filtering 2008-10-21 18:50:23 +00:00
Magnus Auvinen b49e4da20b fixed editor saving, open and append. note that you can only save maps to your user directory 2008-10-21 18:40:46 +00:00
Magnus Auvinen 39210c2501 cleaned up ec_inp.c. fixed a couple of bugs with it 2008-10-21 18:35:50 +00:00
Magnus Auvinen 8d78151d0a fixed sound loading to use engine_openfile 2008-10-21 18:16:56 +00:00
Jack Coulter 2d065c3fdf Fixed mispelling in the error given when the server port isn't forwarded 2008-10-21 18:15:21 +00:00
Magnus Auvinen 9acb3e5e71 continued on ban support. cleaned up settings a bit. reworked the datadir autodetection. introduced engine_openfile, engine_getpath and engine_listdir. never use fs_listdir or io_open directly 2008-10-21 18:05:06 +00:00
Magnus Auvinen 142b5ad514 fixed mouse button remapping and added mouse wheel stuff 2008-10-21 17:37:11 +00:00
Magnus Auvinen b0836b7909 tried to improve mouse focusing 2008-10-21 16:50:10 +00:00
Johan Althoff 7a32d03b8a fixed sdl for windows 2008-10-21 16:19:02 +00:00
Joel de Vahl 8edfa80028 Use SDL on OSX 2008-10-21 15:59:32 +00:00
Magnus Auvinen 39b0b6cbf8 steps towards making SDL compile a bit more platform independent 2008-10-21 15:34:42 +00:00
Magnus Auvinen d08271f1dc fixed quit panic button and editor access button 2008-10-21 13:48:49 +00:00
Magnus Auvinen 555ee67ed0 added alternative mouse input functions. enabled key repeat 2008-10-21 13:47:06 +00:00
Magnus Auvinen 8eee526360 removed snaploss counter 2008-10-20 22:36:10 +00:00
Magnus Auvinen e4c0e6cb80 restored ec_inp.c again 2008-10-20 20:00:15 +00:00
Magnus Auvinen 9cbfe9c462 improved crapnet to beable to do packet reodering /home/kma/code/teeworlds/trunk/src/tools/crapnet.cpp 2008-10-20 19:59:33 +00:00
Magnus Auvinen d9e34b6cfc improved the snapshot handling to handle packet reorders and fixed a crash. 2008-10-20 19:59:03 +00:00
Magnus Auvinen 3c463bf05d reverted false checkin 2008-10-20 19:46:39 +00:00
Magnus Auvinen a457efcd54 removed q quit button 2008-10-20 19:45:07 +00:00
Magnus Auvinen 8404143afe added SDL support 2008-10-20 17:47:42 +00:00
Magnus Auvinen 164d9c637d improved network logging 2008-10-19 17:21:04 +00:00
Magnus Auvinen 119b5af3d3 fixed a lot of network troubles 2008-10-19 09:10:55 +00:00
Magnus Auvinen 1a28f88e72 fixed formatting for downloaded maps 2008-10-19 07:27:43 +00:00
Magnus Auvinen 305e7fbff7 reenabled the crc checking of maps on the client 2008-10-18 10:44:36 +00:00
Magnus Auvinen a91fecae92 fixed fetching of server info and corrected some spelling errors 2008-10-17 21:16:23 +00:00
Dominik Geyer 70d7cb773c added ip to (dis)connect debug messages 2008-10-17 14:27:23 +00:00
Magnus Auvinen a6be56dbdc fixed crash bug when connecting/disconnecting 2008-10-16 18:17:35 +00:00
Dominik Geyer 977785b154 updated to glfw-1.6 and merged previous modifications 2008-10-16 17:09:34 +00:00
Magnus Auvinen 07fc7ec8f8 reworked the ringbuffer. should work like it should now. 2008-10-16 17:08:58 +00:00
Dominik Geyer cae288fa72 debugging: release input-focus when hotkey ESC is pressed (and dbg_focus var is set); avoids the need for ALT-TAB while debugging 2008-10-15 13:10:41 +00:00
Magnus Auvinen 051ed0c892 fixed the map downloader so it uses vital packets 2008-10-14 14:05:03 +00:00
Magnus Auvinen 93aeae97c4 fixed compile error 2008-10-14 12:12:27 +00:00
Magnus Auvinen 4484948a6d updated the demo recorder 2008-10-14 12:11:42 +00:00
Magnus Auvinen 3544db4927 fixed #490 (insert the player info in the sv_setinfo message into the snapshot instead) 2008-10-08 20:47:56 +00:00
Magnus Auvinen b39e58ce26 fixed ticket #486: Rcon doesn't work after map change 2008-10-08 18:24:27 +00:00
Magnus Auvinen 646635ec84 some pixel testing code (inactive) 2008-10-08 18:19:27 +00:00
Joel de Vahl b74c2b7931 Initial launcher (again) 2008-10-08 16:33:08 +00:00
Joel de Vahl c0fa3003d7 fixed background on ppc 2008-10-07 16:06:51 +00:00
Magnus Auvinen 3159f795c1 fixed even more jerkiness in the demo playback 2008-10-06 21:17:46 +00:00
Magnus Auvinen 316e6605be fixed demo playback jerkiness 2008-10-06 21:13:36 +00:00
Magnus Auvinen 12472ef7f4 major update. continued on ban support. added demo recording (client and server side). added demo player. added demo menu. demos have some quirks and file size optimizations havn't been done yet. some interface tweaks 2008-10-06 18:05:01 +00:00
Joel de Vahl d1b55351cc Big endian fix. 2008-10-06 16:44:34 +00:00
Dominik Geyer faa96f6d3a show if servers use non-standard tuning and let serverbrowser filter for these; ticket #393 2008-10-05 09:57:46 +00:00
Magnus Auvinen cebda9790b some cleanups. splitted e_network.c into several files. continued on the ban support 2008-10-02 12:29:19 +00:00
Dominik Geyer eb983a6446 use same detection flow of data-dir on all platforms 2008-10-01 18:23:49 +00:00
Dominik Geyer 965f5d590d made datadir-override var static 2008-10-01 17:27:53 +00:00
Dominik Geyer 397b9a764b data-dir autodetection; data-dir override; compiled-in data-dir; messagebox if detection fails; does chdir into data-dir 2008-10-01 17:16:22 +00:00
Alfred Eriksson b48608dc2a #473 maps are filtered by quicksearch 2008-09-29 14:11:40 +00:00
Magnus Auvinen eac9658b73 added voting gui and a lot of other minor changes 2008-09-29 11:34:49 +00:00
Magnus Auvinen 6d44adb711 fixed keybindings. reworked the voting a bit. added vote spamming protection. added ingame voting hud. 2008-09-25 14:04:02 +00:00
Magnus Auvinen eb21e9d6bb cleaned up the code a bit more. pooling of character and player objects with reusable macros. fixed crashing when changing maps and a couple of other bugs 2008-09-24 09:03:49 +00:00
Magnus Auvinen d9d37b945e some server restructure. added hook no attach sound 2008-09-23 18:08:19 +00:00
Magnus Auvinen b65a2c63aa upped max clients to 16 2008-09-23 13:14:04 +00:00
Magnus Auvinen 0e0972c538 fixed deterministic sort in the huffman tree generation 2008-09-23 10:20:07 +00:00
Magnus Auvinen f7be203d39 fixed so client_prevtick returns correct tick 2008-09-23 08:42:04 +00:00
Magnus Auvinen 33b50738e6 added dead reckoning to the characters 2008-09-23 07:43:41 +00:00
Magnus Auvinen 46b440d1f3 removed some comments 2008-09-21 19:06:44 +00:00
Magnus Auvinen 3b086d616a fixed threaded jobs 2008-09-07 21:13:24 +00:00
Alfred Eriksson 4c2632b7b6 merge from 0.4.3: version-notification on client 2008-09-04 18:45:41 +00:00
Magnus Auvinen 8d99a3d3c9 fixed so old request methods work aswell 2008-09-04 17:25:55 +00:00
Magnus Auvinen 171ca682d3 added saving of favorites 2008-09-03 21:02:30 +00:00
Magnus Auvinen 53da3f0d40 added favorites. no saving of them yet however 2008-09-03 20:03:01 +00:00
Alfred Eriksson b649ab6c16 merged teambalance-warning and mini-/maximize-stuff from 0.4.3 2008-09-01 18:17:01 +00:00
Magnus Auvinen 04eddacd65 setting of correct game type in game controller. fixed gametype filter in browser. various cleanups 2008-08-31 21:50:14 +00:00
Magnus Auvinen 62d9ff05d6 fixed connection less packets. they behave like the old version so version server and master servers still work 2008-08-31 19:29:09 +00:00
Magnus Auvinen 0a48454a55 removed the GAMETYPE_ enum 2008-08-31 14:37:35 +00:00
Magnus Auvinen cd7a3519a7 added the loading screen again 2008-08-30 22:38:56 +00:00
Magnus Auvinen 374714f641 clean up the hooks and removed the old gc_hooks.cpp file and renamed to clienthooks.cpp 2008-08-30 21:16:58 +00:00
Magnus Auvinen ae364d4d29 scoreboard fixed 2008-08-27 19:50:33 +00:00
Magnus Auvinen 68c52dd5ef repaired the local console 2008-08-27 16:23:15 +00:00
Magnus Auvinen dfe499248f major commit. game client restructure. not complete, loads of stuff not working, but the structure is there 2008-08-27 15:48:50 +00:00
Magnus Auvinen d711dd190c continued with clean up 2008-08-17 08:52:24 +00:00
Magnus Auvinen 16912026db added cl_layershot. fixed some bugs in the network 2008-08-17 07:05:16 +00:00
Magnus Auvinen 817f431377 moved out e_system, e_detect, vmath and math to a little base library 2008-08-14 17:19:13 +00:00
Magnus Auvinen 0fceb1cf1a added documentation 2008-08-05 21:37:33 +00:00
Magnus Auvinen a13b94f9e0 minor update 2008-07-08 09:07:21 +00:00
Magnus Auvinen 9d632dd826 major update. server clean up and much added documentation 2008-07-06 11:21:21 +00:00
Magnus Auvinen 3705064b10 renamed .h to .hpp in game because they are c++ headers 2008-06-12 12:09:34 +00:00
Magnus Auvinen f6c67c29cd large commit with loads of clean up. more is comming 2008-06-12 10:51:48 +00:00
Magnus Auvinen 0d3b988c1a major changes to the build script, requires new bam 2008-05-10 17:18:56 +00:00
Magnus Auvinen 6ecc2efaec more loads of changes for 0.5.0 2008-04-06 14:32:56 +00:00
Magnus Auvinen d15bef7ede loads of changes here and there. added flushing of packets when connection is started 2008-04-06 11:52:00 +00:00
Magnus Auvinen 34c3a1c142 new network code. not perfect. connectionless packets is missing so no server discovery is possible. reduced network traffic by A LOT 2008-04-05 14:50:43 +00:00
Magnus Auvinen f713ad2028 added optional finish call 2008-04-05 13:04:43 +00:00
Magnus Auvinen 1de453aa2a removed some debug messages in the network 2008-04-05 11:48:43 +00:00
Magnus Auvinen 20280336dd moved setting of the window title 2008-04-05 11:22:21 +00:00
Magnus Auvinen c0f2ef7f91 fixed ping times in lan browser 2008-04-05 08:26:20 +00:00
Magnus Auvinen 605e7074ba added # comments to the console 2008-04-05 07:38:48 +00:00
Magnus Auvinen 75273485c4 fixed closing of map download when disconnecting 2008-03-30 19:38:08 +00:00