Commit Graph

508 Commits

Author SHA1 Message Date
terminx 4437919385 git-svn-id: https://svn.eduke32.com/eduke32@1083 1a8010ca-5511-0410-912e-c29ae57300e0 2008-09-29 07:38:12 +00:00
terminx 16cd3c353d Fixes
git-svn-id: https://svn.eduke32.com/eduke32@1082 1a8010ca-5511-0410-912e-c29ae57300e0
2008-09-29 02:12:53 +00:00
terminx ca8f8d21ae git-svn-id: https://svn.eduke32.com/eduke32@1080 1a8010ca-5511-0410-912e-c29ae57300e0 2008-09-28 11:00:59 +00:00
terminx 2c172dcfb7 Fix building with gcc older than 4.3.2, other minor fixes
git-svn-id: https://svn.eduke32.com/eduke32@1079 1a8010ca-5511-0410-912e-c29ae57300e0
2008-09-26 17:20:10 +00:00
terminx 2057d2a9ff git-svn-id: https://svn.eduke32.com/eduke32@1076 1a8010ca-5511-0410-912e-c29ae57300e0 2008-09-26 04:20:08 +00:00
helixhorned a43fa91b64 Fixes infinite loops after having watched MP demo, this time correctly
git-svn-id: https://svn.eduke32.com/eduke32@1073 1a8010ca-5511-0410-912e-c29ae57300e0
2008-09-23 11:14:08 +00:00
terminx e6d8451084 git-svn-id: https://svn.eduke32.com/eduke32@1072 1a8010ca-5511-0410-912e-c29ae57300e0 2008-09-22 07:53:59 +00:00
terminx 83af636a5a git-svn-id: https://svn.eduke32.com/eduke32@1070 1a8010ca-5511-0410-912e-c29ae57300e0 2008-09-17 22:58:25 +00:00
terminx 3776d580eb Cleaning uncommitted changes out of tree
git-svn-id: https://svn.eduke32.com/eduke32@1068 1a8010ca-5511-0410-912e-c29ae57300e0
2008-09-15 02:47:02 +00:00
helixhorned ca763dafad Game: write numbered demo files, fix infinite loop after finished demo playback
git-svn-id: https://svn.eduke32.com/eduke32@1067 1a8010ca-5511-0410-912e-c29ae57300e0
2008-09-14 21:25:23 +00:00
terminx 18f4481d86 Use bit packing for the bytecode pointer map
git-svn-id: https://svn.eduke32.com/eduke32@1064 1a8010ca-5511-0410-912e-c29ae57300e0
2008-09-12 02:07:44 +00:00
terminx 60526dbb26 git-svn-id: https://svn.eduke32.com/eduke32@1062 1a8010ca-5511-0410-912e-c29ae57300e0 2008-09-11 09:24:45 +00:00
hnt_ts b664f7686e Fixed possible crash
git-svn-id: https://svn.eduke32.com/eduke32@1059 1a8010ca-5511-0410-912e-c29ae57300e0
2008-09-06 09:11:35 +00:00
terminx 24be6aa091 git-svn-id: https://svn.eduke32.com/eduke32@1038 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-28 06:56:26 +00:00
terminx 8bbe48c219 git-svn-id: https://svn.eduke32.com/eduke32@1037 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-28 05:57:46 +00:00
terminx b38cbec5c8 Better handling of bad GL drivers
git-svn-id: https://svn.eduke32.com/eduke32@1036 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-26 19:50:34 +00:00
terminx f0032888fe git-svn-id: https://svn.eduke32.com/eduke32@1034 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-26 08:39:45 +00:00
terminx 69dbba841c git-svn-id: https://svn.eduke32.com/eduke32@1033 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-26 04:00:42 +00:00
terminx 951edcaa78 git-svn-id: https://svn.eduke32.com/eduke32@1032 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-25 23:48:00 +00:00
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 7ff5a532c6 Put texcache under mod_dir
git-svn-id: https://svn.eduke32.com/eduke32@1028 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-25 04:28:17 +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 25adc68899 Patch from hunter_rus to use hash tables for CON compiling
This was sent to me broken, but after some investigation it looks like the only problem was in CON_STATE.  This should speed up CON compilation speed about 500%or so.


