Subversion Repositories eduke32

Rev

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

Filtering Options

Rev Age Author Path Log message Diff Changes
5062 2177d 6h hendricks266 /polymer/eduke32/source/ Add the Duke DC and Duke Caribbean SSI files to the list of group files automatically detected and added to the startup window.  
/polymer/eduke32/source/common.c
/polymer/eduke32/source/common_game.h
/polymer/eduke32/source/grpscan.c
/polymer/eduke32/source/grpscan.h
/polymer/eduke32/source/startgtk.game.c
/polymer/eduke32/source/startwin.game.c
5061 2177d 6h hendricks266 /polymer/eduke32/build/ Defs: Add token "renamefile", which renames a file in a GRP or SSI file, in memory. 8.3 restrictions apply.  
/polymer/eduke32/build/include/cache1d.h
/polymer/eduke32/build/src/cache1d.c
/polymer/eduke32/build/src/defs.c
5060 2177d 6h hendricks266 /polymer/eduke32/build/src/ cache1d: Add support for loading SSI files.  
/polymer/eduke32/build/src/cache1d.c
5059 2177d 6h hendricks266 /polymer/eduke32/build/ cache1d: Allow loading GRP files from within other GRP files.  
/polymer/eduke32/build/include/cache1d.h
/polymer/eduke32/build/src/cache1d.c
5058 2177d 6h hendricks266 /polymer/eduke32/build/ cache1d: Enumify the magic constants for "file is in a zip" and "file is in the filesystem".  
/polymer/eduke32/build/include/cache1d.h
/polymer/eduke32/build/src/cache1d.c
5057 2177d 6h hendricks266 /polymer/eduke32/source/ 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.
 
/polymer/eduke32/source/game.c
5056 2190d 16h hendricks266 /polymer/eduke32/build/ 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.  
/polymer/eduke32/build/include/build.h
/polymer/eduke32/build/include/polymost.h
/polymer/eduke32/build/src/defs.c
/polymer/eduke32/build/src/engine.c
/polymer/eduke32/build/src/polymer.c
/polymer/eduke32/build/src/polymost.c
/polymer/eduke32/build/src/texcache.c
5055 2190d 16h hendricks266 /polymer/eduke32/build/ 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.  
/polymer/eduke32/build/include/hightile.h
/polymer/eduke32/build/src/polymost.c
/polymer/eduke32/build/src/texcache.c
5054 2191d 5h hendricks266 /polymer/eduke32/source/ Replace the drawing code for the level stats with nearly equivalent code that can be much more easily reproduced in CON.  
/polymer/eduke32/source/game.c
/polymer/eduke32/source/menus.c
5053 2191d 5h hendricks266 /polymer/eduke32/build/src/ Defs: When undefining a model, reset the angadd of its HUD settings to zero.

This fixes weapons not being displayed in Vaca+.
 
/polymer/eduke32/build/src/mdsprite.c
5052 2191d 13h hendricks266 /polymer/eduke32/source/ Amend r5048 to also reset ototalclock and lockclock, and to reset all three at the top of G_PlaybackDemo.  
/polymer/eduke32/source/demo.c
/polymer/eduke32/source/game.c
5051 2191d 13h hendricks266 /polymer/eduke32/build/src/ 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?
 
/polymer/eduke32/build/src/engine.c
5050 2192d 5h hendricks266 /polymer/eduke32/source/ Expand the grpinfo feature to allow defining GRPs requiring NAM, NAPALM, or WWII GI.  
/polymer/eduke32/source/common_game.h
/polymer/eduke32/source/grpscan.c
5049 2192d 5h hendricks266 /polymer/eduke32/source/ 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.  
/polymer/eduke32/source/demo.c
5048 2192d 5h hendricks266 /polymer/eduke32/source/ Reset totalclock to zero for each MAIN_LOOP_RESTART.  
/polymer/eduke32/source/game.c
5047 2192d 5h hendricks266 /polymer/eduke32/source/ 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.
 
/polymer/eduke32/source/events_defs.h
/polymer/eduke32/source/game.c
/polymer/eduke32/source/gamedef.c
/polymer/eduke32/source/lunatic/con_lang.lua
5046 2192d 5h hendricks266 /polymer/eduke32/source/ 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.
 
/polymer/eduke32/source/events_defs.h
/polymer/eduke32/source/game.c
/polymer/eduke32/source/gamedef.c
/polymer/eduke32/source/lunatic/con_lang.lua
5045 2192d 5h hendricks266 /polymer/eduke32/source/ CON: Add EVENT_DISPLAYLEVELSTATS. Set RETURN to -1 to disable them.  
/polymer/eduke32/source/events_defs.h
/polymer/eduke32/source/game.c
/polymer/eduke32/source/gamedef.c
/polymer/eduke32/source/lunatic/con_lang.lua
5044 2192d 5h hendricks266 /polymer/eduke32/source/ C-CON: Add read-only userdef members "gametypeflags" and "m_gametypeflags", which return GametypeFlags[ud.coop] and GametypeFlags[ud.m_coop] respectively.  
/polymer/eduke32/source/gamedef.c
/polymer/eduke32/source/gamedef.h
/polymer/eduke32/source/gamestructures.c
5043 2192d 5h hendricks266 /polymer/eduke32/source/ C-CON: Add read-only userdef members "usevoxels", "usehightile", and "usemodels".  
/polymer/eduke32/source/gamedef.c
/polymer/eduke32/source/gamedef.h
/polymer/eduke32/source/gamestructures.c

Show All