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

DONT_BUILD.
 
5035 2232d 22h helixhorned / engine.c: style-cleanup getzrange(). DONT_BUILD.  
5034 2239d 14h hendricks266 / Menus: Fix assorted issues in MENU_NETOPTIONS.  
5033 2239d 14h 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 14h hendricks266 / CON: Extend undefinevolume so that it also undefines all levels in the specified volume.  
5031 2239d 14h hendricks266 / CON: Rename "cutscene" command to "startcutscene".  
5030 2239d 16h helixhorned / synthesis.sh: CPLUSPLUS=0 for the 32-bit Lunatic build, too.

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

BUILD_LUNATIC.
 
5028 2239d 17h helixhorned / Makefile.common: fix "disallow building Lunatic with C++" (r4979). DONT_BUILD.  
5027 2239d 17h helixhorned / Lunatic: update files from LuaJIT. DONT_BUILD.  
5026 2239d 17h helixhorned / Lunatic: fix a couple of typo-like issues found by listglobals.sh. DONT_BUILD.  
5025 2239d 23h helixhorned / menus.c: fix two unused-variable warnings.  
5024 2239d 23h 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 13h terminx / Remove a couple of Android-specific menu items I accidentally left enabled on PC.  
5022 2241d 14h helixhorned / gamedef.c: tweak g_keywdate[] entries.  
5021 2241d 14h 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 14h 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 18h 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 18h helixhorned / Mapster32: style-cleanup check_spritelist_consistency() and VM_Execute(): 'for'.

DONT_BUILD.
 
5017 2242d 18h 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 15h 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 15h 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 15h helixhorned / Revert "gameexec.c: in VM_Move(), update actor[].{floor,ceiling}z for enemies."

This reverts r4975. DONT_BUILD.
 
5013 2244d 10h terminx / MSVC build fix.  
5012 2244d 10h terminx / Fix Mapster32 mouse cursor in GL  
5011 2244d 10h terminx / Fix Polymer when switching from Polymost  
5010 2244d 10h terminx / Nocompress and nodownsize for skyboxes  
5009 2244d 20h helixhorned / Fix swapbufreverse(), adding precondition of count >= 4.

Also, in premap.c:G_CacheMapData(), comment out what was supposedly
intended as a debugging message ("percentage ...").
 
5008 2244d 20h helixhorned / LunaCON: add 'cutscene' and 'ifcutscene' as NYI commands. DONT_BUILD.  
5007 2248d 0h hendricks266 / Amend previous commit. DONT_BUILD.