Commit graph

190 commits

Author SHA1 Message Date
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
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
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
50559c7a32 Re-done player setup menu, support for 4 teams in multiplayer, and separate menu options for weapon switch on pickup and weapon switch when empty. The string with __DATE__ and __TIME__ in it (which is used in the first line of the log file) was moved to global.c so that we're no longer forcing game.c to be recompiled every time something else is changed.
git-svn-id: https://svn.eduke32.com/eduke32@471 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-26 00:28:44 +00:00
terminx
f1d10f4c8c Packet rate control
git-svn-id: https://svn.eduke32.com/eduke32@470 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-24 21:24:35 +00:00
terminx
23a468d956 git-svn-id: https://svn.eduke32.com/eduke32@468 1a8010ca-5511-0410-912e-c29ae57300e0 2007-01-22 05:00:57 +00:00
terminx
e0e4dfdabd This fixes using .cfg files that are outside of the game directory.
git-svn-id: https://svn.eduke32.com/eduke32@466 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-22 02:49:58 +00:00
terminx
a94063e0be Dynamically loaded GLU
git-svn-id: https://svn.eduke32.com/eduke32@462 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-16 03:19:04 +00:00
Plagman
59ef78ff35 Detail mapping : r_detailmapping.
git-svn-id: https://svn.eduke32.com/eduke32@459 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-15 09:08:57 +00:00
Plagman
5a7cceb19d Second draft of depth peeling code. It should be in a usable state, although still slow as hell.
git-svn-id: https://svn.eduke32.com/eduke32@446 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-06 01:29:45 +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
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
aaa84f3574 Stuff, and things.
git-svn-id: https://svn.eduke32.com/eduke32@423 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-17 21:20:35 +00:00
terminx
dc0dea7c09 Update checking for win32...
git-svn-id: https://svn.eduke32.com/eduke32@416 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-14 03:34:55 +00:00
terminx
c4147db020 Blah blah blah
git-svn-id: https://svn.eduke32.com/eduke32@400 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-10 21:53:33 +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
0d22a2a208 Save the GRP file selected in the startup window to the cfg
git-svn-id: https://svn.eduke32.com/eduke32@374 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-01 04:22:16 +00:00
terminx
5ebab8df83 git-svn-id: https://svn.eduke32.com/eduke32@361 1a8010ca-5511-0410-912e-c29ae57300e0 2006-11-26 21:15:20 +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
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
e6fa910614 Best map par time tracking from JonoF
git-svn-id: https://svn.eduke32.com/eduke32@322 1a8010ca-5511-0410-912e-c29ae57300e0
2006-10-23 21:47:28 +00:00
terminx
ae3a91cc06 git-svn-id: https://svn.eduke32.com/eduke32@308 1a8010ca-5511-0410-912e-c29ae57300e0 2006-10-05 07:39:37 +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
d961d235a5 git-svn-id: https://svn.eduke32.com/eduke32@293 1a8010ca-5511-0410-912e-c29ae57300e0 2006-09-12 00:51:50 +00:00
terminx
c0f93c2aad Add a missing header, fix a config file bug and switch "exponentially" for "dramatically" in the texture caching dialog.
git-svn-id: https://svn.eduke32.com/eduke32@288 1a8010ca-5511-0410-912e-c29ae57300e0
2006-09-02 01:40:20 +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
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
cc1925110a This makes the dialog that asks you on first startup whether or not you want to enable the on-disk texture caching work again.
git-svn-id: https://svn.eduke32.com/eduke32@261 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-10 02:10:24 +00:00
terminx
897bfa7a0e Fix building with USE_OPENGL = 0 and POLYMOST = 0
git-svn-id: https://svn.eduke32.com/eduke32@259 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-07 19:57:53 +00:00
terminx
a66440c908 A few cleanups
We're also no longer using upx -9 in MakeDistributions, because it breaks binaries


