Commit graph

382 commits

Author SHA1 Message Date
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
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
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
7dcd346352 This seems like a good idea...
git-svn-id: https://svn.eduke32.com/eduke32@386 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-05 21:51:24 +00:00
terminx
c8abb8384d Happy fun memory usage optimization
git-svn-id: https://svn.eduke32.com/eduke32@385 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-05 21:22:19 +00:00
terminx
57042cd9a7 This raises the max number of levels per episode to 32 and alters the game to use dynamically allocated memory for level and music names and filenames. No null pointer checks yet.
git-svn-id: https://svn.eduke32.com/eduke32@381 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-04 22:05:30 +00:00
terminx
42fe36d067 This makes -map bypass the menu in multiplayer
git-svn-id: https://svn.eduke32.com/eduke32@378 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-04 02:10:18 +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
90eb35a551 Oops
git-svn-id: https://svn.eduke32.com/eduke32@327 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-01 23:40:15 +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
ac7ca6aa75 Minor fixes...
git-svn-id: https://svn.eduke32.com/eduke32@297 1a8010ca-5511-0410-912e-c29ae57300e0
2006-09-20 07:23:25 +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
f14861b77a git-svn-id: https://svn.eduke32.com/eduke32@291 1a8010ca-5511-0410-912e-c29ae57300e0 2006-09-07 17:46:00 +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
c1bb2adb2c Fix an OOS problem with TDM. I want to punch whoever came up with sync based networking in the balls. :D
git-svn-id: https://svn.eduke32.com/eduke32@287 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-31 19:05: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
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
929ab76c77 'useractor' protection for newbies. :/
git-svn-id: https://svn.eduke32.com/eduke32@267 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-17 23:07:43 +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
268521021f I guess this needs to throw warnings instead of errors, or else NAM and some other mods with problems will break.
git-svn-id: https://svn.eduke32.com/eduke32@255 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-04 00:57:27 +00:00
terminx
f467ebaf3e This is better.
git-svn-id: https://svn.eduke32.com/eduke32@254 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-03 03:14:43 +00:00
terminx
5b211422da Added detection for stupid mistakes people make with the 'move' command and doubled the CACHE1D size when not using JFAud.
git-svn-id: https://svn.eduke32.com/eduke32@253 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-02 20:51:50 +00:00
terminx
665a322312 Mapster32 crash fix and a couple of small projectile system changes
git-svn-id: https://svn.eduke32.com/eduke32@252 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-30 01:48:52 +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
7cd91e3fc2 NAM support
git-svn-id: https://svn.eduke32.com/eduke32@234 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-22 00:53:20 +00:00
terminx
0bc64d3518 Minor fixes
git-svn-id: https://svn.eduke32.com/eduke32@217 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-11 18:35:58 +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
0d61f3bc55 Minor gamevar stuff
git-svn-id: https://svn.eduke32.com/eduke32@193 1a8010ca-5511-0410-912e-c29ae57300e0
2006-06-19 19:28:49 +00:00
terminx
1ff7e005d6 git-svn-id: https://svn.eduke32.com/eduke32@192 1a8010ca-5511-0410-912e-c29ae57300e0 2006-06-15 00:39:33 +00:00
terminx
1747c01141 git-svn-id: https://svn.eduke32.com/eduke32@191 1a8010ca-5511-0410-912e-c29ae57300e0 2006-06-14 08:24:12 +00:00
terminx
1bab48f5be Cleaning out the tree
git-svn-id: https://svn.eduke32.com/eduke32@185 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-30 06:14:25 +00:00
terminx
5859c681e3 La la la
git-svn-id: https://svn.eduke32.com/eduke32@184 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-25 04:27:33 +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
cc750739ca Weapon system changes... added an extra flag to the weapons and reworked portions of the system in order to more correctly emulate Duke 1.5
git-svn-id: https://svn.eduke32.com/eduke32@166 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-14 09:16:25 +00:00
terminx
b8820227ed Death message revisions and a dirty hack to make the player name display work with the HoloDuke
git-svn-id: https://svn.eduke32.com/eduke32@156 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-07 06:35:35 +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
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
a61f880dc0 Savegame corruption fix
git-svn-id: https://svn.eduke32.com/eduke32@126 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-30 00:06:17 +00:00
terminx
5772213ba8 Remove CON_PROJECTILE
git-svn-id: https://svn.eduke32.com/eduke32@121 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-28 04:14:45 +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
0aa8fffdf7 Added CON_DEFINEGAMEFUNCNAME to allow the end user to redefine the strings used on the keyboard setup screen and in the cfg, several small fixes, and a modernization of the default controls.
git-svn-id: https://svn.eduke32.com/eduke32@110 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-25 01:56:24 +00:00
terminx
fe5671e812 Fix a couple of tiny leaks and a couple of minor issues I noticed last night in multiplayer
git-svn-id: https://svn.eduke32.com/eduke32@108 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-24 18:52:29 +00:00
terminx
f2c77fa152 Minor improvements to CON_DEFINESOUND & fixes to prevent getlabel() from picking up tabs and other related characters
git-svn-id: https://svn.eduke32.com/eduke32@107 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-24 06:00:20 +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
b6f86cc379 Save extra sprite flags, sprite cache settings, and all quotes to savegames
git-svn-id: https://svn.eduke32.com/eduke32@105 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-24 04:57:04 +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
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
f1ae584227 Fixes
git-svn-id: https://svn.eduke32.com/eduke32@96 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-23 04:50:08 +00:00
terminx
d99888e472 git-svn-id: https://svn.eduke32.com/eduke32@94 1a8010ca-5511-0410-912e-c29ae57300e0 2006-04-23 03:14:44 +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
478b2abc4f A bunch more menu changes.. comments?
git-svn-id: https://svn.eduke32.com/eduke32@75 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-20 09:03:44 +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
7ad252b0c7 Fixes one of those CON commands nobody ever tried to use until now
git-svn-id: https://svn.eduke32.com/eduke32@42 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-17 19:26:37 +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
7170226bca Fixed a small bug with the kick weapon, deleted a temporary file that was missed
git-svn-id: https://svn.eduke32.com/eduke32@33 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-16 18:55:51 +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