Commit graph

270 commits

Author SHA1 Message Date
terminx
23dbb55689 Bug fixes
git-svn-id: https://svn.eduke32.com/eduke32@508 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-26 01:46:38 +00:00
terminx
0dfc03afa0 Fixes the skybox problem, the problem with the default keyboard configuration, and adds cl_viewbob and cl_weaponsway
git-svn-id: https://svn.eduke32.com/eduke32@506 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-23 22:27:22 +00:00
Plagman
6440b48ec8 Added xscale and yscale DEF tokens to texture blocks to control the size ratio with the ART.
git-svn-id: https://svn.eduke32.com/eduke32@504 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-17 02:23:50 +00:00
Plagman
8c462256c0 HUD detail and glow maps.
git-svn-id: https://svn.eduke32.com/eduke32@503 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-16 17:44:59 +00:00
Plagman
b436f4fb71 Various fixes and detail texturing on models.
git-svn-id: https://svn.eduke32.com/eduke32@501 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-16 01:34:41 +00:00
terminx
d3af85c064 Some crap I didn't commit before
git-svn-id: https://svn.eduke32.com/eduke32@500 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-16 00:11:25 +00:00
Plagman
39c818d053 Avoid loading textures two times.
git-svn-id: https://svn.eduke32.com/eduke32@499 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-15 22:26:50 +00:00
terminx
b48a0a933b git-svn-id: https://svn.eduke32.com/eduke32@498 1a8010ca-5511-0410-912e-c29ae57300e0 2007-02-15 01:45:38 +00:00
Plagman
3dd47da766 Glow mapping !
git-svn-id: https://svn.eduke32.com/eduke32@497 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-15 01:35:34 +00:00
terminx
ac95cded34 This fixes the fog issue described here: http://forums.3drealms.com/vb/showpost.php?p=492096
git-svn-id: https://svn.eduke32.com/eduke32@490 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-12 21:52:23 +00:00
terminx
ee4573779c Remove JFAud until it works right
git-svn-id: https://svn.eduke32.com/eduke32@483 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-07 00:13:47 +00:00
terminx
0a1afbd3f3 Minor fixes
git-svn-id: https://svn.eduke32.com/eduke32@480 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-30 02:04:14 +00:00
terminx
6ff2a7d2cc This fixes the issue with running in 16-bit color, and it doesn't look like it breaks depth peeling...
git-svn-id: https://svn.eduke32.com/eduke32@479 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-29 23:01:28 +00:00
terminx
ef81aee7be The mouse wheel was backwards on Win32... I think this fixes that.
git-svn-id: https://svn.eduke32.com/eduke32@478 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-29 03:21:12 +00:00
terminx
4c1a6e6ce1 Fixes for http://forums.3drealms.com/vb/showpost.php?p=481243 and possibly http://forums.3drealms.com/vb/showpost.php?p=480994
git-svn-id: https://svn.eduke32.com/eduke32@477 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-29 01:19:49 +00:00
terminx
64ec370c98 dos2unix on the engine headers
git-svn-id: https://svn.eduke32.com/eduke32@476 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-29 01:18:16 +00:00
Plagman
d7832a7d4f Winlayer keyboard input fix for OSD buffer issues and removed blending in drawrooms.
git-svn-id: https://svn.eduke32.com/eduke32@475 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-26 22:37:48 +00:00
terminx
c21558f2a3 Minor crap
git-svn-id: https://svn.eduke32.com/eduke32@474 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-26 21:12:05 +00:00
Plagman
1b5284aee0 Fixes blending in drawrooms and dynamic GLU not compiling in Win32.
git-svn-id: https://svn.eduke32.com/eduke32@473 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-26 20:29:36 +00:00
terminx
50559c7a32 Re-done player setup menu, support for 4 teams in multiplayer, and separate menu options for weapon switch on pickup and weapon switch when empty. The string with __DATE__ and __TIME__ in it (which is used in the first line of the log file) was moved to global.c so that we're no longer forcing game.c to be recompiled every time something else is changed.
git-svn-id: https://svn.eduke32.com/eduke32@471 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-26 00:28:44 +00:00
terminx
f1d10f4c8c Packet rate control
git-svn-id: https://svn.eduke32.com/eduke32@470 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-24 21:24:35 +00:00
terminx
f628faefd8 Misc. fixes
git-svn-id: https://svn.eduke32.com/eduke32@469 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-24 03:42:54 +00:00
terminx
23a468d956 git-svn-id: https://svn.eduke32.com/eduke32@468 1a8010ca-5511-0410-912e-c29ae57300e0 2007-01-22 05:00:57 +00:00
terminx
fe9004fafe Support for -ww2gi, -nam, -cfg, -usecwd, -h, and -j in Mapster32. Because I am lazy, this is all code from game.c.
git-svn-id: https://svn.eduke32.com/eduke32@464 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-21 23:49:07 +00:00
terminx
44e869c8d9 Misc minor things
git-svn-id: https://svn.eduke32.com/eduke32@463 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-20 03:10:32 +00:00
terminx
a94063e0be Dynamically loaded GLU
git-svn-id: https://svn.eduke32.com/eduke32@462 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-16 03:19:04 +00:00
Plagman
43657d4f56 GL State leak correction : no more diffuse map disappearance.
git-svn-id: https://svn.eduke32.com/eduke32@461 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-15 12:17:01 +00:00
Plagman
581fd77c35 Asking the end-user to have sexual intercourse with his family is not that cool.
git-svn-id: https://svn.eduke32.com/eduke32@460 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-15 09:22:13 +00:00
Plagman
59ef78ff35 Detail mapping : r_detailmapping.
git-svn-id: https://svn.eduke32.com/eduke32@459 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-15 09:08:57 +00:00
terminx
530edf77b8 MAXSPRITESONSCREEN = 4096 and a few other things
git-svn-id: https://svn.eduke32.com/eduke32@458 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-15 05:46:49 +00:00
terminx
c7def8d139 This makes Mapster32 go into 3D mode at startup only if the map's start position is inside of a sector. This means that you won't end up in 3D mode on a blank map anymore if you have an empty newboard.map in your directory.
git-svn-id: https://svn.eduke32.com/eduke32@456 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-15 00:38:21 +00:00
Plagman
8a5a966cd0 Restored fullbrights, improved depth peeling, tweaked MSVC support for JFAud.
git-svn-id: https://svn.eduke32.com/eduke32@454 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-14 07:00:29 +00:00
terminx
8e84d072c2 It looks like handleevents() returns true when the window loses focus, so the processor was maxing out again if Mapster was running but wasn't the active window. This fixes that.
git-svn-id: https://svn.eduke32.com/eduke32@451 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-12 05:49:09 +00:00
terminx
3205ee4fd1 git-svn-id: https://svn.eduke32.com/eduke32@450 1a8010ca-5511-0410-912e-c29ae57300e0 2007-01-12 05:05:19 +00:00
terminx
d6aa1e6c85 More consistent console scroll speed (especially with a low framerate)
This still seems to screw up sometimes.


