Commit Graph

186 Commits

Author SHA1 Message Date
terminx b3677fc796 This looks like stuff that needs to be changed for proper 64-bit support
git-svn-id: https://svn.eduke32.com/eduke32@619 1a8010ca-5511-0410-912e-c29ae57300e0
2008-02-17 05:08:18 +00:00
terminx 2f4028c265 git-svn-id: https://svn.eduke32.com/eduke32@617 1a8010ca-5511-0410-912e-c29ae57300e0 2008-02-16 22:18:48 +00:00
terminx 7d36a601e4 git-svn-id: https://svn.eduke32.com/eduke32@616 1a8010ca-5511-0410-912e-c29ae57300e0 2008-02-14 08:35:30 +00:00
terminx 517c392a3c git-svn-id: https://svn.eduke32.com/eduke32@612 1a8010ca-5511-0410-912e-c29ae57300e0 2008-02-06 21:02:11 +00:00
terminx 1c9d7c28bb git-svn-id: https://svn.eduke32.com/eduke32@600 1a8010ca-5511-0410-912e-c29ae57300e0 2008-01-26 03:59:34 +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 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 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 1753d91046 git-svn-id: https://svn.eduke32.com/eduke32@577 1a8010ca-5511-0410-912e-c29ae57300e0 2007-09-10 23:38:42 +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 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 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 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 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 a5388fc0a4 git-svn-id: https://svn.eduke32.com/eduke32@532 1a8010ca-5511-0410-912e-c29ae57300e0 2007-04-15 20:04:52 +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 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
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 8e86c02364 git-svn-id: https://svn.eduke32.com/eduke32@511 1a8010ca-5511-0410-912e-c29ae57300e0 2007-03-01 00:50:59 +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 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 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 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 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 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 90c4f271b2 git-svn-id: https://svn.eduke32.com/eduke32@482 1a8010ca-5511-0410-912e-c29ae57300e0 2007-02-05 01:33:08 +00:00
terminx fc4bc3ef70 CON command for earthquakes
git-svn-id: https://svn.eduke32.com/eduke32@444 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-05 22:30:35 +00:00
terminx d2566913bb git-svn-id: https://svn.eduke32.com/eduke32@437 1a8010ca-5511-0410-912e-c29ae57300e0 2006-12-23 02:38:47 +00:00
terminx 8d6eef5b0f More tiny optimizations I guess
git-svn-id: https://svn.eduke32.com/eduke32@433 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-21 09:33:26 +00:00
terminx bc4139356a Prefer passing things between functions as int rather than short or char to avoid the overhead of converting back and forth between formats
git-svn-id: https://svn.eduke32.com/eduke32@432 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-20 03:27:25 +00:00
terminx 2705563578 Minor things such as un-breaking setvarvar :)
git-svn-id: https://svn.eduke32.com/eduke32@431 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-19 20:31:40 +00:00
terminx 31775358e6 Death to local variables
git-svn-id: https://svn.eduke32.com/eduke32@430 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-18 21:29:55 +00:00
terminx 19115146ac Quite a few more optimizations
git-svn-id: https://svn.eduke32.com/eduke32@429 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-18 09:32:17 +00:00
terminx d93dde5a59 Optimize some of the frequently used CON commands that have nasty overhead
git-svn-id: https://svn.eduke32.com/eduke32@428 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-18 08:37:12 +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 3509a4dc8c Fixes
git-svn-id: https://svn.eduke32.com/eduke32@404 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-11 21:18:21 +00:00
terminx 7017166f2d Oops
git-svn-id: https://svn.eduke32.com/eduke32@399 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-10 19:32:44 +00:00
terminx 169e0c824b Give most of the gamevar stuff its own object
git-svn-id: https://svn.eduke32.com/eduke32@398 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-10 06:49:01 +00:00
terminx 0bd5f4a9e5 Uhh.. yeah
git-svn-id: https://svn.eduke32.com/eduke32@395 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-10 03:15:56 +00:00
terminx d48c66b7ad I guess this is an optimization as well
git-svn-id: https://svn.eduke32.com/eduke32@394 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-10 01:52:35 +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 c45445f8aa Null pointer checks for music filenames
git-svn-id: https://svn.eduke32.com/eduke32@389 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-06 23:14:49 +00:00
terminx 9fc9365e2f Allow access to map12-map32 in multiplayer, and skip the ones that aren't defined
git-svn-id: https://svn.eduke32.com/eduke32@383 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-05 00:16:33 +00:00
terminx fb06419c82 updatesectorz() -> updatesector()
I now have a clue about updatesectorz() breaking things. :o


git-svn-id: https://svn.eduke32.com/eduke32@376 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-02 06:00:49 +00:00
terminx 36f69beeb6 This should fix a bug with ifgotweaponce where the game had a rare chance of crashing and burning in cooperative
git-svn-id: https://svn.eduke32.com/eduke32@375 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-01 22:34:32 +00:00
terminx f71b2cd2d9 updatesector() -> updatesectorz()
I have no clue if this breaks anything.


