Commit graph

534 commits

Author SHA1 Message Date
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
2fc1832cab Removes the user prompt on duplicate case in switch statement.
git-svn-id: https://svn.eduke32.com/eduke32@594 1a8010ca-5511-0410-912e-c29ae57300e0
2008-01-04 18:46:58 +00:00
plagman
00971ca89a Changes screenpeek from short to int.
git-svn-id: https://svn.eduke32.com/eduke32@593 1a8010ca-5511-0410-912e-c29ae57300e0
2008-01-04 04:41:13 +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
plagman
cfa399998a Added xpanning and ypanning actor members to control the new sprite panning feature.
git-svn-id: https://svn.eduke32.com/eduke32@590 1a8010ca-5511-0410-912e-c29ae57300e0
2008-01-03 21:54:58 +00:00
plagman
a1e00d78ee Unbreaks hunter_rus patch on anal compilers
git-svn-id: https://svn.eduke32.com/eduke32@589 1a8010ca-5511-0410-912e-c29ae57300e0
2007-12-28 20:04:58 +00:00
terminx
4b218232c9 patch from Stephen Anthony
git-svn-id: https://svn.eduke32.com/eduke32@588 1a8010ca-5511-0410-912e-c29ae57300e0
2007-12-24 05:07:52 +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
d6739cc554 git-svn-id: https://svn.eduke32.com/eduke32@586 1a8010ca-5511-0410-912e-c29ae57300e0 2007-12-13 17:38:46 +00:00
terminx
717d839815 sound patch from stephen anthony
git-svn-id: https://svn.eduke32.com/eduke32@585 1a8010ca-5511-0410-912e-c29ae57300e0
2007-12-12 23:07:52 +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
75cca4cd5c git-svn-id: https://svn.eduke32.com/eduke32@583 1a8010ca-5511-0410-912e-c29ae57300e0 2007-12-12 15:27:34 +00:00
terminx
b27a43ff2a git-svn-id: https://svn.eduke32.com/eduke32@582 1a8010ca-5511-0410-912e-c29ae57300e0 2007-10-24 07:12:50 +00:00
terminx
5dbcf7cdbc git-svn-id: https://svn.eduke32.com/eduke32@581 1a8010ca-5511-0410-912e-c29ae57300e0 2007-10-24 06:48:13 +00:00
terminx
2376ac3806 git-svn-id: https://svn.eduke32.com/eduke32@580 1a8010ca-5511-0410-912e-c29ae57300e0 2007-09-11 05:26:38 +00:00
terminx
997883a2f9 git-svn-id: https://svn.eduke32.com/eduke32@579 1a8010ca-5511-0410-912e-c29ae57300e0 2007-09-11 02:23:08 +00:00
plagman
820eeeb5b3 MANIFESTS MOTHERFUCKER DO YOU EMBED THEM?
git-svn-id: https://svn.eduke32.com/eduke32@578 1a8010ca-5511-0410-912e-c29ae57300e0
2007-09-11 00:52:38 +00:00
terminx
1753d91046 git-svn-id: https://svn.eduke32.com/eduke32@577 1a8010ca-5511-0410-912e-c29ae57300e0 2007-09-10 23:38:42 +00:00
terminx
8a6e2bb008 git-svn-id: https://svn.eduke32.com/eduke32@574 1a8010ca-5511-0410-912e-c29ae57300e0 2007-09-06 10:43:42 +00:00
terminx
6a8346ddab git-svn-id: https://svn.eduke32.com/eduke32@573 1a8010ca-5511-0410-912e-c29ae57300e0 2007-09-05 21:56:58 +00:00
terminx
92ef761289 git-svn-id: https://svn.eduke32.com/eduke32@570 1a8010ca-5511-0410-912e-c29ae57300e0 2007-08-31 06:18:56 +00:00
terminx
93f6f0a33f git-svn-id: https://svn.eduke32.com/eduke32@569 1a8010ca-5511-0410-912e-c29ae57300e0 2007-08-29 05:29:37 +00:00
terminx
f0264b1140 git-svn-id: https://svn.eduke32.com/eduke32@568 1a8010ca-5511-0410-912e-c29ae57300e0 2007-08-29 05:02:43 +00:00
terminx
eec7e1b2e0 dynamically allocated script buffers
this is still broken


