terminx
0ee75ced2a
Widescreen-friendly Mapster32 2D mode
...
git-svn-id: https://svn.eduke32.com/eduke32@1359 1a8010ca-5511-0410-912e-c29ae57300e0
2009-05-01 06:35:27 +00:00
terminx
f3fbf8d9a3
Add support for cvars of type 'double', fix vid_gamma/brightness/contrast cvars, save cvars to eduke32_binds.cfg at shutdown, better method for drawing the floor textures in Mapster32 2D mode, slightly more yellow/orange lights on fire/rockets/lasers/etc
...
git-svn-id: https://svn.eduke32.com/eduke32@1358 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-30 21:09:44 +00:00
terminx
493d621eb0
More cvar shit
...
git-svn-id: https://svn.eduke32.com/eduke32@1357 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-30 01:07:08 +00:00
terminx
d11e8789e3
git-svn-id: https://svn.eduke32.com/eduke32@1356 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-29 20:20:57 +00:00
terminx
30a649c86f
Some more cvar stuff
...
git-svn-id: https://svn.eduke32.com/eduke32@1355 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-29 19:43:51 +00:00
terminx
c222341417
Clean up polymost vars
...
git-svn-id: https://svn.eduke32.com/eduke32@1354 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-29 07:47:10 +00:00
terminx
e11dbd7428
Unify cvar handling between the engine and game sides of things
...
git-svn-id: https://svn.eduke32.com/eduke32@1352 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-29 06:20:07 +00:00
terminx
3938de1f22
test versions of new startup dialog images
...
git-svn-id: https://svn.eduke32.com/eduke32@1351 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-29 00:51:03 +00:00
terminx
ec0a8f2033
Modified priority system to use 6 priority levels instead of 3, added proper def syntax "specular" and "normal" which work identically to "detail" and "glow" for defining normals and specular maps (defining these with pals 100 and 101 will no longer work)
...
git-svn-id: https://svn.eduke32.com/eduke32@1350 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-28 22:56:43 +00:00
helixhorned
c6ed542a98
various input enhancements for mapster32
...
git-svn-id: https://svn.eduke32.com/eduke32@1348 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-26 20:51:00 +00:00
plagman
5a090e84bc
Couple of fixes for corrupt maps.
...
git-svn-id: https://svn.eduke32.com/eduke32@1347 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-26 17:47:08 +00:00
terminx
7c036eb073
Remove jmact/types.h in favor of standardized inttypes.h stuff
...
git-svn-id: https://svn.eduke32.com/eduke32@1346 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-26 05:57:42 +00:00
terminx
26ca7e7fc0
Sprite cstat 16384: invisible w/ shadows
...
this also adds shadows for the player when in first person
git-svn-id: https://svn.eduke32.com/eduke32@1343 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-24 04:02:39 +00:00
terminx
b7b016383f
Sector effector based light sources, basic Mapster32 light support, additional sprite/model alpha control, sprite selection in Mapster32 3D mode with Polymer
...
git-svn-id: https://svn.eduke32.com/eduke32@1341 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-24 02:53:50 +00:00
terminx
9462a17ae7
git-svn-id: https://svn.eduke32.com/eduke32@1340 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-23 21:08:48 +00:00
terminx
4d240d1bea
git-svn-id: https://svn.eduke32.com/eduke32@1339 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-23 17:44:55 +00:00
terminx
dbb24affe9
git-svn-id: https://svn.eduke32.com/eduke32@1338 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-23 09:30:10 +00:00
terminx
3449ba8bef
Revision 1337: fixes the crash on exit with polymer on win32
...
that's pretty l33t, right?
git-svn-id: https://svn.eduke32.com/eduke32@1337 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-23 09:09:41 +00:00
terminx
dba312e61b
git-svn-id: https://svn.eduke32.com/eduke32@1336 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-23 07:09:24 +00:00
plagman
e48c4c2c87
Really fix concave relative slopes.
...
git-svn-id: https://svn.eduke32.com/eduke32@1335 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-19 18:00:51 +00:00
plagman
9241ab974a
Don't step over the bounds of the plane buffer in buffertoplane (now computeplane).
...
git-svn-id: https://svn.eduke32.com/eduke32@1334 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-19 17:23:07 +00:00
plagman
711db577ab
Fixes a texturing bug with a combination of relative texturing and concave sectors.
...
git-svn-id: https://svn.eduke32.com/eduke32@1333 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-19 17:03:18 +00:00
plagman
ed7157f1e5
Reverts part of 1331 and misc. fixes.
...
git-svn-id: https://svn.eduke32.com/eduke32@1332 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-19 09:49:27 +00:00
terminx
779eda41da
git-svn-id: https://svn.eduke32.com/eduke32@1331 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-17 18:34:55 +00:00
terminx
45897cf581
Fixes a stupid mistake I made and changes mem* calls to Bmem* for consistency with the rest of the codebase
...
git-svn-id: https://svn.eduke32.com/eduke32@1330 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-16 06:49:29 +00:00
terminx
b1704e8407
Nothing important
...
git-svn-id: https://svn.eduke32.com/eduke32@1329 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-16 06:41:24 +00:00
plagman
6dba1ba1ed
Few fixes for the visibility checks.
...
git-svn-id: https://svn.eduke32.com/eduke32@1328 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-16 06:31:19 +00:00
terminx
80e2ec8edf
git-svn-id: https://svn.eduke32.com/eduke32@1325 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-14 22:55:32 +00:00
plagman
5b3524d621
Message log cleanup for GPU program compilation and removed a GL error.
...
git-svn-id: https://svn.eduke32.com/eduke32@1324 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-14 13:58:38 +00:00
plagman
2ac7c2dc1e
ATI fixes. (sigh)
...
git-svn-id: https://svn.eduke32.com/eduke32@1323 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-14 12:37:44 +00:00
plagman
b006c85790
Update the TODO list and fix the light leaking fix.
...
git-svn-id: https://svn.eduke32.com/eduke32@1322 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-14 08:39:13 +00:00
plagman
14108f3be9
Don't parse closed sectors.
...
git-svn-id: https://svn.eduke32.com/eduke32@1320 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-14 07:38:45 +00:00
plagman
dfd2a379b1
Don't propagate light through sealed portals.
...
git-svn-id: https://svn.eduke32.com/eduke32@1318 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-14 07:01:55 +00:00
terminx
8cd5bb68d0
git-svn-id: https://svn.eduke32.com/eduke32@1317 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-14 04:20:37 +00:00
terminx
3d7a6a3572
git-svn-id: https://svn.eduke32.com/eduke32@1316 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-13 06:53:03 +00:00
terminx
22a7ec1b3b
git-svn-id: https://svn.eduke32.com/eduke32@1315 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-13 06:01:50 +00:00
plagman
f1f13f5eb6
Fix for E3L4 (and possible others) corrupt sectors.
...
git-svn-id: https://svn.eduke32.com/eduke32@1314 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-12 22:27:49 +00:00
plagman
6d5571f320
Couple of cleanups.
...
git-svn-id: https://svn.eduke32.com/eduke32@1313 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-12 22:23:47 +00:00
terminx
ec71eebecb
git-svn-id: https://svn.eduke32.com/eduke32@1312 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-12 21:52:49 +00:00
plagman
39b1908be8
Sanitize wall computation code a bit and fixes a problem with crossing slopes (E1L3 vertical security doors and E2L4 starting door).
...
git-svn-id: https://svn.eduke32.com/eduke32@1311 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-12 19:26:02 +00:00
plagman
b47ad2bde2
Works around a precision bug that would cause the sloped floor in the E1L1 bathroom vent to have a wrong normal matrix.
...
git-svn-id: https://svn.eduke32.com/eduke32@1310 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-12 17:37:35 +00:00
plagman
9152cf3b40
Fix detail mapping on ATI cards.
...
git-svn-id: https://svn.eduke32.com/eduke32@1309 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-12 17:29:50 +00:00
plagman
26a9a58af3
Adds a bunch of cvars to tweak polymer.
...
git-svn-id: https://svn.eduke32.com/eduke32@1307 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-12 17:14:18 +00:00
plagman
82153bd763
Clean up a bit of dead code.
...
git-svn-id: https://svn.eduke32.com/eduke32@1306 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-12 16:39:54 +00:00
plagman
b7449a87b9
Light priority system.
...
git-svn-id: https://svn.eduke32.com/eduke32@1305 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-12 16:28:20 +00:00
plagman
567c0bdd86
Per-frame lights cleanup.
...
git-svn-id: https://svn.eduke32.com/eduke32@1304 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-12 13:51:43 +00:00
plagman
80670cac29
Game-tic lights and recon car headlights.
...
git-svn-id: https://svn.eduke32.com/eduke32@1303 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-12 13:02:36 +00:00
plagman
6477b236b2
Minshade and maxshade parameters for dynamic lighthacks.
...
git-svn-id: https://svn.eduke32.com/eduke32@1302 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-12 12:32:50 +00:00
plagman
35691be969
Fixes models after modeswitches on Windows and removes warnings.
...
git-svn-id: https://svn.eduke32.com/eduke32@1301 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-12 10:46:31 +00:00
plagman
b73cc663eb
Correctly invalidate the GPU programs and skybox VBO on modeswitches.
...
git-svn-id: https://svn.eduke32.com/eduke32@1300 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-12 09:57:25 +00:00
plagman
652262626a
Polymost-like shading.
...
git-svn-id: https://svn.eduke32.com/eduke32@1298 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-11 18:01:39 +00:00
helixhorned
ba394b0bcf
added some mapster32 config vars; fixed mapster32 crash in linux; DEBUGANYWAY for Makefiles
...
git-svn-id: https://svn.eduke32.com/eduke32@1296 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-07 18:56:22 +00:00
plagman
e9821ccb35
That looks more correct.
...
git-svn-id: https://svn.eduke32.com/eduke32@1295 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-02 17:49:10 +00:00
plagman
2994614501
Reduce near-clipping range and fixes a bug with one-way walls that are also map limits.
...
git-svn-id: https://svn.eduke32.com/eduke32@1294 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-02 17:17:24 +00:00
plagman
68cad843f6
Adds pr_maxlightpasses cvar.
...
git-svn-id: https://svn.eduke32.com/eduke32@1293 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-01 18:52:15 +00:00
plagman
82605aa44c
Don't prepare shadows of lights that aren't in view.
...
git-svn-id: https://svn.eduke32.com/eduke32@1292 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-01 18:34:11 +00:00
plagman
8181b1141d
Fixes the bug where the renderer would get in "external view" mode on slopes.
...
git-svn-id: https://svn.eduke32.com/eduke32@1291 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-01 18:11:01 +00:00
plagman
a4c5af4d37
Fixes shadow bug.
...
git-svn-id: https://svn.eduke32.com/eduke32@1290 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-01 17:58:22 +00:00
plagman
6209446b1f
Lighthacks.
...
git-svn-id: https://svn.eduke32.com/eduke32@1288 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-31 23:23:06 +00:00
plagman
13033e9c29
Fix mirrors and model animation.
...
git-svn-id: https://svn.eduke32.com/eduke32@1287 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-29 21:08:52 +00:00
plagman
74a9338243
E1L2 door fix.
...
git-svn-id: https://svn.eduke32.com/eduke32@1286 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-29 19:31:24 +00:00
plagman
3d6b06e958
pr_specularoverride and less retarded default values for the parallax overrides.
...
git-svn-id: https://svn.eduke32.com/eduke32@1285 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-29 17:14:41 +00:00
plagman
9b4dae022d
4-step Iterative parallax mapping, parallaxscale and parallaxbias DEF tokens for normal maps, support for floating-point cvars, pr_overrideparallax cvar to fine-tune the scale and bias settings.
...
git-svn-id: https://svn.eduke32.com/eduke32@1284 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-29 15:16:33 +00:00
plagman
73149ef78b
Faster normal mapping.
...
git-svn-id: https://svn.eduke32.com/eduke32@1283 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-28 18:25:30 +00:00
plagman
13243ffeae
Tie mirror map reflections to specular map texels.
...
git-svn-id: https://svn.eduke32.com/eduke32@1282 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-28 16:50:46 +00:00
plagman
33d75c0cc7
Specular maps (pal 101).
...
git-svn-id: https://svn.eduke32.com/eduke32@1281 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-28 16:14:10 +00:00
plagman
fe8775cb21
Sanitize texture coordinate usage in the GPU program. That allows normal and glow maps to benefit from the diffuse map scale.
...
git-svn-id: https://svn.eduke32.com/eduke32@1280 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-28 15:54:25 +00:00
plagman
83fc79300e
Adds specpower and specfactor tokens for model skins.
...
git-svn-id: https://svn.eduke32.com/eduke32@1279 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-28 15:19:44 +00:00
plagman
50af4984ad
Adds specpower and specfactor definition tokens for textures.
...
git-svn-id: https://svn.eduke32.com/eduke32@1278 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-28 12:14:37 +00:00
plagman
df26ab3c7d
Sanitize terminology a bit.
...
git-svn-id: https://svn.eduke32.com/eduke32@1277 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-28 11:43:16 +00:00
terminx
8f1ae6bacc
git-svn-id: https://svn.eduke32.com/eduke32@1275 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-27 21:54:55 +00:00
plagman
6e13967287
Hack to avoid horizontal shadow maps.
...
git-svn-id: https://svn.eduke32.com/eduke32@1274 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-27 13:46:40 +00:00
plagman
0cd0afa945
Cast light on models and self-shadowing.
...
git-svn-id: https://svn.eduke32.com/eduke32@1273 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-27 12:56:42 +00:00
plagman
1d2a7c2982
Don't mirror stuff when drawing the shadow maps and don't cast shadows on models for now.
...
git-svn-id: https://svn.eduke32.com/eduke32@1272 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-27 11:39:10 +00:00
plagman
5a843f0fd1
Sprite and model shadows.
...
Also fixes a bug with shadows and mirrors.
git-svn-id: https://svn.eduke32.com/eduke32@1271 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-27 10:39:18 +00:00
plagman
f285ad903c
Fix blinkiness.
...
git-svn-id: https://svn.eduke32.com/eduke32@1270 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-26 17:45:12 +00:00
plagman
88c7967d02
Shadow fix.
...
git-svn-id: https://svn.eduke32.com/eduke32@1269 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-26 16:41:06 +00:00
plagman
ed3198b65f
Shadows.
...
git-svn-id: https://svn.eduke32.com/eduke32@1268 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-26 16:32:00 +00:00
plagman
b2e3b85e6d
Spotlight frustum caculation and culling.
...
git-svn-id: https://svn.eduke32.com/eduke32@1267 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-25 21:14:51 +00:00
plagman
bd69a9a286
Spotlights.
...
git-svn-id: https://svn.eduke32.com/eduke32@1266 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-25 19:48:27 +00:00
plagman
53bbdc9cd7
Optimize lighting model a bit.
...
git-svn-id: https://svn.eduke32.com/eduke32@1265 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-25 13:23:35 +00:00
plagman
a4070de923
Corrects E1L7 rotating lava bug and minor indentation quirk.
...
git-svn-id: https://svn.eduke32.com/eduke32@1264 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-24 16:25:20 +00:00
plagman
6e2bac1c92
Little multi-light optimization.
...
git-svn-id: https://svn.eduke32.com/eduke32@1263 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-24 10:24:33 +00:00
plagman
a11513c907
Fixes a problem where mirrors and masked walls wouldn't display under certain circumstances.
...
git-svn-id: https://svn.eduke32.com/eduke32@1262 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-24 10:09:53 +00:00
plagman
8a2916c2cc
Fixes a texture bug.
...
git-svn-id: https://svn.eduke32.com/eduke32@1261 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-24 09:37:30 +00:00
plagman
b5c4b521f7
Render targets, FBO mirrors with normal displacement, fix for masked walls with animated walls, various cleanups.
...
git-svn-id: https://svn.eduke32.com/eduke32@1255 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-23 14:18:20 +00:00
plagman
68866d606e
Do a depth only pass before actual rendering and only occlusion check for map boundary sectors.
...
git-svn-id: https://svn.eduke32.com/eduke32@1252 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-18 15:05:58 +00:00
terminx
fb8ccf22af
git-svn-id: https://svn.eduke32.com/eduke32@1245 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-14 02:55:39 +00:00
plagman
f982323443
Bump mapping (hardcoded to palette 100 for now, will do the defs glue later to make it more convenient to package the source for public releases).
...
TODO: use the inverse TBN on a world-space light vector instead of transforming every fragment interpolated normal into eye-space with the TBN * the view matrix.
git-svn-id: https://svn.eduke32.com/eduke32@1244 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-13 15:18:46 +00:00
plagman
62d3116325
Reorganize point light GPU program a bit.
...
git-svn-id: https://svn.eduke32.com/eduke32@1243 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-12 21:20:01 +00:00
plagman
8bdb217ca1
Multi-pass shading and correct a light culling bug.
...
git-svn-id: https://svn.eduke32.com/eduke32@1242 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-12 13:51:30 +00:00
plagman
09ef2dae34
Calculate inverse TBN matrix for planes.
...
git-svn-id: https://svn.eduke32.com/eduke32@1241 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-11 13:23:05 +00:00
plagman
e158a9e71c
Basic model bounding sphere light culling and corrected the bounding sphere calculation algorithm. Note that light still leaks to models/sprites on overlapping sectors, but not on the sectors themselves.
...
git-svn-id: https://svn.eduke32.com/eduke32@1240 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-10 17:49:34 +00:00
plagman
512bb9a5ab
MD3 normals.
...
git-svn-id: https://svn.eduke32.com/eduke32@1239 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-10 14:30:34 +00:00
plagman
9995cc46c2
Repack model geometry as floats (preliminary work for model normals).
...
git-svn-id: https://svn.eduke32.com/eduke32@1238 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-10 12:08:33 +00:00
plagman
dec9c2cbac
Model bounding box and sphere computation.
...
git-svn-id: https://svn.eduke32.com/eduke32@1237 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-10 09:26:25 +00:00
plagman
e41322dd47
Sprite lighting.
...
git-svn-id: https://svn.eduke32.com/eduke32@1235 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-08 22:59:54 +00:00
plagman
7d7a705af9
Work around a precision bug that would cause colinear wall vectors to only be "almost" colinear, causing the cross product to be wrongly validated and resulting in bogus normal vectors for some surfaces.
...
git-svn-id: https://svn.eduke32.com/eduke32@1234 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-08 21:07:40 +00:00
plagman
ad1091b2df
Light culling and proper diffuse material.
...
git-svn-id: https://svn.eduke32.com/eduke32@1233 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-08 20:38:51 +00:00
plagman
3da52aede8
Update TODO list to current state of things.
...
git-svn-id: https://svn.eduke32.com/eduke32@1232 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-03 21:12:17 +00:00
plagman
7f28f6a9bd
Remove unused array weighing an assload of bytes in the .bss segment.
...
git-svn-id: https://svn.eduke32.com/eduke32@1231 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-03 14:01:14 +00:00
terminx
39607e84b1
nothing special
...
git-svn-id: https://svn.eduke32.com/eduke32@1230 1a8010ca-5511-0410-912e-c29ae57300e0
2009-02-28 07:44:54 +00:00
terminx
151189efab
new version of astyle
...
git-svn-id: https://svn.eduke32.com/eduke32@1229 1a8010ca-5511-0410-912e-c29ae57300e0
2009-02-19 16:47:54 +00:00
terminx
4ff6023244
git-svn-id: https://svn.eduke32.com/eduke32@1228 1a8010ca-5511-0410-912e-c29ae57300e0
2009-02-19 09:39:19 +00:00
plagman
dec76c4907
Glue code between internal light source management and the game.
...
git-svn-id: https://svn.eduke32.com/eduke32@1227 1a8010ca-5511-0410-912e-c29ae57300e0
2009-02-14 14:31:58 +00:00
plagman
6fe53806c7
Fixes a crash when disabling high-res texture replacements.
...
git-svn-id: https://svn.eduke32.com/eduke32@1226 1a8010ca-5511-0410-912e-c29ae57300e0
2009-02-13 13:10:01 +00:00
plagman
ee105f1883
Proper hightile sprite calculation (fixes HRP explosion size).
...
git-svn-id: https://svn.eduke32.com/eduke32@1225 1a8010ca-5511-0410-912e-c29ae57300e0
2009-02-13 13:05:56 +00:00
plagman
46aa3d439a
Propagate build/polymost locals so that polymost_dorotatesprite can correctly draw HUD models on top of polymer.
...
git-svn-id: https://svn.eduke32.com/eduke32@1224 1a8010ca-5511-0410-912e-c29ae57300e0
2009-02-13 12:30:08 +00:00
plagman
6f945cdb58
Correct calculation of vertical aiming angle.
...
git-svn-id: https://svn.eduke32.com/eduke32@1223 1a8010ca-5511-0410-912e-c29ae57300e0
2009-02-13 12:16:21 +00:00
plagman
dba29b0fbe
Shader Model 3 "compatibility" for multilights. The light count will be arbitrarily limited and performance will be suboptimal, but it should work.
...
git-svn-id: https://svn.eduke32.com/eduke32@1222 1a8010ca-5511-0410-912e-c29ae57300e0
2009-02-05 08:56:59 +00:00
terminx
768f3ad6d6
git-svn-id: https://svn.eduke32.com/eduke32@1221 1a8010ca-5511-0410-912e-c29ae57300e0
2009-02-02 01:49:14 +00:00
terminx
8f0b228f1a
clean out tree
...
git-svn-id: https://svn.eduke32.com/eduke32@1220 1a8010ca-5511-0410-912e-c29ae57300e0
2009-01-31 00:02:14 +00:00
plagman
03b6403312
Very tentative attempt at backwards-compatible multi-lights.
...
git-svn-id: https://svn.eduke32.com/eduke32@1219 1a8010ca-5511-0410-912e-c29ae57300e0
2009-01-23 10:59:18 +00:00
terminx
c7d54527ca
git-svn-id: https://svn.eduke32.com/eduke32@1218 1a8010ca-5511-0410-912e-c29ae57300e0
2009-01-21 22:43:44 +00:00
terminx
f3e66dddcb
git-svn-id: https://svn.eduke32.com/eduke32@1217 1a8010ca-5511-0410-912e-c29ae57300e0
2009-01-19 06:41:28 +00:00
terminx
13f108ddd5
git-svn-id: https://svn.eduke32.com/eduke32@1216 1a8010ca-5511-0410-912e-c29ae57300e0
2009-01-19 00:58:39 +00:00
plagman
91c6cf8f7a
Multiple light sources and repair the indentation fuckup caused by the transition to normalized integer types.
...
git-svn-id: https://svn.eduke32.com/eduke32@1212 1a8010ca-5511-0410-912e-c29ae57300e0
2009-01-16 05:03:12 +00:00
plagman
d1b9aa4c5c
I'm about to change the core lighting code pretty deeply and I'll be happy to have this revision as a working backup after I screw everything up.
...
git-svn-id: https://svn.eduke32.com/eduke32@1211 1a8010ca-5511-0410-912e-c29ae57300e0
2009-01-14 14:13:51 +00:00
terminx
0ae4eac11e
git-svn-id: https://svn.eduke32.com/eduke32@1210 1a8010ca-5511-0410-912e-c29ae57300e0
2009-01-14 10:40:30 +00:00
terminx
18896fd0cd
git-svn-id: https://svn.eduke32.com/eduke32@1208 1a8010ca-5511-0410-912e-c29ae57300e0
2009-01-13 12:23:18 +00:00
terminx
16084e989e
git-svn-id: https://svn.eduke32.com/eduke32@1207 1a8010ca-5511-0410-912e-c29ae57300e0
2009-01-13 04:40:56 +00:00
terminx
9095a4911d
git-svn-id: https://svn.eduke32.com/eduke32@1206 1a8010ca-5511-0410-912e-c29ae57300e0
2009-01-10 07:38:50 +00:00
terminx
d6914ed108
ass rape
...
git-svn-id: https://svn.eduke32.com/eduke32@1205 1a8010ca-5511-0410-912e-c29ae57300e0
2009-01-09 09:29:17 +00:00
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
68ab9ebeaa
git-svn-id: https://svn.eduke32.com/eduke32@1201 1a8010ca-5511-0410-912e-c29ae57300e0
2009-01-05 14:43:12 +00:00
terminx
0614f0b64c
I bet this breaks something
...
git-svn-id: https://svn.eduke32.com/eduke32@1200 1a8010ca-5511-0410-912e-c29ae57300e0
2009-01-04 22:22:33 +00:00
terminx
a3ed643794
git-svn-id: https://svn.eduke32.com/eduke32@1199 1a8010ca-5511-0410-912e-c29ae57300e0
2009-01-03 22:47:16 +00:00
terminx
475d582283
git-svn-id: https://svn.eduke32.com/eduke32@1198 1a8010ca-5511-0410-912e-c29ae57300e0
2009-01-02 01:03:41 +00:00
terminx
ac7607a8bb
git-svn-id: https://svn.eduke32.com/eduke32@1197 1a8010ca-5511-0410-912e-c29ae57300e0
2008-12-31 09:07:49 +00:00
terminx
695829d357
git-svn-id: https://svn.eduke32.com/eduke32@1196 1a8010ca-5511-0410-912e-c29ae57300e0
2008-12-30 03:41:21 +00:00
terminx
e56fc49d8e
git-svn-id: https://svn.eduke32.com/eduke32@1195 1a8010ca-5511-0410-912e-c29ae57300e0
2008-12-28 23:27:24 +00:00
terminx
380ad7f536
git-svn-id: https://svn.eduke32.com/eduke32@1194 1a8010ca-5511-0410-912e-c29ae57300e0
2008-12-25 12:56:25 +00:00
terminx
90ff26bdc1
git-svn-id: https://svn.eduke32.com/eduke32@1193 1a8010ca-5511-0410-912e-c29ae57300e0
2008-12-25 09:43:00 +00:00
terminx
ab5db367f1
git-svn-id: https://svn.eduke32.com/eduke32@1191 1a8010ca-5511-0410-912e-c29ae57300e0
2008-12-24 09:56:35 +00:00
terminx
a8451444ef
git-svn-id: https://svn.eduke32.com/eduke32@1190 1a8010ca-5511-0410-912e-c29ae57300e0
2008-12-23 23:27:53 +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
cd920963e3
git-svn-id: https://svn.eduke32.com/eduke32@1181 1a8010ca-5511-0410-912e-c29ae57300e0
2008-12-13 21:01:33 +00:00
terminx
ac36ad3943
git-svn-id: https://svn.eduke32.com/eduke32@1179 1a8010ca-5511-0410-912e-c29ae57300e0
2008-12-13 07:23:13 +00:00
terminx
8ec01d5ea2
git-svn-id: https://svn.eduke32.com/eduke32@1178 1a8010ca-5511-0410-912e-c29ae57300e0
2008-12-10 11:36:53 +00:00
terminx
6f514cf91e
git-svn-id: https://svn.eduke32.com/eduke32@1177 1a8010ca-5511-0410-912e-c29ae57300e0
2008-12-08 02:04:20 +00:00
terminx
fbb3f390d0
git-svn-id: https://svn.eduke32.com/eduke32@1176 1a8010ca-5511-0410-912e-c29ae57300e0
2008-12-04 00:31:16 +00:00
qbix79
2e18686daa
Fix warnings and compilation (and possible crashes on 64 bit due to wrong protyping messing up the stack).
...
git-svn-id: https://svn.eduke32.com/eduke32@1175 1a8010ca-5511-0410-912e-c29ae57300e0
2008-12-03 11:07:01 +00:00
qbix79
5f7dfc27b7
Fix warning and correct line ends.
...
git-svn-id: https://svn.eduke32.com/eduke32@1174 1a8010ca-5511-0410-912e-c29ae57300e0
2008-12-03 11:05:16 +00:00
terminx
c94b4d63cb
separate objects for polymost.c/mdsprite.c/hightile.c and friends
...
git-svn-id: https://svn.eduke32.com/eduke32@1173 1a8010ca-5511-0410-912e-c29ae57300e0
2008-12-02 10:44:39 +00:00
terminx
b2274e1968
git-svn-id: https://svn.eduke32.com/eduke32@1172 1a8010ca-5511-0410-912e-c29ae57300e0
2008-12-01 13:44:46 +00:00
terminx
1aed7f53f8
git-svn-id: https://svn.eduke32.com/eduke32@1171 1a8010ca-5511-0410-912e-c29ae57300e0
2008-12-01 10:44:18 +00:00
plagman
f062dafaed
Light my fire.
...
git-svn-id: https://svn.eduke32.com/eduke32@1170 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-29 20:16:19 +00:00
plagman
0c869a2254
Fullbright/glow material bit.
...
git-svn-id: https://svn.eduke32.com/eduke32@1169 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-27 23:00:57 +00:00
plagman
b50b229c1d
Detail map material bit.
...
git-svn-id: https://svn.eduke32.com/eduke32@1168 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-27 22:26:46 +00:00
plagman
f0c5278293
Added model animation interpolation in the material system.
...
git-svn-id: https://svn.eduke32.com/eduke32@1167 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-27 16:19:24 +00:00
terminx
0cf8a909d4
git-svn-id: https://svn.eduke32.com/eduke32@1166 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-26 22:51:56 +00:00
plagman
2ac3fe6312
Extends materials to mdsprites and also fixes a bug where mdsprites got the wrong pal.
...
git-svn-id: https://svn.eduke32.com/eduke32@1165 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-26 19:31:26 +00:00
plagman
b60ee26a25
Moved sprite flipping in the material code and implemented polymost texture scaling.
...
git-svn-id: https://svn.eduke32.com/eduke32@1164 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-26 17:24:08 +00:00
plagman
e884cef8df
Factor the material code that's all over the place.
...
git-svn-id: https://svn.eduke32.com/eduke32@1163 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-26 14:22:07 +00:00
plagman
b8c7125222
Diffuse map bit and _prprograminfo for storing possible uniform and attributes locations.
...
git-svn-id: https://svn.eduke32.com/eduke32@1162 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-26 08:37:14 +00:00
terminx
3faee810e5
git-svn-id: https://svn.eduke32.com/eduke32@1161 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-26 08:14:23 +00:00
plagman
31c1db57d7
Remove C99-style initializers from the polymer program bits.
...
git-svn-id: https://svn.eduke32.com/eduke32@1160 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-26 07:48:24 +00:00
terminx
a562568daf
git-svn-id: https://svn.eduke32.com/eduke32@1159 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-26 02:43:47 +00:00
terminx
52cf05a012
git-svn-id: https://svn.eduke32.com/eduke32@1158 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-25 15:43:36 +00:00
terminx
7e15a10908
git-svn-id: https://svn.eduke32.com/eduke32@1157 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-25 15:23:48 +00:00
terminx
9b7c2b2c4e
hashes for texcache
...
git-svn-id: https://svn.eduke32.com/eduke32@1156 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-25 14:35:33 +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
plagman
0f385d3021
Material/program validation and diffuse modulation bit.
...
git-svn-id: https://svn.eduke32.com/eduke32@1154 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-25 11:32:49 +00:00
plagman
bd98e3676b
In a material world...
...
git-svn-id: https://svn.eduke32.com/eduke32@1153 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-25 10:42:22 +00:00
plagman
08923413f2
Polymer GPU program management stuff.
...
git-svn-id: https://svn.eduke32.com/eduke32@1152 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-25 09:07:38 +00:00
terminx
c95e53c2d0
git-svn-id: https://svn.eduke32.com/eduke32@1151 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-24 11:31:05 +00:00
terminx
26a97cb6b7
git-svn-id: https://svn.eduke32.com/eduke32@1150 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-24 09:22:07 +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
5d194eebfb
Some networking updates from the SW source
...
git-svn-id: https://svn.eduke32.com/eduke32@1141 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-17 00:38:26 +00:00
plagman
ebe4165204
glbuild support for ARB_vertex_shader
...
git-svn-id: https://svn.eduke32.com/eduke32@1140 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-16 22:56:55 +00:00
plagman
fa6d8548aa
Added glbuild support for ARB_shader_objects and fixed ARB_occlusion_query.
...
git-svn-id: https://svn.eduke32.com/eduke32@1139 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-16 21:46:11 +00:00
terminx
467a72226a
git-svn-id: https://svn.eduke32.com/eduke32@1138 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-16 00:48:02 +00:00
terminx
a8533b9468
git-svn-id: https://svn.eduke32.com/eduke32@1137 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-15 05:18:07 +00:00
terminx
a0b49f13e4
git-svn-id: https://svn.eduke32.com/eduke32@1136 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-14 19:55:48 +00:00
terminx
1636f68c0d
git-svn-id: https://svn.eduke32.com/eduke32@1133 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-14 11:04:22 +00:00
terminx
d79f544c22
Support for JFDuke style network play setup with the duke3d_w32 networking code
...
git-svn-id: https://svn.eduke32.com/eduke32@1132 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-14 08:22:57 +00:00
terminx
d632500b7d
git-svn-id: https://svn.eduke32.com/eduke32@1131 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-13 13:58:53 +00:00
terminx
95ea7c8146
Master/slave code
...
git-svn-id: https://svn.eduke32.com/eduke32@1130 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-13 11:45:34 +00:00
terminx
622ab399d5
git-svn-id: https://svn.eduke32.com/eduke32@1129 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-12 22:28:02 +00:00
terminx
3456c1e909
git-svn-id: https://svn.eduke32.com/eduke32@1128 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-12 04:16:41 +00:00
terminx
5469140ff7
git-svn-id: https://svn.eduke32.com/eduke32@1127 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-11 14:58:02 +00:00
terminx
7aa2930514
git-svn-id: https://svn.eduke32.com/eduke32@1126 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-11 14:48:59 +00:00
terminx
5be3b76e85
git-svn-id: https://svn.eduke32.com/eduke32@1125 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-11 13:45:12 +00:00
terminx
54128e127c
Enet networking patch from a random dude on IRC, with the addition of my own port of the "unstable" networking code from duke3d_w32 (which is what is actually used in Internet play)
...
git-svn-id: https://svn.eduke32.com/eduke32@1124 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-11 13:24:05 +00:00
helixhorned
e500410b5d
Mapster32: don't ask for confirmation when joining a sector with itself
...
git-svn-id: https://svn.eduke32.com/eduke32@1123 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-09 13:47:27 +00:00
terminx
81bbb7eab8
git-svn-id: https://svn.eduke32.com/eduke32@1122 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-09 11:09:42 +00:00
terminx
4efb91b376
git-svn-id: https://svn.eduke32.com/eduke32@1121 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-05 11:49:13 +00:00
terminx
b0ef9c1c2f
git-svn-id: https://svn.eduke32.com/eduke32@1120 1a8010ca-5511-0410-912e-c29ae57300e0
2008-10-31 10:08:51 +00:00
terminx
a5eb2ea255
Added filename based loading of mids and oggs for user map music and fixed some memory corruption which occurred in the CON compiler when it couldn't find a definition
...
git-svn-id: https://svn.eduke32.com/eduke32@1119 1a8010ca-5511-0410-912e-c29ae57300e0
2008-10-27 10:36:13 +00:00
hnt_ts
db38400dab
Reduce warnings
...
git-svn-id: https://svn.eduke32.com/eduke32@1118 1a8010ca-5511-0410-912e-c29ae57300e0
2008-10-25 11:21:50 +00:00
terminx
84c763f544
git-svn-id: https://svn.eduke32.com/eduke32@1117 1a8010ca-5511-0410-912e-c29ae57300e0
2008-10-25 03:20:41 +00:00
terminx
f070a571d9
git-svn-id: https://svn.eduke32.com/eduke32@1116 1a8010ca-5511-0410-912e-c29ae57300e0
2008-10-25 02:32:57 +00:00
terminx
1d98974693
git-svn-id: https://svn.eduke32.com/eduke32@1115 1a8010ca-5511-0410-912e-c29ae57300e0
2008-10-24 09:36:54 +00:00
terminx
ed4c9d6e01
git-svn-id: https://svn.eduke32.com/eduke32@1114 1a8010ca-5511-0410-912e-c29ae57300e0
2008-10-24 09:20:38 +00:00
terminx
1a7365826c
git-svn-id: https://svn.eduke32.com/eduke32@1113 1a8010ca-5511-0410-912e-c29ae57300e0
2008-10-24 01:33:53 +00:00
hnt_ts
059a4f3513
Sync console commands
...
git-svn-id: https://svn.eduke32.com/eduke32@1112 1a8010ca-5511-0410-912e-c29ae57300e0
2008-10-23 20:19:30 +00:00
terminx
4f79e3223c
git-svn-id: https://svn.eduke32.com/eduke32@1111 1a8010ca-5511-0410-912e-c29ae57300e0
2008-10-22 07:30:06 +00:00
terminx
60f1d42a94
git-svn-id: https://svn.eduke32.com/eduke32@1110 1a8010ca-5511-0410-912e-c29ae57300e0
2008-10-22 04:14:30 +00:00
terminx
21fef3e053
SDL 1.3 support... install SDL 1.3 to /usr/local or edit Makefile and build/Makefile.shared to point to your copy of sdl-config
...
git-svn-id: https://svn.eduke32.com/eduke32@1109 1a8010ca-5511-0410-912e-c29ae57300e0
2008-10-20 12:33:29 +00:00
terminx
a7da07bcdf
git-svn-id: https://svn.eduke32.com/eduke32@1107 1a8010ca-5511-0410-912e-c29ae57300e0
2008-10-20 04:00:00 +00:00
terminx
d9867cfaaf
Moved build to a subdir underneath the eduke32 dir to avoid people trying to compile from the build src dir by mistake
...
git-svn-id: https://svn.eduke32.com/eduke32@1105 1a8010ca-5511-0410-912e-c29ae57300e0
2008-10-20 03:09:19 +00:00