Commit Graph

282 Commits

Author SHA1 Message Date
terminx 2c9aeac2d5 A bunch of crap I meant to commit days ago... gtk startup window patch from bioman, nedmalloc REPLACE_SYSTEM_ALLOCATOR fix (related code uses #ifdef REPLACE_SYSTEM_ALLOCATOR so defining it to 0 was still satisfying the condition), slightly lower CPU usage in Mapster 2D mode, fix an ancient bug causing the player to not make vent footstep sounds on sprite based vents, fix map save state cvars, add "skill" cvar to console, fix saving the game while CON_SHOWVIEW is in use
git-svn-id: https://svn.eduke32.com/eduke32@1540 1a8010ca-5511-0410-912e-c29ae57300e0
2009-11-14 02:30:47 +00:00
terminx 784e919941 Change multiplayer random ID generation scheme and remove some dead code
git-svn-id: https://svn.eduke32.com/eduke32@1537 1a8010ca-5511-0410-912e-c29ae57300e0
2009-10-29 22:22:44 +00:00
terminx f0f56a6738 Added ifactorsound & stopactorsound, fixed qsprintf issues, removed dead unfinished fmod support code, fiddled with structure packing and data sizes to increase the max concurrent playbacks of the same sound from 4 to 8, fixed several sound bugs where when one player's jetpack or scuba sounds stopped in multiplayer, everyone's hitched, increased max sound voices to 96 (was 32)
git-svn-id: https://svn.eduke32.com/eduke32@1461 1a8010ca-5511-0410-912e-c29ae57300e0
2009-07-15 01:26:38 +00:00
terminx 3aaab4b63d Remove dead copy protection and watcom support code, fix structure alignment and packing issues preventing Polymer from working with MSVC, enable link time code generation (whole program optimization) for MSVC builds, fix most warnings showing up in MSVC with /w2, add pulsating dynamic lights when holding the shrinker or expander
git-svn-id: https://svn.eduke32.com/eduke32@1454 1a8010ca-5511-0410-912e-c29ae57300e0
2009-07-09 02:29:48 +00:00
terminx 0744452216 More light stuff... most gameland lights should be working again now
git-svn-id: https://svn.eduke32.com/eduke32@1409 1a8010ca-5511-0410-912e-c29ae57300e0
2009-06-06 22:30:53 +00:00
terminx f3fbf8d9a3 Add support for cvars of type 'double', fix vid_gamma/brightness/contrast cvars, save cvars to eduke32_binds.cfg at shutdown, better method for drawing the floor textures in Mapster32 2D mode, slightly more yellow/orange lights on fire/rockets/lasers/etc
git-svn-id: https://svn.eduke32.com/eduke32@1358 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-30 21:09:44 +00:00
terminx 493d621eb0 More cvar shit
git-svn-id: https://svn.eduke32.com/eduke32@1357 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-30 01:07:08 +00:00
terminx 30a649c86f Some more cvar stuff
git-svn-id: https://svn.eduke32.com/eduke32@1355 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-29 19:43:51 +00:00
terminx c222341417 Clean up polymost vars
git-svn-id: https://svn.eduke32.com/eduke32@1354 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-29 07:47:10 +00:00
terminx 152d3f8813 Fix CVAR_MULTI flag
git-svn-id: https://svn.eduke32.com/eduke32@1353 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-29 06:27:09 +00:00
terminx e11dbd7428 Unify cvar handling between the engine and game sides of things
git-svn-id: https://svn.eduke32.com/eduke32@1352 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-29 06:20:07 +00:00
terminx b7b016383f Sector effector based light sources, basic Mapster32 light support, additional sprite/model alpha control, sprite selection in Mapster32 3D mode with Polymer
git-svn-id: https://svn.eduke32.com/eduke32@1341 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-24 02:53:50 +00:00
terminx 3d7a6a3572 git-svn-id: https://svn.eduke32.com/eduke32@1316 1a8010ca-5511-0410-912e-c29ae57300e0 2009-04-13 06:53:03 +00:00
plagman 26a9a58af3 Adds a bunch of cvars to tweak polymer.
git-svn-id: https://svn.eduke32.com/eduke32@1307 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-12 17:14:18 +00:00
plagman 68cad843f6 Adds pr_maxlightpasses cvar.
git-svn-id: https://svn.eduke32.com/eduke32@1293 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-01 18:52:15 +00:00
plagman 3d6b06e958 pr_specularoverride and less retarded default values for the parallax overrides.
git-svn-id: https://svn.eduke32.com/eduke32@1285 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-29 17:14:41 +00:00
plagman 9b4dae022d 4-step Iterative parallax mapping, parallaxscale and parallaxbias DEF tokens for normal maps, support for floating-point cvars, pr_overrideparallax cvar to fine-tune the scale and bias settings.
git-svn-id: https://svn.eduke32.com/eduke32@1284 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-29 15:16:33 +00:00
terminx 151189efab new version of astyle
git-svn-id: https://svn.eduke32.com/eduke32@1229 1a8010ca-5511-0410-912e-c29ae57300e0
2009-02-19 16:47:54 +00:00
terminx 18896fd0cd git-svn-id: https://svn.eduke32.com/eduke32@1208 1a8010ca-5511-0410-912e-c29ae57300e0 2009-01-13 12:23:18 +00:00
terminx 16084e989e git-svn-id: https://svn.eduke32.com/eduke32@1207 1a8010ca-5511-0410-912e-c29ae57300e0 2009-01-13 04:40:56 +00:00
terminx 9095a4911d git-svn-id: https://svn.eduke32.com/eduke32@1206 1a8010ca-5511-0410-912e-c29ae57300e0 2009-01-10 07:38:50 +00:00
terminx d6914ed108 ass rape
git-svn-id: https://svn.eduke32.com/eduke32@1205 1a8010ca-5511-0410-912e-c29ae57300e0
2009-01-09 09:29:17 +00:00
terminx df2af2fc33 git-svn-id: https://svn.eduke32.com/eduke32@1146 1a8010ca-5511-0410-912e-c29ae57300e0 2008-11-22 06:46:27 +00:00
terminx a34a4901a9 git-svn-id: https://svn.eduke32.com/eduke32@1144 1a8010ca-5511-0410-912e-c29ae57300e0 2008-11-21 12:14:05 +00:00
terminx 4910928877 source code rape
git-svn-id: https://svn.eduke32.com/eduke32@1143 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-20 14:06:36 +00:00
terminx 3456c1e909 git-svn-id: https://svn.eduke32.com/eduke32@1128 1a8010ca-5511-0410-912e-c29ae57300e0 2008-11-12 04:16:41 +00:00
terminx 7aa2930514 git-svn-id: https://svn.eduke32.com/eduke32@1126 1a8010ca-5511-0410-912e-c29ae57300e0 2008-11-11 14:48:59 +00:00
terminx 54128e127c Enet networking patch from a random dude on IRC, with the addition of my own port of the "unstable" networking code from duke3d_w32 (which is what is actually used in Internet play)
git-svn-id: https://svn.eduke32.com/eduke32@1124 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-11 13:24:05 +00:00
terminx 4efb91b376 git-svn-id: https://svn.eduke32.com/eduke32@1121 1a8010ca-5511-0410-912e-c29ae57300e0 2008-11-05 11:49:13 +00:00
terminx ed4c9d6e01 git-svn-id: https://svn.eduke32.com/eduke32@1114 1a8010ca-5511-0410-912e-c29ae57300e0 2008-10-24 09:20:38 +00:00
hnt_ts 059a4f3513 Sync console commands
git-svn-id: https://svn.eduke32.com/eduke32@1112 1a8010ca-5511-0410-912e-c29ae57300e0
2008-10-23 20:19:30 +00:00
terminx 6ae2e2d140 Misc shit
git-svn-id: https://svn.eduke32.com/eduke32@1101 1a8010ca-5511-0410-912e-c29ae57300e0
2008-10-18 12:37:26 +00:00
terminx 60a4224533 Some mouse changes... previous effect of the "mouse smoothing" menu option is now mandatory (since turning it off just means you'll lose input from tiny movements), new "mouse smoothing" effect is a more traditional average of the last 2 times the mouse input was read
git-svn-id: https://svn.eduke32.com/eduke32@1099 1a8010ca-5511-0410-912e-c29ae57300e0
2008-10-13 01:16:40 +00:00
terminx c21b1deae2 git-svn-id: https://svn.eduke32.com/eduke32@1097 1a8010ca-5511-0410-912e-c29ae57300e0 2008-10-11 11:50:02 +00:00
terminx efcd34c135 EDuke32: now with multiplayer text scaling hacks and nastiness
git-svn-id: https://svn.eduke32.com/eduke32@1095 1a8010ca-5511-0410-912e-c29ae57300e0
2008-10-11 09:20:04 +00:00
terminx 205f62496b git-svn-id: https://svn.eduke32.com/eduke32@1092 1a8010ca-5511-0410-912e-c29ae57300e0 2008-10-08 03:16:34 +00:00
terminx ccafc41189 Weapon sprite scaling, still needs a rotatespritescaled CON command
git-svn-id: https://svn.eduke32.com/eduke32@1090 1a8010ca-5511-0410-912e-c29ae57300e0
2008-10-05 11:51:59 +00:00
terminx 8dc599fc28 git-svn-id: https://svn.eduke32.com/eduke32@1089 1a8010ca-5511-0410-912e-c29ae57300e0 2008-10-05 09:23:55 +00:00
terminx d507a10397 git-svn-id: https://svn.eduke32.com/eduke32@1088 1a8010ca-5511-0410-912e-c29ae57300e0 2008-10-03 10:28:17 +00:00
terminx 0a4ff21a9d git-svn-id: https://svn.eduke32.com/eduke32@1087 1a8010ca-5511-0410-912e-c29ae57300e0 2008-10-02 17:45:44 +00:00
terminx 328011fae4 Adds r_maxfps and some better error messages for cases where the user didn't even copy a grp into their EDuke32 dir
git-svn-id: https://svn.eduke32.com/eduke32@1086 1a8010ca-5511-0410-912e-c29ae57300e0
2008-10-01 04:38:14 +00:00
terminx 3776d580eb Cleaning uncommitted changes out of tree
git-svn-id: https://svn.eduke32.com/eduke32@1068 1a8010ca-5511-0410-912e-c29ae57300e0
2008-09-15 02:47:02 +00:00
terminx 60526dbb26 git-svn-id: https://svn.eduke32.com/eduke32@1062 1a8010ca-5511-0410-912e-c29ae57300e0 2008-09-11 09:24:45 +00:00
terminx af0ad5fb0a git-svn-id: https://svn.eduke32.com/eduke32@1030 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-25 10:43:24 +00:00
terminx 39b87128d6 git-svn-id: https://svn.eduke32.com/eduke32@997 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-22 04:26:26 +00:00
terminx b411c3b205 Force startup window to be displayed if the cfg wasn't saved with an EDuke32 build of matching BYTEVERSION_JF, and use a wrapper around kopen4load to access files from mod_dir first.
git-svn-id: https://svn.eduke32.com/eduke32@992 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-20 08:39:07 +00:00
terminx 28fedd72e8 Ignore r_downsize for textures with nocompress and some other minor crap
git-svn-id: https://svn.eduke32.com/eduke32@990 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-19 11:05:21 +00:00
terminx da6b206673 Rename definegamename to setgamename and alter the "map" console command to show a listing of all available maps if no map name is given
git-svn-id: https://svn.eduke32.com/eduke32@987 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-17 11:07:28 +00:00
terminx 4ce41d5079 Enhancements to -cfg: now offers the option to import existing config settings from duke3d.cfg, and binds.cfg is now cfgname_binds.cfg so individual configs can have their own. This is good for mods that change some of the function names (like Duke Plus) because otherwise running EDuke32 on the same cfg without the mod activated will blow away the controls for functions that don't exist.
git-svn-id: https://svn.eduke32.com/eduke32@972 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-12 12:50:20 +00:00
terminx cf4e3930d5 Fixes for dividing by the result of ldist without checking for 0 first
git-svn-id: https://svn.eduke32.com/eduke32@959 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-10 10:05:30 +00:00
terminx 18614505b1 Althud health and ammo numbers flash when value is low... I don't know if I like this yet or not
can be disabled with "hud_flashing 0"


git-svn-id: https://svn.eduke32.com/eduke32@952 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-09 11:19:27 +00:00
terminx bdd43da5c0 git-svn-id: https://svn.eduke32.com/eduke32@944 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-08 23:04:05 +00:00
terminx 2a090515e2 Apply crosshair RGB values to 8-bit crosshair tile instead of nearest color in the palette if we're using Polymost
git-svn-id: https://svn.eduke32.com/eduke32@943 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-08 05:56:20 +00:00
terminx 19ac7da999 git-svn-id: https://svn.eduke32.com/eduke32@942 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-08 05:03:56 +00:00
terminx 2030a42763 git-svn-id: https://svn.eduke32.com/eduke32@941 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-08 01:54:43 +00:00
terminx b9895ca078 CON access to hittype[].flags, better crosshair coloring code
git-svn-id: https://svn.eduke32.com/eduke32@939 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-07 23:32:18 +00:00
terminx abc0aeb07c Crosshair color support... not done yet
git-svn-id: https://svn.eduke32.com/eduke32@938 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-07 13:23:08 +00:00
terminx 563f0d81ae git-svn-id: https://svn.eduke32.com/eduke32@937 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-07 11:45:28 +00:00
terminx a5f12d9f55 New alternate mini-hud
git-svn-id: https://svn.eduke32.com/eduke32@934 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-07 07:52:36 +00:00
terminx 900195a093 git-svn-id: https://svn.eduke32.com/eduke32@929 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-03 11:45:15 +00:00
terminx 95297e60e9 git-svn-id: https://svn.eduke32.com/eduke32@927 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-01 12:34:18 +00:00
terminx b1a5b6be67 useless shit changes that aren't even worth looking at
git-svn-id: https://svn.eduke32.com/eduke32@926 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-31 10:35:23 +00:00
terminx 9acb742ab7 git-svn-id: https://svn.eduke32.com/eduke32@922 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-30 05:41:03 +00:00
terminx 424f02f809 New sound setup menu plus some other crap
git-svn-id: https://svn.eduke32.com/eduke32@915 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-28 21:23:10 +00:00
terminx d5add9a2ef Cheap hack to replace "space" in quote 13 with "use"
git-svn-id: https://svn.eduke32.com/eduke32@913 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-28 02:40:23 +00:00
terminx 86712a9fc9 Menu slider for map ambient light level
git-svn-id: https://svn.eduke32.com/eduke32@911 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-27 21:33:28 +00:00
terminx 9ebad22ac8 git-svn-id: https://svn.eduke32.com/eduke32@909 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-27 01:22:17 +00:00
terminx 8b9116d1a4 r_cullobstructedmodels 2: only cull if model texture has alpha
git-svn-id: https://svn.eduke32.com/eduke32@908 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-26 07:20:57 +00:00
terminx 0f28a14ba3 Add r_osdhightile in case anyone really wants ugly blurry console text
Will not be given a menu option.


git-svn-id: https://svn.eduke32.com/eduke32@901 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-25 04:33:33 +00:00
terminx b55d4f5d50 Color adjustment bugfixes
git-svn-id: https://svn.eduke32.com/eduke32@893 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-24 02:07:22 +00:00
hnt_ts 18deaab4ca 1. Added a console command: addlogvar.
2. Colorized console in Linux. The font is different now(harder to read). This change can be reverted you like.
3. Added some CON error messages. If the compact form of {} isn't allowed, say so and I won't do in this style anymore.


git-svn-id: https://svn.eduke32.com/eduke32@892 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-23 20:09:22 +00:00
terminx 86e70d3012 git-svn-id: https://svn.eduke32.com/eduke32@881 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-21 09:05:53 +00:00
terminx 4a69a33e36 git-svn-id: https://svn.eduke32.com/eduke32@879 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-21 03:06:34 +00:00
terminx 28c0033e8f Crappy temporary brightness adjustment menu and some misc fixes
git-svn-id: https://svn.eduke32.com/eduke32@877 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-20 11:03:57 +00:00
terminx b45bb674d1 Better gamma ramp adjustment, uses vid_gamma, vid_brightness and vid_contrast cvars
Will be added to menu during upcoming menu redesign


git-svn-id: https://svn.eduke32.com/eduke32@870 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-19 13:12:20 +00:00
terminx b367a392a7 Prototype stuff for hub maps/persistent level states/non-linear level progression
git-svn-id: https://svn.eduke32.com/eduke32@859 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-16 09:27:08 +00:00
terminx 4ddfc3e9d9 Comment out and refactor some unnecessary (IMO) console startup messages... seems to improve win32 startup times, possibly due to less scrolling of the startup window text buffer.
git-svn-id: https://svn.eduke32.com/eduke32@848 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-09 23:25:38 +00:00
terminx 01449fc547 git-svn-id: https://svn.eduke32.com/eduke32@843 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-07 12:35:21 +00:00
terminx a8edd3e87c Some days, I just add shit for the hell of it
git-svn-id: https://svn.eduke32.com/eduke32@841 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-07 08:04:12 +00:00
terminx 275fdc8552 git-svn-id: https://svn.eduke32.com/eduke32@837 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-04 01:43:45 +00:00
terminx 2abab26c25 Much improved MapKey function
git-svn-id: https://svn.eduke32.com/eduke32@836 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-04 01:15:32 +00:00
terminx 13d4b6fb14 More bind shit
git-svn-id: https://svn.eduke32.com/eduke32@834 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-03 07:37:41 +00:00
terminx c5d1978aa2 Renamed some more cvars, removed osdcompletionstyle and merged the two methods into one
git-svn-id: https://svn.eduke32.com/eduke32@833 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-02 22:45:04 +00:00
terminx 4c8538e0f7 Rename some console commands to be more consistent with each other
git-svn-id: https://svn.eduke32.com/eduke32@832 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-02 04:56:42 +00:00
terminx a7d9ab4603 git-svn-id: https://svn.eduke32.com/eduke32@830 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-01 11:14:18 +00:00
terminx 9091b75be1 git-svn-id: https://svn.eduke32.com/eduke32@829 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-01 10:33:13 +00:00
terminx 95eed1cd2b mouse binds
git-svn-id: https://svn.eduke32.com/eduke32@826 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-30 19:06:05 +00:00
terminx ef2683418e Keyboard configuration menu <-> binds
git-svn-id: https://svn.eduke32.com/eduke32@822 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-30 09:00:33 +00:00
terminx 1783253ccd git-svn-id: https://svn.eduke32.com/eduke32@821 1a8010ca-5511-0410-912e-c29ae57300e0 2008-06-30 07:30:48 +00:00
terminx 5d2b147658 added support for removing aliases
git-svn-id: https://svn.eduke32.com/eduke32@820 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-30 01:03:51 +00:00
terminx b60e2a57dc git-svn-id: https://svn.eduke32.com/eduke32@814 1a8010ca-5511-0410-912e-c29ae57300e0 2008-06-29 12:53:18 +00:00
terminx ef183706e6 read/write binds to/from binds.cfg
git-svn-id: https://svn.eduke32.com/eduke32@813 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-29 12:29:42 +00:00
terminx f003af45dc make repeating binds the default and added "bind norepeat"
binds which call console commands should use norepeat


git-svn-id: https://svn.eduke32.com/eduke32@812 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-29 12:13:10 +00:00
terminx 586ad8bab4 git-svn-id: https://svn.eduke32.com/eduke32@811 1a8010ca-5511-0410-912e-c29ae57300e0 2008-06-29 11:59:43 +00:00
terminx 9ea5b3febf osdcmd_unbind()
git-svn-id: https://svn.eduke32.com/eduke32@810 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-29 11:33:51 +00:00
terminx 2fa3153a84 Better keybinding... still needs some work but seems to be functional
Example:

bind w repeat gamefunc_move_forward
bind s repeat gamefunc_move_backward
bind a repeat gamefunc_strafe_left
bind d repeat gamefunc_strafe_right
bind space gamefunc_jump
bind leftcontrol repeat gamefunc_crouch
bind f12 quit



git-svn-id: https://svn.eduke32.com/eduke32@808 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-29 10:40:37 +00:00
plagman 2eab017106 Model animation interpolation.
git-svn-id: https://svn.eduke32.com/eduke32@775 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-06 14:00:12 +00:00
terminx 1747bc460e win32 gcc 4.3.0 fixes
git-svn-id: https://svn.eduke32.com/eduke32@760 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-04 08:58:02 +00:00
plagman 67e777a899 Map VBOs. pr_vbos to enable them.
git-svn-id: https://svn.eduke32.com/eduke32@741 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-24 09:37:09 +00:00
terminx 67e2466b0e Patch from hunter_rus
git-svn-id: https://svn.eduke32.com/eduke32@723 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-10 01:29:37 +00:00
plagman ec7c642585 Added pr_billboarding mode to control whether face sprites look like classic (and clip into walls) or if they look like polymost (and suck cock).
git-svn-id: https://svn.eduke32.com/eduke32@692 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-04 08:07:11 +00:00
plagman 1d320f6eec Delay between occlusion queries for visible sectors (controlled by the value of pr_occlusionculling).
git-svn-id: https://svn.eduke32.com/eduke32@686 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-02 09:29:58 +00:00
terminx 51fdffe93e git-svn-id: https://svn.eduke32.com/eduke32@680 1a8010ca-5511-0410-912e-c29ae57300e0 2008-04-01 09:06:29 +00:00
plagman de9731692f Fast polymer.
git-svn-id: https://svn.eduke32.com/eduke32@662 1a8010ca-5511-0410-912e-c29ae57300e0
2008-03-26 09:24:25 +00:00
terminx 408ca47fbd git-svn-id: https://svn.eduke32.com/eduke32@654 1a8010ca-5511-0410-912e-c29ae57300e0 2008-03-22 10:23:57 +00:00
terminx 945e1b2357 Remove -Wno-unused from Makefile
git-svn-id: https://svn.eduke32.com/eduke32@649 1a8010ca-5511-0410-912e-c29ae57300e0
2008-03-21 04:01:38 +00:00
terminx 74d7485a19 OpenAL patch from Hunter_rus... haven't even tried to make this work with MSVC yet
git-svn-id: https://svn.eduke32.com/eduke32@634 1a8010ca-5511-0410-912e-c29ae57300e0
2008-03-08 05:23:15 +00:00
terminx 25ac5770c0 git-svn-id: https://svn.eduke32.com/eduke32@627 1a8010ca-5511-0410-912e-c29ae57300e0 2008-02-24 00:46:57 +00:00
plagman d94973a174 More Polymer portal stuff. Renders most stuff correctly and somewhat fast.
- pr_scissors to toggle scissors testing. This should reduce GPU load and prevent normally invisible stuff from being drawn.
 - pr_showportals to show visportals and scissors if they are enabled. Debugging feature.
Issues:
 - screen may flicker on the edge of some sectors. Probably an accuracy issue somewhere.
 - some maps make the algorithm loop too much (slow) or indefinitely (hang) for some reason.

git-svn-id: https://svn.eduke32.com/eduke32@595 1a8010ca-5511-0410-912e-c29ae57300e0
2008-01-05 08:58:15 +00:00
plagman 701a18909c strcmpi = bad
git-svn-id: https://svn.eduke32.com/eduke32@592 1a8010ca-5511-0410-912e-c29ae57300e0
2008-01-04 02:07:25 +00:00
plagman a8a675634e Patch from hunter_rus.
Adds:
 - maximal log line count and OSD variable "logcutoff"
 - ability to define different models for each palette
 - "bind" OSD command to bind keys so that they run command batch files

git-svn-id: https://svn.eduke32.com/eduke32@591 1a8010ca-5511-0410-912e-c29ae57300e0
2008-01-04 01:04:35 +00:00
terminx 4aa6cf2ea3 patch from hunter_rus
git-svn-id: https://svn.eduke32.com/eduke32@587 1a8010ca-5511-0410-912e-c29ae57300e0
2007-12-20 19:14:38 +00:00
terminx 31a901b7eb git-svn-id: https://svn.eduke32.com/eduke32@584 1a8010ca-5511-0410-912e-c29ae57300e0 2007-12-12 17:42:14 +00:00
terminx 826f786dcc per-player max values for health, armor and ammo
git-svn-id: https://svn.eduke32.com/eduke32@566 1a8010ca-5511-0410-912e-c29ae57300e0
2007-08-27 23:11:49 +00:00
terminx 19c34b09ef dynamically allocated player structs
git-svn-id: https://svn.eduke32.com/eduke32@564 1a8010ca-5511-0410-912e-c29ae57300e0
2007-08-27 06:46:31 +00:00
terminx a2f4bdb2c8 Wanna buy some crack?
git-svn-id: https://svn.eduke32.com/eduke32@563 1a8010ca-5511-0410-912e-c29ae57300e0
2007-08-27 00:20:15 +00:00
terminx d651d1d895 git-svn-id: https://svn.eduke32.com/eduke32@562 1a8010ca-5511-0410-912e-c29ae57300e0 2007-08-26 11:28:32 +00:00
terminx ad5c98d66f config file global variable rape
git-svn-id: https://svn.eduke32.com/eduke32@561 1a8010ca-5511-0410-912e-c29ae57300e0
2007-08-26 10:35:52 +00:00
terminx b5a81483f2 git-svn-id: https://svn.eduke32.com/eduke32@559 1a8010ca-5511-0410-912e-c29ae57300e0 2007-08-25 01:05:00 +00:00
Plagman 94a22e4d62 Rewrote half of polymer.c, HSR still needs a bit of work but I believe the end is near.
git-svn-id: https://svn.eduke32.com/eduke32@551 1a8010ca-5511-0410-912e-c29ae57300e0
2007-07-01 06:32:03 +00:00
terminx b54b8e1e6b git-svn-id: https://svn.eduke32.com/eduke32@529 1a8010ca-5511-0410-912e-c29ae57300e0 2007-03-24 23:17:56 +00:00
Plagman 004e4da3de Game angle interpolation (cl_angleinterpolation) and engine model animation smoothing (r_animsmoothing).
git-svn-id: https://svn.eduke32.com/eduke32@525 1a8010ca-5511-0410-912e-c29ae57300e0
2007-03-22 18:28:41 +00:00
terminx 33985f1650 This adds a menu option for network packet rate, and more conversion of passing things as char or short to passing things as int
git-svn-id: https://svn.eduke32.com/eduke32@509 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-28 09:12:41 +00:00
terminx 23dbb55689 Bug fixes
git-svn-id: https://svn.eduke32.com/eduke32@508 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-26 01:46:38 +00:00
terminx 0dfc03afa0 Fixes the skybox problem, the problem with the default keyboard configuration, and adds cl_viewbob and cl_weaponsway
git-svn-id: https://svn.eduke32.com/eduke32@506 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-23 22:27:22 +00:00
terminx ef8f308c9b Status bar stuff... this adds new hotkeys for scaling the status bar (hold shift while pressing the shrink or enlarge screen buttons) and also adds support for a left-justified version of the full status bar
git-svn-id: https://svn.eduke32.com/eduke32@491 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-13 01:28:50 +00:00
terminx fd4dfeb6a5 Update the headers of all source files, add CON_SHOWVIEW based on a patch from CONAN, other minor fixes
git-svn-id: https://svn.eduke32.com/eduke32@484 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-08 04:19:39 +00:00
terminx 50d1a03dbc Move screenshot code to getpackets() to allow screenshots in the menu and in cutscenes and add some snd_ cvars and a restartsound console command.
git-svn-id: https://svn.eduke32.com/eduke32@472 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-26 05:16:10 +00:00
terminx 50559c7a32 Re-done player setup menu, support for 4 teams in multiplayer, and separate menu options for weapon switch on pickup and weapon switch when empty. The string with __DATE__ and __TIME__ in it (which is used in the first line of the log file) was moved to global.c so that we're no longer forcing game.c to be recompiled every time something else is changed.
git-svn-id: https://svn.eduke32.com/eduke32@471 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-26 00:28:44 +00:00
terminx f1d10f4c8c Packet rate control
git-svn-id: https://svn.eduke32.com/eduke32@470 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-24 21:24:35 +00:00
Plagman 87556300bf EDuke32 now compiles okay with the Microsoft compiler using NMake.
git-svn-id: https://svn.eduke32.com/eduke32@434 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-21 12:53:11 +00:00
terminx dc0dea7c09 Update checking for win32...
git-svn-id: https://svn.eduke32.com/eduke32@416 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-14 03:34:55 +00:00
terminx a35a73796c Function for changing map in multiplayer
git-svn-id: https://svn.eduke32.com/eduke32@414 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-12 08:46:32 +00:00
terminx 760e784ffc Multiplayer code for "map" and "changelevel"
git-svn-id: https://svn.eduke32.com/eduke32@413 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-12 08:33:11 +00:00
terminx 35ea2d7ad1 Make sure map filenames always get slashes prepended to them, to make sure getlevelfromfilename() doesn't fail
git-svn-id: https://svn.eduke32.com/eduke32@412 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-12 07:25:01 +00:00
terminx c4147db020 Blah blah blah
git-svn-id: https://svn.eduke32.com/eduke32@400 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-10 21:53:33 +00:00
terminx 15ee3431f9 Check to see if the user map filename matches a defined level name and warp to that level instead of opening it as a user map
git-svn-id: https://svn.eduke32.com/eduke32@392 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-09 23:41:43 +00:00
terminx ccb93c19d8 Palette stuff... hijack hictinting[MAXPALOOKUPS-1] for use as a tint control on all hightile assets. This way, NVG and underwater tinting in Polymost doesn't interfere with the ps[].pals tinting that palfrom sets in the CONs.
git-svn-id: https://svn.eduke32.com/eduke32@384 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-05 20:39:29 +00:00
terminx e4afb39e66 git-svn-id: https://svn.eduke32.com/eduke32@379 1a8010ca-5511-0410-912e-c29ae57300e0 2006-12-04 04:08:14 +00:00
terminx 5dda5b1660 Rename some functions and separate the player's weapon choice back out into its own packet, because we don't need to send it with player updates from the menu.
git-svn-id: https://svn.eduke32.com/eduke32@371 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-30 23:37:47 +00:00
terminx 80c51ac2de Fix some gcc4 warnings
git-svn-id: https://svn.eduke32.com/eduke32@344 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-18 08:13:33 +00:00
terminx bbbccb7b11 Hopefully the last of the formatting changes + sound support for Linux. Previous commit also fixes the mouse cursor grab issue.
git-svn-id: https://svn.eduke32.com/eduke32@337 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-16 03:02:42 +00:00
terminx 628ef41cc4 An additional crapload of formatting changes
git-svn-id: https://svn.eduke32.com/eduke32@335 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-15 01:16:55 +00:00
terminx 38e3d16aeb More formatting changes
git-svn-id: https://svn.eduke32.com/eduke32@333 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-14 21:35:50 +00:00
terminx 37dea75dc6 Formatting change
git-svn-id: https://svn.eduke32.com/eduke32@331 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-13 23:12:47 +00:00
Plagman 6b635120d4 Frustum clipping and cliplanes for map limits. Performance should be alright now.
git-svn-id: https://svn.eduke32.com/eduke32@311 1a8010ca-5511-0410-912e-c29ae57300e0
2006-10-15 18:51:41 +00:00
Plagman 9002a68e64 Polymer cliplanes and FOV.
git-svn-id: https://svn.eduke32.com/eduke32@310 1a8010ca-5511-0410-912e-c29ae57300e0
2006-10-14 23:33:10 +00:00
Plagman 0a0f399ba0 More Polymer (for win32 platform, still test code), added polymost.h for external access to some structs and funcs.
git-svn-id: https://svn.eduke32.com/eduke32@283 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-30 23:32:39 +00:00
terminx 2a1b4418ad Minor fixes
git-svn-id: https://svn.eduke32.com/eduke32@247 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-23 21:12:46 +00:00
terminx e9aca89385 Remove HUD model correction and more Polymost shading tweaks
git-svn-id: https://svn.eduke32.com/eduke32@211 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-05 02:05:39 +00:00