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
5049 2226d 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 2226d 5h hendricks266 / Reset totalclock to zero for each MAIN_LOOP_RESTART.  
5047 2226d 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 2226d 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 2226d 5h hendricks266 / CON: Add EVENT_DISPLAYLEVELSTATS. Set RETURN to -1 to disable them.  
5044 2226d 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 2226d 5h hendricks266 / C-CON: Add read-only userdef members "usevoxels", "usehightile", and "usemodels".  
5042 2226d 5h hendricks266 / Restore the shade of a tiled MENUTILE to 8, rather than 16.  
5041 2226d 5h hendricks266 / Disable EF_HIDEFROMMP pending proper consideration when multiplayer is closer to being ready.  
5040 2226d 5h hendricks266 / Fix a compiler warning with USE_OPENGL=0.  
5039 2230d 11h hendricks266 / CON: Add "resetplayerflags". Flag 1 means "don't ask the user if they want to load".  
5038 2232d 5h hendricks266 / Amend previous commit. DONT_BUILD.  
5037 2232d 5h hendricks266 / BSD: Build system fixes/improvements. DONT_BUILD.  
5036 2232d 23h helixhorned / LunaCON: add 'definevolumeflags' to keyword pattern, re-apply some changes of r5026.

DONT_BUILD.
 
5035 2232d 23h helixhorned / engine.c: style-cleanup getzrange(). DONT_BUILD.  
5034 2239d 15h hendricks266 / Menus: Fix assorted issues in MENU_NETOPTIONS.  
5033 2239d 15h hendricks266 / CON: Add "definevolumeflags", currently equipped to hide an episode from the single player and/or multiplayer screens.

enum
{
EF_HIDEFROMSP = 1<<0,
EF_HIDEFROMMP = 1<<1,
};
 
5032 2239d 15h hendricks266 / CON: Extend undefinevolume so that it also undefines all levels in the specified volume.  
5031 2239d 15h hendricks266 / CON: Rename "cutscene" command to "startcutscene".  
5030 2239d 17h helixhorned / synthesis.sh: CPLUSPLUS=0 for the 32-bit Lunatic build, too.

BUILD_LUNATIC now, maybe?
 
5029 2239d 18h helixhorned / Lunatic: update user_defs, CPLUSPLUS=0 in synthesis.sh, disable 'cutscene' for now.

BUILD_LUNATIC.
 
5028 2239d 18h helixhorned / Makefile.common: fix "disallow building Lunatic with C++" (r4979). DONT_BUILD.  
5027 2239d 18h helixhorned / Lunatic: update files from LuaJIT. DONT_BUILD.  
5026 2239d 18h helixhorned / Lunatic: fix a couple of typo-like issues found by listglobals.sh. DONT_BUILD.  
5025 2240d 0h helixhorned / menus.c: fix two unused-variable warnings.  
5024 2240d 0h helixhorned / Classic/Polymost: factor out update of starting sectnum, use updatesectorbreadth().

The latter means that running perpendicular thin sector is handled better
if there are e.g. TROR sectors in the same x/y space.
 
5023 2240d 14h terminx / Remove a couple of Android-specific menu items I accidentally left enabled on PC.  
5022 2241d 15h helixhorned / gamedef.c: tweak g_keywdate[] entries.  
5021 2241d 15h helixhorned / actors.c: make Enforcers and Troopers avoid ST1 sectors as in Duke3D.

That is, resurrect the stayput condition for LIZMAN and non-flying
LIZTROOP, but only if changing from a non-ST1 sector. DONT_BUILD.
 
5020 2242d 15h helixhorned / Stick update of 'totalclocklock' at beginning of G_DrawRooms() instead of drawrooms().

This fixes engine-side sprite animation in the following scenario: CON code
wants to draw a scene from EVENT_DISPLAYREST, but since it covers the whole
screen, disables the drawing of the 3D scene beforehand (RETURN set to 1 from
EVENT_DISPLAYROOMS). DONT_BUILD.
 
5019 2242d 19h helixhorned / m32script: in 'for i drawnsprites' handling, back up and restore sprite MAXSPRITES-1.

This fixes the level 5 corruption encountered when issuing that iteration.
(Because the last sprite would be changed from e.g. statnum MAXSTATUS to 0.)
It is also mandatory anyhow since the last sprite may be contained in the map.
 
5018 2242d 19h helixhorned / Mapster32: style-cleanup check_spritelist_consistency() and VM_Execute(): 'for'.

DONT_BUILD.
 
5017 2242d 19h helixhorned / Under conditions of CLASSIC_Z_DIFF_64 (r4960), make some drawvox() vars 64-bit.

- In drawvox(), make view-relative x and y high-precision on desktops. To a
large extent (but not completely), this fixes "stray" fake floor shadow
sprites for voxels.
- In the mouse picking code for voxels, fix a possible integer overflow.
A new engine.c-private function mulscale_triple30() is added.

DONT_BUILD.
 
5016 2243d 16h helixhorned / Add lunatic/test/thisactor_getzrange.con, providing 'state thisactor_getzrange'.

Also, note a place that is the real cause for "what makes the player slide off
enemies", as far as I can see.
 
5015 2243d 16h helixhorned / gameexec.c: factor out 2x occuring pattern into VM_GetZRange(), clean up 3 funcs.

- VM_GetZRange(), which updates actor[].{floor,ceiling}z, is called from
A_GetZLimits() and A_Fall().
- Style-cleanup the following: A_Dodge(), A_GetFurthestAngle(),
A_FurthestVisiblePoint(). DONT_BUILD.
 
5014 2243d 16h helixhorned / Revert "gameexec.c: in VM_Move(), update actor[].{floor,ceiling}z for enemies."

This reverts r4975. DONT_BUILD.
 
5013 2244d 11h terminx / MSVC build fix.  
5012 2244d 11h terminx / Fix Mapster32 mouse cursor in GL  
5011 2244d 11h terminx / Fix Polymer when switching from Polymost  
5010 2244d 11h terminx / Nocompress and nodownsize for skyboxes