Magnus Norddahl
8788a9e788
- Change all sky drawing code use to use the sky drawers
...
- Add support for drawing repeating skies in the sky drawers
- Add the old 4 column sky fade optimization to the 1 column variant (fixes speed regression when 4col was removed)
- Remove skyplane globals
- Remove walldraw code used to draw the old skies
2017-01-19 00:02:51 +01:00
Magnus Norddahl
55131a7a6d
Rename vissprite_t to VisibleSprite, convert it into a base class and lower all variables if possible. Remove unused fields and unions.
2017-01-16 05:26:22 +01:00
Magnus Norddahl
ca046d26c5
Make particle texture slightly higher quality
2017-01-13 16:12:43 +01:00
Magnus Norddahl
edd9b6c69c
Change the shape of the particle texture
2017-01-13 15:43:06 +01:00
Magnus Norddahl
e1506df8a6
Change globvis to be picked up from the r_light values in softpoly
2017-01-13 15:22:22 +01:00
Magnus Norddahl
9723078121
Removed dc_texturemid
2017-01-12 22:52:17 +01:00
Magnus Norddahl
bd8d2f501f
Remove dc_light_list
2017-01-12 22:11:25 +01:00
Magnus Norddahl
9e940b4287
Remove basecolormap global
2017-01-12 21:29:19 +01:00
Magnus Norddahl
80e1844d6c
Split r_main into r_viewport, r_scene and r_light
2017-01-12 16:21:46 +01:00
Magnus Norddahl
dce3a1c81c
Move remaining parts of r_things into r_visiblesprite
2017-01-11 15:41:42 +01:00
Magnus Norddahl
4be291fb61
Fix divide by zero (issue 0000022)
2017-01-10 18:25:06 +01:00
Magnus Norddahl
ece8e95853
Revert range adjustment (can't make out if this is wrong or not - if it is, it is wrong across the entire function)
2017-01-10 15:16:55 +01:00
Magnus Norddahl
751bd120ac
Fix warning about potential uninitialized lightfiller reported by gcc
2017-01-10 15:14:55 +01:00
Magnus Norddahl
8fc6660a4a
Disable SSE stuff
2017-01-10 13:45:14 +01:00
Magnus Norddahl
c4573fa343
Disable SSE on arm
2017-01-10 13:39:57 +01:00
Magnus Norddahl
579199a246
Move R_DrawVisSprite to r_sprite and move R_DrawMaskedColumn to r_draw
2017-01-09 13:53:02 +01:00
Magnus Norddahl
3b7bc2d1e5
Add NO_DRAWERGEN define
2017-01-08 04:54:11 +01:00
Magnus Norddahl
dba81db198
Move material multiplication out of inner light loop
2017-01-03 21:16:21 +01:00
Magnus Norddahl
4125da9fc3
Fix speed regression caused by the DrawerThread object being recreated every frame
2017-01-03 04:29:06 +01:00
Magnus Norddahl
c61e9c7fe2
Add attenuated point lights
2017-01-02 06:52:50 +01:00
Magnus Norddahl
3967156d62
Moved remaining parts of r_plane to r_visibleplane
2016-12-31 14:45:41 +01:00
Magnus Norddahl
99e263e1b3
Decal rendering to r_decal
2016-12-30 08:31:02 +01:00
Magnus Norddahl
b2a0f02f68
Remove unused prototype
2016-12-28 02:21:32 +01:00
Magnus Norddahl
db53d9c706
Remove r_local header
2016-12-28 01:56:37 +01:00
Magnus Norddahl
259d724106
Move R_GetColumn to walldraw and create header file
2016-12-28 01:35:22 +01:00
Magnus Norddahl
f8010854c3
Move colfunc and friends to r_draw and change them to member function pointers
2016-12-27 23:53:47 +01:00
Magnus Norddahl
a94fee0e5d
Rename R_ActiveDrawers to R_Drawers
2016-12-27 08:54:37 +01:00
Magnus Norddahl
272b302294
Create SWPixelFormatDrawers for pal and bgra drawers
2016-12-27 08:47:51 +01:00
Magnus Norddahl
398001b6cb
Move code into R_UpdateFuzzPos
2016-12-27 07:45:10 +01:00
Magnus Norddahl
4554cf45f1
Remove duplicate prototype entry
2016-12-27 07:41:30 +01:00
Magnus Norddahl
325fa20a02
Add R_DrawFogBoundaryLine and move R_DrawFogBoundary to a source file closer to its correct location
2016-12-27 07:40:35 +01:00
Magnus Norddahl
f1cd91922b
Move to correct header
2016-12-27 07:32:21 +01:00
Magnus Norddahl
5a7765910f
Merge R_SetupSpanBits with R_SetSpanSource and rename it to R_SetSpanTexture
2016-12-27 07:30:29 +01:00
Magnus Norddahl
4d0cc9e7bb
Remove old voxel slab drawer
2016-12-27 07:25:11 +01:00
Magnus Norddahl
49903af394
Remove 4 column wall drawers
2016-12-27 07:18:04 +01:00
Magnus Norddahl
2659090e1c
Move renders into folders
2016-12-27 06:31:55 +01:00