Lactozilla
e7b4beba20
Update dates in copyright notices of all files modified in 2024
2024-09-21 21:35:01 -03:00
Sally Coolatta
90195e6105
W_GetTexPatchLumpNum uses W_CheckNumForPatchName
...
Absolutely never allow a flat
2024-06-25 13:41:42 +02:00
Lactozilla
dd5f030b16
Use palette index 255 for transparency
2024-06-02 20:45:00 -03:00
sphere
d6df06949d
Merge branch 'fix-1222' into 'next'
...
Fix #1222
Closes #1222
See merge request STJr/SRB2!2448
2024-05-22 11:20:06 +00:00
Sally Coolatta
619cf708a1
Fix composite "flats as patch" name overlap crash
2024-05-19 03:57:07 -04:00
Lactozilla
d90c2ac4b4
Fix #1222
2024-05-19 01:43:02 -03:00
Lactozilla
719169a625
R_GenerateTexture: Fix translucent pixels being visible on empty pixels
2024-02-17 16:51:16 -03:00
Arthur
99c91d4bb3
Visual Studio compiles again
2024-02-14 16:36:36 -05:00
Lactozilla
356e455335
Fix #1190
2024-02-12 16:58:00 -03:00
Lactozilla
62db9f17d2
More refactoring
2024-01-16 15:17:58 -03:00
Lactozilla
e73f33a677
Fix build warnings
2024-01-16 14:34:38 -03:00
Lactozilla
91a37b1018
Only read first 8 bytes of a PNG image for detection
2024-01-16 14:26:05 -03:00
Lactozilla
4ee0960090
Refactor texture definition
2024-01-16 14:04:12 -03:00
Lactozilla
feffdb373b
Load textures and flats from PK3 files more reliably
2024-01-15 14:44:19 -03:00
Lactozilla
dcf5c4d3bf
Cleanup R_GetFlatForTexture
2024-01-15 02:47:03 -03:00
Lactozilla
b901bc039d
Delete leftover animated flat handling
2024-01-15 02:40:43 -03:00
Lactozilla
4cf9d38fb6
Delete leftover composite texture handling
2024-01-15 02:05:25 -03:00
Lactozilla
861d22fd44
Always generate composite textures with post data
2024-01-15 00:29:21 -03:00
Lactozilla
28e6b97299
Fix R_DrawFlippedColumnInCache and R_DrawBlendColumnInCache
2023-09-23 20:30:50 -03:00
Lactozilla
2f25102b79
Make num_posts unsigned
...
size_t was a bit overkill for that.
2023-09-03 13:27:49 -03:00
Lactozilla
0c664681cd
Mask the sprite patch column in R_DrawVisSprite
2023-09-03 12:57:11 -03:00
Lactozilla
30cc998e4f
Use cached patch even if it hasn't been loaded
2023-08-16 14:29:41 -03:00
Lactozilla
393e5f7d8d
Do fixes and optimizations
2023-08-16 14:22:19 -03:00
Lactozilla
9d7a734acc
Don't generate textures in R_GetColumn
2023-08-01 19:04:47 -03:00
Lactozilla
689fa265dd
Remove flats
2023-08-01 17:19:58 -03:00
Lactozilla
0088326ff0
Refactor Picture_PatchConvert, so that it no longer makes Doom patches
2023-08-01 12:58:01 -03:00
Lactozilla
821460d208
Patch refactor
2023-07-30 20:56:28 -03:00
Sal
08c6e76d1c
Merge branch 'texnamefornum' into 'next'
...
Add R_TextureNameForNum and R_CheckTextureNameForNum
See merge request STJr/SRB2!1880
2023-07-24 10:43:52 +00:00
spherallic
1470d099e3
Update copyright year & credits
2023-03-31 14:53:31 +02:00
ashifolfi
1b14dff0e9
add comments + better checktexturename if statement
2022-11-20 16:06:47 -05:00
ashifolfi
3a2834e781
add R_TextureNameForNum and expose to lua
2022-11-20 15:25:53 -05:00
Lactozilla
86a052537e
Add PO2 flat cases for sizes smaller than 32x32
2022-11-16 01:40:54 +00:00
spherallic
50330c746b
Merge branch 'next' into fast-r-load-textures
2022-03-08 22:11:16 +01:00
spherallic
14295ac7de
2022
2022-03-03 20:24:46 +01:00
James R
37add34b9c
Update texturecache user when reallocating
2022-01-27 00:28:36 -08:00
James R
2aec4501eb
Hash name lookup for textures and lumps
2022-01-27 00:03:37 -08:00
James R
2ebec53561
P_AddWadFile: only load textures in current file
2022-01-27 00:03:34 -08:00
James R
571e475394
Read only header bytes when creating textures list
...
R_LoadTextures was reading in the entirety of every
texture lump, now it only reads the 8 byte PNG header.
This saved more than 1 second for me (1.68 s -> 0.24 s).
PNG still need to be read in entirely to check their
dimensions; I didn't bother looking into optimizing it
since we don't have many PNG textures right now.
2022-01-26 23:53:36 -08:00
James R
432f691852
Free unused texture lumps in R_LoadTextures
...
PU_CACHE never gets freed automatically and Z_Unlock does
NOTHING.
2022-01-26 23:53:36 -08:00
LJ Sonic
4af3b860fd
Merge branch 'next' of https://git.do.srb2.org/STJr/SRB2.git into folder-next
2021-06-25 00:30:30 +02:00
Jaime Ita Passos
4025a1d517
[Software] A few floorsprite fixes
...
This fixes the texture of the floorsprite sometimes facing the wrong way, since plane rendering can change the view angle.
2021-03-29 23:04:13 -03:00
Jaime Ita Passos
dca158096d
Experimental implementation
2021-03-22 23:56:55 -03:00
Jaime Ita Passos
7e0a1709de
Fix a crash in Picture_GetPatchPixel with PICFMT_DOOMPATCH formats
2020-12-14 00:53:42 -03:00
Jaime Passos
b15bbd505c
Merge branch 'next' into patch-stuff-again-2
2020-10-10 17:01:10 -03:00
Jaime Passos
aaa9cff6ac
Fix PNG issue in OpenGL + optimize PNG sprite loading
2020-10-02 19:48:13 -03:00
Jaime Passos
92c4993d67
Introduce Doom patch format into picture formats
...
Fixes sprite rotation
2020-08-15 21:52:01 -03:00
Jaime Passos
9b426b474c
Merge branch 'pictureformats' into patch-stuff-again-2
2020-08-15 20:48:28 -03:00
Jaime Passos
ca060a4372
Merge branch 'next' of https://git.magicalgirl.moe/STJr/SRB2 into pictureformats
2020-07-21 22:25:00 -03:00
Jaime Passos
5e28e358ad
Fix memory leak
2020-05-15 15:45:00 -03:00
Jaime Passos
1a79f6246d
Merge remote-tracking branch 'origin/next' into pictureformats
2020-05-15 01:34:54 -03:00