Commit graph

152 commits

Author SHA1 Message Date
Plagman
3f5f1b8fb2 Corrected issues with detailmaps scaling, improved general model drawing performance and added support for using vertex arrays when drawing models (r_vertexarrays)
git-svn-id: https://svn.eduke32.com/eduke32@513 1a8010ca-5511-0410-912e-c29ae57300e0
2007-03-03 23:09:40 +00:00
Plagman
19719cf7fb Detail map scaling.
git-svn-id: https://svn.eduke32.com/eduke32@512 1a8010ca-5511-0410-912e-c29ae57300e0
2007-03-01 18:19:11 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Plagman
6dcdd0148a Animation, interpolation, fixed cliplanes, fixed map switching.
git-svn-id: https://svn.eduke32.com/eduke32@313 1a8010ca-5511-0410-912e-c29ae57300e0
2006-10-16 22:07:15 +00:00
Plagman
d91977d23f VC project
git-svn-id: https://svn.eduke32.com/eduke32@307 1a8010ca-5511-0410-912e-c29ae57300e0
2006-10-04 09:54:25 +00:00
terminx
d7a133eefd Whitespace cleanup
git-svn-id: https://svn.eduke32.com/eduke32@286 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-31 01:56:43 +00:00
terminx
138a4ab95f Makefile shite
git-svn-id: https://svn.eduke32.com/eduke32@285 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-31 01:54:23 +00:00
Plagman
0a0f399ba0 More Polymer (for win32 platform, still test code), added polymost.h for external access to some structs and funcs.
git-svn-id: https://svn.eduke32.com/eduke32@283 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-30 23:32:39 +00:00
Plagman
86cf42aa20 Another go at sorting, along with some polymer stuff.
git-svn-id: https://svn.eduke32.com/eduke32@278 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-29 01:58:59 +00:00
terminx
16f520f2a1 Fix for HUD model shading oddities
git-svn-id: https://svn.eduke32.com/eduke32@269 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-19 01:28:59 +00:00
terminx
55161d9044 Fix building with USE_OPENGL = 0 and POLYMOST = 1, because some people in the world are retarded and we don't want to give them a hard time.
git-svn-id: https://svn.eduke32.com/eduke32@260 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-07 20:08:59 +00:00
terminx
4918ba6fde Formatting fixes for build.c, config.c, engine.c and polymost.c plus some warning fixes from JonoF and some cfg file reading changes for the game
git-svn-id: https://svn.eduke32.com/eduke32@248 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-24 02:47:47 +00:00
terminx
2a1b4418ad Minor fixes
git-svn-id: https://svn.eduke32.com/eduke32@247 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-23 21:12:46 +00:00
Plagman
77b555a9c0 Alpha linear-filtered artifacts removed. Ditched the clean two-textures assembling process to just overwriting the fullbright texels (walls were in GL_ALWAYS and sprites are in LEQUAL). If any z-accuracy issues happen on fullbright pixels on sprites, I'll put it back.
git-svn-id: https://svn.eduke32.com/eduke32@246 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-23 16:03:43 +00:00
Plagman
59fbf83db5 git-svn-id: https://svn.eduke32.com/eduke32@244 1a8010ca-5511-0410-912e-c29ae57300e0 2006-07-22 22:52:24 +00:00
terminx
07562f737e git-svn-id: https://svn.eduke32.com/eduke32@240 1a8010ca-5511-0410-912e-c29ae57300e0 2006-07-22 04:33:33 +00:00
terminx
814a274d5f Change default texture filtering mode to GL_NEAREST and add a cfg file option for it to build
git-svn-id: https://svn.eduke32.com/eduke32@238 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-22 03:08:46 +00:00
Plagman
66e597ab4f Fixing last (hopefully) problems with fullbrights. E2 looks awesome now :)
git-svn-id: https://svn.eduke32.com/eduke32@237 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-22 02:54:22 +00:00
Plagman
6310806b44 git-svn-id: https://svn.eduke32.com/eduke32@235 1a8010ca-5511-0410-912e-c29ae57300e0 2006-07-22 02:32:03 +00:00
Plagman
c4cd9ca1ef git-svn-id: https://svn.eduke32.com/eduke32@231 1a8010ca-5511-0410-912e-c29ae57300e0 2006-07-21 22:06:08 +00:00
Plagman
793ae80fa8 Fullbright art sprites and walls. Hurray for red eyes.
git-svn-id: https://svn.eduke32.com/eduke32@228 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-21 21:53:31 +00:00
terminx
dd82035120 def file control over shading harshness
git-svn-id: https://svn.eduke32.com/eduke32@224 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-20 01:50:56 +00:00
terminx
ece23acfc6 I hate this game
git-svn-id: https://svn.eduke32.com/eduke32@223 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-19 17:35:11 +00:00
terminx
c120d9f915 git-svn-id: https://svn.eduke32.com/eduke32@218 1a8010ca-5511-0410-912e-c29ae57300e0 2006-07-13 03:16:51 +00:00
terminx
7a742f1646 Test cvars for shading stuff
git-svn-id: https://svn.eduke32.com/eduke32@213 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-06 18:23:06 +00:00
terminx
621da0a840 Mostly stuff from JonoF
git-svn-id: https://svn.eduke32.com/eduke32@212 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-06 06:18:18 +00:00
terminx
e9aca89385 Remove HUD model correction and more Polymost shading tweaks
git-svn-id: https://svn.eduke32.com/eduke32@211 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-05 02:05:39 +00:00
terminx
d93ed5b8cd git-svn-id: https://svn.eduke32.com/eduke32@209 1a8010ca-5511-0410-912e-c29ae57300e0 2006-07-04 19:01:10 +00:00
terminx
d826db409e git-svn-id: https://svn.eduke32.com/eduke32@208 1a8010ca-5511-0410-912e-c29ae57300e0 2006-07-04 05:46:38 +00:00
terminx
d25cf07e54 Getting closer
git-svn-id: https://svn.eduke32.com/eduke32@207 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-04 04:23:14 +00:00
terminx
a99b97689e More polymost shading stuff
git-svn-id: https://svn.eduke32.com/eduke32@206 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-04 00:46:24 +00:00
terminx
55fd4337b8 This is definitely getting very, very close
git-svn-id: https://svn.eduke32.com/eduke32@205 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-03 06:40:17 +00:00
terminx
450047627a Allow disabling of the HOM correction hack
git-svn-id: https://svn.eduke32.com/eduke32@204 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-02 21:25:33 +00:00
terminx
8b8cb97b77 git-svn-id: https://svn.eduke32.com/eduke32@203 1a8010ca-5511-0410-912e-c29ae57300e0 2006-07-02 20:43:26 +00:00
terminx
957a48fb23 Fullbright walls and sectors
git-svn-id: https://svn.eduke32.com/eduke32@202 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-02 19:38:22 +00:00
terminx
504cbf9b88 Fix building with Watcom and move the KenBuild test game stuff out of the engine source
git-svn-id: https://svn.eduke32.com/eduke32@201 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-02 17:33:49 +00:00
terminx
50474b8e5a Attempt to make Polymost look closer to the classic renderer in terms of shading and fix a couple of minor things I noticed in the game and editor
git-svn-id: https://svn.eduke32.com/eduke32@200 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-02 04:01:28 +00:00
terminx
42b4208d1e New startup window from JonoF + some other stuff
This was not at all pleasant to merge, and problems should be expected. ;)


