terminx
a3ed643794
git-svn-id: https://svn.eduke32.com/eduke32@1199 1a8010ca-5511-0410-912e-c29ae57300e0
2009-01-03 22:47:16 +00:00
terminx
475d582283
git-svn-id: https://svn.eduke32.com/eduke32@1198 1a8010ca-5511-0410-912e-c29ae57300e0
2009-01-02 01:03:41 +00:00
terminx
ac7607a8bb
git-svn-id: https://svn.eduke32.com/eduke32@1197 1a8010ca-5511-0410-912e-c29ae57300e0
2008-12-31 09:07:49 +00:00
terminx
663cbc37a5
git-svn-id: https://svn.eduke32.com/eduke32@1189 1a8010ca-5511-0410-912e-c29ae57300e0
2008-12-21 22:46:55 +00:00
terminx
bfd5282986
Fix the shrinker problem for real this time
...
git-svn-id: https://svn.eduke32.com/eduke32@1185 1a8010ca-5511-0410-912e-c29ae57300e0
2008-12-15 13:56:30 +00:00
terminx
ac36ad3943
git-svn-id: https://svn.eduke32.com/eduke32@1179 1a8010ca-5511-0410-912e-c29ae57300e0
2008-12-13 07:23:13 +00:00
terminx
8ec01d5ea2
git-svn-id: https://svn.eduke32.com/eduke32@1178 1a8010ca-5511-0410-912e-c29ae57300e0
2008-12-10 11:36:53 +00:00
terminx
1aed7f53f8
git-svn-id: https://svn.eduke32.com/eduke32@1171 1a8010ca-5511-0410-912e-c29ae57300e0
2008-12-01 10:44:18 +00:00
terminx
cc73a2d7c6
new texcache stuff
...
git-svn-id: https://svn.eduke32.com/eduke32@1155 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-25 13:06:36 +00:00
terminx
26a97cb6b7
git-svn-id: https://svn.eduke32.com/eduke32@1150 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-24 09:22:07 +00:00
terminx
f2a2b491d6
git-svn-id: https://svn.eduke32.com/eduke32@1149 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-23 03:09:34 +00:00
terminx
4910928877
source code rape
...
git-svn-id: https://svn.eduke32.com/eduke32@1143 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-20 14:06:36 +00:00
terminx
4efb91b376
git-svn-id: https://svn.eduke32.com/eduke32@1121 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-05 11:49:13 +00:00
terminx
a5eb2ea255
Added filename based loading of mids and oggs for user map music and fixed some memory corruption which occurred in the CON compiler when it couldn't find a definition
...
git-svn-id: https://svn.eduke32.com/eduke32@1119 1a8010ca-5511-0410-912e-c29ae57300e0
2008-10-27 10:36:13 +00:00
hnt_ts
db38400dab
Reduce warnings
...
git-svn-id: https://svn.eduke32.com/eduke32@1118 1a8010ca-5511-0410-912e-c29ae57300e0
2008-10-25 11:21:50 +00:00
terminx
efcd34c135
EDuke32: now with multiplayer text scaling hacks and nastiness
...
git-svn-id: https://svn.eduke32.com/eduke32@1095 1a8010ca-5511-0410-912e-c29ae57300e0
2008-10-11 09:20:04 +00:00
terminx
ccafc41189
Weapon sprite scaling, still needs a rotatespritescaled CON command
...
git-svn-id: https://svn.eduke32.com/eduke32@1090 1a8010ca-5511-0410-912e-c29ae57300e0
2008-10-05 11:51:59 +00:00
terminx
8dc599fc28
git-svn-id: https://svn.eduke32.com/eduke32@1089 1a8010ca-5511-0410-912e-c29ae57300e0
2008-10-05 09:23:55 +00:00
terminx
328011fae4
Adds r_maxfps and some better error messages for cases where the user didn't even copy a grp into their EDuke32 dir
...
git-svn-id: https://svn.eduke32.com/eduke32@1086 1a8010ca-5511-0410-912e-c29ae57300e0
2008-10-01 04:38:14 +00:00
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
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
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
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
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
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
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
8bbe48c219
git-svn-id: https://svn.eduke32.com/eduke32@1037 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-28 05:57:46 +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
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
553658aa67
git-svn-id: https://svn.eduke32.com/eduke32@1018 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-24 09:01:17 +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
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
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
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
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
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
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
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
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
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
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
terminx
4033b2b9c3
git-svn-id: https://svn.eduke32.com/eduke32@977 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-16 09:07:41 +00:00
terminx
4ad4350d48
Line numbering stuff... this still needs work
...
git-svn-id: https://svn.eduke32.com/eduke32@976 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-16 07:53:29 +00:00
hnt_ts
92b3e13d3d
Implemented another approach of storing of line numbers.
...
Good news: one can load old savegame.
Bad news: the code takes twice the space then before.
I had change it to this way because:
1.Opcodes could be interpreted as pointers.
2.Some CON command aren’t compiled in the code and cause problems too.
3.Ideal method would be converting pointers to offsets related to the script(as TerminX suggested). But it’s quite difficult to do and the next snapshot might be unstable(crashy).
git-svn-id: https://svn.eduke32.com/eduke32@975 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-14 17:18:16 +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
d706c31766
Added an new CON command: activatecheat <cheatID>
...
git-svn-id: https://svn.eduke32.com/eduke32@964 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-10 16:28:25 +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
hnt_ts
79e2616dfc
Renamed a CON command: getdate->gettimedate
...
git-svn-id: https://svn.eduke32.com/eduke32@958 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-10 08:58:34 +00:00
hnt_ts
5062ab8773
Added a CON command:
...
getdate <sec> <min> <hour> <mday> <mon> <year> <wday> <yday>
sec seconds after the minute
min minutes after the hour
hour hours since midnight
mday day of the month
mon months since January
year years since 1900
wday days since Sunday
yday days since January
git-svn-id: https://svn.eduke32.com/eduke32@955 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-09 19:59:41 +00:00
terminx
ff18979277
CON_ADDLOG and CON_ADDLOGVAR don't need to explicitly store the line number anymore
...
git-svn-id: https://svn.eduke32.com/eduke32@948 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-09 07:41:09 +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
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
e344cf477e
git-svn-id: https://svn.eduke32.com/eduke32@920 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-30 01:00:40 +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
ba83cbc48a
git-svn-id: https://svn.eduke32.com/eduke32@914 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-28 06:59:08 +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
61d665e14d
git-svn-id: https://svn.eduke32.com/eduke32@910 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-27 11:35:41 +00:00
hnt_ts
f5b049379c
1. Added CON command: cmenu <gamevar>
...
2. Added gamevar: current_menu(READONLY)
// Example: remove the episode selet screen
gamevar prev_menu 0 0
onevent EVENT_DISPLAYMENU
ifvare current_menu 100 // Episode select
{
ifvare prev_menu 110 // Skill select
cmenu 0 // Main menu
else
cmenu 110 // Skill select
}
setvarvar prev_menu current_menu
// addlogvar current_menu
endevent
git-svn-id: https://svn.eduke32.com/eduke32@903 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-25 18:10:33 +00:00
terminx
cb1b36fb64
Ran everything through astyle again and disabled hightile when drawing console text because the HRP font looks like shit when scaled down to that size
...
git-svn-id: https://svn.eduke32.com/eduke32@900 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-25 01:09:39 +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
86e70d3012
git-svn-id: https://svn.eduke32.com/eduke32@881 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-21 09:05:53 +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
a939f0fb48
CON_SCRIPTSIZE, lets mod authors manually increase the script size to whatever the mod needs, decreasing startup time due to not having to constantly reallocate memory.
...
git-svn-id: https://svn.eduke32.com/eduke32@874 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-20 03:29:00 +00:00
terminx
6cf9c4767b
git-svn-id: https://svn.eduke32.com/eduke32@873 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-20 02:34:29 +00:00
hnt_ts
e8c0abf7da
1. Runtime CON errors display the line numbers of CON now. It doesn't increase the size of compiled code because the line number assigned to each command of a CON file.
...
The lower 12 bits are used for the ID of command(up to 4096 IDs).
The rest 20 bits are used to store the line number(up to about 1 000 000 lines).
Perhabs variable errors need this too.
2. Fixed 2 crashes.
git-svn-id: https://svn.eduke32.com/eduke32@871 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-19 19:06:21 +00:00
terminx
b45bb674d1
Better gamma ramp adjustment, uses vid_gamma, vid_brightness and vid_contrast cvars
...
Will be added to menu during upcoming menu redesign
git-svn-id: https://svn.eduke32.com/eduke32@870 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-19 13:12:20 +00:00
terminx
fcf3f17e30
git-svn-id: https://svn.eduke32.com/eduke32@869 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-19 07:39:51 +00:00
terminx
b367a392a7
Prototype stuff for hub maps/persistent level states/non-linear level progression
...
git-svn-id: https://svn.eduke32.com/eduke32@859 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-16 09:27:08 +00:00
terminx
99671274aa
Make the tsprite CON stuff into its own commands
...
git-svn-id: https://svn.eduke32.com/eduke32@856 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-13 07:10:47 +00:00
terminx
5ce5b287fa
git-svn-id: https://svn.eduke32.com/eduke32@855 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-12 23:44:07 +00:00
terminx
fb80a8ec28
CON access to tsprite
...
git-svn-id: https://svn.eduke32.com/eduke32@853 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-12 10:57:52 +00:00
terminx
681e58ccc4
Keep the startup window open when CON compilation fails so people can copy CON errors out of it directly without looking at eduke32.log
...
git-svn-id: https://svn.eduke32.com/eduke32@851 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-10 05:37:36 +00:00
terminx
b442e26fb0
git-svn-id: https://svn.eduke32.com/eduke32@850 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-10 04:37:41 +00:00
terminx
71292bb5f1
git-svn-id: https://svn.eduke32.com/eduke32@825 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-30 18:33:04 +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
2fa3153a84
Better keybinding... still needs some work but seems to be functional
...
Example:
bind w repeat gamefunc_move_forward
bind s repeat gamefunc_move_backward
bind a repeat gamefunc_strafe_left
bind d repeat gamefunc_strafe_right
bind space gamefunc_jump
bind leftcontrol repeat gamefunc_crouch
bind f12 quit
git-svn-id: https://svn.eduke32.com/eduke32@808 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-29 10:40:37 +00:00
terminx
fbc4633fef
winlayer fullscreen polymost alt-tab mouse cursor fix
...
git-svn-id: https://svn.eduke32.com/eduke32@798 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-11 09:25:58 +00:00
hnt_ts
fa46b7d155
Added a new CON command:
...
getticks <VAR>
It's isn't synced and should be using for animation and profiling(=speed measure). Using it for gameplay will desync multiplayer game.
git-svn-id: https://svn.eduke32.com/eduke32@797 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-11 07:35:30 +00:00
terminx
0fe0777ab3
Fix building on MinGW by using PRIdPTR instead of %td and add a MSVC compatible inttypes.h/stdint.h for compatibility
...
git-svn-id: https://svn.eduke32.com/eduke32@795 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-11 02:33:23 +00:00
qbix79
21519fddff
64 bit fixes for weaponstuff, gamevars, vars readable from con, warnings
...
git-svn-id: https://svn.eduke32.com/eduke32@794 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-10 19:32:14 +00:00
terminx
b6b3716373
git-svn-id: https://svn.eduke32.com/eduke32@782 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-09 23:41:54 +00:00
hnt_ts
5edc3d6096
Added the "qgetsysstr" command that copies game strings to quotes so they can be displayed.
...
qgetsysstr <quoteID> <strID>
<strID> can be:
STR_MAPNAME
STR_MAPFILENAME
STR_PLAYERNAME
STR_VERSION
The list of strings may need some additions and renaming.
onevent EVENT_DISPLAYMENU
qgetsysstr 2 STR_MAPNAME
minitext 10 10 2 0 0
qgetsysstr 2 STR_MAPFILENAME
minitext 10 20 2 0 0
qgetsysstr 2 STR_PLAYERNAME // it shouldn't work in this event, though
minitext 10 30 2 0 0
qgetsysstr 2 STR_VERSION
minitext 10 40 2 0 0
endevent
git-svn-id: https://svn.eduke32.com/eduke32@781 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-09 10:39:32 +00:00
terminx
97f98dcdfc
Formatting + beginnings of editor enhanced map preview mode. Currently supports light switch sector effectors
...
git-svn-id: https://svn.eduke32.com/eduke32@763 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-05 02:29:18 +00:00
hnt_ts
0602988743
New events:
...
EVENT_DISPLAYBONUSSCREEN
EVENT_DISPLAYMENU
EVENT_DISPLAYMENUREST
EVENT_DISPLAYLOADINGSCREEN
git-svn-id: https://svn.eduke32.com/eduke32@762 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-04 21:08:47 +00:00
hnt_ts
c634a708aa
1. Fixed this crash ( http://forums.3drealms.com/vb/showpost.php?p=706802&postcount=533 )
...
2. Optimized the setactorvar,setplayervar,getactorvar,getplayervar commands. They may be compiled as the setvarvar command.
git-svn-id: https://svn.eduke32.com/eduke32@761 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-04 13:36:37 +00:00
terminx
3844f1eb55
Part of a patch from Philipp Kutin (Helixhorned) plus MSVC build fix
...
git-svn-id: https://svn.eduke32.com/eduke32@726 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-15 03:16:38 +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
9bfd183cec
Negative gamearray access
...
git-svn-id: https://svn.eduke32.com/eduke32@715 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-27 06:54:28 +00:00
qbix79
168573d5aa
Minimal changes to get it compiling (and not crashing when ran under
...
valgrind. Changes don't affect 32 bit mode).
Changed aplWeaponClip and friends to int* ,but intptr_t* works as well for me.
Final type will determined once the con code has been checked.
git-svn-id: https://svn.eduke32.com/eduke32@709 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-24 09:53:16 +00:00
terminx
4e58984de5
git-svn-id: https://svn.eduke32.com/eduke32@693 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-05 04:18:48 +00:00
terminx
91145d9582
array support based on a patch from Peter Green (plugwash)
...
git-svn-id: https://svn.eduke32.com/eduke32@676 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-01 02:50:44 +00:00
terminx
ad97b339cc
fixes
...
git-svn-id: https://svn.eduke32.com/eduke32@675 1a8010ca-5511-0410-912e-c29ae57300e0
2008-03-31 23:08:32 +00:00
terminx
e586fa650a
Con access to ud.levelstats
...
git-svn-id: https://svn.eduke32.com/eduke32@674 1a8010ca-5511-0410-912e-c29ae57300e0
2008-03-31 02:55:50 +00:00
terminx
9ef96d3033
git-svn-id: https://svn.eduke32.com/eduke32@652 1a8010ca-5511-0410-912e-c29ae57300e0
2008-03-21 23:55:36 +00:00
terminx
02c5d0b87b
Fixes
...
git-svn-id: https://svn.eduke32.com/eduke32@642 1a8010ca-5511-0410-912e-c29ae57300e0
2008-03-14 21:04:28 +00:00
terminx
a736fc08e0
Added new warning for con_ifsound
...
git-svn-id: https://svn.eduke32.com/eduke32@633 1a8010ca-5511-0410-912e-c29ae57300e0
2008-03-07 22:33:07 +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
b3677fc796
This looks like stuff that needs to be changed for proper 64-bit support
...
git-svn-id: https://svn.eduke32.com/eduke32@619 1a8010ca-5511-0410-912e-c29ae57300e0
2008-02-17 05:08:18 +00:00
terminx
2f4028c265
git-svn-id: https://svn.eduke32.com/eduke32@617 1a8010ca-5511-0410-912e-c29ae57300e0
2008-02-16 22:18:48 +00:00
terminx
7d36a601e4
git-svn-id: https://svn.eduke32.com/eduke32@616 1a8010ca-5511-0410-912e-c29ae57300e0
2008-02-14 08:35:30 +00:00
terminx
bef6dfe7b6
git-svn-id: https://svn.eduke32.com/eduke32@602 1a8010ca-5511-0410-912e-c29ae57300e0
2008-01-27 22:50:29 +00:00
terminx
1c9d7c28bb
git-svn-id: https://svn.eduke32.com/eduke32@600 1a8010ca-5511-0410-912e-c29ae57300e0
2008-01-26 03:59:34 +00:00
terminx
26dc1358ac
git-svn-id: https://svn.eduke32.com/eduke32@599 1a8010ca-5511-0410-912e-c29ae57300e0
2008-01-15 20:51:18 +00:00
plagman
2fc1832cab
Removes the user prompt on duplicate case in switch statement.
...
git-svn-id: https://svn.eduke32.com/eduke32@594 1a8010ca-5511-0410-912e-c29ae57300e0
2008-01-04 18:46:58 +00:00
plagman
cfa399998a
Added xpanning and ypanning actor members to control the new sprite panning feature.
...
git-svn-id: https://svn.eduke32.com/eduke32@590 1a8010ca-5511-0410-912e-c29ae57300e0
2008-01-03 21:54:58 +00:00
terminx
4aa6cf2ea3
patch from hunter_rus
...
git-svn-id: https://svn.eduke32.com/eduke32@587 1a8010ca-5511-0410-912e-c29ae57300e0
2007-12-20 19:14:38 +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
b27a43ff2a
git-svn-id: https://svn.eduke32.com/eduke32@582 1a8010ca-5511-0410-912e-c29ae57300e0
2007-10-24 07:12:50 +00:00
terminx
5dbcf7cdbc
git-svn-id: https://svn.eduke32.com/eduke32@581 1a8010ca-5511-0410-912e-c29ae57300e0
2007-10-24 06:48:13 +00:00
terminx
2376ac3806
git-svn-id: https://svn.eduke32.com/eduke32@580 1a8010ca-5511-0410-912e-c29ae57300e0
2007-09-11 05:26:38 +00:00
terminx
8a6e2bb008
git-svn-id: https://svn.eduke32.com/eduke32@574 1a8010ca-5511-0410-912e-c29ae57300e0
2007-09-06 10:43:42 +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
93f6f0a33f
git-svn-id: https://svn.eduke32.com/eduke32@569 1a8010ca-5511-0410-912e-c29ae57300e0
2007-08-29 05:29:37 +00:00
terminx
f0264b1140
git-svn-id: https://svn.eduke32.com/eduke32@568 1a8010ca-5511-0410-912e-c29ae57300e0
2007-08-29 05:02:43 +00:00
terminx
eec7e1b2e0
dynamically allocated script buffers
...
this is still broken
git-svn-id: https://svn.eduke32.com/eduke32@567 1a8010ca-5511-0410-912e-c29ae57300e0
2007-08-29 04:01:21 +00:00
terminx
826f786dcc
per-player max values for health, armor and ammo
...
git-svn-id: https://svn.eduke32.com/eduke32@566 1a8010ca-5511-0410-912e-c29ae57300e0
2007-08-27 23:11:49 +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
d651d1d895
git-svn-id: https://svn.eduke32.com/eduke32@562 1a8010ca-5511-0410-912e-c29ae57300e0
2007-08-26 11:28:32 +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
b5a81483f2
git-svn-id: https://svn.eduke32.com/eduke32@559 1a8010ca-5511-0410-912e-c29ae57300e0
2007-08-25 01:05:00 +00:00
terminx
c9e97fa954
git-svn-id: https://svn.eduke32.com/eduke32@558 1a8010ca-5511-0410-912e-c29ae57300e0
2007-08-19 00:15:30 +00:00
terminx
3fcc3771bd
Sound fix
...
git-svn-id: https://svn.eduke32.com/eduke32@553 1a8010ca-5511-0410-912e-c29ae57300e0
2007-08-14 21:29:44 +00:00
terminx
0b1f6f91a9
grp shit
...
git-svn-id: https://svn.eduke32.com/eduke32@552 1a8010ca-5511-0410-912e-c29ae57300e0
2007-07-04 09:15:08 +00:00
terminx
d8dfd8beb4
Misc fixes
...
git-svn-id: https://svn.eduke32.com/eduke32@549 1a8010ca-5511-0410-912e-c29ae57300e0
2007-06-12 19:47:34 +00:00
terminx
22b4b23240
git-svn-id: https://svn.eduke32.com/eduke32@547 1a8010ca-5511-0410-912e-c29ae57300e0
2007-06-02 04:14:10 +00:00
terminx
35afa5ff53
git-svn-id: https://svn.eduke32.com/eduke32@546 1a8010ca-5511-0410-912e-c29ae57300e0
2007-05-17 19:31:14 +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
terminx
f889e552b2
Support for automatically loading all grp/zip/pk3 files in a directory. Files go into the "autoload" directory if they're to be loaded by all main grp files that are supported, or into autoload/grpname to be loaded only if a specific grp is used. For example, autoload/duke3d.grp/hrp.zip would only be loaded if duke3d.grp was specified as the main group file (and not nam.grp, et cetera).
...
git-svn-id: https://svn.eduke32.com/eduke32@507 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-25 21:11:59 +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