Commit graph

557 commits

Author SHA1 Message Date
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