Commit Graph

1124 Commits

Author SHA1 Message Date
terminx 103cc529d6 git-svn-id: https://svn.eduke32.com/eduke32@1077 1a8010ca-5511-0410-912e-c29ae57300e0 2008-09-26 04:45:36 +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 a30229fcf2 Merged alpha.cfg with tiles.cfg parsing
git-svn-id: https://svn.eduke32.com/eduke32@1075 1a8010ca-5511-0410-912e-c29ae57300e0
2008-09-25 11:01:37 +00:00
terminx 44c3436075 git-svn-id: https://svn.eduke32.com/eduke32@1074 1a8010ca-5511-0410-912e-c29ae57300e0 2008-09-24 10:20:18 +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
helixhorned 493c352669 Added more generic sprite search
git-svn-id: https://svn.eduke32.com/eduke32@1071 1a8010ca-5511-0410-912e-c29ae57300e0
2008-09-19 20:09:43 +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
helixhorned 87f8eb2438 Quickplay: +Alt starts the map with real start positions
git-svn-id: https://svn.eduke32.com/eduke32@1069 1a8010ca-5511-0410-912e-c29ae57300e0
2008-09-16 15:32:59 +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
helixhorned 746071a4f4 Text renderer: letters are now saved on a stack, misc. fixes. Quickplay: Added timeout so that user cannot create many eduke32 instances in a short time
git-svn-id: https://svn.eduke32.com/eduke32@1066 1a8010ca-5511-0410-912e-c29ae57300e0
2008-09-14 14:47:32 +00:00
helixhorned 88af77d484 Added quick map testing functionality (Windows only)
git-svn-id: https://svn.eduke32.com/eduke32@1065 1a8010ca-5511-0410-912e-c29ae57300e0
2008-09-12 13:41:18 +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
helixhorned 0b38803fb6 Text renderer: added parsing of alphabet definitions
git-svn-id: https://svn.eduke32.com/eduke32@1063 1a8010ca-5511-0410-912e-c29ae57300e0
2008-09-11 21:22:58 +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
helixhorned 37d375a0ff Text renderer: letter tweaks; offset control
git-svn-id: https://svn.eduke32.com/eduke32@1061 1a8010ca-5511-0410-912e-c29ae57300e0
2008-09-08 14:04:54 +00:00
hnt_ts 0c77f4a6f5 Adds logic CON commands:
ifvaror |
ifvarxor ^
ifvareither || (rename?)


git-svn-id: https://svn.eduke32.com/eduke32@1060 1a8010ca-5511-0410-912e-c29ae57300e0
2008-09-07 12:36:20 +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 7da94e0041 Fixes some stuff
git-svn-id: https://svn.eduke32.com/eduke32@1058 1a8010ca-5511-0410-912e-c29ae57300e0
2008-09-06 06:22:31 +00:00
helixhorned b881cc116c Text renderer: removed unneccessary function bt2idx().
git-svn-id: https://svn.eduke32.com/eduke32@1057 1a8010ca-5511-0410-912e-c29ae57300e0
2008-09-05 23:23:26 +00:00
helixhorned 57de846b59 Added text-made-of-sprites renderer for 3d mode
git-svn-id: https://svn.eduke32.com/eduke32@1056 1a8010ca-5511-0410-912e-c29ae57300e0
2008-09-05 23:09:43 +00:00
terminx 898e6669ef git-svn-id: https://svn.eduke32.com/eduke32@1055 1a8010ca-5511-0410-912e-c29ae57300e0 2008-09-04 23:11:48 +00:00
hnt_ts cc5e27246c Line numbers for gamevar error messages
git-svn-id: https://svn.eduke32.com/eduke32@1054 1a8010ca-5511-0410-912e-c29ae57300e0
2008-09-03 18:56:19 +00:00
terminx 33936fda74 git-svn-id: https://svn.eduke32.com/eduke32@1053 1a8010ca-5511-0410-912e-c29ae57300e0 2008-09-03 17:55:11 +00:00
terminx 33cb047a6c git-svn-id: https://svn.eduke32.com/eduke32@1052 1a8010ca-5511-0410-912e-c29ae57300e0 2008-09-03 14:02:42 +00:00
terminx 535b8432f0 git-svn-id: https://svn.eduke32.com/eduke32@1051 1a8010ca-5511-0410-912e-c29ae57300e0 2008-09-03 13:23:34 +00:00
terminx a5d9881709 Adds getnumberptr256() which lets us update the map in real time based on the number typed in
This is good for stuff like palettes, shades, sector visibility, et cetera where the user might want to see the results of a change before committing to it


