Subversion Repositories eduke32

Rev

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

Filtering Options

Rev Age Author Path Log message Diff Changes
5071 2211d 14h terminx /polymer/eduke32/build/src/ Minor stylistic changes, fix FPS counter and other 2D drawing in Polymer.  
/polymer/eduke32/build/src/engine.c
5056 2225d 18h 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
5051 2226d 15h 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
5035 2234d 0h helixhorned /polymer/eduke32/build/src/ engine.c: style-cleanup getzrange(). DONT_BUILD.  
/polymer/eduke32/build/src/engine.c
5024 2241d 2h helixhorned /polymer/eduke32/build/src/ 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.
 
/polymer/eduke32/build/src/engine.c
/polymer/eduke32/build/src/polymost.c
5020 2243d 16h helixhorned /polymer/eduke32/ 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.
 
/polymer/eduke32/build/src/engine.c
/polymer/eduke32/source/game.c
5017 2243d 21h helixhorned /polymer/eduke32/build/src/ 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.
 
/polymer/eduke32/build/src/engine.c
5001 2252d 9h terminx /polymer/eduke32/build/ 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.  
/polymer/eduke32/build/include/build.h
/polymer/eduke32/build/include/glbuild.h
/polymer/eduke32/build/src/baselayer.c
/polymer/eduke32/build/src/common.c
/polymer/eduke32/build/src/engine.c
/polymer/eduke32/build/src/glbuild.c
/polymer/eduke32/build/src/mdsprite.c
/polymer/eduke32/build/src/polymost.c
4984 2252d 9h terminx /polymer/eduke32/build/src/ Minor engine cleanup  
/polymer/eduke32/build/src/engine.c
4981 2252d 9h terminx /polymer/eduke32/ More twalltype  
/polymer/eduke32/build/src/engine.c
/polymer/eduke32/source/actors.c
4971 2255d 7h hendricks266 /polymer/eduke32/build/src/ Engine: Remove some conditional disabling of spriteext features when !defined USE_OPENGL.  
/polymer/eduke32/build/src/engine.c
4965 2255d 21h helixhorned /polymer/eduke32/ 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.
 
/polymer/eduke32/build/src/engine.c
/polymer/eduke32/source/game.c
4961 2255d 21h helixhorned /polymer/eduke32/ 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_().
 
/polymer/eduke32/build/src/engine.c
/polymer/eduke32/source/global.h
/polymer/eduke32/source/lunatic/defs.ilua
/polymer/eduke32/source/player.h
4960 2255d 21h helixhorned /polymer/eduke32/build/src/ Classic: on desktops, handle abs. z diff. of floor/ceiling to camera >= 1<<24.  
/polymer/eduke32/build/src/engine.c
4959 2255d 21h helixhorned /polymer/eduke32/build/src/ engine.c: style-cleanup owallmost() and wallmost(). DONT_BUILD.  
/polymer/eduke32/build/src/engine.c
4938 2275d 13h helixhorned /polymer/eduke32/build/src/ 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().
 
/polymer/eduke32/build/src/engine.c
4935 2275d 15h helixhorned /polymer/eduke32/ 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.
 
/polymer/eduke32/build/src/engine.c
/polymer/eduke32/source/game.c
4933 2275d 18h helixhorned /polymer/eduke32/ Fix bsearch() call for user G_LoadMapHack(): don't access nonexistent storage. DONT_BUILD.  
/polymer/eduke32/build/include/build.h
/polymer/eduke32/build/src/engine.c
/polymer/eduke32/source/premap.c
4931 2275d 18h helixhorned /polymer/eduke32/build/src/ engine.c: fix memory leak. DONT_BUILD.  
/polymer/eduke32/build/src/engine.c
4927 2277d 14h hendricks266 /polymer/eduke32/ Fix a crash exposed by animating the menu back button.  
/polymer/eduke32/build/src/engine.c
/polymer/eduke32/source/menus.c

Show All