git-svn-id: https://svn.eduke32.com/eduke32@567 1a8010ca-5511-0410-912e-c29ae57300e0
2007-08-29 04:01:21 +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
75a496f970 git-svn-id: https://svn.eduke32.com/eduke32@565 1a8010ca-5511-0410-912e-c29ae57300e0 2007-08-27 20:36:36 +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
599dda879f git-svn-id: https://svn.eduke32.com/eduke32@560 1a8010ca-5511-0410-912e-c29ae57300e0 2007-08-25 22:02:40 +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
terminx
c9e97fa954 git-svn-id: https://svn.eduke32.com/eduke32@558 1a8010ca-5511-0410-912e-c29ae57300e0 2007-08-19 00:15:30 +00:00
terminx
9704ade66c git-svn-id: https://svn.eduke32.com/eduke32@557 1a8010ca-5511-0410-912e-c29ae57300e0 2007-08-17 19:32:56 +00:00
terminx
4e0f8281c7 git-svn-id: https://svn.eduke32.com/eduke32@556 1a8010ca-5511-0410-912e-c29ae57300e0 2007-08-17 03:16:46 +00:00
terminx
9c6486025d git-svn-id: https://svn.eduke32.com/eduke32@555 1a8010ca-5511-0410-912e-c29ae57300e0 2007-08-16 23:25:24 +00:00
terminx
66538686e2 Better sound fix
git-svn-id: https://svn.eduke32.com/eduke32@554 1a8010ca-5511-0410-912e-c29ae57300e0
2007-08-15 03:05:14 +00:00
terminx
3fcc3771bd Sound fix
git-svn-id: https://svn.eduke32.com/eduke32@553 1a8010ca-5511-0410-912e-c29ae57300e0
2007-08-14 21:29:44 +00:00
terminx
0b1f6f91a9 grp shit
git-svn-id: https://svn.eduke32.com/eduke32@552 1a8010ca-5511-0410-912e-c29ae57300e0
2007-07-04 09:15:08 +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
b54842fbdc git-svn-id: https://svn.eduke32.com/eduke32@550 1a8010ca-5511-0410-912e-c29ae57300e0 2007-06-12 19:53:18 +00:00
terminx
d8dfd8beb4 Misc fixes
git-svn-id: https://svn.eduke32.com/eduke32@549 1a8010ca-5511-0410-912e-c29ae57300e0
2007-06-12 19:47:34 +00:00
terminx
a7069d9ba4 git-svn-id: https://svn.eduke32.com/eduke32@548 1a8010ca-5511-0410-912e-c29ae57300e0 2007-06-02 23:31:43 +00:00
terminx
22b4b23240 git-svn-id: https://svn.eduke32.com/eduke32@547 1a8010ca-5511-0410-912e-c29ae57300e0 2007-06-02 04:14:10 +00:00
terminx
35afa5ff53 git-svn-id: https://svn.eduke32.com/eduke32@546 1a8010ca-5511-0410-912e-c29ae57300e0 2007-05-17 19:31:14 +00:00
terminx
62d44f9722 git-svn-id: https://svn.eduke32.com/eduke32@545 1a8010ca-5511-0410-912e-c29ae57300e0 2007-05-01 04:37:08 +00:00
terminx
4ec4aac70f Speed up HRP loading
git-svn-id: https://svn.eduke32.com/eduke32@543 1a8010ca-5511-0410-912e-c29ae57300e0
2007-04-30 19:41:19 +00:00
terminx
e2fe946d35 Crash fix
git-svn-id: https://svn.eduke32.com/eduke32@542 1a8010ca-5511-0410-912e-c29ae57300e0
2007-04-28 21:24:36 +00:00
terminx
d7b35528a0 git-svn-id: https://svn.eduke32.com/eduke32@541 1a8010ca-5511-0410-912e-c29ae57300e0 2007-04-23 23:36:21 +00:00
terminx
2148b4bebc Window position memory for win32
git-svn-id: https://svn.eduke32.com/eduke32@540 1a8010ca-5511-0410-912e-c29ae57300e0
2007-04-22 03:44:54 +00:00
terminx
ddb9379fce git-svn-id: https://svn.eduke32.com/eduke32@539 1a8010ca-5511-0410-912e-c29ae57300e0 2007-04-21 23:59:56 +00:00
terminx
5eba6b1861 Example tiles.cfg
git-svn-id: https://svn.eduke32.com/eduke32@538 1a8010ca-5511-0410-912e-c29ae57300e0
2007-04-21 21:07:18 +00:00
terminx
fecedb9ad1 Rawr
git-svn-id: https://svn.eduke32.com/eduke32@537 1a8010ca-5511-0410-912e-c29ae57300e0
2007-04-21 21:01:07 +00:00
terminx
fc287ec735 Prototype for user-defined tile groups
git-svn-id: https://svn.eduke32.com/eduke32@536 1a8010ca-5511-0410-912e-c29ae57300e0
2007-04-21 20:25:07 +00:00
terminx
62ae233489 Newer tile selector from Mapfun and some other stuff
git-svn-id: https://svn.eduke32.com/eduke32@534 1a8010ca-5511-0410-912e-c29ae57300e0
2007-04-17 05:54:12 +00:00
terminx
a5388fc0a4 git-svn-id: https://svn.eduke32.com/eduke32@532 1a8010ca-5511-0410-912e-c29ae57300e0 2007-04-15 20:04:52 +00:00
Plagman
fc613042a0 Working commit for animation smoothing. Pretty much breaks everything that relied on fixed-frame transitions (muzzledlashes) but makes stuff look good otherwise. Needs a DEF-hook to control which frames should be smoothed.
git-svn-id: https://svn.eduke32.com/eduke32@530 1a8010ca-5511-0410-912e-c29ae57300e0
2007-03-30 18:02:00 +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
terminx
4785f64476 git-svn-id: https://svn.eduke32.com/eduke32@528 1a8010ca-5511-0410-912e-c29ae57300e0 2007-03-22 20:58:13 +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
2bf47cbbed Extra grp file autoloading for grp files included via the command line or the def files
git-svn-id: https://svn.eduke32.com/eduke32@524 1a8010ca-5511-0410-912e-c29ae57300e0
2007-03-21 20:37:24 +00:00
terminx
4b4d37cf3f git-svn-id: https://svn.eduke32.com/eduke32@523 1a8010ca-5511-0410-912e-c29ae57300e0 2007-03-13 18:37:46 +00:00
terminx
7c7b8c2869 Whitespace
git-svn-id: https://svn.eduke32.com/eduke32@522 1a8010ca-5511-0410-912e-c29ae57300e0
2007-03-11 00:47:32 +00:00
terminx
38810c6561 Showview command updates and a couple of other things
git-svn-id: https://svn.eduke32.com/eduke32@521 1a8010ca-5511-0410-912e-c29ae57300e0
2007-03-11 00:20:32 +00:00
terminx
cb77e41236 git-svn-id: https://svn.eduke32.com/eduke32@520 1a8010ca-5511-0410-912e-c29ae57300e0 2007-03-08 21:07:10 +00:00
Plagman
3081c87724 Support for Vertex Buffer Objects (r_vbos, r_vbocount).
git-svn-id: https://svn.eduke32.com/eduke32@519 1a8010ca-5511-0410-912e-c29ae57300e0
2007-03-08 03:07:10 +00:00
terminx
3fda3754cc git-svn-id: https://svn.eduke32.com/eduke32@518 1a8010ca-5511-0410-912e-c29ae57300e0 2007-03-08 01:01:55 +00:00
terminx
69d0e38805 git-svn-id: https://svn.eduke32.com/eduke32@517 1a8010ca-5511-0410-912e-c29ae57300e0 2007-03-08 00:30:48 +00:00
terminx
9c819e7042 git-svn-id: https://svn.eduke32.com/eduke32@516 1a8010ca-5511-0410-912e-c29ae57300e0 2007-03-08 00:09:20 +00:00
terminx
070c38a85e git-svn-id: https://svn.eduke32.com/eduke32@515 1a8010ca-5511-0410-912e-c29ae57300e0 2007-03-07 20:18:48 +00:00
terminx
67efe33c18 Small things
git-svn-id: https://svn.eduke32.com/eduke32@514 1a8010ca-5511-0410-912e-c29ae57300e0
2007-03-04 19:52:57 +00:00
Plagman
3f5f1b8fb2 Corrected issues with detailmaps scaling, improved general model drawing performance and added support for using vertex arrays when drawing models (r_vertexarrays)
git-svn-id: https://svn.eduke32.com/eduke32@513 1a8010ca-5511-0410-912e-c29ae57300e0
2007-03-03 23:09:40 +00:00
Plagman
19719cf7fb Detail map scaling.
git-svn-id: https://svn.eduke32.com/eduke32@512 1a8010ca-5511-0410-912e-c29ae57300e0
2007-03-01 18:19:11 +00:00
terminx
8e86c02364 git-svn-id: https://svn.eduke32.com/eduke32@511 1a8010ca-5511-0410-912e-c29ae57300e0 2007-03-01 00:50:59 +00:00
terminx
71a18f5f72 A few more minor things
git-svn-id: https://svn.eduke32.com/eduke32@510 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-28 09:39:37 +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
f889e552b2 Support for automatically loading all grp/zip/pk3 files in a directory. Files go into the "autoload" directory if they're to be loaded by all main grp files that are supported, or into autoload/grpname to be loaded only if a specific grp is used. For example, autoload/duke3d.grp/hrp.zip would only be loaded if duke3d.grp was specified as the main group file (and not nam.grp, et cetera).
git-svn-id: https://svn.eduke32.com/eduke32@507 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-25 21:11:59 +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
eb35e8b927 git-svn-id: https://svn.eduke32.com/eduke32@505 1a8010ca-5511-0410-912e-c29ae57300e0 2007-02-18 22:16:01 +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
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
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
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