terminx
b53c959919
git-svn-id: https://svn.eduke32.com/eduke32@1204 1a8010ca-5511-0410-912e-c29ae57300e0
2009-01-07 14:05:13 +00:00
terminx
1cc73560f2
git-svn-id: https://svn.eduke32.com/eduke32@1203 1a8010ca-5511-0410-912e-c29ae57300e0
2009-01-06 06:59:18 +00:00
terminx
da8e368104
git-svn-id: https://svn.eduke32.com/eduke32@1188 1a8010ca-5511-0410-912e-c29ae57300e0
2008-12-19 00:53:54 +00:00
terminx
660f01cf46
git-svn-id: https://svn.eduke32.com/eduke32@1180 1a8010ca-5511-0410-912e-c29ae57300e0
2008-12-13 08:02:22 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
b530c1ca75
git-svn-id: https://svn.eduke32.com/eduke32@610 1a8010ca-5511-0410-912e-c29ae57300e0
2008-02-06 11:42:34 +00:00