Commit Graph

11125 Commits

Author SHA1 Message Date
Jaime Passos ab526e47cc Implement object-defined floor sprite slopes. 2020-10-14 00:57:13 -03:00
Jaime Passos a8a66f698a [Software] Use the light at the bottom of the object for splats 2020-10-13 23:14:05 -03:00
Jaime Passos 4b7bfce95e Implement sloped floor sprites 2020-10-13 22:42:07 -03:00
Jaime Passos fccbc00cac Fix the wrong freeing function call being used in Patch_FreeData 2020-10-13 19:18:01 -03:00
Jaime Passos 63e471d902 Correctly return the output patch's size in Picture_PatchConvert 2020-10-13 19:16:25 -03:00
Jaime Passos 0e62cb2ada Fix infinitely long splat spans 2020-10-13 17:03:50 -03:00
Jaime Passos 4273896311 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 87e5d63723 Improve sorting between sprites and floor sprites 2020-10-13 02:24:18 -03:00
Jaime Passos 95d0097df6 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 7dbd34345c Fix splat sorting 2020-10-13 01:09:17 -03:00
Jaime Passos f2aca01e2b Fix other uninitialized variable warnings 2020-10-13 00:14:27 -03:00
Jaime Passos 1ea3bd8fff Fix uninitialized variable warning 2020-10-12 22:08:45 -03:00
Jaime Passos 453f49cb77 Fix floorsprites not being rendered when viewed from the bottom 2020-10-12 22:07:11 -03:00
Jaime Passos 831ccccdd6 OpenGL support for splats, fix some shadow draw bugs in Software 2020-10-12 19:53:21 -03:00
Jaime Passos b620f4835a 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 cc97e22e2f 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 b808b3ef41 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 6145442a34 Fix rotated flipped patches 2020-10-10 19:06:29 -03:00
Jaime Passos b2f45986ad Add r_patchrotation.h 2020-10-10 18:53:05 -03:00
Jaime Passos 6e5f71dd45 Refactor patch rotation 2020-10-10 18:43:26 -03:00
Jaime Passos b15bbd505c Merge branch 'next' into patch-stuff-again-2 2020-10-10 17:01:10 -03:00
James R 15008f31a7 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 7c72eab58b 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 ddb6823fe5 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 45b9e23895 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 933381fb8f 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 d83a112fc5 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 c3c34c489b 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 355cc1a697 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 88b3a3cd2e 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 95a5bb888a 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 faaefd5061 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 dbd79a29a4 Replace C90's junk with a modest macro 2020-10-06 23:04:23 -07:00
Zachary McAlpin 0f3c87a705 Made states unmodifable in CMD building code 2020-10-06 16:54:23 -05:00
Zachary McAlpin e393093e73 Update comment 2020-10-06 16:43:14 -05:00
Zachary McAlpin 1681371fbd 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 0aa1b16fd1 Provide a default exe manifest 2020-10-03 19:53:59 -04:00
GoldenTails 2ae5c02050 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 684b868524 Add error message when the GDI Generic OpenGL renderer is encountered in Windows 2020-10-03 18:45:56 +03:00
James R 17ce7d57c3 Merge branch 'update-228' into 'next'
2.2.8 prep

See merge request STJr/SRB2!1170
2020-10-03 01:45:06 -04:00
James R fdc1de357b Update appveyor.yml version 2020-10-02 18:05:12 -07:00
James R b1d59c6641 Merge branch 'picfmt-pngfix' into 'next'
Fix uninitialized variable issue in patches with missing grAb chunks

See merge request STJr/SRB2!1171
2020-10-02 20:24:10 -04:00
James R 27d96bb21c Merge branch 'fartification' into 'next'
Prevent Canarivore gas from teleporting up walls

See merge request STJr/SRB2!1154
2020-10-02 20:23:36 -04:00
James R 8beee3761e Merge branch 'windows-console-go-brrr' into 'next'
Fix #178

Closes #178

See merge request STJr/SRB2!1112
2020-10-02 20:23:20 -04:00
James R c35c5ad568 Merge branch 'remove-renderer-notice' into 'next'
Remove "The OpenGL renderer is incomplete" notice (closes #281)

Closes #281

See merge request STJr/SRB2!1169
2020-10-02 20:22:38 -04:00
James R a0759816e5 Merge branch 'load-graphics-after-startuppwads' into 'next'
Fix graphics replacements not taking effect via -file

See merge request STJr/SRB2!1168
2020-10-02 20:22:11 -04:00
Jaime Passos ebf50aad44 Use leftoffset and topoffset, not loffs and toffs 2020-10-02 20:40:42 -03:00
James R 401508e9d4 Update Srb2win.rc 2020-10-02 16:11:39 -07:00
James R c51a4c8fb1 Update version to 2.2.8 2020-10-02 16:10:21 -07:00
James R 1c6c51744c Update patch.pk3 2020-10-02 16:07:15 -07:00