Major 7.53 features: 1. Extended use of VBO for signifigant performance increases on high settings. 2. A number of bot AI changes to improve navigation, combat and more human like behavior. 3. Added a number of video resolutions. 4. "Dm Lights" server option. 5. Menu changes to make things behave more consistently and intuitively. 6. When entering join server menu, servers only refreshed on first entry, unless refresh button is pressed. 7. Entity def files to allow maps to have multiple game types and configurations. 8. Chaingun behavior smoothed out. 9. Grass/vegetation rendering visually improved, and optimized. 10. CTF scoring improvements. 11. Smarter precaching. 12. Speed hack detection improvements. 13. Fixed account bugs. 14. Optimizations for IQM and MD2 rendering. 15. Stats math refactoring. 16. New maps - TCA-Invasion, CTF-Zion2k9 17. New violator sounds, skin, and effects. 18. Added "ultra" skill level to single player mode. 19. Added sun object control to scripts. Important SVN commits: Revision: 2701 Author: max Date: 7:27:53 PM, Monday, December 19, 2011 Message: FOR TESTING: Add "hang" command to simulate hangs. Can be used to study the effect of client or server-side hangs on the netcode. Currently Unix-only. Only useful for developers. Revision: 2700 Author: irritant Date: 5:07:38 PM, Monday, December 19, 2011 Message: Changed some compiler optimization settings, this appeared to be causing memory issues. Revision: 2697 Author: irritant Date: 11:54:13 AM, Saturday, December 17, 2011 Message: Removed gl_lockarray calls when using vbo on meshes. Seems to have fixed any crashing issues. Revision: 2695 Author: strat Date: 1:23:21 PM, Wednesday, December 14, 2011 Message: Fixed bot fuzzy aim so skill and accuracy config differences make a difference. Revision: 2694 Author: irritant Date: 6:47:12 PM, Tuesday, December 13, 2011 Message: Added "nosun" field in .fog files. Revision: 2693 Author: irritant Date: 12:52:31 AM, Tuesday, December 13, 2011 Message: Added ultra skill level to single player menu. Working shadow vbo's using dynamic vbo(slower, so commented out for now). Revision: 2690 Author: irritant Date: 1:06:35 AM, Saturday, December 10, 2011 Message: Large number of bot improvements with navigation, accuracy, and AI. Removed unused bot code(the stuff where bots could drop nodes and build links, i.e. learn the map). This was never used(and potentially ruined existing paths). CTF nodes added to code(but ifdef'd out, as it's not quite working yet). Test using ctf-zion2k9(it has the base node paths added). Revision: 2687 Author: irritant Date: 1:15:48 AM, Wednesday, December 07, 2011 Message: Bots no longer fire back when attacked by their own teammates. Revision: 2686 Author: irritant Date: 1:01:07 AM, Wednesday, December 07, 2011 Message: Improvements to movement AI. Revision: 2684 Author: irritant Date: 11:12:28 PM, Tuesday, December 06, 2011 Message: Added some better strafejump checking for level 3 bots. Revision: 2683 Author: strat Date: 7:44:15 PM, Tuesday, December 06, 2011 Message: Update Autotools build for newer .m4 macros. Update version to 7.53. First cut on README updates for 7.53. Update game_data.am with ctf-zion2k9.nod. Revision: 2682 Author: irritant Date: 4:14:38 PM, Tuesday, December 06, 2011 Message: Fix vid res bugs, add 1366x768, 1280x1024. Revision: 2681 Author: irritant Date: 1:16:24 AM, Tuesday, December 06, 2011 Message: Violator alt-fire uses different effect. Revision: 2680 Author: irritant Date: 12:33:34 AM, Tuesday, December 06, 2011 Message: Ctf-Zion2k9 final version. Ctf-Zion2k9 bot path. Added 1920x1080 screen res to menu. Added VBO to vid menu(on by default). sv_enforcetime set to 0 by default until further tested and bugs fixed. Statsgen reads ftp account info from file. Updated rev to 7.53 Revision: 2679 Author: irritant Date: 12:35:34 AM, Monday, December 05, 2011 Message: Clear all vbo ID's on map reloads. Revision: 2677 Author: strat Date: 10:11:57 PM, Sunday, December 04, 2011 Message: Change a packet rate timing variable. Revision: 2676 Author: strat Date: 3:32:13 AM, Sunday, December 04, 2011 Message: Major update to statsgen with improved data collection and error handling. Revision: 2674 Author: irritant Date: 12:30:58 PM, Friday, December 02, 2011 Message: Menu items now consistent with highlighting. Rethink - vbo now on by default for any card that can use it. Revision: 2672 Author: irritant Date: 12:35:14 AM, Friday, December 02, 2011 Message: Level 0 bots should not crouch. Revision: 2671 Author: irritant Date: 12:19:34 AM, Friday, December 02, 2011 Message: When entering join server menu, servers only refreshed on first entry, unless refresh button is pressed. Revision: 2670 Author: irritant Date: 11:32:33 PM, Thursday, December 01, 2011 Message: Fixed some bot configs, changed dm-goregrinder to have easy bots. Revision: 2666 Author: strat Date: 4:57:22 PM, Sunday, November 27, 2011 Message: Modify error handling and enhance error messages for clc_move command. Remove redundant and unnecessary traces in SV_Multicast. Fix misplaced debug print statement in CL_Frame. Revision: 2664 Author: max Date: 12:59:57 AM, Sunday, November 27, 2011 Message: speed cheat code: Add code to reset speed cheat data collection whenever the server hangs. TODO: only reset the data when the hang occurs on the boundary of the 12- second data-collection cycle. I suspect the current code might almost disable the speed-cheat detection on very overloaded servers. However, this should fix false positives at any rate. Revision: 2662 Author: irritant Date: 12:30:20 AM, Thursday, November 24, 2011 Message: Max fps, pps, default set to 60. Cleanup of some vbo stuff. Revision: 2661 Author: strat Date: 1:00:47 AM, Wednesday, November 23, 2011 Message: Update for autoconf macro archive changes. (Build requires 'make clean' and './configure') Update game_data.am. Revision: 2658 Author: irritant Date: 4:46:29 PM, Tuesday, November 22, 2011 Message: Update to violator skin. Revision: 2655 Author: strat Date: 2:26:14 AM, Tuesday, November 22, 2011 Message: Update game-data.am for tca-invasion and ctf-zion2k9. Add nul-termination to entity string when loaded from .entdef file. Revision: 2654 Author: max Date: 1:31:57 AM, Tuesday, November 22, 2011 Message: Fix minor bug where g_dm_lights wouldn't get archived if game code didn't run. Revision: 2650 Author: irritant Date: 12:35:54 AM, Tuesday, November 22, 2011 Message: Added ctf-zion2k9 courtesy of Rigel. Revision: 2648 Author: irritant Date: 12:02:54 AM, Tuesday, November 22, 2011 Message: Fixed net error in new team light code. Revision: 2647 Author: max Date: 10:49:41 PM, Monday, November 21, 2011 Message: Server: display visibility lights for DM games when g_dm_lights is 1. Client: display those lights in green (older clients will display them blue.) Revision: 2646 Author: max Date: 12:49:53 AM, Monday, November 21, 2011 Message: Initial version of tca-invasion. Uses the same BSP as ctf-invasion, but with a separate entdef file. Revision: 2645 Author: strat Date: 1:51:21 PM, Sunday, November 20, 2011 Message: Fix frag rate and total time in in-game player stats to be consistent with statsgen. Revision: 2644 Author: irritant Date: 10:36:50 AM, Sunday, November 20, 2011 Message: Fixed bug with name storage and stripped chars. Revision: 2643 Author: irritant Date: 11:51:59 PM, Friday, November 18, 2011 Message: Cleaned up shadow and vbo code. Revision: 2642 Author: max Date: 9:47:36 PM, Thursday, November 17, 2011 Message: Partially fix the false positives for the speed cheat code. I found that this was happening when the *server* hangs, not when the *client* hangs, as I previously thought. This explains why my code to simulate hangs was only duplicating the issue in listen servers. I am now using Sys_Milliseconds instead of svs.realtime, which has partly cured that problem. However, a very long server-side hang can still cause false positives if it falls on the "cusp" between one 12-second data-gathering period and another. I plan on fixing that by adding a mechanism to "forgive" anything detected whenever this happens. Not ideal, but hey, what can ya do? Revision: 2639 Author: irritant Date: 11:57:50 AM, Tuesday, November 15, 2011 Message: Some IQM optimization. More to come. Revision: 2638 Author: strat Date: 3:16:36 AM, Tuesday, November 15, 2011 Message: Read Account Server 'validated' file once per loop. Start decaying score after 2 weeks instead of 4. Revision: 2636 Author: irritant Date: 6:17:08 PM, Monday, November 14, 2011 Message: Fixed bug with password cvar. Revision: 2634 Author: max Date: 5:45:48 PM, Sunday, November 13, 2011 Message: Fix one of two suspected bugs with sv_enforcetime. This is the more obvious problem, where players are always kicked on their second map after a long enough time. Revision: 2633 Author: strat Date: 2:39:12 AM, Thursday, November 10, 2011 Message: Add timeouts to stats database and latest version cURL reads to prevent hang on Join Server menu. Revision: 2631 Author: max Date: 9:04:43 PM, Sunday, November 06, 2011 Message: sv_enforcetime now has a margin of error, but it also now kicks speed cheaters. It's also now on by default. Revision: 2630 Author: max Date: 8:25:04 PM, Sunday, November 06, 2011 Message: Don't precache everything on local games where maxclients is 0 or 1. This is so I don't have to wait for ages just so I can test some code. Revision: 2629 Author: strat Date: 7:55:39 PM, Tuesday, November 01, 2011 Message: Add Rigel's CTF scoring improvements: return flag was 2, now 5 points; frag enemy flag carrier was 1, now 5 points. Fix screenshots for 1366 video width. Revision: 2628 Author: irritant Date: 5:58:26 PM, Tuesday, November 01, 2011 Message: Fix vegetation draw order. Revision: 2627 Author: irritant Date: 4:40:01 PM, Tuesday, November 01, 2011 Message: Some more efficient grass rendering. Revision: 2626 Author: max Date: 10:30:27 PM, Saturday, October 29, 2011 Message: Remove code that calculates "move" and adds it to every vertex's position. Experimental observation indicates that IQM_DrawFrame is never called on an entity where oldorigin != origin, so the code was useless anyway. This commit unbreaks cl_testentities. It also probably improves fps very slightly, but not enough for me to notice. Revision: 2625 Author: irritant Date: 7:42:12 PM, Saturday, October 29, 2011 Message: Much improved grass rendering. Revision: 2624 Author: max Date: 1:07:48 AM, Friday, October 28, 2011 Message: Factor out a few if-statements from the IQM VArray-building loops. Revision: 2622 Author: irritant Date: 12:31:57 AM, Wednesday, October 26, 2011 Message: 1. Mesh vbo now fully working. I've left r_test as a toggle for testing performance. (must also be used in conjuction with gl_usevbo). 2. A number of debugging statements in AccountServ. Revision: 2621 Author: irritant Date: 12:48:54 AM, Saturday, October 22, 2011 Message: Mostly working mesh vbo. There is still a problem with tangents. Use gl_usevbo 1 and r_test 1 to test. r_test enables and disables the mesh portion of the code. Fixed string bugs with accountserver. Revision: 2620 Author: max Date: 3:36:54 PM, Wednesday, October 19, 2011 Message: Fix irritating chaingun behavior when letting go of the primary-attack button. The chaingun will no longer waste ammo going through the whole firing animation even when the fire button is no longer held. Revision: 2618 Author: max Date: 6:49:36 PM, Monday, October 10, 2011 Message: Script to generate entdef files (dumps of the entity data) from a source .map. The R1Q2 project has a C program to generate dumps from a .bsp file, which I may also commit later (for maps where the source is lost.) Revision: 2617 Author: max Date: 6:40:49 PM, Monday, October 10, 2011 Message: System for breaking various hunks out of BSP files. Only entity data for now. This is very slightly different to the patch I initially submitted. I will make a forum post on it and possibly work with Strat to get it documented in the "devref" document. Revision: 2616 Author: max Date: 1:16:21 AM, Thursday, September 29, 2011 Message: Get rid of fixed FOV from the server-side and menu code. TODO: Ignore fixed FOV on the client side if a legacy server has it enabled. Revision: 2615 Author: max Date: 1:09:17 AM, Thursday, September 29, 2011 Message: target_speaker rejects any file with "music" in its name. This is a fix for legacy maps. Revision: 2614 Author: max Date: 1:04:07 AM, Thursday, September 29, 2011 Message: On Unix, ungrab the mouse during demo playback. The IN_Frame function for Win32 is slightly different, and I can't test it, so I won't risk messing with it. Revision: 2613 Author: max Date: 12:56:57 AM, Thursday, September 29, 2011 Message: Haste does nothing unless forward key is held. Revision: 2612 Author: irritant Date: 12:36:34 AM, Thursday, September 29, 2011 Message: Added (re-added) mesh vbo code. Extended stats decay time to 1 month instead of 1 week, which seemed a bit too fast.