Commit Graph

211 Commits

Author SHA1 Message Date
hnt_ts 8ce121a895 1. Small corrections to hash code.
2. Use hash for dynnames.
3. On crash EDuke32 throws info about CON code.


git-svn-id: https://svn.eduke32.com/eduke32@1031 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-25 20:25:49 +00:00
terminx 127bc3fe91 git-svn-id: https://svn.eduke32.com/eduke32@1029 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-25 10:27:18 +00:00
terminx 8fddaf82a3 git-svn-id: https://svn.eduke32.com/eduke32@1026 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-25 02:33:25 +00:00
terminx 37bce2588f git-svn-id: https://svn.eduke32.com/eduke32@1010 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-23 23:37:01 +00:00
hnt_ts 0e3ee1289d 1. EDuke32 didn't load ART files from the mod_dir. Fixed via the "root" string in "game.c".
2. Saving mod_dir to CFG is a bad idea IMHO so I commented it out. When I tried to load the standard game, EDuke32 would use the last used mod_dir.
3. Fixed tsprites.
4. EDSuke32 doesn't throw errors after 4096-th error. Resets the counter in ResetGameVars.
5. Restored 999 revision. Member names are changed. Extra members can be commented out.
6. Added an option(-sloppycmd) to allow execting of bad commands. This option should be renamed to something else.


git-svn-id: https://svn.eduke32.com/eduke32@1007 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-23 15:37:30 +00:00
terminx b411c3b205 Force startup window to be displayed if the cfg wasn't saved with an EDuke32 build of matching BYTEVERSION_JF, and use a wrapper around kopen4load to access files from mod_dir first.
git-svn-id: https://svn.eduke32.com/eduke32@992 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-20 08:39:07 +00:00
terminx 28fedd72e8 Ignore r_downsize for textures with nocompress and some other minor crap
git-svn-id: https://svn.eduke32.com/eduke32@990 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-19 11:05:21 +00:00
terminx 132db81381 Beginnings of support for selecting mods in the startup window... win32 only for now
git-svn-id: https://svn.eduke32.com/eduke32@984 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-17 09:01:31 +00:00
terminx 4ce41d5079 Enhancements to -cfg: now offers the option to import existing config settings from duke3d.cfg, and binds.cfg is now cfgname_binds.cfg so individual configs can have their own. This is good for mods that change some of the function names (like Duke Plus) because otherwise running EDuke32 on the same cfg without the mod activated will blow away the controls for functions that don't exist.
git-svn-id: https://svn.eduke32.com/eduke32@972 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-12 12:50:20 +00:00
terminx c2356cceb9 git-svn-id: https://svn.eduke32.com/eduke32@962 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-10 13:13:24 +00:00
terminx 19ac7da999 git-svn-id: https://svn.eduke32.com/eduke32@942 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-08 05:03:56 +00:00
terminx 2030a42763 git-svn-id: https://svn.eduke32.com/eduke32@941 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-08 01:54:43 +00:00
terminx b9895ca078 CON access to hittype[].flags, better crosshair coloring code
git-svn-id: https://svn.eduke32.com/eduke32@939 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-07 23:32:18 +00:00
terminx a5f12d9f55 New alternate mini-hud
git-svn-id: https://svn.eduke32.com/eduke32@934 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-07 07:52:36 +00:00
terminx 900195a093 git-svn-id: https://svn.eduke32.com/eduke32@929 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-03 11:45:15 +00:00
terminx 95297e60e9 git-svn-id: https://svn.eduke32.com/eduke32@927 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-01 12:34:18 +00:00
terminx b1a5b6be67 useless shit changes that aren't even worth looking at
git-svn-id: https://svn.eduke32.com/eduke32@926 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-31 10:35:23 +00:00
terminx 9465dcfa02 I think this speeds up software occlusion checking a bit
git-svn-id: https://svn.eduke32.com/eduke32@925 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-30 11:01:39 +00:00
terminx 0faa6b0010 Texture quality slider in video setup
git-svn-id: https://svn.eduke32.com/eduke32@916 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-29 05:43:47 +00:00
terminx 424f02f809 New sound setup menu plus some other crap
git-svn-id: https://svn.eduke32.com/eduke32@915 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-28 21:23:10 +00:00
terminx d5add9a2ef Cheap hack to replace "space" in quote 13 with "use"
git-svn-id: https://svn.eduke32.com/eduke32@913 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-28 02:40:23 +00:00
terminx 86712a9fc9 Menu slider for map ambient light level
git-svn-id: https://svn.eduke32.com/eduke32@911 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-27 21:33:28 +00:00
terminx 8b9116d1a4 r_cullobstructedmodels 2: only cull if model texture has alpha
git-svn-id: https://svn.eduke32.com/eduke32@908 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-26 07:20:57 +00:00
terminx 0f28a14ba3 Add r_osdhightile in case anyone really wants ugly blurry console text
Will not be given a menu option.