git-svn-id: https://svn.eduke32.com/eduke32@249 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-26 01:10:33 +00:00
terminx
4918ba6fde Formatting fixes for build.c, config.c, engine.c and polymost.c plus some warning fixes from JonoF and some cfg file reading changes for the game
git-svn-id: https://svn.eduke32.com/eduke32@248 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-24 02:47:47 +00:00
terminx
cf9f8a101c Disable parental lock in NAM
git-svn-id: https://svn.eduke32.com/eduke32@245 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-22 23:02:08 +00:00
terminx
9fc68fcc0a Update repo to 1.4.0 beta 2
git-svn-id: https://svn.eduke32.com/eduke32@222 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-18 21:08:38 +00:00
terminx
6fb8ac956b git-svn-id: https://svn.eduke32.com/eduke32@215 1a8010ca-5511-0410-912e-c29ae57300e0 2006-07-08 01:31:35 +00:00
terminx
e9aca89385 Remove HUD model correction and more Polymost shading tweaks
git-svn-id: https://svn.eduke32.com/eduke32@211 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-05 02:05:39 +00:00
terminx
450047627a Allow disabling of the HOM correction hack
git-svn-id: https://svn.eduke32.com/eduke32@204 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-02 21:25:33 +00:00
terminx
7c05f3eea6 More stuff from JonoF
git-svn-id: https://svn.eduke32.com/eduke32@197 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-01 12:00:26 +00:00
terminx
42b4208d1e New startup window from JonoF + some other stuff
This was not at all pleasant to merge, and problems should be expected. ;)


git-svn-id: https://svn.eduke32.com/eduke32@194 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-01 01:40:18 +00:00
terminx
cc7e9897ed A few minor tweaks to the voting system and some more fixes for building without Polymost
git-svn-id: https://svn.eduke32.com/eduke32@188 1a8010ca-5511-0410-912e-c29ae57300e0
2006-06-09 01:28:39 +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
e73e8a9b9f Might as well make this a bit more proper
git-svn-id: https://svn.eduke32.com/eduke32@181 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-22 07:25:21 +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
51ba738aa0 I guess this is right
git-svn-id: https://svn.eduke32.com/eduke32@175 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-21 00:05:50 +00:00
terminx
544bdae42a HUD model correction stuff
git-svn-id: https://svn.eduke32.com/eduke32@174 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-20 20:57:09 +00:00
terminx
c6e003ee9b Input changes from JonoF
git-svn-id: https://svn.eduke32.com/eduke32@171 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-17 03:13:39 +00:00
terminx
66a36e564b Fix building without OpenGL support and rip out the DYNAMIC_OPENGL toggle
git-svn-id: https://svn.eduke32.com/eduke32@163 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-12 21:55:05 +00:00
terminx
4e704d39dc Change version to 1.4.0 beta 1, add draft of new ChangeLog and the nsi script used for creating the installer
git-svn-id: https://svn.eduke32.com/eduke32@160 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-11 07:17:40 +00:00
terminx
9b45f1ba55 Some sound fixes and a cl_smoothinput cvar to allow people to disable the lastinfo.dyaw and lastinfo.dz stuff in getinput()
git-svn-id: https://svn.eduke32.com/eduke32@159 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-10 21:00:56 +00:00
terminx
a8abb5e046 Blar
git-svn-id: https://svn.eduke32.com/eduke32@158 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-09 23:55:42 +00:00
terminx
e1fcaa3d40 Mouse input filtering and some player name length fixes
git-svn-id: https://svn.eduke32.com/eduke32@157 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-09 04:24:44 +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
34241c8514 Fixes
git-svn-id: https://svn.eduke32.com/eduke32@135 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-01 22:49:09 +00:00
terminx
106f0efd24 This pretty much works now.
git-svn-id: https://svn.eduke32.com/eduke32@131 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-01 06:30:33 +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
aa042016b7 Better mouse movement
git-svn-id: https://svn.eduke32.com/eduke32@127 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-30 00:40:41 +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
37493f57ee Improved alt+enter and a few other things
git-svn-id: https://svn.eduke32.com/eduke32@114 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-25 22:50:57 +00:00
terminx
65697dbd4f Some more config file fixes
git-svn-id: https://svn.eduke32.com/eduke32@113 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-25 05:01:27 +00:00
terminx
2308af760d Config file fixes from JonoF
git-svn-id: https://svn.eduke32.com/eduke32@112 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-25 04:35:39 +00:00
terminx
e09d8d7cd9 Yep
git-svn-id: https://svn.eduke32.com/eduke32@111 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-25 02:33:21 +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
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
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
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
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
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
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
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
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
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
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