git-svn-id: https://svn.eduke32.com/eduke32@1050 1a8010ca-5511-0410-912e-c29ae57300e0
2008-09-03 11:59:54 +00:00
terminx cb84787775 Show sector/sectoreffector type in tag input fields
git-svn-id: https://svn.eduke32.com/eduke32@1049 1a8010ca-5511-0410-912e-c29ae57300e0
2008-09-03 10:47:19 +00:00
terminx 7b94cf4758 Misc tweaks, patch from HelixHorned, half of gameexec.c moved to gamestructures.c
git-svn-id: https://svn.eduke32.com/eduke32@1048 1a8010ca-5511-0410-912e-c29ae57300e0
2008-09-03 04:20:46 +00:00
terminx fbf25c7483 Show lengths in Mapster for walls being drawn or moved
git-svn-id: https://svn.eduke32.com/eduke32@1047 1a8010ca-5511-0410-912e-c29ae57300e0
2008-09-02 02:45:06 +00:00
terminx 166019082f git-svn-id: https://svn.eduke32.com/eduke32@1046 1a8010ca-5511-0410-912e-c29ae57300e0 2008-09-01 21:59:53 +00:00
terminx 9d390c4b3b git-svn-id: https://svn.eduke32.com/eduke32@1045 1a8010ca-5511-0410-912e-c29ae57300e0 2008-09-01 08:31:48 +00:00
terminx ef3c5e6ad8 A bunch of random shit
git-svn-id: https://svn.eduke32.com/eduke32@1044 1a8010ca-5511-0410-912e-c29ae57300e0
2008-09-01 07:15:16 +00:00
terminx 882fbd6851 git-svn-id: https://svn.eduke32.com/eduke32@1043 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-28 23:15:11 +00:00
terminx ffca366c8d git-svn-id: https://svn.eduke32.com/eduke32@1042 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-28 15:04:16 +00:00
terminx 7e4b936033 git-svn-id: https://svn.eduke32.com/eduke32@1041 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-28 11:52:28 +00:00
terminx 824e9d5664 git-svn-id: https://svn.eduke32.com/eduke32@1040 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-28 11:35:35 +00:00
terminx 6640e6e284 Case insensitivity for structure members in CONs because they weren't case sensitive before for some reason
git-svn-id: https://svn.eduke32.com/eduke32@1039 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-28 07:22:10 +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 f814485606 git-svn-id: https://svn.eduke32.com/eduke32@1035 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-26 09:05:32 +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 af0ad5fb0a git-svn-id: https://svn.eduke32.com/eduke32@1030 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-25 10:43:24 +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 6dbf04a6fe git-svn-id: https://svn.eduke32.com/eduke32@1027 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-25 02:35:15 +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 352ace8bbc Move hash table code into engine and use hash table for OSD symbol lookup
git-svn-id: https://svn.eduke32.com/eduke32@1025 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-25 02:12:02 +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 1ba3e3aef2 git-svn-id: https://svn.eduke32.com/eduke32@1022 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-24 22:44:37 +00:00
terminx bdb2f26c13 git-svn-id: https://svn.eduke32.com/eduke32@1021 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-24 19:09:17 +00:00
terminx 9e39f47e0e git-svn-id: https://svn.eduke32.com/eduke32@1020 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-24 10:19:37 +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 553658aa67 git-svn-id: https://svn.eduke32.com/eduke32@1018 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-24 09:01:17 +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 57c3cea591 git-svn-id: https://svn.eduke32.com/eduke32@1016 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-24 06:06:04 +00:00
terminx b58833d730 git-svn-id: https://svn.eduke32.com/eduke32@1015 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-24 05:39:28 +00:00
terminx cf2f7927ea Believe it or not, this actually consistently gave me a few fps in my test scenario
git-svn-id: https://svn.eduke32.com/eduke32@1014 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-24 04:55:57 +00:00
terminx 7082436267 git-svn-id: https://svn.eduke32.com/eduke32@1013 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-24 04:35:35 +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 60cce1f206 This breaks members with LABEL_HASPARM2 on them so it's reverted
git-svn-id: https://svn.eduke32.com/eduke32@1011 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-24 00:22:36 +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 f75fd4cb31 http://forums.3drealms.com/vb/showpost.php?p=746876&postcount=26
Since EDuke32 can't display properly Chinese and Russian fonts, it will try to use English key names when possible.

git-svn-id: https://svn.eduke32.com/eduke32@1009 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-23 18:59:49 +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 292672fdc7 git-svn-id: https://svn.eduke32.com/eduke32@1006 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-23 10:34:59 +00:00
terminx d229632433 git-svn-id: https://svn.eduke32.com/eduke32@1005 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-23 09:38:07 +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 045151bb13 Fixes (?) the issue with the player dying when falling into water sometimes. I don't know what the significance of this check is -- it looks like a typo.
git-svn-id: https://svn.eduke32.com/eduke32@1001 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-23 00:42:16 +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
hnt_ts 73a9dbc80e 1. Improved access to tsprites. It even didn't have access to the owner member that points at the real sprite.
2. I don't know why the filler member(of the sprite/sector structure) was renamed in CONs but now it can be addressed by his real name as well.


git-svn-id: https://svn.eduke32.com/eduke32@999 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-22 16:31:03 +00:00
terminx 4e50e2e24d Mac fixes
git-svn-id: https://svn.eduke32.com/eduke32@998 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-22 05:39:13 +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 1c785bb975 Oops
git-svn-id: https://svn.eduke32.com/eduke32@995 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-20 09:38:36 +00:00
terminx 6def1b0a65 Use mod_dir for savegames
git-svn-id: https://svn.eduke32.com/eduke32@994 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-20 09:27:17 +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 da6b206673 Rename definegamename to setgamename and alter the "map" console command to show a listing of all available maps if no map name is given
git-svn-id: https://svn.eduke32.com/eduke32@987 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-17 11:07:28 +00:00
terminx 63e5850a86 CON_SETCFGNAME: sets the name of the cfg during CON compile if a cfg wasn't specified on the command line
git-svn-id: https://svn.eduke32.com/eduke32@986 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-17 09:57:36 +00:00
terminx 81d0ea972d git-svn-id: https://svn.eduke32.com/eduke32@985 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-17 09:25:52 +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 fa2b8cb9ec git-svn-id: https://svn.eduke32.com/eduke32@981 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-16 11:30:43 +00:00
hnt_ts 36d1cbd995 Added a new CON command: setgamepalette <pal>
git-svn-id: https://svn.eduke32.com/eduke32@980 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-16 11:20:08 +00:00
terminx 2f14763197 git-svn-id: https://svn.eduke32.com/eduke32@979 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-16 11:04:51 +00:00
terminx f0de675642 git-svn-id: https://svn.eduke32.com/eduke32@978 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-16 10:54:10 +00:00