git-svn-id: https://svn.eduke32.com/eduke32@901 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-25 04:33:33 +00:00
terminx d1c4c8d7e2 git-svn-id: https://svn.eduke32.com/eduke32@891 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-23 03:56:50 +00:00
terminx d8ae04d773 Support for turning vsync on and off
git-svn-id: https://svn.eduke32.com/eduke32@889 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-22 21:03:09 +00:00
terminx 11fc1203fa Game name in window title and some other shit
git-svn-id: https://svn.eduke32.com/eduke32@886 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-22 09:05:34 +00:00
terminx eb43ca8921 git-svn-id: https://svn.eduke32.com/eduke32@883 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-21 13:39:23 +00:00
terminx bdd109e2c1 git-svn-id: https://svn.eduke32.com/eduke32@882 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-21 10:20:41 +00:00
terminx 86e70d3012 git-svn-id: https://svn.eduke32.com/eduke32@881 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-21 09:05:53 +00:00
terminx 4a69a33e36 git-svn-id: https://svn.eduke32.com/eduke32@879 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-21 03:06:34 +00:00
terminx 28c0033e8f Crappy temporary brightness adjustment menu and some misc fixes
git-svn-id: https://svn.eduke32.com/eduke32@877 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-20 11:03:57 +00:00
terminx 6d9579ed07 git-svn-id: https://svn.eduke32.com/eduke32@872 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-20 00:39:06 +00:00
terminx 4ddfc3e9d9 Comment out and refactor some unnecessary (IMO) console startup messages... seems to improve win32 startup times, possibly due to less scrolling of the startup window text buffer.
git-svn-id: https://svn.eduke32.com/eduke32@848 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-09 23:25:38 +00:00
terminx 6616dbd31b git-svn-id: https://svn.eduke32.com/eduke32@845 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-08 04:52:39 +00:00
terminx 2e82277d65 git-svn-id: https://svn.eduke32.com/eduke32@840 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-07 06:44:41 +00:00
terminx 2abab26c25 Much improved MapKey function
git-svn-id: https://svn.eduke32.com/eduke32@836 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-04 01:15:32 +00:00
terminx 13d4b6fb14 More bind shit
git-svn-id: https://svn.eduke32.com/eduke32@834 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-03 07:37:41 +00:00
terminx a7d9ab4603 git-svn-id: https://svn.eduke32.com/eduke32@830 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-01 11:14:18 +00:00
terminx 95eed1cd2b mouse binds
git-svn-id: https://svn.eduke32.com/eduke32@826 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-30 19:06:05 +00:00
terminx 4348140d55 git-svn-id: https://svn.eduke32.com/eduke32@824 1a8010ca-5511-0410-912e-c29ae57300e0 2008-06-30 11:01:58 +00:00
terminx 88120b45eb git-svn-id: https://svn.eduke32.com/eduke32@823 1a8010ca-5511-0410-912e-c29ae57300e0 2008-06-30 09:25:06 +00:00
terminx ef2683418e Keyboard configuration menu <-> binds
git-svn-id: https://svn.eduke32.com/eduke32@822 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-30 09:00:33 +00:00
terminx 1783253ccd git-svn-id: https://svn.eduke32.com/eduke32@821 1a8010ca-5511-0410-912e-c29ae57300e0 2008-06-30 07:30:48 +00:00
terminx 5d2b147658 added support for removing aliases
git-svn-id: https://svn.eduke32.com/eduke32@820 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-30 01:03:51 +00:00
terminx f6999157f7 More alias shit
git-svn-id: https://svn.eduke32.com/eduke32@818 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-30 00:18:59 +00:00
terminx 5aadb6c114 git-svn-id: https://svn.eduke32.com/eduke32@816 1a8010ca-5511-0410-912e-c29ae57300e0 2008-06-29 21:01:07 +00:00
terminx 6c078cfab6 Convert cfg file entries to binds on cfg load
git-svn-id: https://svn.eduke32.com/eduke32@815 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-29 13:35:52 +00:00
terminx ef183706e6 read/write binds to/from binds.cfg
git-svn-id: https://svn.eduke32.com/eduke32@813 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-29 12:29:42 +00:00
terminx 1747bc460e win32 gcc 4.3.0 fixes
git-svn-id: https://svn.eduke32.com/eduke32@760 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-04 08:58:02 +00:00
terminx 59b8d7b757 git-svn-id: https://svn.eduke32.com/eduke32@753 1a8010ca-5511-0410-912e-c29ae57300e0 2008-06-01 01:57:01 +00:00
hnt_ts b0a2d52771 Fixed this problem: http://duke3d.bur.st/forum/index.php?topic=8.msg1938#msg1938.
Also it was impossible to assign "no action" to the left mouse button.