git-svn-id: https://svn.eduke32.com/eduke32@1024 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-25 00:49:12 +00:00
terminx 07b71b1139 git-svn-id: https://svn.eduke32.com/eduke32@1023 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-24 23:24:14 +00:00
terminx d3c3b7f0e7 git-svn-id: https://svn.eduke32.com/eduke32@1019 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-24 09:29:03 +00:00
terminx 52bb6e84c9 git-svn-id: https://svn.eduke32.com/eduke32@1017 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-24 06:17:09 +00:00
terminx f5a587e7c1 git-svn-id: https://svn.eduke32.com/eduke32@1012 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-24 03:19:40 +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 b7760a5674 Fixed OpenAL
git-svn-id: https://svn.eduke32.com/eduke32@1008 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-23 17:02:52 +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 9dbba623b8 New errors for when someone tries to use "define" to give something the same name as a gamevar
Some constantly used loops in the compiler have also been flipped around for faster execution.  Seems to speed up CON compilation a little bit.


git-svn-id: https://svn.eduke32.com/eduke32@1004 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-23 07:32:15 +00:00
terminx 6829e5f403 Mapster32 user_profiles_enabled fix
git-svn-id: https://svn.eduke32.com/eduke32@1003 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-23 03:12:23 +00:00
terminx dcc6d730a6 Revert commit 999 by hnt_ts
Access to the tspr's owner in EVENT_ANIMATESPRITES is through the THISACTOR variable.  The extra members of the sprite struct aren't represented in the tsprite CON implementation because they aren't referenced when rendering the sprite.


git-svn-id: https://svn.eduke32.com/eduke32@1002 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-23 01:21:17 +00:00
terminx 37767e0caf Fix sound system restart crash with high res music pack
git-svn-id: https://svn.eduke32.com/eduke32@1000 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-22 23:10:54 +00:00
terminx 39b87128d6 git-svn-id: https://svn.eduke32.com/eduke32@997 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-22 04:26:26 +00:00
terminx d2889ffb2c Patch from Marcus Herbert to add OSX support
git-svn-id: https://svn.eduke32.com/eduke32@996 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-20 22:58:09 +00:00
terminx cbba90b7c2 git-svn-id: https://svn.eduke32.com/eduke32@993 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-20 09:17:23 +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 78f205f1a9 Combine game and configuration tabs in the startup window into one. Still needs porting to startgtk.game.c.
git-svn-id: https://svn.eduke32.com/eduke32@991 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-19 13:26:56 +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 1a39458bb5 minor changes
git-svn-id: https://svn.eduke32.com/eduke32@989 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-18 07:20:36 +00:00
terminx 042915f221 ignore texcache dir in startup window mod list
git-svn-id: https://svn.eduke32.com/eduke32@988 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-17 11:40:27 +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
hnt_ts 9778af6489 1. Reverted the savegame change. Changed to use the bitptr.
2. Updated --help. AS IS.


git-svn-id: https://svn.eduke32.com/eduke32@983 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-16 22:15:46 +00:00
terminx 059ecb1fb6 git-svn-id: https://svn.eduke32.com/eduke32@982 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-16 21:42:42 +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
plagman 68e7e307ae This hopefully corrects the bug where animation smoothing sometimes substitutes models with bags of shit.
git-svn-id: https://svn.eduke32.com/eduke32@971 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-12 06:13:10 +00:00
terminx f79f6f803b Use keyword names for CON error messages
git-svn-id: https://svn.eduke32.com/eduke32@967 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-11 10:17:18 +00:00
hnt_ts 0ef5551037 Added a new orientation bit for precise coordinates.
This is simmilar to the rotatesprite16 but it works for other drawing commands now.



git-svn-id: https://svn.eduke32.com/eduke32@966 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-11 09:31:49 +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 87bdbcd9fe git-svn-id: https://svn.eduke32.com/eduke32@957 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-10 07:23:42 +00:00
terminx 4376dc796e git-svn-id: https://svn.eduke32.com/eduke32@956 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-09 22:02:57 +00:00
terminx 846c7701d4 git-svn-id: https://svn.eduke32.com/eduke32@953 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-09 12:29:23 +00:00
terminx 18614505b1 Althud health and ammo numbers flash when value is low... I don't know if I like this yet or not
can be disabled with "hud_flashing 0"