git-svn-id: https://svn.eduke32.com/eduke32@449 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-06 09:50:02 +00:00
Plagman
70bf6c9102 Minor fixes.
git-svn-id: https://svn.eduke32.com/eduke32@447 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-06 05:11:14 +00:00
Plagman
5a7cceb19d Second draft of depth peeling code. It should be in a usable state, although still slow as hell.
git-svn-id: https://svn.eduke32.com/eduke32@446 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-06 01:29:45 +00:00
terminx
7c89d81fda Fix/add some of the stuff in http://forums.3drealms.com/vb/showpost.php?p=468104
git-svn-id: https://svn.eduke32.com/eduke32@443 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-04 07:15:17 +00:00
terminx
ad6cfa105e Mouse sensitivity stuff
git-svn-id: https://svn.eduke32.com/eduke32@441 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-02 02:27:31 +00:00
Plagman
4bc6daa489 Sorting is back.
git-svn-id: https://svn.eduke32.com/eduke32@440 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-31 06:41:57 +00:00
Plagman
08e4113086 Broken depth peeling.
git-svn-id: https://svn.eduke32.com/eduke32@439 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-31 06:32:04 +00:00
Plagman
3d16de2d56 MD2 rotation issues should be fixed now (untested).
git-svn-id: https://svn.eduke32.com/eduke32@435 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-21 15:18:50 +00:00
Plagman
87556300bf EDuke32 now compiles okay with the Microsoft compiler using NMake.
git-svn-id: https://svn.eduke32.com/eduke32@434 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-21 12:53:11 +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
a236be837c git-svn-id: https://svn.eduke32.com/eduke32@421 1a8010ca-5511-0410-912e-c29ae57300e0 2006-12-17 01:08:39 +00:00
Plagman
5c4f5b3744 Fixed memory leaks issues with converted MD3s.
git-svn-id: https://svn.eduke32.com/eduke32@420 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-16 23:18:11 +00:00
terminx
ccb6ff7141 Minor fixes and a couple of improvements to the fake AI players
git-svn-id: https://svn.eduke32.com/eduke32@419 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-15 01:09:25 +00:00
terminx
cd4e66b71a Faster movement in Mapster32.
git-svn-id: https://svn.eduke32.com/eduke32@418 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-14 08:50:18 +00:00
terminx
a68248896c I wonder how this feature is going to come back to bite me in the ass later
git-svn-id: https://svn.eduke32.com/eduke32@417 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-14 04:13:19 +00:00
terminx
dc0dea7c09 Update checking for win32...
git-svn-id: https://svn.eduke32.com/eduke32@416 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-14 03:34:55 +00:00
terminx
991d785e73 Add an extra noapply flag to setbrightness() so we can invalidate just the 8 bit textures.
git-svn-id: https://svn.eduke32.com/eduke32@415 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-12 09:28:37 +00:00
terminx
7e405214c5 Oops, I accidentally made 3D mode teh slows.
git-svn-id: https://svn.eduke32.com/eduke32@407 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-11 22:23:56 +00:00
terminx
e7d1346248 This makes the editor quite a bit friendlier in terms of CPU usage. After checking for input, we wait for 1 ms if none was reported.
git-svn-id: https://svn.eduke32.com/eduke32@406 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-11 21:56:00 +00:00
terminx
215e0fb0c6 This makes the console work in Mapster32 2D mode when Polymost is selected
git-svn-id: https://svn.eduke32.com/eduke32@405 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-11 21:21:41 +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
3d867963b9 Support for a version string to stick in the lower right hand corner of the OSD
git-svn-id: https://svn.eduke32.com/eduke32@403 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-11 04:38:10 +00:00
terminx
5d79272ac2 Separate input capturing from OSD drawing so that we don't have to wait for the OSD to scroll off the screen to un-grab everything
git-svn-id: https://svn.eduke32.com/eduke32@402 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-11 03:32:43 +00:00
terminx
286dd4b519 This makes the console slide on and off of the screen and also print out a list of everything that matches when auto-completing something
git-svn-id: https://svn.eduke32.com/eduke32@401 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-11 03:06:49 +00:00
terminx
70a60c34f9 More of an optimization
git-svn-id: https://svn.eduke32.com/eduke32@396 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-10 03:35:45 +00:00
terminx
d0ef9e1133 I guess this is some kind of an optimization :o
git-svn-id: https://svn.eduke32.com/eduke32@393 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-10 01:21:30 +00:00
terminx
e11f4c9afb Better alt-tab support for fullscreen OpenGL on win32
git-svn-id: https://svn.eduke32.com/eduke32@391 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-08 16:45:12 +00:00
terminx
f8e113ce03 Pitch and roll control for maphacks
git-svn-id: https://svn.eduke32.com/eduke32@390 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-07 23:56:35 +00:00
terminx
bee93c60b7 git-svn-id: https://svn.eduke32.com/eduke32@388 1a8010ca-5511-0410-912e-c29ae57300e0 2006-12-06 06:27:07 +00:00
terminx
a53a03eb88 ATI fog fix
git-svn-id: https://svn.eduke32.com/eduke32@387 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-05 23:14:14 +00:00
terminx
ccb93c19d8 Palette stuff... hijack hictinting[MAXPALOOKUPS-1] for use as a tint control on all hightile assets. This way, NVG and underwater tinting in Polymost doesn't interfere with the ps[].pals tinting that palfrom sets in the CONs.
git-svn-id: https://svn.eduke32.com/eduke32@384 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-05 20:39:29 +00:00
terminx
3a811040af La la la
git-svn-id: https://svn.eduke32.com/eduke32@380 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-04 04:12:14 +00:00
terminx
e4afb39e66 git-svn-id: https://svn.eduke32.com/eduke32@379 1a8010ca-5511-0410-912e-c29ae57300e0 2006-12-04 04:08:14 +00:00
terminx
b93ae5baa9 Blar.
git-svn-id: https://svn.eduke32.com/eduke32@377 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-03 00:27:43 +00:00
terminx
2515d19746 Okay, so that was a bad idea.
git-svn-id: https://svn.eduke32.com/eduke32@366 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-29 21:49:44 +00:00
terminx
270d573af3 Hmm..
git-svn-id: https://svn.eduke32.com/eduke32@365 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-29 10:30:25 +00:00
terminx
44fcea85a8 Makefile switch for which networking code to use
git-svn-id: https://svn.eduke32.com/eduke32@364 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-28 22:53:11 +00:00
terminx
8727166e24 I wish I knew why this doesn't work
git-svn-id: https://svn.eduke32.com/eduke32@363 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-28 16:23:37 +00:00
terminx
d7d9e82be0 Duke3d_w32 netcode... this compiles but doesn't work yet
git-svn-id: https://svn.eduke32.com/eduke32@362 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-28 04:16:20 +00:00
terminx
5ebab8df83 git-svn-id: https://svn.eduke32.com/eduke32@361 1a8010ca-5511-0410-912e-c29ae57300e0 2006-11-26 21:15:20 +00:00
terminx
cac0d84384 Fixes
git-svn-id: https://svn.eduke32.com/eduke32@359 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-22 01:25:35 +00:00
terminx
4de01782d3 Hm, I think this actually works correctly now
git-svn-id: https://svn.eduke32.com/eduke32@358 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-21 15:54:13 +00:00
terminx
3884546474 git-svn-id: https://svn.eduke32.com/eduke32@357 1a8010ca-5511-0410-912e-c29ae57300e0 2006-11-21 06:59:59 +00:00
terminx
a6a64c52b5 GL_EXP2 fog/shading re-adjustment... haha, whiners are going to crucify me.
git-svn-id: https://svn.eduke32.com/eduke32@356 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-21 05:38:22 +00:00
terminx
32c50b0c57 git-svn-id: https://svn.eduke32.com/eduke32@355 1a8010ca-5511-0410-912e-c29ae57300e0 2006-11-20 04:56:22 +00:00
terminx
715bc289e8 Fix "array subscript has type 'char'" warnings
git-svn-id: https://svn.eduke32.com/eduke32@352 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-19 08:24:46 +00:00
terminx
504ff2e8a4 Kill gamma in Mapster32 2D mode
git-svn-id: https://svn.eduke32.com/eduke32@351 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-19 07:31:03 +00:00
terminx
2d356245f2 git-svn-id: https://svn.eduke32.com/eduke32@350 1a8010ca-5511-0410-912e-c29ae57300e0 2006-11-19 07:09:43 +00:00
terminx
65dc97d55b More warning fixes
git-svn-id: https://svn.eduke32.com/eduke32@349 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-19 03:02:36 +00:00
terminx
643f4d1e44 Fix some warnings gcc 4.x threw in winlayer
git-svn-id: https://svn.eduke32.com/eduke32@348 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-19 02:17:47 +00:00
terminx
730129aee6 More warning fixes
git-svn-id: https://svn.eduke32.com/eduke32@347 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-19 01:28:51 +00:00
terminx
453c1f9649 Blar
git-svn-id: https://svn.eduke32.com/eduke32@343 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-17 08:22:52 +00:00
terminx
3413ff8dd9 A couple of SDL-related fixes
git-svn-id: https://svn.eduke32.com/eduke32@342 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-17 05:05:16 +00:00
terminx
9f9ccf8344 Rip out the Build test game
git-svn-id: https://svn.eduke32.com/eduke32@336 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-16 03:00:03 +00:00
terminx
a289704d10 Crappy support for pausing model animations
git-svn-id: https://svn.eduke32.com/eduke32@334 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-15 01:14:27 +00:00
terminx
37dea75dc6 Formatting change
git-svn-id: https://svn.eduke32.com/eduke32@331 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-13 23:12:47 +00:00
terminx
757da2432b dummytile fixes
git-svn-id: https://svn.eduke32.com/eduke32@330 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-07 22:08:57 +00:00
terminx
44d1866c5a Fix http://forums.3drealms.com/vb/showpost.php?p=439437 and bump demo/savegame version number due to a change in the size of the spriteext struct
git-svn-id: https://svn.eduke32.com/eduke32@328 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-05 06:54:22 +00:00
terminx
f24ac5dd86 Check file availability before calling the hightile substitution functions
git-svn-id: https://svn.eduke32.com/eduke32@326 1a8010ca-5511-0410-912e-c29ae57300e0
2006-10-31 18:32:29 +00:00
terminx
d1bff5a20b spritecol
git-svn-id: https://svn.eduke32.com/eduke32@325 1a8010ca-5511-0410-912e-c29ae57300e0
2006-10-30 01:50:52 +00:00
terminx
59f5ab835f Fix building without GL and Polymost
git-svn-id: https://svn.eduke32.com/eduke32@324 1a8010ca-5511-0410-912e-c29ae57300e0
2006-10-29 20:18:04 +00:00
Plagman
815c646e85 Take a look at your last sky, guessing you won't have the time to fullbright. (wtf)
git-svn-id: https://svn.eduke32.com/eduke32@320 1a8010ca-5511-0410-912e-c29ae57300e0
2006-10-19 23:51:44 +00:00
Plagman
874e32a3a5 Iron fingers stab the desert SKIES !
git-svn-id: https://svn.eduke32.com/eduke32@316 1a8010ca-5511-0410-912e-c29ae57300e0
2006-10-18 03:59:28 +00:00
Plagman
fb8c39689e Fixed bottom walls switch and improved texture coordinate generation.
git-svn-id: https://svn.eduke32.com/eduke32@315 1a8010ca-5511-0410-912e-c29ae57300e0
2006-10-17 01:14:20 +00:00
terminx
96c035d63b Added a quote message for DNMONSTERS, fixed a MSVC compile error
git-svn-id: https://svn.eduke32.com/eduke32@314 1a8010ca-5511-0410-912e-c29ae57300e0
2006-10-17 01:12:31 +00:00