Commit graph

5855 commits

Author SHA1 Message Date
terminx
eb35e8b927 git-svn-id: https://svn.eduke32.com/eduke32@505 1a8010ca-5511-0410-912e-c29ae57300e0 2007-02-18 22:16:01 +00:00
Plagman
6440b48ec8 Added xscale and yscale DEF tokens to texture blocks to control the size ratio with the ART.
git-svn-id: https://svn.eduke32.com/eduke32@504 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-17 02:23:50 +00:00
Plagman
8c462256c0 HUD detail and glow maps.
git-svn-id: https://svn.eduke32.com/eduke32@503 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-16 17:44:59 +00:00
terminx
7da6eb3f8e This rips all of the camera control shit out of userdefs and re-implements it as a bunch of pointer gamevars. This required adding in support for vars which are pointers to chars and short ints. It appears to work properly, without overwriting anything that happens to be adjacent (in memory) to the values being set. We'll see.
git-svn-id: https://svn.eduke32.com/eduke32@502 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-16 06:59:05 +00:00
Plagman
b436f4fb71 Various fixes and detail texturing on models.
git-svn-id: https://svn.eduke32.com/eduke32@501 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-16 01:34:41 +00:00
terminx
d3af85c064 Some crap I didn't commit before
git-svn-id: https://svn.eduke32.com/eduke32@500 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-16 00:11:25 +00:00
Plagman
39c818d053 Avoid loading textures two times.
git-svn-id: https://svn.eduke32.com/eduke32@499 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-15 22:26:50 +00:00
terminx
b48a0a933b git-svn-id: https://svn.eduke32.com/eduke32@498 1a8010ca-5511-0410-912e-c29ae57300e0 2007-02-15 01:45:38 +00:00
Plagman
3dd47da766 Glow mapping !
git-svn-id: https://svn.eduke32.com/eduke32@497 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-15 01:35:34 +00:00
terminx
5bc5a1bfd0 This adds a menu option to reset the key layout to what the game shipped with
git-svn-id: https://svn.eduke32.com/eduke32@496 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-14 00:22:12 +00:00
terminx
c4ffc08584 This adds a menu option to reset the keys to the default configuration
git-svn-id: https://svn.eduke32.com/eduke32@495 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-13 09:50:58 +00:00
terminx
e1fed262d6 OOPS.
git-svn-id: https://svn.eduke32.com/eduke32@494 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-13 03:00:25 +00:00
terminx
4dcb01ae6e This removes the bullet spread from the pistol if the player is aiming directly at something aim() would target, allowing the special enhanced auto-aim for the pistol to be mimicked when auto-aim is disabled.
git-svn-id: https://svn.eduke32.com/eduke32@493 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-13 02:56:10 +00:00
terminx
32470fe65c Added EVENT_DISPLAYSTATUSBAR and moved the "detail" option out of game options and into the video setup menu (but only while classic mode is enabled).
git-svn-id: https://svn.eduke32.com/eduke32@492 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-13 02:22:17 +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
ac95cded34 This fixes the fog issue described here: http://forums.3drealms.com/vb/showpost.php?p=492096
git-svn-id: https://svn.eduke32.com/eduke32@490 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-12 21:52:23 +00:00
terminx
7e79039197 Clean up the new camera control stuff a little bit
git-svn-id: https://svn.eduke32.com/eduke32@489 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-12 21:17:52 +00:00
terminx
1fff7e88f4 Tag the .mid file in /tmp with the username and current pid, and remove it when the sound system is shut down.
git-svn-id: https://svn.eduke32.com/eduke32@488 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-12 21:08:31 +00:00
terminx
abcce7e337 Camera control
git-svn-id: https://svn.eduke32.com/eduke32@487 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-12 07:58:03 +00:00
terminx
465b5041f3 This fixes a defect which could cause the game to crash when a duke3d_w32 network configuration file without explicitly defined ports is used.
git-svn-id: https://svn.eduke32.com/eduke32@486 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-11 22:05:50 +00:00
terminx
e96c05767e This changes the pistol's autoaim back to how it was in the DOS version of Duke3D. I suspect this behavior was changed during NAM or WW2GI development and just never noticed until now.
git-svn-id: https://svn.eduke32.com/eduke32@485 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-11 00:49:03 +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
ee4573779c Remove JFAud until it works right
git-svn-id: https://svn.eduke32.com/eduke32@483 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-07 00:13:47 +00:00
terminx
90c4f271b2 git-svn-id: https://svn.eduke32.com/eduke32@482 1a8010ca-5511-0410-912e-c29ae57300e0 2007-02-05 01:33:08 +00:00
terminx
72ec04ff88 Allow use of grp files which exist outside of the game directory
git-svn-id: https://svn.eduke32.com/eduke32@481 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-30 09:03:51 +00:00
terminx
0a1afbd3f3 Minor fixes
git-svn-id: https://svn.eduke32.com/eduke32@480 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-30 02:04:14 +00:00
terminx
6ff2a7d2cc This fixes the issue with running in 16-bit color, and it doesn't look like it breaks depth peeling...
git-svn-id: https://svn.eduke32.com/eduke32@479 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-29 23:01:28 +00:00
terminx
ef81aee7be The mouse wheel was backwards on Win32... I think this fixes that.
git-svn-id: https://svn.eduke32.com/eduke32@478 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-29 03:21:12 +00:00
terminx
4c1a6e6ce1 Fixes for http://forums.3drealms.com/vb/showpost.php?p=481243 and possibly http://forums.3drealms.com/vb/showpost.php?p=480994
git-svn-id: https://svn.eduke32.com/eduke32@477 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-29 01:19:49 +00:00
terminx
64ec370c98 dos2unix on the engine headers
git-svn-id: https://svn.eduke32.com/eduke32@476 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-29 01:18:16 +00:00
Plagman
d7832a7d4f Winlayer keyboard input fix for OSD buffer issues and removed blending in drawrooms.
git-svn-id: https://svn.eduke32.com/eduke32@475 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-26 22:37:48 +00:00
terminx
c21558f2a3 Minor crap
git-svn-id: https://svn.eduke32.com/eduke32@474 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-26 21:12:05 +00:00
Plagman
1b5284aee0 Fixes blending in drawrooms and dynamic GLU not compiling in Win32.
git-svn-id: https://svn.eduke32.com/eduke32@473 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-26 20:29:36 +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
terminx
f628faefd8 Misc. fixes
git-svn-id: https://svn.eduke32.com/eduke32@469 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-24 03:42:54 +00:00
terminx
23a468d956 git-svn-id: https://svn.eduke32.com/eduke32@468 1a8010ca-5511-0410-912e-c29ae57300e0 2007-01-22 05:00:57 +00:00
terminx
8ca2a3f33b This adds -game_dir for Mapster, too.
git-svn-id: https://svn.eduke32.com/eduke32@467 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-22 03:10:09 +00:00
terminx
e0e4dfdabd This fixes using .cfg files that are outside of the game directory.
git-svn-id: https://svn.eduke32.com/eduke32@466 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-22 02:49:58 +00:00
terminx
76c2340c83 Support for -game_dir similar to Duke3d_w32
git-svn-id: https://svn.eduke32.com/eduke32@465 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-22 02:35:54 +00:00
terminx
fe9004fafe Support for -ww2gi, -nam, -cfg, -usecwd, -h, and -j in Mapster32. Because I am lazy, this is all code from game.c.
git-svn-id: https://svn.eduke32.com/eduke32@464 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-21 23:49:07 +00:00
terminx
44e869c8d9 Misc minor things
git-svn-id: https://svn.eduke32.com/eduke32@463 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-20 03:10:32 +00:00
terminx
a94063e0be Dynamically loaded GLU
git-svn-id: https://svn.eduke32.com/eduke32@462 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-16 03:19:04 +00:00
Plagman
43657d4f56 GL State leak correction : no more diffuse map disappearance.
git-svn-id: https://svn.eduke32.com/eduke32@461 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-15 12:17:01 +00:00
Plagman
581fd77c35 Asking the end-user to have sexual intercourse with his family is not that cool.
git-svn-id: https://svn.eduke32.com/eduke32@460 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-15 09:22:13 +00:00
Plagman
59ef78ff35 Detail mapping : r_detailmapping.
git-svn-id: https://svn.eduke32.com/eduke32@459 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-15 09:08:57 +00:00
terminx
530edf77b8 MAXSPRITESONSCREEN = 4096 and a few other things
git-svn-id: https://svn.eduke32.com/eduke32@458 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-15 05:46:49 +00:00
terminx
699f26d1e7 This changes the map scaling feature to operate on sectors selected in the editor rather than the whole map
git-svn-id: https://svn.eduke32.com/eduke32@457 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-15 00:59:49 +00:00
terminx
c7def8d139 This makes Mapster32 go into 3D mode at startup only if the map's start position is inside of a sector. This means that you won't end up in 3D mode on a blank map anymore if you have an empty newboard.map in your directory.
git-svn-id: https://svn.eduke32.com/eduke32@456 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-15 00:38:21 +00:00