-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Heretic: add true color support #1111
Commits on Nov 16, 2023
-
18
Configuration menu - View commit details
-
Copy full SHA for e381e8e - Browse repository at this point
Copy the full SHA e381e8eView commit details
Commits on Nov 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d690713 - Browse repository at this point
Copy the full SHA d690713View commit details -
Heretic: true color - fine tune patch shadows, better namings
Despite of here in V_ functions TINTTAB is used for shadows drawing, it's initial purpose is slightly different - it is a blending table, which is *also* used for shadows. "drawtinttab" must be more clear in this context, and in case one day TC implementation will be done for Strife, XLA's function should be named "drawxlatab".
Configuration menu - View commit details
-
Copy full SHA for 42d73b2 - Browse repository at this point
Copy the full SHA 42d73b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab7c980 - Browse repository at this point
Copy the full SHA ab7c980View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51d3d9a - Browse repository at this point
Copy the full SHA 51d3d9aView commit details -
Heretic: true color - simplify previous commit
Remove duplication of invul. colormap generation.
Configuration menu - View commit details
-
Copy full SHA for 96a9e52 - Browse repository at this point
Copy the full SHA 96a9e52View commit details -
Heretic: true color - remove redundant
sizeof
multipler for invul c……olormap handling Raven Software's oversight, or attempt to reduce memory consumption? https://github.com/OpenSourcedGames/Heretic/blob/master/Heretic%20Source/R_MAIN.C#L776
Configuration menu - View commit details
-
Copy full SHA for dad0d47 - Browse repository at this point
Copy the full SHA dad0d47View commit details -
Configuration menu - View commit details
-
Copy full SHA for ccb9c13 - Browse repository at this point
Copy the full SHA ccb9c13View commit details
Commits on Nov 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 74c664e - Browse repository at this point
Copy the full SHA 74c664eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d1e479 - Browse repository at this point
Copy the full SHA 1d1e479View commit details -
2
Configuration menu - View commit details
-
Copy full SHA for 7129454 - Browse repository at this point
Copy the full SHA 7129454View commit details -
Heretic: true color - no need for
V_LoadTintTable
As not used in true color mode at all.
Configuration menu - View commit details
-
Copy full SHA for 0a92fd1 - Browse repository at this point
Copy the full SHA 0a92fd1View commit details -
Heretic: true color - proper palette for E2END pic
Fairly simple. We need only proper 256 colors for drawing E2END itself, but we also need to do a proper reset while switching back to normal palette, otherwise we'll get some wrong colors. Suggestions for future: - externalize gamma2table to i_video.h - externalize R_InitColormaps and R_SetUnderwaterPalette to r_local.h
Configuration menu - View commit details
-
Copy full SHA for f5a4d96 - Browse repository at this point
Copy the full SHA f5a4d96View commit details -
3
Configuration menu - View commit details
-
Copy full SHA for 62c1201 - Browse repository at this point
Copy the full SHA 62c1201View commit details -
Configuration menu - View commit details
-
Copy full SHA for e0e3d53 - Browse repository at this point
Copy the full SHA e0e3d53View commit details
Commits on Nov 19, 2023
-
Heretic: true color - small styling corrections
Also, "viewactive" is not needed. Despite of existing ovet the code, it's not doing anything. Using "setsizeneeded" wasn't optimal, it too expensive. All we need is: - BorderNeedRefresh - updates screen border and bezel, including message area. - SB_state - do a full redraw of whole status bar.
Configuration menu - View commit details
-
Copy full SHA for 5c4b195 - Browse repository at this point
Copy the full SHA 5c4b195View commit details -
Configuration menu - View commit details
-
Copy full SHA for f6276d1 - Browse repository at this point
Copy the full SHA f6276d1View commit details -
Heretic: true color - automap (line drawing)
This is, hopefully, as small diff as possible, which could be useful for custom COLORMAPs (but are there any existing?). Note that unlike Doom, REINDEX is using lesser color range to be as close to original smoothing as possible. At this point, only background is not working on automap.
Configuration menu - View commit details
-
Copy full SHA for f7ad2c1 - Browse repository at this point
Copy the full SHA f7ad2c1View commit details
Commits on Nov 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 07b42b3 - Browse repository at this point
Copy the full SHA 07b42b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for b15db45 - Browse repository at this point
Copy the full SHA b15db45View commit details
Commits on Nov 28, 2023
-
Externalize R_InitColormaps and R_SetUnderwaterPalette
Not sure if R_SetUnderwaterPalette needed to be guarded by a macro in header file, but probably this will make sence for better understanding about the nature of this function, i.e. it's "for true color only".
Configuration menu - View commit details
-
Copy full SHA for 772f346 - Browse repository at this point
Copy the full SHA 772f346View commit details -
Externalize I_SetGammaTable and gamma2table
No changes for Hexen and Strife needed, as these externals were made for true color render only.
Configuration menu - View commit details
-
Copy full SHA for 9eb9a2c - Browse repository at this point
Copy the full SHA 9eb9a2cView commit details -
Allow R_SetUnderwaterPalette to accept any Hehacked-ed palette
Much neater and less macrocized now. Thanks, Fabian!
Configuration menu - View commit details
-
Copy full SHA for 00c44aa - Browse repository at this point
Copy the full SHA 00c44aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f81552 - Browse repository at this point
Copy the full SHA 1f81552View commit details -
* Revert back pixel_t to byte for arrays of line colors. My typo made back in the time I was just started working on automap. * Still use two arrays for normal and overlay mode. Idea of having "middle" color for walls drawing and array does not seems to be good enough, as we loose original color for both modes. In theory, both arrays can be consolidated into one, but this is a bit tricky because we have to define "which color should be used for common walls drawing" w/o hitting if/else condition.
Configuration menu - View commit details
-
Copy full SHA for 9957a41 - Browse repository at this point
Copy the full SHA 9957a41View commit details