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
d229632433
git-svn-id: https://svn.eduke32.com/eduke32@1005 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-23 09:38:07 +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
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
f0de675642
git-svn-id: https://svn.eduke32.com/eduke32@978 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-16 10:54:10 +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
317cd92271
git-svn-id: https://svn.eduke32.com/eduke32@970 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-11 23:33:53 +00:00
terminx
fc1551af49
These changes got lost somehow
...
git-svn-id: https://svn.eduke32.com/eduke32@968 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-11 10:38:46 +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
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
dae0f54b9a
Corrected some error checks: MAXSECTORS -> numsectors
...
git-svn-id: https://svn.eduke32.com/eduke32@963 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-10 13:39:11 +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
a55cc4479a
git-svn-id: https://svn.eduke32.com/eduke32@961 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-10 13:07:07 +00:00
terminx
a71949ed8f
More fixes
...
git-svn-id: https://svn.eduke32.com/eduke32@960 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-10 10:53:55 +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
01182163a9
git-svn-id: https://svn.eduke32.com/eduke32@954 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-09 12:42:02 +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
hnt_ts
ae32f428cd
More CON error messages
...
git-svn-id: https://svn.eduke32.com/eduke32@951 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-09 10:43:27 +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
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
9acb742ab7
git-svn-id: https://svn.eduke32.com/eduke32@922 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-30 05:41:03 +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
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
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
hnt_ts
fe97d1abb1
Opps
...
git-svn-id: https://svn.eduke32.com/eduke32@899 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-24 21:48:12 +00:00
hnt_ts
553e547c04
1. Added forgotten "break".
...
2. Added more CON error messages.
git-svn-id: https://svn.eduke32.com/eduke32@898 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-24 21:08:25 +00:00
hnt_ts
e7349339dd
1. Added more CON errors.
...
2. Killed compiler warnings.
3. Fixed the NUMSECTORS and NUMWALLS. Somehow they didn't make problems in Windows.
git-svn-id: https://svn.eduke32.com/eduke32@897 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-24 19:16:30 +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
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
86e70d3012
git-svn-id: https://svn.eduke32.com/eduke32@881 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-21 09:05:53 +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
f7b4de8e6d
git-svn-id: https://svn.eduke32.com/eduke32@868 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-19 04:13:53 +00:00
terminx
6374609c4d
colorized OSD text... wastes 32kB memory but in 2008 I don't think anyone really gives half a shit
...
git-svn-id: https://svn.eduke32.com/eduke32@864 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-18 09:50:44 +00:00
terminx
564e00a3f2
Fix health when loading map state
...
git-svn-id: https://svn.eduke32.com/eduke32@863 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-18 03:22:20 +00:00
terminx
244a0c1a5e
Gamevars in savestates (in savegames)
...
Still needs debugging
git-svn-id: https://svn.eduke32.com/eduke32@862 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-18 02:46:24 +00:00
terminx
f430f20201
git-svn-id: https://svn.eduke32.com/eduke32@860 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-16 21:21:18 +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
aafd981270
git-svn-id: https://svn.eduke32.com/eduke32@857 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-13 08:35:36 +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
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
hnt_ts
5308a328c5
Fixed CON error with the "readgamevar".
...
http://forums.3drealms.com/vb/showpost.php?p=717842&postcount=742
git-svn-id: https://svn.eduke32.com/eduke32@807 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-23 22:01:24 +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
qbix79
e61ca5120a
Fix a 64 bit warning. Possibly a crash.
...
git-svn-id: https://svn.eduke32.com/eduke32@791 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-10 19:27:39 +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
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
65c2fd394a
fixes
...
git-svn-id: https://svn.eduke32.com/eduke32@759 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-04 07:38:11 +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
21fc17b70b
git-svn-id: https://svn.eduke32.com/eduke32@721 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-02 07:52:13 +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
b63ef25d6e
Fix door opening
...
git-svn-id: https://svn.eduke32.com/eduke32@713 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-25 10:22:22 +00:00
qbix79
9ed478a719
Fix timing. Added comment to reverse changes incase we ever go to offsets.
...
git-svn-id: https://svn.eduke32.com/eduke32@712 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-25 08:14:08 +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
plagman
dff876f1d0
HAVE YOU EVER FELT
...
git-svn-id: https://svn.eduke32.com/eduke32@697 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-06 23:35:48 +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
51fdffe93e
git-svn-id: https://svn.eduke32.com/eduke32@680 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-01 09:06:29 +00:00
terminx
eb8fde73b2
Array support for addlogvar
...
git-svn-id: https://svn.eduke32.com/eduke32@678 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-01 03:32:36 +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
a598f36502
git-svn-id: https://svn.eduke32.com/eduke32@663 1a8010ca-5511-0410-912e-c29ae57300e0
2008-03-26 09:28:21 +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
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
74d7485a19
OpenAL patch from Hunter_rus... haven't even tried to make this work with MSVC yet
...
git-svn-id: https://svn.eduke32.com/eduke32@634 1a8010ca-5511-0410-912e-c29ae57300e0
2008-03-08 05:23:15 +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
517c392a3c
git-svn-id: https://svn.eduke32.com/eduke32@612 1a8010ca-5511-0410-912e-c29ae57300e0
2008-02-06 21:02:11 +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
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
plagman
a1e00d78ee
Unbreaks hunter_rus patch on anal compilers
...
git-svn-id: https://svn.eduke32.com/eduke32@589 1a8010ca-5511-0410-912e-c29ae57300e0
2007-12-28 20:04: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
1753d91046
git-svn-id: https://svn.eduke32.com/eduke32@577 1a8010ca-5511-0410-912e-c29ae57300e0
2007-09-10 23:38: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
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
75a496f970
git-svn-id: https://svn.eduke32.com/eduke32@565 1a8010ca-5511-0410-912e-c29ae57300e0
2007-08-27 20:36:36 +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
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
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
a7069d9ba4
git-svn-id: https://svn.eduke32.com/eduke32@548 1a8010ca-5511-0410-912e-c29ae57300e0
2007-06-02 23:31:43 +00:00
terminx
e2fe946d35
Crash fix
...
git-svn-id: https://svn.eduke32.com/eduke32@542 1a8010ca-5511-0410-912e-c29ae57300e0
2007-04-28 21:24:36 +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
2bf47cbbed
Extra grp file autoloading for grp files included via the command line or the def files
...
git-svn-id: https://svn.eduke32.com/eduke32@524 1a8010ca-5511-0410-912e-c29ae57300e0
2007-03-21 20:37:24 +00:00
terminx
4b4d37cf3f
git-svn-id: https://svn.eduke32.com/eduke32@523 1a8010ca-5511-0410-912e-c29ae57300e0
2007-03-13 18:37:46 +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
terminx
38810c6561
Showview command updates and a couple of other things
...
git-svn-id: https://svn.eduke32.com/eduke32@521 1a8010ca-5511-0410-912e-c29ae57300e0
2007-03-11 00:20:32 +00:00
terminx
cb77e41236
git-svn-id: https://svn.eduke32.com/eduke32@520 1a8010ca-5511-0410-912e-c29ae57300e0
2007-03-08 21:07:10 +00:00
terminx
3fda3754cc
git-svn-id: https://svn.eduke32.com/eduke32@518 1a8010ca-5511-0410-912e-c29ae57300e0
2007-03-08 01:01:55 +00:00
terminx
69d0e38805
git-svn-id: https://svn.eduke32.com/eduke32@517 1a8010ca-5511-0410-912e-c29ae57300e0
2007-03-08 00:30:48 +00:00
terminx
9c819e7042
git-svn-id: https://svn.eduke32.com/eduke32@516 1a8010ca-5511-0410-912e-c29ae57300e0
2007-03-08 00:09:20 +00:00
terminx
8e86c02364
git-svn-id: https://svn.eduke32.com/eduke32@511 1a8010ca-5511-0410-912e-c29ae57300e0
2007-03-01 00:50:59 +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
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
ef8f308c9b
Status bar stuff... this adds new hotkeys for scaling the status bar (hold shift while pressing the shrink or enlarge screen buttons) and also adds support for a left-justified version of the full status bar
...
git-svn-id: https://svn.eduke32.com/eduke32@491 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-13 01:28:50 +00:00
terminx
7e79039197
Clean up the new camera control stuff a little bit
...
git-svn-id: https://svn.eduke32.com/eduke32@489 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-12 21:17:52 +00:00
terminx
abcce7e337
Camera control
...
git-svn-id: https://svn.eduke32.com/eduke32@487 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-12 07:58:03 +00:00
terminx
e96c05767e
This changes the pistol's autoaim back to how it was in the DOS version of Duke3D. I suspect this behavior was changed during NAM or WW2GI development and just never noticed until now.
...
git-svn-id: https://svn.eduke32.com/eduke32@485 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-11 00:49:03 +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
90c4f271b2
git-svn-id: https://svn.eduke32.com/eduke32@482 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-05 01:33:08 +00:00
terminx
fc4bc3ef70
CON command for earthquakes
...
git-svn-id: https://svn.eduke32.com/eduke32@444 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-05 22:30:35 +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
8d6eef5b0f
More tiny optimizations I guess
...
git-svn-id: https://svn.eduke32.com/eduke32@433 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-21 09:33:26 +00:00
terminx
bc4139356a
Prefer passing things between functions as int rather than short or char to avoid the overhead of converting back and forth between formats
...
git-svn-id: https://svn.eduke32.com/eduke32@432 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-20 03:27:25 +00:00
terminx
2705563578
Minor things such as un-breaking setvarvar :)
...
git-svn-id: https://svn.eduke32.com/eduke32@431 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-19 20:31:40 +00:00
terminx
31775358e6
Death to local variables
...
git-svn-id: https://svn.eduke32.com/eduke32@430 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-18 21:29:55 +00:00
terminx
19115146ac
Quite a few more optimizations
...
git-svn-id: https://svn.eduke32.com/eduke32@429 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-18 09:32:17 +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
a35a73796c
Function for changing map in multiplayer
...
git-svn-id: https://svn.eduke32.com/eduke32@414 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-12 08:46:32 +00:00
terminx
3509a4dc8c
Fixes
...
git-svn-id: https://svn.eduke32.com/eduke32@404 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-11 21:18:21 +00:00
terminx
7017166f2d
Oops
...
git-svn-id: https://svn.eduke32.com/eduke32@399 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-10 19:32:44 +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
0bd5f4a9e5
Uhh.. yeah
...
git-svn-id: https://svn.eduke32.com/eduke32@395 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-10 03:15:56 +00:00
terminx
d48c66b7ad
I guess this is an optimization as well
...
git-svn-id: https://svn.eduke32.com/eduke32@394 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-10 01:52:35 +00:00
terminx
15ee3431f9
Check to see if the user map filename matches a defined level name and warp to that level instead of opening it as a user map
...
git-svn-id: https://svn.eduke32.com/eduke32@392 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-09 23:41:43 +00:00
terminx
c45445f8aa
Null pointer checks for music filenames
...
git-svn-id: https://svn.eduke32.com/eduke32@389 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-06 23:14:49 +00:00
terminx
9fc9365e2f
Allow access to map12-map32 in multiplayer, and skip the ones that aren't defined
...
git-svn-id: https://svn.eduke32.com/eduke32@383 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-05 00:16:33 +00:00
terminx
fb06419c82
updatesectorz() -> updatesector()
...
I now have a clue about updatesectorz() breaking things. :o
git-svn-id: https://svn.eduke32.com/eduke32@376 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-02 06:00:49 +00:00
terminx
36f69beeb6
This should fix a bug with ifgotweaponce where the game had a rare chance of crashing and burning in cooperative
...
git-svn-id: https://svn.eduke32.com/eduke32@375 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-01 22:34:32 +00:00
terminx
f71b2cd2d9
updatesector() -> updatesectorz()
...
I have no clue if this breaks anything.
git-svn-id: https://svn.eduke32.com/eduke32@372 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-30 23:53:44 +00:00