Commit graph

5736 commits

Author SHA1 Message Date
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
7563c7ec1f Fixes
git-svn-id: https://svn.eduke32.com/eduke32@101 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-23 08:23:40 +00:00
terminx
0f36d845b5 Crosshair toggle quote fix, JFAud cache changes from JonoF and some JFAud changes from me as well
git-svn-id: https://svn.eduke32.com/eduke32@100 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-23 07:16:16 +00:00
terminx
e51efc7b73 Changes from JonoF & dos2unix on all build src
git-svn-id: https://svn.eduke32.com/eduke32@99 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-23 06:44:19 +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
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
59649efc87 git-svn-id: https://svn.eduke32.com/eduke32@90 1a8010ca-5511-0410-912e-c29ae57300e0 2006-04-22 08:22:07 +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
0df6714942 More multiplayer text chat tweaks, a new cfg option to control the length of time (in tics) that the chat messages are displayed, a new macro configuration menu, and some cvar renaming
git-svn-id: https://svn.eduke32.com/eduke32@88 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-22 06:10:28 +00:00
terminx
04cdedb53d I think this is pretty much done now. Translation: expect to see more changes because I am a masochist. ;)
git-svn-id: https://svn.eduke32.com/eduke32@87 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-22 02:33:36 +00:00
terminx
bbd659e7d4 This looks right.
git-svn-id: https://svn.eduke32.com/eduke32@86 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-22 01:12:48 +00:00
terminx
1d56c7d041 Redid the MP text buffer changes such as to make them not suck
git-svn-id: https://svn.eduke32.com/eduke32@85 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-22 00:17:55 +00:00
terminx
5b0143d540 Fixes a couple of mistakes I made as well as an annoying bug that already existed
git-svn-id: https://svn.eduke32.com/eduke32@83 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-21 14:09:14 +00:00
terminx
d43afd43f8 A few more tweaks to the text buffer drawing
git-svn-id: https://svn.eduke32.com/eduke32@82 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-21 07:50:04 +00:00
terminx
75896562df Improved the text input buffer changes; this works reasonably well now.
git-svn-id: https://svn.eduke32.com/eduke32@81 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-21 07:34:05 +00:00
terminx
bff34ebbfb A couple more fixes. Still have no idea if the clean dropping of clients when a game isn't running is anywhere near correct.
git-svn-id: https://svn.eduke32.com/eduke32@80 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-21 05:58:24 +00:00
terminx
bfa1604208 This is a bit better
git-svn-id: https://svn.eduke32.com/eduke32@79 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-21 05:19:26 +00:00
terminx
c405c95774 Increased multiplayer text input buffer. This is a hack.
git-svn-id: https://svn.eduke32.com/eduke32@78 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-21 05:11:57 +00:00
terminx
cf079dd918 Handle players quitting from the menu gracefully. I'm not sure that this is right.
git-svn-id: https://svn.eduke32.com/eduke32@77 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-20 22:18:56 +00:00
terminx
5d97323553 Add support for changing to a new user map in a multiplayer game. If a client doesn't have the map, a second map change packet is sent back to the server to unset the user map.
git-svn-id: https://svn.eduke32.com/eduke32@76 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-20 19:21:40 +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
86689e4397 Allow toggling fullscreen via pressing Alt + Enter
git-svn-id: https://svn.eduke32.com/eduke32@74 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-20 03:17:01 +00:00
terminx
4276901071 Fixes for a couple of map mode issues that pop up when you pause the game with the map showing as well as a couple more menu tweaks
git-svn-id: https://svn.eduke32.com/eduke32@73 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-19 23:48:43 +00:00
terminx
73eb097921 Fixed a couple of bugs and made the show opponent weapon option a bit less hard coded for modders
git-svn-id: https://svn.eduke32.com/eduke32@72 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-19 21:00:41 +00:00
terminx
a1f78582ea More menu fixes and an added option to toggle opponent weapon display from the menu. Modified opponent weapon display to be effected by the brightskins option.
git-svn-id: https://svn.eduke32.com/eduke32@71 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-19 20:32:23 +00:00
terminx
2d32d2c298 More menu changes
git-svn-id: https://svn.eduke32.com/eduke32@70 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-19 08:32:15 +00:00
terminx
611017bb1d Moved invert mouse aim and mouse aiming toggle to the mouse setup menu and moved mouse aiming type to the player setup menu
git-svn-id: https://svn.eduke32.com/eduke32@69 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-19 08:00:09 +00:00
terminx
e5419eb172 Disable the player setup menu when recording a demo, and disable the updates from the player menu when playing a demo back.
git-svn-id: https://svn.eduke32.com/eduke32@68 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-19 06:23:19 +00:00
terminx
293c9593e0 Made pause key behavior mimic Duke 1.5 and fixed a problem with FRAMEEFFECT1
git-svn-id: https://svn.eduke32.com/eduke32@67 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-19 05:48:44 +00:00
terminx
8524a949c4 A couple of fixes and a small change to enable fast weapon switching (one wheel click = one weapon switch, no delay before being allowed to switch again)
git-svn-id: https://svn.eduke32.com/eduke32@66 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-19 04:24:06 +00:00
terminx
736c6abd8d Tiny little fix to weapon switching behavior
git-svn-id: https://svn.eduke32.com/eduke32@65 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-19 01:27:34 +00:00
terminx
c3d382dd25 Removed some duplicated code; on a side note, the current state of DM was tested for around an hour today, including using the new player setup menu both pre and mid-game. Not a single problem!
git-svn-id: https://svn.eduke32.com/eduke32@63 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-18 22:59:54 +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
078fcb3cae Name change bugfix and cvar system tweaks
git-svn-id: https://svn.eduke32.com/eduke32@60 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-18 19:47:45 +00:00
terminx
3d4ac88590 This is better
git-svn-id: https://svn.eduke32.com/eduke32@59 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-18 19:23:53 +00:00
terminx
f47d670028 Mommy, am I going to hell for using goto? :(
git-svn-id: https://svn.eduke32.com/eduke32@58 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-18 17:34:47 +00:00
terminx
5aa9e74e61 Yay for me
git-svn-id: https://svn.eduke32.com/eduke32@57 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-18 16:47:29 +00:00
terminx
5fcd240827 More player setup stuff; the "map" color was changed to "auto" and the mechanism which determines player colors on map load was modified to avoid choosing colors that other players have manually specified
git-svn-id: https://svn.eduke32.com/eduke32@56 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-18 16:30:15 +00:00
terminx
4af83bd423 Default player color to map defined, fix multiplayer map restart issue
git-svn-id: https://svn.eduke32.com/eduke32@55 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-18 08:51:52 +00:00
terminx
bfe939946d Further work on "player setup" menu; it's shaping up very nicely.
git-svn-id: https://svn.eduke32.com/eduke32@54 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-18 08:40:09 +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
d8aa1a588f More whitespace... I really need to remember to run "astyle" /before/ committing
git-svn-id: https://svn.eduke32.com/eduke32@50 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-18 02:02:52 +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
2ad240b034 Fix for inventory icons being drawn over the weapon icon with the small HUD enabled; need to fix the level stat text as well
git-svn-id: https://svn.eduke32.com/eduke32@48 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-18 01:15:02 +00:00
terminx
570e66d2ab Weapon changes broke demo sync, so removing version 160 compatibility
git-svn-id: https://svn.eduke32.com/eduke32@47 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-18 00:43:32 +00:00
terminx
257b446320 Tweaked the weapon system to act a bit more like vanilla Duke for great gameplay accuracy and not caring if your mod breaks ;)
git-svn-id: https://svn.eduke32.com/eduke32@46 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-18 00:24:24 +00:00
terminx
9e711bc90c Fixed a long-standing animation bug with quick kick that was pissing me off and removed a bunch of debugging crap/comments that haven't been used in 5 years and were only obfuscating the code
git-svn-id: https://svn.eduke32.com/eduke32@45 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-17 23:36:02 +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
972e60b5f8 Increased BYTEVERSION, removed 1.3D demo versions from opendemoread() and added version 160 (Atomic Edition demos from the previous version of EDuke32) support
git-svn-id: https://svn.eduke32.com/eduke32@43 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-17 20:51:00 +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
7ffe1c887a Small jfaud_sounds.cpp update from JonoF
git-svn-id: https://svn.eduke32.com/eduke32@41 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-17 16:46:43 +00:00
terminx
5289668252 <insert profanity here>
git-svn-id: https://svn.eduke32.com/eduke32@39 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-17 07:53:31 +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
d70f164b8b Renamed several menus to "<x> setup" instead of "<x> options" and "<x> settings" for consistency and adjusted the placement of some menu items
git-svn-id: https://svn.eduke32.com/eduke32@37 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-17 00:37:22 +00:00
terminx
e8c8ead3d3 More menu stuff
git-svn-id: https://svn.eduke32.com/eduke32@36 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-16 23:36:04 +00:00
terminx
65a7a943a0 Slight menu organization changes & bug fix
git-svn-id: https://svn.eduke32.com/eduke32@35 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-16 22:44:08 +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
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
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
7050179804 Oops.
git-svn-id: https://svn.eduke32.com/eduke32@27 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-15 23:30:19 +00:00
terminx
ca25ddf842 More directory cleaning in MakeDistributions
git-svn-id: https://svn.eduke32.com/eduke32@25 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-15 23:23:50 +00:00
terminx
439a0086d8 Corrected the "drawweapon" cvar to be of type int rather than of type bool. Committing things, yay.
git-svn-id: https://svn.eduke32.com/eduke32@24 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-15 23:16:15 +00:00
terminx
c3f75571a5 Altered level stats display to display player's frags instead of "0/0" for "Kills" in DM.
git-svn-id: https://svn.eduke32.com/eduke32@23 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-15 22:56:06 +00:00
terminx
22abcdef79 Made the "Duke Talk" and "HUD weapon" menu options into 3 way toggles, Duke Talk now toggles between off, local player sounds and all player sounds, and HUD weapon display now toggles between full weapon drawing, weapon icon drawing and no weapon drawing.
git-svn-id: https://svn.eduke32.com/eduke32@22 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-15 22:34:44 +00:00
terminx
9b3757774c Moved hightile, model and texture caching options to the advanced video menu, disabled the advanced video menu when bpp = 8.
git-svn-id: https://svn.eduke32.com/eduke32@20 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-15 18:57:40 +00:00
terminx
cdb4c63e1f Whitespace
git-svn-id: https://svn.eduke32.com/eduke32@19 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-15 18:40:10 +00:00
terminx
13d3cfaffa Modified shoot() to have an extra parameter for the projectile tilenum and added an option to disable autoaim on RPG type projectiles. Also added "advanced options" to the "video settings" menu.
git-svn-id: https://svn.eduke32.com/eduke32@18 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-15 08:05:02 +00:00
terminx
70346eda8f Changed ratio correction slider increment value to 8.
git-svn-id: https://svn.eduke32.com/eduke32@17 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-15 04:45:39 +00:00
Plagman
b53bf073cc git-svn-id: https://svn.eduke32.com/eduke32@16 1a8010ca-5511-0410-912e-c29ae57300e0 2006-04-15 04:32:51 +00:00
terminx
5d100a9374 Changed ratio correction slider to operate in increments of 4 and added the corresponding config option.
git-svn-id: https://svn.eduke32.com/eduke32@15 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-15 04:25:15 +00:00
terminx
0de8a21522 New menu (#230) for video settings
git-svn-id: https://svn.eduke32.com/eduke32@14 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-15 04:06:50 +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