git-svn-id: https://svn.eduke32.com/eduke32@372 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-30 23:53:44 +00:00
terminx 8efa4670bb Support for using a different cfg file via command line
git-svn-id: https://svn.eduke32.com/eduke32@360 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-24 04:25:13 +00:00
terminx cac0d84384 Fixes
git-svn-id: https://svn.eduke32.com/eduke32@359 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-22 01:25:35 +00:00
terminx 715bc289e8 Fix "array subscript has type 'char'" warnings
git-svn-id: https://svn.eduke32.com/eduke32@352 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-19 08:24:46 +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
terminx f80b65cfb3 CON access to getincangle(), and usage of myconnectindex for EVENT_GETMENUTILE and EVENT_GETLOADTILE. This lets us force menu options to certain values while the player is in the menu via setuserdef.
git-svn-id: https://svn.eduke32.com/eduke32@329 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-06 22:14:27 +00:00
terminx 047524688f git-svn-id: https://svn.eduke32.com/eduke32@312 1a8010ca-5511-0410-912e-c29ae57300e0 2006-10-15 18:59:45 +00:00
terminx 9c8c6f421e This fixes a problem with using 'ifp' from within actors other than APLAYER.
git-svn-id: https://svn.eduke32.com/eduke32@306 1a8010ca-5511-0410-912e-c29ae57300e0
2006-10-03 01:17:01 +00:00
terminx 5019235983 qstrlen
git-svn-id: https://svn.eduke32.com/eduke32@305 1a8010ca-5511-0410-912e-c29ae57300e0
2006-09-30 06:51:48 +00:00
terminx ec89d845aa Swap the qstrcpy parameters and fix the issue with frozen players
git-svn-id: https://svn.eduke32.com/eduke32@302 1a8010ca-5511-0410-912e-c29ae57300e0
2006-09-28 00:32:22 +00:00
terminx 784dfe8aa7 Blah blah blah
git-svn-id: https://svn.eduke32.com/eduke32@299 1a8010ca-5511-0410-912e-c29ae57300e0
2006-09-24 04:44:54 +00:00
terminx 4f021f4736 New event/userdef CON extensions to allow fiddling with the movement interpolation in multiplayer.
git-svn-id: https://svn.eduke32.com/eduke32@296 1a8010ca-5511-0410-912e-c29ae57300e0
2006-09-19 23:02:33 +00:00
terminx e2ccbf6870 Replaced the 'dynquote' primitive with 'qsprintf' and fixed a parsing bug with some of the level and sound name definition stuff.
git-svn-id: https://svn.eduke32.com/eduke32@290 1a8010ca-5511-0410-912e-c29ae57300e0
2006-09-06 04:18:28 +00:00
terminx 138a4ab95f Makefile shite
git-svn-id: https://svn.eduke32.com/eduke32@285 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-31 01:54:23 +00:00
terminx 8765f0a215 Added some commands for getting the current compiled CON ptr and jumping to another location
git-svn-id: https://svn.eduke32.com/eduke32@277 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-28 19:18:05 +00:00
terminx b4ed27fa7d Somebody needed an 'ezshootvar'. These commands are getting ridiculous.
git-svn-id: https://svn.eduke32.com/eduke32@276 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-22 21:02:06 +00:00
terminx f369ba745c The bits2 member of the input struct has been renamed to extbits, and a proper fix for the strange OOS issues has been implemented.
git-svn-id: https://svn.eduke32.com/eduke32@275 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-22 05:38:59 +00:00
terminx 511a6517cb I guess I'll use palette 21 for the red team instead of palette 10, though palette 10 does look better with the original sprites.
git-svn-id: https://svn.eduke32.com/eduke32@272 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-21 06:57:39 +00:00
terminx 20b89b70b3 More TDM stuff and a potential fix for a networking problem.
git-svn-id: https://svn.eduke32.com/eduke32@271 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-20 22:17:12 +00:00
terminx a7bad3d852 Team DukeMatch support
git-svn-id: https://svn.eduke32.com/eduke32@268 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-18 23:52:26 +00:00
terminx 660815a3fd CON fix from JFDuke that I missed somewhere along the line + SDL mousewheel fix from Mephisto
git-svn-id: https://svn.eduke32.com/eduke32@258 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-07 06:18:57 +00:00
terminx 564b220add Remove 'txdist' keyword
git-svn-id: https://svn.eduke32.com/eduke32@251 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-29 00:17:46 +00:00
terminx d395f8050d Fix randvar
git-svn-id: https://svn.eduke32.com/eduke32@221 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-15 00:18:36 +00:00
terminx a60d159ca2 Add "ezshoot" and disable the sound device/midi device/cd drive dropdowns in the startup window
git-svn-id: https://svn.eduke32.com/eduke32@199 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-01 21:15:47 +00:00
terminx bf7e699c02 Fix eventloadactor breakage by removing some obnoxious and unncessary safety checks I added without paying attention
git-svn-id: https://svn.eduke32.com/eduke32@190 1a8010ca-5511-0410-912e-c29ae57300e0
2006-06-14 03:31:34 +00:00
terminx ce4b067e65 Remove the ratio correction slider and replace it with a simple widescreen toggle
git-svn-id: https://svn.eduke32.com/eduke32@180 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-22 07:11:30 +00:00
terminx 76eb4ada1d Fix skill sounds when using JAudiolib instead of JFAud
git-svn-id: https://svn.eduke32.com/eduke32@179 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-22 01:05:56 +00:00
terminx c173d310ff Change ratio correction to always assume a ratio of 1.2. I like this better than how it worked before. Plagman, what say you?
git-svn-id: https://svn.eduke32.com/eduke32@172 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-20 14:31:24 +00:00
terminx ac14852079 Rework findnearactor3d/findnearsprite3d/findnearactor3dvar/findnearsprite3dvar and add a findnearactorz/findnearspritez/findnearactorzvar/findnearspritezvar. This breaks the previous syntax of all of the "3d" variants.
git-svn-id: https://svn.eduke32.com/eduke32@169 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-16 01:48:33 +00:00
terminx bfa46aa711 More weapon changes + don't apply ratio correction to HUD models (because people are whiners)
git-svn-id: https://svn.eduke32.com/eduke32@168 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-14 21:15:55 +00:00
terminx 8ce6a025e6 Detect the gamevar THISACTOR in a couple of commands that take player numbers instead of sprite numbers
git-svn-id: https://svn.eduke32.com/eduke32@165 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-13 01:07:06 +00:00