Commit Graph

186 Commits

Author SHA1 Message Date
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
terminx d42b0019e0 Remove the "brightskins" option because it kind of sucked.
git-svn-id: https://svn.eduke32.com/eduke32@154 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-07 03:27:41 +00:00
terminx 414d486de5 Add a display for the name of the player you're aiming at and make the death messages into quotes so they can be redefined in the CONs
git-svn-id: https://svn.eduke32.com/eduke32@152 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-05 22:39:34 +00:00
terminx d6530ed294 Add support for color codes to gametext_() and in various places in supporting code and increase quote length to 128
git-svn-id: https://svn.eduke32.com/eduke32@151 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-05 07:10:36 +00:00
terminx 1409799e0e Add an option to automatically send messages to all players instead of prompting; shift bypasses this behavior. I've also added a few more cvars and whatnot.
git-svn-id: https://svn.eduke32.com/eduke32@150 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-05 01:20:19 +00:00
terminx d059a59772 Autovote option for the menu
git-svn-id: https://svn.eduke32.com/eduke32@148 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-04 04:18:55 +00:00
terminx 1230ad3914 Per-weapon player death messages, an option to disable the exit button in maps, and voting on map changes
git-svn-id: https://svn.eduke32.com/eduke32@147 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-04 03:14:49 +00:00
terminx 301a6eefd5 Mouse smoothing changes to winlayer that I forgot to commit earlier & a little optional status bar hack for 16 and 32 bit modes that someone requested
git-svn-id: https://svn.eduke32.com/eduke32@128 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-30 01:39:58 +00:00
terminx 7567925e87 Fix a few issues reported by aaBlueDragon
git-svn-id: https://svn.eduke32.com/eduke32@122 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-29 02:23:07 +00:00
terminx a1db735f69 Improved error checking for savegames
git-svn-id: https://svn.eduke32.com/eduke32@120 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-28 00:46:09 +00:00
terminx e316013c1d *yawn*
git-svn-id: https://svn.eduke32.com/eduke32@117 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-26 17:48:43 +00:00
terminx 2fa4b89f17 CON_CANSEESPR, whitespace
git-svn-id: https://svn.eduke32.com/eduke32@106 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-24 05:42:29 +00:00
terminx 13716bb952 Mo' betta
git-svn-id: https://svn.eduke32.com/eduke32@104 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-24 02:58:15 +00:00
terminx 225605f79a Clear quote memory after allocation
git-svn-id: https://svn.eduke32.com/eduke32@103 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-24 01:54:58 +00:00
terminx ee521c4d58 Dynamically allocate gamevar label space & add null pointer checks for quotes and gamevar labels
git-svn-id: https://svn.eduke32.com/eduke32@102 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-24 00:49:44 +00:00
terminx 7c42a7b7bd Now with 100% less fuckery
git-svn-id: https://svn.eduke32.com/eduke32@98 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-23 06:15:47 +00:00
terminx 910613a6d5 CON_CANSEE
git-svn-id: https://svn.eduke32.com/eduke32@97 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-23 06:00:08 +00:00
terminx 62f08cabe9 Define a MAXQUOTELEN as 64 and use that instead of specific limits
git-svn-id: https://svn.eduke32.com/eduke32@93 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-23 02:30:33 +00:00
terminx 8d6f8eecda Made fta_quotes dynamically allocated at compile time
git-svn-id: https://svn.eduke32.com/eduke32@92 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-23 02:20:42 +00:00
terminx 2455734c76 Cleanups
git-svn-id: https://svn.eduke32.com/eduke32@91 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-22 22:33:52 +00:00
terminx 428bff1b34 Extension to the get/setuserdef CON commands to support ud.msgdisptime, and support for setting the crosshair's size to either 25% or 50% of the regular size by setting the crosshair value to something greater than 1.
git-svn-id: https://svn.eduke32.com/eduke32@89 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-22 07:00:31 +00:00
terminx d8334b5444 CON_SIZETO fix and more player setup menu changes
git-svn-id: https://svn.eduke32.com/eduke32@62 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-18 21:18:30 +00:00
terminx 93c14a6984 Player color customization & mid-game name/color updates for multi
git-svn-id: https://svn.eduke32.com/eduke32@53 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-18 06:01:16 +00:00
terminx 2771daa775 Loads more whitespace changes
git-svn-id: https://svn.eduke32.com/eduke32@51 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-18 03:11:38 +00:00
terminx 17ed65d29d Whitespace
git-svn-id: https://svn.eduke32.com/eduke32@49 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-18 02:01:48 +00:00
terminx ea46fa145e Fixed a problem in CON_FINDNEARACTOR3D and optimized findnearactor3d/findnearactor3dvar/findnearsprite3d/findnearsprite3dvar
git-svn-id: https://svn.eduke32.com/eduke32@44 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-17 22:02:10 +00:00
terminx 658a33daf3 Added toggle for demo cameras
git-svn-id: https://svn.eduke32.com/eduke32@38 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-17 01:01:32 +00:00
terminx f59fefe33d Fix for weapon switch option issue with demo playback
git-svn-id: https://svn.eduke32.com/eduke32@34 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-16 21:15:12 +00:00
terminx 579717352c Whitespace, again.
git-svn-id: https://svn.eduke32.com/eduke32@32 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-16 07:06:36 +00:00
terminx 0bcc066c63 "Oops" round two.
git-svn-id: https://svn.eduke32.com/eduke32@31 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-16 06:47:58 +00:00
terminx 6a83968dd7 Minor cleanups to compiled CON bytecode interpreter
git-svn-id: https://svn.eduke32.com/eduke32@30 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-16 06:25:14 +00:00
terminx b11595ad2e Brightskins tweak, more whitespace
git-svn-id: https://svn.eduke32.com/eduke32@29 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-16 03:42:36 +00:00
terminx e3d40c7b51 Brightskins support
git-svn-id: https://svn.eduke32.com/eduke32@28 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-16 00:39:49 +00:00
terminx f296ec24e5 Misc changes
git-svn-id: https://svn.eduke32.com/eduke32@11 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-15 03:12:08 +00:00
Plagman 09f0c239b6 Importing source for great justice
git-svn-id: https://svn.eduke32.com/eduke32@5 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-13 20:47:06 +00:00
Plagman c9e58ed4e5 Removed file/folder
git-svn-id: https://svn.eduke32.com/eduke32@3 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-13 20:43:19 +00:00
Plagman d7c9b7db00 git-svn-id: https://svn.eduke32.com/eduke32@2 1a8010ca-5511-0410-912e-c29ae57300e0 2006-04-13 20:34:38 +00:00