Commit graph

1018 commits

Author SHA1 Message Date
Magnus Auvinen 6eb17ec50c corrected the zlib include 2008-11-08 08:28:24 +00:00
Magnus Auvinen f8490e6ea6 added str_isspace and str_length functions to system 2008-11-08 08:27:11 +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
Dominik Geyer 003c2c7d44 fixed check for bind-keyid; patch by RomD 2008-11-04 23:39:02 +00:00
Dominik Geyer 1adbddccca do not take/reset the flag if character is dead or spectator; ticket #556 2008-11-04 16:35:48 +00:00
Dominik Geyer 0259e5c3e5 fixed null-pointer server-crash 2008-11-04 13:19:05 +00:00
Dominik Geyer d37c54a995 tdm: fix team-scoring on teammate-kill; ticket #557 2008-11-04 11:55:26 +00:00
scosu e1807ea08a fix for ticket #549 by using col_intersect_line 2008-11-04 07:20:24 +00:00
Dominik Geyer 12127c0acd editor: use CTRL-key instead of ALT-key to move world/view; ticket #551 2008-11-02 20:52:07 +00:00
Alfred Eriksson a15c6946cd now server sends the player spawn events 2008-11-01 19:41:22 +00:00
Alfred Eriksson 41114313d6 fixed the clipping of the file box 2008-11-01 17:34:31 +00:00
Alfred Eriksson bb6a0504dc editor now works correctly when console is toggled (focus problem) 2008-11-01 16:49:05 +00:00
Dominik Geyer eee784f155 check nickname for invalid chars; ticket #547 2008-11-01 15:09:40 +00:00
scosu 8c0dd7f431 a fix for the physical size of tees in changeset:1659 2008-11-01 09:32:17 +00:00
scosu feaab8565d Changes the max spectator slots to 16 2008-10-29 16:43:11 +00:00
Alfred Eriksson 74a5cabce3 fixed #546 2008-10-29 12:15:58 +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
scosu 36f4b66569 Changes the collision check for death-tiles so it reacts if any part of the tee is in the area of the tile. Before this change it reacts only if the middle of the tee is in the death tile. 2008-10-26 08:37:05 +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
Magnus Auvinen 5d48c8a0a5 improved the network clipping a bit 2008-10-25 11:32:29 +00:00
Magnus Auvinen d3e9ca1655 reset score on reset 2008-10-25 08:36:55 +00:00
Alfred Eriksson 4ce4849131 fixed #538 2008-10-23 18:19:17 +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 6d86d949fd Introduces a command change_map to change maps or restart round with showing the scoreboard ticket:536 2008-10-22 14:31:46 +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 d15f0cfcf2 fixed editor edit box function 2008-10-21 18:43:07 +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 bf09116059 fixed esc key that I broke recently 2008-10-21 18:25:28 +00:00
Magnus Auvinen daf9a100eb fixed error when menu takes over enter key 2008-10-21 18:21:55 +00:00
Magnus Auvinen d3f7de62f1 fixed ninja animation 2008-10-21 18:17: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
scosu 37abbcbd28 If the player who should be kicked by a vote leaves the game, the vote is aborted. ticket 523 2008-10-21 17:26:32 +00:00
Magnus Auvinen b0836b7909 tried to improve mouse focusing 2008-10-21 16:50:10 +00:00
Alfred Eriksson 8c1ed7d81d fixed typo 2008-10-21 16:35:44 +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 f038d6395d enabled so it sends tuning over to the client 2008-10-21 00:36:07 +00:00
Magnus Auvinen d15860e44f renamed gc_render* to render* 2008-10-20 23:46:39 +00:00
Magnus Auvinen ad9c1b0a22 fixed text input box bug 2008-10-20 23:43:15 +00:00
Magnus Auvinen 6224fc7763 fixed sending of new player info when player changes something in the info 2008-10-20 23:38:23 +00:00
Magnus Auvinen 15217d8458 fixed so that you can't vote on maps that arn't in the map list. fixed crash bug in the server info menu page 2008-10-20 23:20:28 +00:00
Magnus Auvinen da473cf614 fixed various issues with binding keys like enter and f1-f15 2008-10-20 23:10:00 +00:00
Magnus Auvinen ac1aeab149 fixed incorrect handling of projectiel and laser owner 2008-10-20 23:00:46 +00:00
Magnus Auvinen 9f7a6a04b0 correctly paused input for game when chatting or in menu 2008-10-20 22:53:42 +00:00
Magnus Auvinen e76e0e6f7e fixed so that the gui removes previous key binding if you change it 2008-10-20 22:46:58 +00:00
Magnus Auvinen a8fb732b0e fixed reset for characters 2008-10-20 22:43:14 +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 1675c9f098 increased the number of dummies you can have 2008-10-20 19:58:34 +00:00
Magnus Auvinen 06d48cd3da improved some the dummies a bit 2008-10-20 19:58:11 +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 b4b2404303 release input when console is showing 2008-10-20 18:12:15 +00:00
Magnus Auvinen 8404143afe added SDL support 2008-10-20 17:47:42 +00:00
Dominik Geyer 0b4c01ff0a fix: only do balancing is teams are uneven; fix: check balance on disconnect; added check for balance after rcon-teamset; used patch from Oy with some modification 2008-10-19 18:38:23 +00:00
Magnus Auvinen 164d9c637d improved network logging 2008-10-19 17:21:04 +00:00
Dominik Geyer d951d368a6 added some comments on team-balancing 2008-10-19 16:51:16 +00:00
Dominik Geyer caa24dfb0f new team-balancing algorithm: determine players to switch by player-scores-sum instead of team-score; patch provided and tested by rajh; ticket #509 2008-10-19 16:14:12 +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 0a001ce440 removed unnessesary function 2008-10-18 21:20:16 +00:00
Magnus Auvinen c561c365d7 fixed potential crash when players leave and there are projectiles left from them 2008-10-18 21:19:49 +00:00
Dominik Geyer 3cdb90c10c reset flag when it hits a death-tile; ticket #513 2008-10-18 20:37:41 +00:00
Dominik Geyer 13513864cf fixed compiler warnings 2008-10-18 15:09:53 +00:00
Magnus Auvinen e0358ee798 fixed the hammer so it looks good again and works like it should 2008-10-18 11:03:33 +00:00
Magnus Auvinen 8e0e105123 fixed problem with the UI always listening directly to the keyboard 2008-10-18 10:52:26 +00:00
Magnus Auvinen 305e7fbff7 reenabled the crc checking of maps on the client 2008-10-18 10:44:36 +00:00
Alfred Eriksson e858ed1310 gameclient is now reset correctly 2008-10-18 10:32:36 +00:00
Magnus Auvinen 09744696bd fixed the weapon turning stuff 2008-10-18 10:30:03 +00:00
Alfred Eriksson 8c4cfd54b8 added zoom by scroll 2008-10-18 10:04:51 +00:00
Alfred Eriksson ddcfc69c03 fixed #507 2008-10-18 09:21:40 +00:00
Magnus Auvinen 714e49b8cf made sure that the hook is released on players that doesn't exist anymore aka dead. 2008-10-17 21:42:32 +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 eb47aa385b added delay before respawn when using the kill-command; provided and tested by scosu; ticket #463 2008-10-17 15:38:36 +00:00
Dominik Geyer a4e922cf5a decreased width of slidebars in graphics-tab to fit 2008-10-17 15:26:02 +00:00
Dominik Geyer 70d7cb773c added ip to (dis)connect debug messages 2008-10-17 14:27:23 +00:00
Magnus Auvinen 35bcd41aa2 added hammer hit effect. added reset of all systems on state change. solves a lot of possible memory errors 2008-10-17 11:23:21 +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 03f6d24ba1 fixed server-crash on death race-condition; ticket #494 2008-10-15 16:43:25 +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 1d094181ed fixed #479 (chat overlaps when text is 3 lines long) 2008-10-08 19:04:10 +00:00
Magnus Auvinen 3c2cd35056 removed pickup debugging stuff 2008-10-08 18:36:50 +00:00
Magnus Auvinen b0a88d81aa fixed so the ninja works again. made it less specialized aswell 2008-10-08 18:36:30 +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 79f9fb41d4 fixed so that the components are reset on connect 2008-10-08 18:19:45 +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 2b6f991010 Better mem_check reporting 2008-10-07 16:17:58 +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
Alfred Eriksson 78d129c051 major restructuring of the controls settings page 2008-10-05 18:27:20 +00:00
Dominik Geyer 35a1252607 minor: fixed formatting 2008-10-05 15:59:36 +00:00
Dominik Geyer 2f1fa5f292 added option for scoreboard-bind to controls-page 2008-10-05 15:56:58 +00:00
Alfred Eriksson 2c274fcd19 fixed server crash when disconnecting in ctf 2008-10-05 15:40:36 +00:00
Dominik Geyer a5d34f62d3 fixed compiler warnings 2008-10-05 10:36:13 +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
Dominik Geyer 42f661ae70 always check for last time kill 2008-10-05 09:28:23 +00:00
Dominik Geyer 343324c21b fixed compiler warnings 2008-10-02 15:34:45 +00:00
Joel de Vahl 9b0b0eb98d Removed compile warnings 2008-10-02 14:44:35 +00:00
Joel de Vahl d5b1c93598 fixed message box on osx 2008-10-02 14:37:48 +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
Alfred Eriksson bddc6ec6cc server browser is now default menu page 2008-10-01 18:40:09 +00:00
Magnus Auvinen 7ebdb8d4d7 fixed logging 2008-10-01 18:34:43 +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
Dominik Geyer fb3e8dec79 use sizeof instead of fix value 2008-09-30 17:10:19 +00:00
Dominik Geyer 9266f242c3 implemented gui_messagebox() which displays low-level message-box 2008-09-30 15:52:15 +00:00
Dominik Geyer 799e82ba8b removed redundant unistd.h include 2008-09-30 14:24:06 +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 f96be4eb0e corrected voting limits 2008-09-25 12:43:02 +00:00
Magnus Auvinen d2d4024c7a voting fixes 2008-09-25 12:41:37 +00:00
Magnus Auvinen aaaba4f403 continued on the voting 2008-09-25 12:23:44 +00:00
Alfred Eriksson 059c2ee4cb reverted changes that changed to the old background 2008-09-24 15:09:09 +00:00
Magnus Auvinen eb812244d9 fixed server crash when dieing 2008-09-24 14:54:51 +00:00
Magnus Auvinen 917ebc17c6 begun the work on voting 2008-09-24 14:47:03 +00:00
Alfred Eriksson 2f28978237 server info page is fixed, remaining is to set current_server_info 2008-09-24 14:28:26 +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 c94b1f22ab added non-hookable tile 2008-09-23 14:38:13 +00:00
Magnus Auvinen 815c55c4ce added death tile 2008-09-23 14:10:05 +00:00
Magnus Auvinen 8f9e2031dc repaired the editor 2008-09-23 13:28:57 +00:00
Magnus Auvinen b65a2c63aa upped max clients to 16 2008-09-23 13:14:04 +00:00
Magnus Auvinen 2aca3b874f new menu background, much more relaxing 2008-09-23 11:58:12 +00:00