Commit graph

38 commits

Author SHA1 Message Date
Lactozilla
3b489df3db Fix SRB2 1393 (Nep: also flats and brightmap support Thx lug) (Closes #115) 2025-09-20 13:43:35 -04:00
NepDisk
2f84779d41 Update rest of the existing files to use blankart branding 2025-07-01 00:23:30 -04:00
NepDisk
c7cbc27efb completly borked remove flats port
Completey fucked color and brightmap handling for floors.
2025-05-24 23:41:33 -04:00
GenericHeroGuy
48bb0ea5ef The actual palette remapping 2025-01-24 18:18:37 +01:00
Eidolon
b97dd3960f Merge branch 'remove-pragma-interface' into 'master'
Remove all gcc pragma interface

See merge request KartKrew/Kart!1767
2025-01-09 13:24:25 -05:00
NepDisk
4fd99ef3ff Multithreaded Software rendering 2024-12-29 14:14:28 -05:00
James R
312c4234b0 Add specialized drawing loop for debugfinishline
- Cache DBGLINE texture
- Draw this texture at horizon (player's eye level)
- Draw this texture at max brightness
- Do not slope skew this texture
- Use R_DrawColumn_Flat_8 to colorize the this texture
2024-12-28 07:58:41 -05:00
Eidolon
d08b923f06 Merge branch 'extern-c-everything' into 'master'
Add extern "C" in C++ to all headers

See merge request KartKrew/Kart!842
2024-10-15 14:14:43 -04:00
James R
9e801c66d5 Merge branch 'universal-typedef' into 'master'
Move all typedef into one file

See merge request KartKrew/Kart!791
2024-10-15 04:16:58 -04:00
NepDisk
4395d26168 TERRAIN: add 'remap' boolean, toggles ENCOREMAP/TWEAKMAP
Nep Note: I dont know where dc_copy or dc->lightmap are from once I find out Ill uncomment that code....
2024-09-05 22:12:44 -04:00
James R.
19a9639add Add R_GetBrightmapColumn, convert brightmaps to associated texture's column layout
- Ensures that column drawer doesn't read out of bounds
  the brightmap column.
- Refactored code in r_segs.cpp, so it checks
  R_TextureHasBrightmap.
- Added comments for plane brightmaps and sprite
  brightmaps, that these are still error-prone.
2024-09-05 21:26:18 -04:00
NepDisk
91e88690e4 Revert "Stuff for Ivo's texture crunching"
This reverts commit 60f65f3998.
2024-09-03 18:38:54 -04:00
Sally Coolatta
60f65f3998 Stuff for Ivo's texture crunching
- Flats no longer get applied entirely, they are FULLY DEPRECATED NOW
- Uses AASMELLY instead of REDWALL for missing textures
2024-09-03 18:38:00 -04:00
NepDisk
594a26ea5e Reapply Store terrain ID instead of terrain pointer, add new helpers and accomodate for this
This reverts commit cb3b95c0e1.
2024-08-21 22:53:16 -04:00
NepDisk
cb3b95c0e1 Revert "Store terrain ID instead of terrain pointer, add new helpers and accomodate for this"
This reverts commit 9baae4cecb.
2024-08-21 22:49:45 -04:00
JugadorXEI
9baae4cecb Store terrain ID instead of terrain pointer, add new helpers and accomodate for this 2024-08-01 17:29:36 -04:00
NepDisk
f611554cbc Assorted Changes 2
Restored old titlescreen, generally made the game closer to v1 gameplay wise and visual wise
2024-07-30 18:00:37 -04:00
NepDisk
ac91ea6827 Readd flats support (i think?) 2024-07-29 15:58:13 -04:00
NepDisk
60d0102d7e Revert "Stuff for Ivo's texture crunching"
This reverts commit 559222f991.
2024-07-29 15:41:51 -04:00
NepDisk
814eaa4fcc Reapply "Stuff for Ivo's texture crunching"
This reverts commit a9d8ffe8ff.
2024-07-29 15:40:58 -04:00
NepDisk
a9d8ffe8ff Revert "Stuff for Ivo's texture crunching"
This reverts commit 559222f991.
2024-07-29 15:38:16 -04:00
Sally Coolatta
559222f991 Stuff for Ivo's texture crunching
- Flats no longer get applied entirely, they are FULLY DEPRECATED NOW
- Uses AASMELLY instead of REDWALL for missing textures
2022-08-28 00:03:22 -04:00
toaster
ea6aaa3321 Merge branch 'master' into fast-addfile
# Conflicts:
#	src/k_hud.c
2022-05-14 13:41:59 +01:00
James R
bea79dfa65 Replace GNU zero-length array with ISO C99 flexible array member 2022-02-20 03:10:04 -08:00
James R
b30ffea49a Hash name lookup for textures and lumps 2022-01-22 03:18:06 -08:00
Sally Coolatta
2179da40bf Update brightmap reading
- Does it per-wad
- Saves hashes for certain bits
- Adds R_UpdateTextureBrightmap to respect the zone memory
2021-12-18 18:23:24 -05:00
Sally Coolatta
e4aa53a92e Merge branch 'master' into fast-addfile 2021-12-18 18:21:32 -05:00
James R
4578e6f8f1 Hash name lookup for textures and lumps 2021-12-16 22:10:36 -08:00
James R
a4742c7da7 P_AddWadFile: only load textures in current file 2021-12-16 18:37:09 -08:00
Sally Coolatta
04c1a9dcb1 Brightmaps on walls 2021-12-16 09:40:14 -05:00
toaster
40cbc30bff Mammoth commit, sorry.
All my work thus far on solving the drawflag/renderflag/additive/subtractive conundrum.

Outstandng problems:
* Bad additive/subtractive tables means that they appear opaque except under certain conditions.
* No support for FOFs, Polyobjects, or linedefs in OpenGL yet.
* All OpenGL support mostly done blind, may or may not function in practice.

If nothing else, the hard engineering problems are solved and it's just bug hammering...
2021-03-31 22:46:23 +01:00
Jaime Passos
c7eed47340 Provide some cleaner method to generate textures as flats.
R_GenerateTextureAsFlat
2020-01-07 16:51:02 -03:00
Jaime Passos
679eb3902f How did I even manage to do this? 2020-01-07 14:12:19 -03:00
Jaime Passos
e2d0ddfb54 R_GetTextureFlat -> R_GetLevelFlat 2020-01-07 13:27:59 -03:00
Jaime Passos
82998100d3 Move location of R_CheckPowersOfTwo and R_CheckFlatLength 2020-01-07 12:46:46 -03:00
Jaime Passos
fb0d9cdede Move location of R_GetTextureFlat 2020-01-07 12:45:22 -03:00
Jaime Passos
b6ced0884e Organise header files, use R_GetFlat 2020-01-07 12:43:27 -03:00
Jaime Passos
96340ac80c Move texture stuff to its own file 2020-01-07 12:35:10 -03:00