git-svn-id: https://svn.eduke32.com/eduke32@194 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-01 01:40:18 +00:00
terminx
e73e8a9b9f Might as well make this a bit more proper
git-svn-id: https://svn.eduke32.com/eduke32@181 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-22 07:25:21 +00:00
terminx
ce4b067e65 Remove the ratio correction slider and replace it with a simple widescreen toggle
git-svn-id: https://svn.eduke32.com/eduke32@180 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-22 07:11:30 +00:00
terminx
76eb4ada1d Fix skill sounds when using JAudiolib instead of JFAud
git-svn-id: https://svn.eduke32.com/eduke32@179 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-22 01:05:56 +00:00
terminx
fe88c2d53f I just keep fucking with this
This seems to be the most accurate, even though I'm using the screen res instead of the viewing area res to calculate the ratio


git-svn-id: https://svn.eduke32.com/eduke32@178 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-21 01:57:32 +00:00
terminx
b0e41bde97 This seems more consistent.
git-svn-id: https://svn.eduke32.com/eduke32@177 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-21 01:36:28 +00:00
terminx
51ba738aa0 I guess this is right
git-svn-id: https://svn.eduke32.com/eduke32@175 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-21 00:05:50 +00:00
terminx
544bdae42a HUD model correction stuff
git-svn-id: https://svn.eduke32.com/eduke32@174 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-20 20:57:09 +00:00
terminx
c173d310ff Change ratio correction to always assume a ratio of 1.2. I like this better than how it worked before. Plagman, what say you?
git-svn-id: https://svn.eduke32.com/eduke32@172 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-20 14:31:24 +00:00
terminx
bfa46aa711 More weapon changes + don't apply ratio correction to HUD models (because people are whiners)
git-svn-id: https://svn.eduke32.com/eduke32@168 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-14 21:15:55 +00:00
terminx
c6bd11d7bd Mouses fixes for the editor
git-svn-id: https://svn.eduke32.com/eduke32@164 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-13 00:53:49 +00:00
terminx
66a36e564b Fix building without OpenGL support and rip out the DYNAMIC_OPENGL toggle
git-svn-id: https://svn.eduke32.com/eduke32@163 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-12 21:55:05 +00:00
terminx
dbd7df89de Couple of things from JonoF. Incidentally, they are commented out. This commit sucks. :D
git-svn-id: https://svn.eduke32.com/eduke32@118 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-26 19:32:18 +00:00
terminx
fc91618747 Make aspect ratio correction back into a ratio changing option rather than a FOV changing option, and default the correction level to maximum.
git-svn-id: https://svn.eduke32.com/eduke32@115 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-26 00:31:37 +00:00
terminx
0d411e468e Whitespace
git-svn-id: https://svn.eduke32.com/eduke32@109 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-24 19:04:22 +00:00
terminx
e51efc7b73 Changes from JonoF & dos2unix on all build src
git-svn-id: https://svn.eduke32.com/eduke32@99 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-23 06:44:19 +00:00
terminx
f07156156a Suppress cached skin/tex loading messages; fixes for compiler warnings
git-svn-id: https://svn.eduke32.com/eduke32@26 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-15 23:24:43 +00:00
Plagman
b53bf073cc git-svn-id: https://svn.eduke32.com/eduke32@16 1a8010ca-5511-0410-912e-c29ae57300e0 2006-04-15 04:32:51 +00:00
terminx
91e07aa8cb Ratio correction variable changes
git-svn-id: https://svn.eduke32.com/eduke32@13 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-15 04:06:04 +00:00
Plagman
ea14c3cc85 somewhat final code for the ratio correction and fov part. still using a placeholder instead of actual user-controlled value
git-svn-id: https://svn.eduke32.com/eduke32@12 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-15 03:39:33 +00:00
Plagman
32748e04ee no more shitty hardcoding, now the hardcoding is correct :p
git-svn-id: https://svn.eduke32.com/eduke32@10 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-15 02:19:04 +00:00
Plagman
bc72a9b140 git-svn-id: https://svn.eduke32.com/eduke32@9 1a8010ca-5511-0410-912e-c29ae57300e0 2006-04-15 02:10:48 +00:00
Plagman
ede257d7cf correcting hall of mirrors for great justice
git-svn-id: https://svn.eduke32.com/eduke32@8 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-15 01:50:19 +00:00
Plagman
47fc0bd0ad git-svn-id: https://svn.eduke32.com/eduke32@7 1a8010ca-5511-0410-912e-c29ae57300e0 2006-04-15 01:14:44 +00:00
Plagman
09f0c239b6 Importing source for great justice
git-svn-id: https://svn.eduke32.com/eduke32@5 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-13 20:47:06 +00:00