Commit graph

365 commits

Author SHA1 Message Date
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 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
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 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
Magnus Auvinen a6be56dbdc fixed crash bug when connecting/disconnecting 2008-10-16 18:17:35 +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 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 646635ec84 some pixel testing code (inactive) 2008-10-08 18:19:27 +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
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 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 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 cd7a3519a7 added the loading screen again 2008-08-30 22:38:56 +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 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 9d632dd826 major update. server clean up and much added documentation 2008-07-06 11:21:21 +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 c0f2ef7f91 fixed ping times in lan browser 2008-04-05 08:26:20 +00:00
Magnus Auvinen 75273485c4 fixed closing of map download when disconnecting 2008-03-30 19:38:08 +00:00
Magnus Auvinen a16c624930 fixed realigning of text when chaning row 2008-03-30 10:27:17 +00:00
Magnus Auvinen 370cbbe79f server browser improvements. much improved quick search. sorted the player list. 2008-03-29 17:20:21 +00:00
Magnus Auvinen 1f246d9dcb fixed protection so that the fonts doesn't get resampled 2008-03-29 11:55:42 +00:00
Magnus Auvinen 7a3874745c fixed loads of graphical optimizations 2008-03-29 11:44:03 +00:00
Magnus Auvinen 119bb8a5f8 fixed so that maps are downloaded to maps/. fixed so that you can't select non-existing envelopes in the editor 2008-03-23 12:51:14 +00:00
Magnus Auvinen bc108df382 renamed everything. added the new license 2008-03-22 18:40:27 +00:00
Joel de Vahl ddca01abb6 OSX fixes 2008-03-22 15:09:49 +00:00
Magnus Auvinen ffa7735e0d added compatible version filter. cleaned up the server browser a bit. increased rifle ammo to 10 2008-03-22 14:26:17 +00:00
Magnus Auvinen 7797a65167 changed the bindings commands to bind, unbind and dump_binds. added broadcast messages. fixed so that cl_editor works 2008-03-22 11:45:48 +00:00
Magnus Auvinen 45a047ce47 fixed bug in text rendering. added option for detail layers 2008-03-21 17:39:09 +00:00
Magnus Auvinen faa13fe703 fixed input problems. made better input in console and chat 2008-03-21 16:45:26 +00:00
Magnus Auvinen 1292d4f06a fixed rcon command 2008-03-19 23:17:41 +00:00
Magnus Auvinen 3fb0a02954 fixed chat rendering 2008-03-18 01:49:47 +00:00
Magnus Auvinen 944cd68add loads of small fixes everywhere 2008-03-18 01:30:47 +00:00
Magnus Auvinen 41b8f4f165 redone the console parsing to be more userfriendly 2008-03-14 23:39:52 +00:00
Magnus Auvinen 1d98b33ec2 added motd 2008-03-11 05:29:51 +00:00
Magnus Auvinen 23ffe1ff65 updated to svn version of portaudio. fixed a couple of issues with linux and multiple sound devices. 2008-03-05 19:38:47 +00:00
Magnus Auvinen c36819b18d fixed fading of text borders correctly 2008-03-01 20:06:21 +00:00
Magnus Auvinen 08c4c8e0b7 redone the input system so you can know do keybindings with say etc 2008-03-01 20:03:04 +00:00
Magnus Auvinen 0747c2dff9 fixed remote console. some gui tweaks aswell. 2008-03-01 14:36:36 +00:00
Magnus Auvinen 4739966e14 larger restructure to improve security 2008-02-24 16:03:58 +00:00
Magnus Auvinen 1ea859c431 security audit: fixed so the packer functions checks for errors 2008-02-11 22:25:10 +00:00
Magnus Auvinen 79dfdb3cd7 security audit: first batch of fixes. replaced sprintf, strcpy with more secure versions 2008-02-11 21:49:26 +00:00
Magnus Auvinen 548a919ea3 merged 0.3.4 changes to trunk 2008-02-10 21:54:52 +00:00
Magnus Auvinen fb336cddbb added simple map downloading \o/ 2008-02-10 16:50:59 +00:00
Magnus Auvinen 294cbe18c1 done some more latency work. added the extra message for projectiles to reduce latency 2008-02-10 15:32:30 +00:00
Magnus Auvinen e1acdb8f10 increased texture limit from 128 to 4k 2008-02-05 19:13:59 +00:00
Magnus Auvinen dd1e7adc00 fixed sound positioning bug, tweaked laser effect, fixed memory dumping 2008-02-04 07:36:54 +00:00
Magnus Auvinen 5f32f5b36f added laser weapon 2008-02-02 18:05:16 +00:00
Magnus Auvinen 1fe3202f0b cleaned up the console code. added the ability to tune the game in runtime. 2008-02-02 12:38:36 +00:00
Jakob Fries e2de77ea14 should compile on windows now 2008-02-02 11:08:31 +00:00
Jakob Fries aaf75f5239 removed wrongful dependency 2008-02-01 21:14:58 +00:00
Jakob Fries ba560c861e animated console, added log messages for team changes and ctf flag events 2008-01-30 13:15:58 +00:00
Magnus Auvinen 5d1cb86943 disabled alpha and stencil 2008-01-29 21:41:27 +00:00
Magnus Auvinen 7bc733dc10 large update. cleaned up some code. added new effects for almost everything 2008-01-29 21:39:41 +00:00
Magnus Auvinen 438dfeb0ca fixed bug when switching fast from internet and lan tabs 2008-01-20 15:19:33 +00:00
Magnus Auvinen dd21ae1bc7 large commit. documented a bit. editor updates. general cleanup of everything 2008-01-19 10:57:25 +00:00
Jakob Fries 7b73f15052 Console is now accessable in-game and has more commands: connect, disconnect, quit. 2008-01-18 15:55:03 +00:00
Magnus Auvinen e26b898b74 various fixes. continued on the editor 2008-01-13 16:30:30 +00:00
Magnus Auvinen 06671c4494 fixed various issues 2008-01-13 13:42:59 +00:00
Magnus Auvinen ea245b969d new mapformat in place. continued the cleanup. some effects are gone, gonna be redone so no biggie. CTF isn't working now. 2008-01-13 11:15:32 +00:00
Magnus Auvinen 99f0a47d6b first round of code cleanup 2008-01-12 15:07:57 +00:00
Magnus Auvinen 47a0525ab8 merged editor over to trunk 2008-01-12 12:27:55 +00:00
Magnus Auvinen 1c1677f023 merged 0.3.3 changes over to trunk 2008-01-12 12:08:26 +00:00
Jakob Fries 24e17b41a8 Minimized font's gfx memory footprint. 2008-01-11 16:48:34 +00:00
Magnus Auvinen 5050c0ca4f compile fixes 2007-12-25 11:56:11 +00:00
Jakob Fries cd6d5e6237 new fonts added, lots more magic font code added, server bug fixed 2007-12-25 03:25:13 +00:00
Jakob Fries 23d50255d2 fixed font stuffs 2007-12-24 13:11:52 +00:00
Jakob Fries a02611511c more font stuffs 2007-12-24 13:09:34 +00:00
Jakob Fries 1ddfbba366 add new font stuff 2007-12-22 02:55:19 +00:00
Magnus Auvinen e06dd7d5d7 fixed crash when joining a server when connected to one already 2007-12-20 00:26:50 +00:00
Magnus Auvinen 47dc63e1dd fixed error with the prediction events 2007-12-19 20:19:51 +00:00
Joel de Vahl 525dc0a71c fixed endian swap for server browser 2007-12-19 19:39:08 +00:00
Johan Althoff 2848006ee2 fixed server browser sorting on win32. bizar implementation of qsort on win32. 2007-12-18 21:26:15 +00:00
Magnus Auvinen 0c078f11b7 fixed smooooooth scrolling in the server browser 2007-12-18 21:06:56 +00:00
Magnus Auvinen f3a60b6df9 changed how the input snapping works. fixed a bug in the projectile rendering when using 25 snapping rate 2007-12-18 20:12:25 +00:00
Magnus Auvinen 02902e9cae tweaked the prediction values a bit 2007-12-17 22:20:43 +00:00
Magnus Auvinen c2b650a217 cleaned up abit. halfed the default snapping rate. fixed different snapping rates, init, full and recover to help the bandwidth. 2007-12-17 22:14:00 +00:00
Magnus Auvinen e8b68bcd33 fixed the bug with binding the mouse wheel 2007-12-17 00:16:04 +00:00
Magnus Auvinen c3320e9d07 fixed reverse sorting 2007-12-16 23:09:36 +00:00
Magnus Auvinen c4915c5bd9 added airjump sound. added the option to choose sound device 2007-12-15 14:30:22 +00:00
Magnus Auvinen 8a8bc8d06f fixed resizable window 2007-12-15 13:11:46 +00:00
Magnus Auvinen a2566b3ebd cleaned up code structure a bit 2007-12-15 10:24:49 +00:00
Magnus Auvinen 182c77721e cleaned up the console variables 2007-12-11 23:10:07 +00:00
Magnus Auvinen 7cf32e6f97 fixed scoreboard stuff 2007-12-11 23:00:48 +00:00
Magnus Auvinen e9560899a3 fixed panning problem 2007-12-11 22:03:17 +00:00
Magnus Auvinen 63e834c353 added connection problems sign 2007-12-11 21:55:52 +00:00
Jakob Fries c896ce54ea foundation for widescreen support... still needs to fix ingame gui 2007-12-10 23:28:37 +00:00
Magnus Auvinen cb994a68e9 added ui debugging tools 2007-12-10 19:36:45 +00:00
Magnus Auvinen 014dcf97c0 crash fixes and added options 2007-12-10 19:13:00 +00:00
Magnus Auvinen fbfd169581 crash fix that occurs when compressed snapshot spans several packets. crash fix caused but ids running out when chaning maps often 2007-12-10 18:21:22 +00:00
Magnus Auvinen 02e3439913 fixed so that you can bind mouse buttons 2007-12-09 15:52:22 +00:00
Joel de Vahl d029e67223 Doubleclick to join server. Correct name on disconnect. 2007-12-09 15:43:18 +00:00
Magnus Auvinen 8aa0456a29 added mouse sens option 2007-12-09 14:15:57 +00:00
Magnus Auvinen f2d0fb0fb3 minor updates, added sv_map_reload variable 2007-12-09 13:16:18 +00:00
Joel de Vahl 8a12d252b5 No prediction or updates if we are offline. For real. 2007-12-09 10:49:47 +00:00
Joel de Vahl fce6a2c10d No prediction or updates if we are offline. 2007-12-09 10:44:35 +00:00
Magnus Auvinen 00f5817db0 fixed map crc checking 2007-12-03 18:47:29 +00:00
Magnus Auvinen e96ad33a34 fixed the editor 2007-12-02 17:55:45 +00:00
Magnus Auvinen 8fa8485a3a fixed CTF sounds. fixed close teewars bug 2007-11-27 19:32:35 +00:00
Magnus Auvinen a0e5181e42 added license info 2007-11-25 19:42:40 +00:00
Magnus Auvinen dda8f6b33e fixed skin selector and some other mindor stuff 2007-11-18 12:03:59 +00:00
Magnus Auvinen 7efefe2716 many smaller changes. changed how projectiles are handled. fixed joining bug 2007-11-11 21:02:36 +00:00
Magnus Auvinen 6475366e59 fixed lan browser. fixed major bug in the caused the server not to report correctly 2007-11-08 19:54:18 +00:00
Magnus Auvinen 6b6b79d7ae minor direct connection bug fixed 2007-11-08 09:20:55 +00:00
Magnus Auvinen 711aa0db76 update, gui stuff, some engine stuff 2007-11-08 09:11:32 +00:00