Jaime Passos
|
e2adf00fc6
|
Don't render sprites with negative xscale or yscale in OpenGL
|
2020-10-17 22:40:49 -03:00 |
|
Jaime Passos
|
b9c9660629
|
Don't free PU_HWRCACHE and PU_HWRCACHE_UNLOCKED memory tags in HWR_ClearAllTextures.
Probably fixes a random annoying crash around that function.
(I was also suspecting renderer switching was doing other slightly weird stuff.)
|
2020-10-15 14:31:16 -03:00 |
|
Jaime Passos
|
6cf1441e33
|
[Software floor sprites] Set the colormap and translation outside of the loop
|
2020-10-15 14:12:19 -03:00 |
|
Jaime Passos
|
f2e09eb2f6
|
Change vis->transmap statement
|
2020-10-15 14:05:18 -03:00 |
|
Jaime Passos
|
1aa324add0
|
Remove unnecessarily duplicated code in R_GetSpriteTranslation
|
2020-10-15 11:32:21 -03:00 |
|
Jaime Passos
|
9365c88dc2
|
Fix precipitation
|
2020-10-15 00:03:32 -03:00 |
|
Jaime Passos
|
5c2f487fbe
|
Don't project if rot_y is less than a single fracunit
|
2020-10-14 21:26:23 -03:00 |
|
Jaime Passos
|
578600156d
|
Simplify the floor splat clipping code a bit
|
2020-10-14 21:20:37 -03:00 |
|
Jaime Passos
|
04829fc613
|
Fix a crash in R_CalculateSlopeVectors called from R_RenderFloorSplat
|
2020-10-14 14:08:25 -03:00 |
|
Jaime Passos
|
d348ff079b
|
Only create floor sprite slopes when needed, instead of always allocating them.
Has to be done manually in Lua. Use P_CreateFloorSpriteSlope, and P_DeleteFloorSpriteSlope when done with it.
|
2020-10-14 13:07:02 -03:00 |
|
Jaime Passos
|
96fa912bae
|
Implement object-defined floor sprite slopes.
|
2020-10-14 00:57:13 -03:00 |
|
Jaime Passos
|
3a76f04ac2
|
[Software] Use the light at the bottom of the object for splats
|
2020-10-13 23:14:05 -03:00 |
|
Jaime Passos
|
f93e050569
|
Implement sloped floor sprites
|
2020-10-13 22:42:07 -03:00 |
|
Jaime Passos
|
bf9a8d9f3b
|
Fix the wrong freeing function call being used in Patch_FreeData
|
2020-10-13 19:18:01 -03:00 |
|
Jaime Passos
|
53a5e75855
|
Correctly return the output patch's size in Picture_PatchConvert
|
2020-10-13 19:16:25 -03:00 |
|
Jaime Passos
|
394150fca4
|
Fix infinitely long splat spans
|
2020-10-13 17:03:50 -03:00 |
|
Jaime Passos
|
a6f2e8b9c6
|
Implement relative and absolute sprite offsets for objects (mobjs)
Added RF_ABSOLUTEOFFSETS and RF_FLIPOFFSETS
|
2020-10-13 12:57:36 -03:00 |
|
Jaime Passos
|
e8dd79e5e2
|
Improve sorting between sprites and floor sprites
|
2020-10-13 02:24:18 -03:00 |
|
Jaime Passos
|
ecd3ef99fc
|
Improve splat sorting:
Adjust the sort scale of splats
Do splat sorting in R_CreateDrawNodes if either vissprite is a splat, instead of if both are
|
2020-10-13 01:45:18 -03:00 |
|
Jaime Passos
|
cd87c6a5fb
|
Fix splat sorting
|
2020-10-13 01:09:17 -03:00 |
|
Jaime Passos
|
3849b4ac6c
|
Fix other uninitialized variable warnings
|
2020-10-13 00:14:27 -03:00 |
|
Jaime Passos
|
b7590971f4
|
Fix uninitialized variable warning
|
2020-10-12 22:08:45 -03:00 |
|
Jaime Passos
|
a91a55fb58
|
Fix floorsprites not being rendered when viewed from the bottom
|
2020-10-12 22:07:11 -03:00 |
|
Jaime Passos
|
9bb09cdc8c
|
OpenGL support for splats, fix some shadow draw bugs in Software
|
2020-10-12 19:53:21 -03:00 |
|
Jaime Passos
|
37ed2a6b26
|
Support spritexscale and spriteyscale in OpenGL
Fix papersprite scaling with spritexscale and spriteyscale in Software
|
2020-10-12 17:25:18 -03:00 |
|
Jaime Passos
|
b4b4738c94
|
Changes to sprite rendering:
- Added render flags (see r_defs.h)
- Implemented floor splats
- Drop shadow sprite rendering through render flags
|
2020-10-12 00:13:22 -03:00 |
|
Jaime Passos
|
3e06bd4985
|
Move calculation of rotated patch dimensions into its own function
Simplify rotation code when the pivot isn't in the center
|
2020-10-11 03:39:31 -03:00 |
|
Jaime Passos
|
63bdcb294e
|
Fix rotated flipped patches
|
2020-10-10 19:06:29 -03:00 |
|
Jaime Passos
|
c40f2b3f2b
|
Add r_patchrotation.h
|
2020-10-10 18:53:05 -03:00 |
|
Jaime Passos
|
e23929a899
|
Refactor patch rotation
|
2020-10-10 18:43:26 -03:00 |
|
Jaime Passos
|
b44837324f
|
Merge branch 'next' into patch-stuff-again-2
|
2020-10-10 17:01:10 -03:00 |
|
James R
|
6363162826
|
Merge branch 'sanity-meter-empty' into 'next'
Replace cvar initializers with a macro
See merge request STJr/SRB2!1178
|
2020-10-08 22:02:25 -04:00 |
|
James R
|
4e011051db
|
Merge branch 'manifest-stuff' into 'next'
Provide a default exe manifest
See merge request STJr/SRB2!1174
|
2020-10-08 22:01:17 -04:00 |
|
James R
|
c75429b5c1
|
Merge branch 'fix-theoretical-lua-exposure-crashes' into 'next'
Fix some theoretical crashes when using the P_*XYMovement, P_*ZMovement, and P_RailThinker functions in Lua.
See merge request STJr/SRB2!1173
|
2020-10-08 22:01:02 -04:00 |
|
James R
|
eaec5126a6
|
Merge branch 'ogl-driver-error' into 'next'
Add error message when the GDI Generic OpenGL renderer is encountered in Windows
See merge request STJr/SRB2!1172
|
2020-10-08 22:00:43 -04:00 |
|
James R
|
ed0336a9f5
|
Merge branch 'expose-modversion-to-lua' into 'next'
Expose MODVERSION to Lua (because for some reason it wasn't).
See merge request STJr/SRB2!1158
|
2020-10-08 21:57:38 -04:00 |
|
James R
|
a82f568fc3
|
Merge branch 'next' into 'next'
Updated 16 bit momentum values to 32 bit in demos, changed demo version
See merge request STJr/SRB2!1157
|
2020-10-08 21:56:30 -04:00 |
|
James R
|
ac8def3139
|
Merge branch 'lua-sectorsounds' into 'next'
Support sectors as sound origins in Lua
See merge request STJr/SRB2!1144
|
2020-10-08 21:05:01 -04:00 |
|
James R
|
14e586bfd3
|
Merge branch 'autocomplete-aliases' into 'next'
Autocomplete aliases in console
See merge request STJr/SRB2!1113
|
2020-10-08 20:30:07 -04:00 |
|
James R
|
0772c702cc
|
Merge branch 'v-string-colormap-lua-exposure' into 'next'
Expose V_GetStringColormap to Lua via v.getStringColormap().
See merge request STJr/SRB2!1111
|
2020-10-08 20:28:25 -04:00 |
|
James R
|
df8c185ba7
|
Merge branch 'chain-attraction-homing' into 'next'
Chain Homing with Attraction Shield
See merge request STJr/SRB2!1109
|
2020-10-08 20:19:21 -04:00 |
|
James R
|
ceb4969505
|
Merge branch 'playercmd-kart-port' into 'next'
PlayerCmd Port
See merge request STJr/SRB2!1072
|
2020-10-08 20:10:16 -04:00 |
|
James R
|
b7c4a82a0f
|
Replace C90's junk with a modest macro
|
2020-10-06 23:04:23 -07:00 |
|
Zachary McAlpin
|
bff3b20c4a
|
Made states unmodifable in CMD building code
|
2020-10-06 16:54:23 -05:00 |
|
Zachary McAlpin
|
ae238236c8
|
Update comment
|
2020-10-06 16:43:14 -05:00 |
|
Zachary McAlpin
|
36d7ddeb09
|
Merge branch 'next' of https://git.do.srb2.org/STJr/SRB2 into playercmd-kart-port
|
2020-10-06 02:07:05 -05:00 |
|
Steel Titanium
|
db0757aa69
|
Provide a default exe manifest
|
2020-10-03 19:53:59 -04:00 |
|
GoldenTails
|
da3a1b18f9
|
Fix some theoretical crashes when using the P_*XYMovement, P_*ZMovement, and P_RailThinker functions.
|
2020-10-03 13:24:47 -05:00 |
|
Hannu Hanhi
|
e234eb8f87
|
Add error message when the GDI Generic OpenGL renderer is encountered in Windows
|
2020-10-03 18:45:56 +03:00 |
|
James R
|
ffeb48ab4d
|
Merge branch 'update-228' into 'next'
2.2.8 prep
See merge request STJr/SRB2!1170
|
2020-10-03 01:45:06 -04:00 |
|