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
2e447a3c1d
git-svn-id: https://svn.eduke32.com/eduke32@884 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-21 13:59:10 +00:00
terminx
eb43ca8921
git-svn-id: https://svn.eduke32.com/eduke32@883 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-21 13:39:23 +00:00
terminx
bdd109e2c1
git-svn-id: https://svn.eduke32.com/eduke32@882 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-21 10:20:41 +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
c3cc992d65
git-svn-id: https://svn.eduke32.com/eduke32@880 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-21 03:24:06 +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
terminx
602a96dc0a
git-svn-id: https://svn.eduke32.com/eduke32@876 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-20 05:31:23 +00:00
terminx
cb9e2c1487
git-svn-id: https://svn.eduke32.com/eduke32@875 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-20 04:12:52 +00:00
terminx
6d9579ed07
git-svn-id: https://svn.eduke32.com/eduke32@872 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-20 00:39:06 +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
f98227d6f3
Better line wrapping for multiplayer chat messages
...
git-svn-id: https://svn.eduke32.com/eduke32@867 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-19 00:50:20 +00:00
terminx
2b85433e4f
git-svn-id: https://svn.eduke32.com/eduke32@866 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-18 23:29:20 +00:00
terminx
3aefb0edaa
Support for changing shade of console characters by using the 3 high bits of osdfmt to represent a shade value (0-7)
...
Lower 5 bits are used for palette
git-svn-id: https://svn.eduke32.com/eduke32@865 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-18 13:18:12 +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
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
hnt_ts
c660bfb129
1. Removed unneeded the svn:executable proprties. These files aren't actually executable.
...
2. Added the svn:ignore properties to clean up the output of "svn update" so that it doesn't show some unversioned files anymore sush as compiled binaries and object files(*.a).
3. Converted the end-of-line charapter sequences from Windows(CR LF) to Unix format(LF). It used to be a mixture of both styles that often confuse some programs. If some files have to be in Windows format, you should add the svn:eol-style on them(svn propset svn:eol-style native polymer/eduke32/source/thefile.c).
git-svn-id: https://svn.eduke32.com/eduke32@854 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-12 14:09:52 +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
110bd25989
Oops
...
git-svn-id: https://svn.eduke32.com/eduke32@852 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-10 05:55:22 +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
a6c68170d0
git-svn-id: https://svn.eduke32.com/eduke32@849 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-10 02:45:24 +00:00
terminx
4ddfc3e9d9
Comment out and refactor some unnecessary (IMO) console startup messages... seems to improve win32 startup times, possibly due to less scrolling of the startup window text buffer.
...
git-svn-id: https://svn.eduke32.com/eduke32@848 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-09 23:25:38 +00:00
terminx
098c99e3f7
git-svn-id: https://svn.eduke32.com/eduke32@847 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-09 09:34:12 +00:00
terminx
6616dbd31b
git-svn-id: https://svn.eduke32.com/eduke32@845 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-08 04:52:39 +00:00
terminx
01449fc547
git-svn-id: https://svn.eduke32.com/eduke32@843 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-07 12:35:21 +00:00
terminx
e67f7bd94a
OSD history command plus some important fixes
...
git-svn-id: https://svn.eduke32.com/eduke32@842 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-07 12:17:27 +00:00
terminx
2e82277d65
git-svn-id: https://svn.eduke32.com/eduke32@840 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-07 06:44:41 +00:00
qbix79
852190d512
Fix naming error.
...
git-svn-id: https://svn.eduke32.com/eduke32@839 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-05 09:12:36 +00:00
terminx
9a29dae7b3
git-svn-id: https://svn.eduke32.com/eduke32@838 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-04 02:13:48 +00:00
terminx
275fdc8552
git-svn-id: https://svn.eduke32.com/eduke32@837 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-04 01:43:45 +00:00
terminx
13d4b6fb14
More bind shit
...
git-svn-id: https://svn.eduke32.com/eduke32@834 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-03 07:37:41 +00:00
terminx
c5d1978aa2
Renamed some more cvars, removed osdcompletionstyle and merged the two methods into one
...
git-svn-id: https://svn.eduke32.com/eduke32@833 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-02 22:45:04 +00:00
terminx
4c8538e0f7
Rename some console commands to be more consistent with each other
...
git-svn-id: https://svn.eduke32.com/eduke32@832 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-02 04:56:42 +00:00
terminx
7c6881717d
Stupid win32 console keyboard input bug fix
...
git-svn-id: https://svn.eduke32.com/eduke32@831 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-02 01:32:53 +00:00
terminx
a7d9ab4603
git-svn-id: https://svn.eduke32.com/eduke32@830 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-01 11:14:18 +00:00
terminx
515bed39c8
Adds "osdcompletionstyle" to the console to switch between bash-style tab completion (completes only the longest common prefix) and the previous behavior of cycling through the list with tab
...
git-svn-id: https://svn.eduke32.com/eduke32@828 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-01 10:31:03 +00:00
terminx
1783253ccd
git-svn-id: https://svn.eduke32.com/eduke32@821 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-30 07:30:48 +00:00
terminx
5d2b147658
added support for removing aliases
...
git-svn-id: https://svn.eduke32.com/eduke32@820 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-30 01:03:51 +00:00
terminx
2b6f413f9c
git-svn-id: https://svn.eduke32.com/eduke32@819 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-30 00:32:05 +00:00
terminx
f6999157f7
More alias shit
...
git-svn-id: https://svn.eduke32.com/eduke32@818 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-30 00:18:59 +00:00
terminx
d3e54859c2
Support for console aliases
...
git-svn-id: https://svn.eduke32.com/eduke32@817 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-29 22:37:30 +00:00
terminx
b60e2a57dc
git-svn-id: https://svn.eduke32.com/eduke32@814 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-29 12:53:18 +00:00
terminx
03b98ea54c
git-svn-id: https://svn.eduke32.com/eduke32@804 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-14 09:25:22 +00:00
qbix79
2a78af4558
negative array acces. ny00123
...
git-svn-id: https://svn.eduke32.com/eduke32@803 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-13 15:16:14 +00:00
qbix79
d8ea4c5350
doesn't work that :)
...
git-svn-id: https://svn.eduke32.com/eduke32@802 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-13 14:40:28 +00:00
qbix79
8bef3fed96
fix memleak due to new md2-md3 conversion code.
...
git-svn-id: https://svn.eduke32.com/eduke32@801 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-13 08:03:30 +00:00
terminx
9c81fa155c
suppress video mode switch messages when alt-tabbing out of fullscreen
...
git-svn-id: https://svn.eduke32.com/eduke32@799 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-11 18:52:39 +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
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
bd039f617e
argh forgot one
...
git-svn-id: https://svn.eduke32.com/eduke32@790 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-10 19:23:55 +00:00
qbix79
22085fa9d3
General warning fixes and regular fixes. (64 bit only)
...
git-svn-id: https://svn.eduke32.com/eduke32@789 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-10 19:23:13 +00:00
qbix79
9f361fd293
When doing pointer math use intptr_t
...
git-svn-id: https://svn.eduke32.com/eduke32@788 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-10 19:21:16 +00:00
qbix79
5a4ccf69af
leng is now int again. remove some warnings.
...
git-svn-id: https://svn.eduke32.com/eduke32@787 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-10 19:19:30 +00:00
qbix79
5000ff0f52
polymost 64 bit zbuffer modifications.
...
git-svn-id: https://svn.eduke32.com/eduke32@786 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-10 19:18:45 +00:00
terminx
41cfe16a61
git-svn-id: https://svn.eduke32.com/eduke32@783 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-10 02:29:58 +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
plagman
b3ac01c04d
Skybox VBOs.
...
git-svn-id: https://svn.eduke32.com/eduke32@780 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-09 09:43:12 +00:00
plagman
77a2adbd62
Skyboxes.
...
git-svn-id: https://svn.eduke32.com/eduke32@779 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-09 09:25:47 +00:00
plagman
9dd9ccfa46
Changed plotpixels to use DrawPixels() instead of GL_POINTS primitives.
...
git-svn-id: https://svn.eduke32.com/eduke32@778 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-09 02:36:45 +00:00
terminx
8fbe6b54b6
git-svn-id: https://svn.eduke32.com/eduke32@777 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-06 23:03:22 +00:00
plagman
2eab017106
Model animation interpolation.
...
git-svn-id: https://svn.eduke32.com/eduke32@775 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-06 14:00:12 +00:00
plagman
c29194cce9
Model flipping, centering, floor-alignment, color, maphacks.
...
Next is CON model rotation.
git-svn-id: https://svn.eduke32.com/eduke32@774 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-06 11:35:24 +00:00
hnt_ts
0ff4f3b736
Fixed a bug which was introduced in the revision #759 . Mapster32 would delete many sprites on saving maps.
...
The latest released snapshot is affected by this bug. This is a critical bug and a new snapshot should be released as soon as possible and users should be asked to not use the corrupted snapshot.
The bug was reported by DeeperThought and Gambini.
P.S. Actually it's the second time this bug has been introduced. See http://forums.3drealms.com/vb/showthread.php?t=29413
git-svn-id: https://svn.eduke32.com/eduke32@772 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-06 08:01:30 +00:00
terminx
36a4e54b56
git-svn-id: https://svn.eduke32.com/eduke32@771 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-06 01:06:43 +00:00
terminx
dbd4e83d6e
colorized printext16()
...
git-svn-id: https://svn.eduke32.com/eduke32@765 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-05 10:10:26 +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
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
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
34b7ac0714
mousewheel control for circle points insertion
...
git-svn-id: https://svn.eduke32.com/eduke32@758 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-03 07:54:20 +00:00
terminx
53577209f5
git-svn-id: https://svn.eduke32.com/eduke32@757 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-02 21:35:51 +00:00
hnt_ts
2dbbf9c505
Fix for the autosave
...
git-svn-id: https://svn.eduke32.com/eduke32@756 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-01 10:20:39 +00:00
plagman
fa405211ed
Interim MD2 support for polymer. Interim because it relies on a change
...
in the model conversion code that breaks the HRP oozfilter model. It can
be reverted pretty easily, see comment in mdsprite.c.
git-svn-id: https://svn.eduke32.com/eduke32@755 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-01 09:41:56 +00:00
plagman
f661a56e2f
Models in VBOs.
...
git-svn-id: https://svn.eduke32.com/eduke32@754 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-01 08:58:06 +00:00
terminx
59b8d7b757
git-svn-id: https://svn.eduke32.com/eduke32@753 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-01 01:57:01 +00:00
plagman
394b0e4423
git-svn-id: https://svn.eduke32.com/eduke32@751 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-31 08:29:40 +00:00
plagman
512148b9a5
TRUE isn't defined in sdlayer.
...
git-svn-id: https://svn.eduke32.com/eduke32@750 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-31 07:27:43 +00:00
terminx
d0c714b125
git-svn-id: https://svn.eduke32.com/eduke32@748 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-31 03:53:53 +00:00
terminx
ca83297b10
git-svn-id: https://svn.eduke32.com/eduke32@747 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-31 01:57:14 +00:00
hnt_ts
7f9e4157fa
1. Mapster32 saves autosave variable in the cfg.
...
2. Autosaving interval is configurable.
3. Sprite noclip is on by default(CTRL+N to toggle).
4. Fixed the devastator crash. Thanks to Nukey for helping me to track it down.
Notes about the devastator crash.
The yvel of projectile may point to an already removed sprite(its sectnum is MAXSECT). If some code tries to access the sector of the removed sprite, the crash might happen.
How to reproduce crashes.
True story: Nukey recorded a demo(*.dmo) and send me his demo and map so that I could easily reproduce it and eventually fix the crash.
git-svn-id: https://svn.eduke32.com/eduke32@744 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-30 09:07:50 +00:00
qbix79
6778e2c201
Fix a bug where stuff was trying to read rotated sprite tspr owners
...
git-svn-id: https://svn.eduke32.com/eduke32@743 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-27 15:47:24 +00:00
qbix79
43aa2bbc23
Update lzf to 3.2 fixes texturecache on 64 bit.
...
git-svn-id: https://svn.eduke32.com/eduke32@742 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-25 08:23:53 +00:00
plagman
67e777a899
Map VBOs. pr_vbos to enable them.
...
git-svn-id: https://svn.eduke32.com/eduke32@741 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-24 09:37:09 +00:00
plagman
710c131835
Second oops.
...
git-svn-id: https://svn.eduke32.com/eduke32@740 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-24 08:21:53 +00:00
plagman
551937fbc5
Oops. With that, MD3 models should display correctly on 64-bit. The compressed texcache appears to be broken, though.
...
git-svn-id: https://svn.eduke32.com/eduke32@739 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-24 07:58:21 +00:00
plagman
dd7983a4e8
64-bit compatible MD3 loading.
...
git-svn-id: https://svn.eduke32.com/eduke32@738 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-24 06:53:56 +00:00
qbix79
0189cf6064
Most functions in kplib.c now use a intptr_t for (da)frameplace
...
kzopen and kzipopen now retrun a intptr_t as this actually a FILE*
General 64 bit fixss to cache1d.c. Some cast correction for polymost
hrp works now in 64 bit if you make md3load return NULL.
git-svn-id: https://svn.eduke32.com/eduke32@737 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-23 10:00:43 +00:00
terminx
3cf48e1f1a
git-svn-id: https://svn.eduke32.com/eduke32@736 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-22 10:08:17 +00:00
terminx
b0ceecbdee
git-svn-id: https://svn.eduke32.com/eduke32@734 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-18 21:09:30 +00:00
plagman
4e3faa9c00
Reorganize polymer data. Fill sector VBOs.
...
git-svn-id: https://svn.eduke32.com/eduke32@733 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-18 07:35:35 +00:00
terminx
1c29512812
Fixes
...
todo:
add option to swap CTRL modifier behavior in tile selector
add cfg option for how many rows to scroll per wheel click in tile selector
add cfg options for pk_turnaccel, pk_turndecel and pk_uedaccel
git-svn-id: https://svn.eduke32.com/eduke32@732 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-17 21:44:49 +00:00
terminx
b7ef82f9d1
git-svn-id: https://svn.eduke32.com/eduke32@730 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-16 20:27:52 +00:00
terminx
f7e8583a52
git-svn-id: https://svn.eduke32.com/eduke32@729 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-16 20:15:43 +00:00
terminx
310c7240e1
Huge, awesome patch from Hunter_rus
...
git-svn-id: https://svn.eduke32.com/eduke32@728 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-16 19:51:38 +00:00
terminx
26de39bc2e
Cleanup patch from Hunter_rus
...
git-svn-id: https://svn.eduke32.com/eduke32@727 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-16 00:23:33 +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