Commit graph

465 commits

Author SHA1 Message Date
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
Magnus Auvinen a35f7cd4b4 fixed optional " in the console 2008-03-30 12:46:58 +00:00
Magnus Auvinen a16c624930 fixed realigning of text when chaning row 2008-03-30 10:27:17 +00:00
Magnus Auvinen e822830056 fixed some weapon switching issues 2008-03-29 18:40:18 +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 ae71bff086 some clean up and increased the size of a strings in the console 2008-03-29 14:34:40 +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 8ff7c94ac2 fixed some memory leaks 2008-03-24 15:33:12 +00:00
Magnus Auvinen e20e488d3d made so that servers rechecks masters after 60 minutes to even out the balance 2008-03-23 14:02:12 +00:00
Magnus Auvinen eecd528e70 added support for a autoexec.cfg 2008-03-23 13:01:04 +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 f40300d1f2 added flushing after each line to stdout 2008-03-23 01:48:31 +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 f3167f0cc2 fixed so that ; works like a separator in the console 2008-03-21 20:32:05 +00:00
Magnus Auvinen e7403a6df9 fixed so that sv_bindaddr works like it should 2008-03-21 19:10:04 +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 72e59b011a fixed error in the ring buffer 2008-03-20 23:14:23 +00:00
Magnus Auvinen 1292d4f06a fixed rcon command 2008-03-19 23:17:41 +00:00
Magnus Auvinen 46560cdb50 added exec command and added circular execution checking 2008-03-18 21:10:03 +00:00
Magnus Auvinen 9425cbef57 fixed auto rename if two players sets the same name 2008-03-18 20:31:13 +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
Joel de Vahl 88f2341627 PA fixes for OSX 2008-03-17 19:43:08 +00:00
Magnus Auvinen 412958bae3 fixed åäö in chat 2008-03-17 01:22:25 +00:00
Magnus Auvinen 1c5103e891 fixed the chatting 2008-03-16 22:48:02 +00:00
Johan Althoff 727c9a3a32 fixed win32 compile error 2008-03-16 18:49:45 +00:00
Magnus Auvinen 38811b6951 fixed config variable bug 2008-03-15 13:27:24 +00:00
Magnus Auvinen 41b8f4f165 redone the console parsing to be more userfriendly 2008-03-14 23:39:52 +00:00
Magnus Auvinen 0883fc3dfd cleaned up some console stuff 2008-03-11 08:48:48 +00:00
Magnus Auvinen 1d98b33ec2 added motd 2008-03-11 05:29:51 +00:00
Magnus Auvinen 5400809a9d fixed compile error on windows 2008-03-10 10:56:48 +00:00
Magnus Auvinen 89eea17ead added option to log to file 2008-03-10 00:48:45 +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
Jakob Fries 57b2da779f Converted spaces to tabs *curses* 2008-02-11 21:44:36 +00:00
Jakob Fries 5840e987b1 Added forgotten case in lexer. 2008-02-11 21:41:31 +00:00
Jakob Fries 5d02a7f4fa Proper support for negatives. Properlized silly error message 2008-02-11 21:40:48 +00:00
Magnus Auvinen 2185df9254 shadow on the console. respect sv_sendheartbeats 2008-02-11 08:24:59 +00:00
Magnus Auvinen 548a919ea3 merged 0.3.4 changes to trunk 2008-02-10 21:54:52 +00:00
Johan Althoff 2f969d9d6f fixed compile on win32 2008-02-10 19:03:10 +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 acffe66ebe flashified the console 2008-02-10 01:48:39 +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
Jakob Fries d76661b3be console now has proper backlog and command history. kill command added. predicted hooks no longer make a sound when hitting a player. 2008-02-04 00:13:34 +00:00
Magnus Auvinen be33e56abc fixed so that the newest element is returned with ringbuf_next aswell 2008-02-03 23:57:03 +00:00
Magnus Auvinen e138d5c76a changed name from rb_* to ringbuf_* 2008-02-03 23:55:37 +00:00
Magnus Auvinen 62be4982d6 fixed errors in the ring buffer 2008-02-03 23:52:28 +00:00
Magnus Auvinen 0985de75ec added ring buffer 2008-02-03 22:42:03 +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 0dab7db963 fixed so that the lexer handles negative ints 2008-01-20 23:01:56 +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 f63bcc8673 fixed small errors in memheap 2008-01-20 09:53:15 +00:00
Magnus Auvinen b5a6dacfa3 fixed naming of images 2008-01-19 13:02:22 +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 57c4765993 editor update and other stuff 2008-01-17 23:09:49 +00:00
Jakob Fries 253a5639ae Console should now lex and parse strings correctly (including escaping). 2008-01-17 23:04:53 +00:00
Magnus Auvinen 037569c4e5 compile fixes 2008-01-16 22:15:56 +00:00
Jakob Fries 75c8b2e9a5 Added first version of the console. 2008-01-16 22:14:06 +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
Joel de Vahl 8de75caffc reverted glfw fix 2007-12-19 21:42:39 +00:00