git-svn-id: https://svn.eduke32.com/eduke32@752 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-31 13:18:02 +00:00
terminx 67e2466b0e Patch from hunter_rus
git-svn-id: https://svn.eduke32.com/eduke32@723 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-10 01:29:37 +00:00
terminx 945e1b2357 Remove -Wno-unused from Makefile
git-svn-id: https://svn.eduke32.com/eduke32@649 1a8010ca-5511-0410-912e-c29ae57300e0
2008-03-21 04:01:38 +00:00
plagman e67e3dc8fc Adds r_parallaxskyclamping and r_parallaxskypanning.
git-svn-id: https://svn.eduke32.com/eduke32@623 1a8010ca-5511-0410-912e-c29ae57300e0
2008-02-18 08:46:42 +00:00
terminx c45bd7dd53 git-svn-id: https://svn.eduke32.com/eduke32@622 1a8010ca-5511-0410-912e-c29ae57300e0 2008-02-18 08:10:54 +00:00
terminx cd085abf8d Patch from hunter_rus
git-svn-id: https://svn.eduke32.com/eduke32@606 1a8010ca-5511-0410-912e-c29ae57300e0
2008-02-02 16:38:30 +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 92ef761289 git-svn-id: https://svn.eduke32.com/eduke32@570 1a8010ca-5511-0410-912e-c29ae57300e0 2007-08-31 06:18:56 +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 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 2148b4bebc Window position memory for win32
git-svn-id: https://svn.eduke32.com/eduke32@540 1a8010ca-5511-0410-912e-c29ae57300e0
2007-04-22 03:44:54 +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 7c7b8c2869 Whitespace
git-svn-id: https://svn.eduke32.com/eduke32@522 1a8010ca-5511-0410-912e-c29ae57300e0
2007-03-11 00:47:32 +00:00
Plagman 3081c87724 Support for Vertex Buffer Objects (r_vbos, r_vbocount).
git-svn-id: https://svn.eduke32.com/eduke32@519 1a8010ca-5511-0410-912e-c29ae57300e0
2007-03-08 03:07:10 +00:00
Plagman 3f5f1b8fb2 Corrected issues with detailmaps scaling, improved general model drawing performance and added support for using vertex arrays when drawing models (r_vertexarrays)
git-svn-id: https://svn.eduke32.com/eduke32@513 1a8010ca-5511-0410-912e-c29ae57300e0
2007-03-03 23:09:40 +00:00
terminx 33985f1650 This adds a menu option for network packet rate, and more conversion of passing things as char or short to passing things as int
git-svn-id: https://svn.eduke32.com/eduke32@509 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-28 09:12:41 +00:00
terminx 0dfc03afa0 Fixes the skybox problem, the problem with the default keyboard configuration, and adds cl_viewbob and cl_weaponsway
git-svn-id: https://svn.eduke32.com/eduke32@506 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-23 22:27:22 +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 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