Subversion Repositories eduke32

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
5017 2357d 0h helixhorned /polymer/eduke32/build/src/engine.c 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.
 
5001 2365d 12h terminx /polymer/eduke32/build/src/engine.c Polymost changes to better support running under GL ES. Still need to investigate GL_LINES and GL_QUADS... neither work under either GL -> GL ES wrapper we've tried, so we must be doing something wrong.  
4984 2365d 12h terminx /polymer/eduke32/build/src/engine.c Minor engine cleanup  
4981 2365d 12h terminx /polymer/eduke32/build/src/engine.c More twalltype  
4971 2368d 10h hendricks266 /polymer/eduke32/build/src/engine.c Engine: Remove some conditional disabling of spriteext features when !defined USE_OPENGL.  
4965 2369d 0h helixhorned /polymer/eduke32/build/src/engine.c Classic: fix underallocation of TILE_TILT and tilting at very small resolutions.

Since TILE_TILT is only allocated once, it must be done with the maximum
possible size.
 
4961 2369d 0h helixhorned /polymer/eduke32/build/src/engine.c Make g_player a +1 offset pointer into 'static g_player_s[1 + MAXPLAYER]'.

This fixes the out-of-bounds read of former g_player[] in VM_EventCommon_().
 
4960 2369d 0h helixhorned /polymer/eduke32/build/src/engine.c Classic: on desktops, handle abs. z diff. of floor/ceiling to camera >= 1<<24.  
4959 2369d 0h helixhorned /polymer/eduke32/build/src/engine.c engine.c: style-cleanup owallmost() and wallmost(). DONT_BUILD.  
4938 2388d 16h helixhorned /polymer/eduke32/build/src/engine.c engine.c: in qsetmodeany(), call initsmost() after setting xdim and ydim.

This makes sure that the engine arrays have sufficient space allocated for usage
in Mapster32's 2D mode, for example from drawmapview().
 
4935 2388d 18h helixhorned /polymer/eduke32/build/src/engine.c Classic: fix "windowed" modes (r_size >= 12) by reverting r4920; adapt.

In setview(), we now assert windowx2 < xdim. The only calling places where its
non-violation is non-trivial to ascertain are (1) showview from CON and
(2) draw-to-tile for look-sideways in game.c. AFAICS case 1 should be fine.
Case 2 is adapted; see comments there.
 
4933 2388d 21h helixhorned /polymer/eduke32/build/src/engine.c Fix bsearch() call for user G_LoadMapHack(): don't access nonexistent storage. DONT_BUILD.  
4931 2388d 21h helixhorned /polymer/eduke32/build/src/engine.c engine.c: fix memory leak. DONT_BUILD.  
4927 2390d 17h hendricks266 /polymer/eduke32/build/src/engine.c Fix a crash exposed by animating the menu back button.  
4920 2392d 11h terminx /polymer/eduke32/build/src/engine.c Fix off-by-one error in setview()  
4904 2396d 13h terminx /polymer/eduke32/build/src/engine.c Polymost: fix wall and floor sprites clipping into or z-fighting with surfaces (replaces glDepthRange() hacks for sprites), add r_nofog cvar for debugging, reduce the total number of OpenGL calls by only calling glFogi() to set the fog mode when initializing the renderer or changing r_usenewshading.  
4899 2396d 13h terminx /polymer/eduke32/build/src/engine.c Fix distrecip calculation  
4898 2396d 13h terminx /polymer/eduke32/build/src/engine.c Revise C++ structure trackers for performance and introduce "tspritetype", for temporary sprites or other usages where using the trackers would be invalid or undesired. DONT_BUILD.  
4890 2396d 13h terminx /polymer/eduke32/build/src/engine.c MSVC C++ build fixes. DONT_BUILD.  
4884 2399d 3h hendricks266 /polymer/eduke32/build/src/engine.c Implement UserMapHacks.  

Show All