git-svn-id: https://svn.eduke32.com/eduke32@952 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-09 11:19:27 +00:00
terminx ca0987d715 git-svn-id: https://svn.eduke32.com/eduke32@950 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-09 10:42:16 +00:00
terminx 3f9daa6c44 git-svn-id: https://svn.eduke32.com/eduke32@949 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-09 10:16:18 +00:00
terminx 1e2678b892 I have no idea how this happened :p
git-svn-id: https://svn.eduke32.com/eduke32@946 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-09 05:24:40 +00:00
terminx bdd43da5c0 git-svn-id: https://svn.eduke32.com/eduke32@944 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-08 23:04:05 +00:00
terminx 2a090515e2 Apply crosshair RGB values to 8-bit crosshair tile instead of nearest color in the palette if we're using Polymost
git-svn-id: https://svn.eduke32.com/eduke32@943 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-08 05:56:20 +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 31b05a433c git-svn-id: https://svn.eduke32.com/eduke32@940 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-08 00:32:16 +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 abc0aeb07c Crosshair color support... not done yet
git-svn-id: https://svn.eduke32.com/eduke32@938 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-07 13:23:08 +00:00
terminx 563f0d81ae git-svn-id: https://svn.eduke32.com/eduke32@937 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-07 11:45:28 +00:00
terminx ddf53e9516 git-svn-id: https://svn.eduke32.com/eduke32@936 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-07 11:08:08 +00:00
terminx 8ac80b7249 git-svn-id: https://svn.eduke32.com/eduke32@935 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-07 10:48:21 +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 0caeecaf9a git-svn-id: https://svn.eduke32.com/eduke32@933 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-06 11:50:34 +00:00
terminx 524db3d755 fixes for a couple of issues
git-svn-id: https://svn.eduke32.com/eduke32@932 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-04 03:48:46 +00:00
terminx 9e647243fa git-svn-id: https://svn.eduke32.com/eduke32@931 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-03 12:49:25 +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 2b13bec0ab git-svn-id: https://svn.eduke32.com/eduke32@924 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-30 06:49:44 +00:00
terminx 7630254c56 git-svn-id: https://svn.eduke32.com/eduke32@923 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-30 06:43:23 +00:00
terminx 9acb742ab7 git-svn-id: https://svn.eduke32.com/eduke32@922 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-30 05:41:03 +00:00
terminx 534d1f4c89 git-svn-id: https://svn.eduke32.com/eduke32@921 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-30 02:51:32 +00:00
terminx e344cf477e git-svn-id: https://svn.eduke32.com/eduke32@920 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-30 01:00:40 +00:00
terminx 6191c05299 More fixes
git-svn-id: https://svn.eduke32.com/eduke32@919 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-29 09:57:09 +00:00
terminx 92d52d8071 Fix a bunch of noclip memory errors
git-svn-id: https://svn.eduke32.com/eduke32@918 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-29 07:14:54 +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 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 61d665e14d git-svn-id: https://svn.eduke32.com/eduke32@910 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-27 11:35:41 +00:00
terminx 9ebad22ac8 git-svn-id: https://svn.eduke32.com/eduke32@909 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-27 01:22:17 +00:00
terminx d1df28e457 git-svn-id: https://svn.eduke32.com/eduke32@904 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-25 23:39:41 +00:00
terminx 7e4d003302 This fixes the cocksucker palette corruption bug that happened when switching video modes back and forth between software and polymost in fullscreen
This has been pissing me off for about 4 years.


git-svn-id: https://svn.eduke32.com/eduke32@902 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-25 13:42:37 +00:00
terminx 30c9c774eb Fix building with USE_OPENGL=0 and POLYMOST=0 and replace all instances in the game code in which the bpp or rendmode vars are checked directly with calls to getrendermode()
git-svn-id: https://svn.eduke32.com/eduke32@895 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-24 11:16:20 +00:00
terminx fca9027ab7 git-svn-id: https://svn.eduke32.com/eduke32@894 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-24 04:54:40 +00:00
hnt_ts 18deaab4ca 1. Added a console command: addlogvar.
2. Colorized console in Linux. The font is different now(harder to read). This change can be reverted you like.
3. Added some CON error messages. If the compact form of {} isn't allowed, say so and I won't do in this style anymore.


git-svn-id: https://svn.eduke32.com/eduke32@892 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-23 20:09:22 +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 0f607b70dd git-svn-id: https://svn.eduke32.com/eduke32@888 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-22 12:17:05 +00:00
terminx 53bd9bc6a4 Compact spacing for gametext() when used in menus... this lets me fit a few more characters into the option names
git-svn-id: https://svn.eduke32.com/eduke32@887 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-22 10:56:22 +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 de25cb4392 git-svn-id: https://svn.eduke32.com/eduke32@885 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-22 05:13:20 +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