Subversion Repositories eduke32

Rev

Go to most recent revision | Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
5075 2076d 12h terminx / Large batch of Polymost changes, including:

-lots of stylistic rewrites
-further improvements to anti-fighting code for wall and floor sprites (introduces three new cvars, r_wspr_offset, r_wspr_offset_variance, and r_fspr_offset)
-fixed brief HOM when traversing through a one-way masked wall
-seldomly used "alphahack" feature for hightile textures now represents alpha cutoff internally as a single byte instead of a float
-fixes a handful of issues where geometry failed to draw at certain coordinates from certain angles in certain resolutions
-renames a couple of cvars
 
5074 2076d 12h terminx / Abort animvpx playback if uploading the texture for a frame throws a GL error. DONT_BUILD.  
5073 2076d 12h terminx / int64_t -> uint64_t in swap64bit(). DONT_BUILD.  
5072 2076d 12h terminx / Polymer tsectortype usage. DONT_BUILD.  
5071 2076d 12h terminx / Minor stylistic changes, fix FPS counter and other 2D drawing in Polymer.  
5070 2076d 12h terminx / Remove unused buffer to fix warning, DONT_BUILD.  
5069 2076d 12h terminx / Further gamevar changes/optimizations. This also fixes a bug Fox reported with the "shortcut" access to structure members that's tacked on to GetVar, where if the value of the index you're trying to access happened to equal the ID of the current sprite, it would act as if the variable passed was THISACTOR.  
5068 2076d 12h terminx / Swap position of "load game" and "options" on main menu so that "load game" follows "new game", for consistency with the slightly different menu you get while in-game.  
5067 2076d 12h terminx / "Stylistic changes"

Translation: I made some stuff const because I felt like it.
 
5066 2076d 12h terminx / More Android changes. DONT_BUILD.  
5065 2076d 12h terminx / Remove WeaponChoice* from eduke32.cfg and transition setting to "wchoice" cvar. This commit also removes an Android hack and changes the order of some of the in-game "F" key handling, just because it bugged me that some of them were out of order.  
5064 2077d 4h hendricks266 / Amend "renamefile" def token to ensure its proper use. renamefile <GRP/SSI CRC32> <file number> <new filename>  
5063 2077d 6h hendricks266 / Expand the quote #13 auto-replacement to catch "OPEN" and "ANY BUTTON" in addition to "SPACE".  
5062 2077d 6h hendricks266 / Add the Duke DC and Duke Caribbean SSI files to the list of group files automatically detected and added to the startup window.  
5061 2077d 6h hendricks266 / Defs: Add token "renamefile", which renames a file in a GRP or SSI file, in memory. 8.3 restrictions apply.  
5060 2077d 6h hendricks266 / cache1d: Add support for loading SSI files.  
5059 2077d 6h hendricks266 / cache1d: Allow loading GRP files from within other GRP files.  
5058 2077d 6h hendricks266 / cache1d: Enumify the magic constants for "file is in a zip" and "file is in the filesystem".  
5057 2077d 6h hendricks266 / Modify the modern mini-HUD so that:
1. Instead of the Mighty Foot using the Protective Boots inventory item as its icon, display no icon at all.
2. Adjust the ammo icon so that it is drawn at one-quarter size if its y-size is >=50 instead of >50. This fixes the display of Water Pistol Ammo in Duke Caribbean.
 
5056 2090d 16h hendricks266 / Add "globalflags" def token. Flag 1 is a kill switch for the tileshades and artmapping features. Flag 2 is kill switch for the GL fullbright rendering pass.  
5055 2090d 16h hendricks266 / Change HICTINT_USEONART so that it applies tints to pal 0 of 8-bit tiles instead of their palswapped selves. Add HICTINT_APPLYOVERPALSWAP which applies tints to palswapped 8-bit tiles. Add HICTINT_APPLYOVERALTPAL, which applies tints to alt-pals of hightile textures.  
5054 2091d 5h hendricks266 / Replace the drawing code for the level stats with nearly equivalent code that can be much more easily reproduced in CON.  
5053 2091d 5h hendricks266 / Defs: When undefining a model, reset the angadd of its HUD settings to zero.

This fixes weapons not being displayed in Vaca+.
 
5052 2091d 13h hendricks266 / Amend r5048 to also reset ototalclock and lockclock, and to reset all three at the top of G_PlaybackDemo.  
5051 2091d 13h hendricks266 / Partially revert r5020. It's okay to update totalclocklock in G_DrawRooms(), but we must continue updating it in drawrooms() so as to not break the editor and every other BUILD game.

¿Por qué no los dos?
 
5050 2092d 5h hendricks266 / Expand the grpinfo feature to allow defining GRPs requiring NAM, NAPALM, or WWII GI.  
5049 2092d 5h hendricks266 / In G_PlaybackDemo(), update totalclocklock when G_DrawRooms() is not called and therefore does not update it. This fixes ART animations displaying in the main menu.  
5048 2092d 5h hendricks266 / Reset totalclock to zero for each MAIN_LOOP_RESTART.  
5047 2092d 5h hendricks266 / CON: Add EVENT_DISPLAYROOMSCAMERA and EVENT_DISPLAYSTART.

EVENT_DISPLAYROOMSCAMERA functions exactly like EVENT_DISPLAYROOMS, including RETURN values, but for the ud.camerasprite >= 0 case.
EVENT_DISPLAYSTART is executed immediately after the screen background is cleared and drawn. Ensure its RETURN value is zero, because it is currently not being used.

WARNING: Consult the devs before using EVENT_DISPLAYSTART. Its position in the display code sequence is not finalized.
 
5046 2092d 5h hendricks266 / CON: Add EVENT_DISPLAYCAMERAOSD. Set RETURN to -1 to disable it.

From this event, if "getactor[THISACTOR].htg_t 0" is zero, then the camera is functional. Nonzero values indicate the camera has been destroyed, which is only possible when the CAMERASDESTRUCTABLE parameter of gamestartup has been enabled.
 
5045 2092d 5h hendricks266 / CON: Add EVENT_DISPLAYLEVELSTATS. Set RETURN to -1 to disable them.  
5044 2092d 5h hendricks266 / C-CON: Add read-only userdef members "gametypeflags" and "m_gametypeflags", which return GametypeFlags[ud.coop] and GametypeFlags[ud.m_coop] respectively.  
5043 2092d 5h hendricks266 / C-CON: Add read-only userdef members "usevoxels", "usehightile", and "usemodels".  
5042 2092d 5h hendricks266 / Restore the shade of a tiled MENUTILE to 8, rather than 16.  
5041 2092d 5h hendricks266 / Disable EF_HIDEFROMMP pending proper consideration when multiplayer is closer to being ready.  
5040 2092d 5h hendricks266 / Fix a compiler warning with USE_OPENGL=0.  
5039 2096d 10h hendricks266 / CON: Add "resetplayerflags". Flag 1 means "don't ask the user if they want to load".  
5038 2098d 4h hendricks266 / Amend previous commit. DONT_BUILD.  
5037 2098d 5h hendricks266 / BSD: Build system fixes/improvements. DONT_BUILD.  
5036 2098d 22h helixhorned / LunaCON: add 'definevolumeflags' to keyword pattern, re-apply some changes of r5026.

DONT_BUILD.