Subversion Repositories eduke32

Rev

Hide changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
4977 2358d 11h hendricks266 /polymer/eduke32/source/ CON: Add undefinevolume, undefineskill, and undefinelevel.  
/polymer/eduke32/source/gamedef.c
/polymer/eduke32/source/gamedef.h
/polymer/eduke32/source/lunatic/con_lang.lua
/polymer/eduke32/source/lunatic/defs.ilua
/polymer/eduke32/source/lunatic/dynsymlist
/polymer/eduke32/source/lunatic/lunacon.lua
/polymer/eduke32/source/menus.c
4976 2358d 11h hendricks266 /polymer/eduke32/source/ Rename "Polymost.f" string back to "Polymost" because it only confused users.  
/polymer/eduke32/source/menus.c
4975 2358d 22h helixhorned /polymer/eduke32/source/ gameexec.c: in VM_Move(), update actor[].{floor,ceiling}z for enemies.

Previously, that was the case only with DRONE and COMMANDER. This makes
non-falling enemies pass properly through TROR bunches.
 
/polymer/eduke32/source/gameexec.c
4974 2358d 22h helixhorned /polymer/eduke32/source/ actors.c: style-cleanup A_MoveSpriteClipdist(). DONT_BUILD.  
/polymer/eduke32/source/actors.c
4973 2358d 22h helixhorned /polymer/eduke32/build/src/ Mapster32: in build.c, prevent oob of wall[] if joining non-adjacent sectors.

Also, some minor stylistic cleanup.
 
/polymer/eduke32/build/src/build.c
4972 2358d 22h helixhorned /polymer/eduke32/source/ CON: Amend retrieval of STR_*TIME for qgetsysstr, fixing LunaCON and possible oob.

- Add declarations of C functions to defs.ilua, names to dynsymlist,
fix typo in con_lang.lua, ffi.string() calls in control.lua
- Assert that G_LastMapInfoIndex() is always called with ud.last_level >= 1.
(A stricter requirement than necessary to prevent follow-up oob accesses, but
logically the most meaningful.)
- In G_PrintParTime() and G_PrintDesignerTime(), return "<invalid>" if the above
does not hold. This can happen from EVENT_NEWGAME, for example. Add a test to
lunatic/test/qgetsysstr.con. DONT_BUILD.
 
/polymer/eduke32/source/game.c
/polymer/eduke32/source/lunatic/con_lang.lua
/polymer/eduke32/source/lunatic/control.lua
/polymer/eduke32/source/lunatic/defs.ilua
/polymer/eduke32/source/lunatic/dynsymlist
/polymer/eduke32/source/lunatic/test/qgetsysstr.con
/polymer/eduke32/source/lunatic/test/quote_ops.con
4971 2359d 8h hendricks266 /polymer/eduke32/build/src/ Engine: Remove some conditional disabling of spriteext features when !defined USE_OPENGL.  
/polymer/eduke32/build/src/engine.c
4970 2359d 8h hendricks266 /polymer/eduke32/source/ CON: Add read-only access to ud.config.MusicToggle through the "musictoggle" member.  
/polymer/eduke32/source/gamedef.c
/polymer/eduke32/source/gamedef.h
/polymer/eduke32/source/gamestructures.c
/polymer/eduke32/source/lunatic/con_lang.lua
4969 2359d 8h hendricks266 /polymer/eduke32/source/ CON: Add STR_YOURTIME, STR_PARTIME, STR_DESIGNERTIME, and STR_BESTTIME to qgetsysstr.  
/polymer/eduke32/source/gamedef.c
/polymer/eduke32/source/gamedef.h
/polymer/eduke32/source/gameexec.c
/polymer/eduke32/source/lunatic/con_lang.lua
/polymer/eduke32/source/lunatic/control.lua
4968 2359d 8h hendricks266 /polymer/eduke32/source/ Factor out generation of strings for time values in the bonus screen. This involves the creation of ud.playerbest.  
/polymer/eduke32/source/game.c
/polymer/eduke32/source/game.h
/polymer/eduke32/source/gamedef.c
/polymer/eduke32/source/gamedef.h
/polymer/eduke32/source/gamestructures.c
/polymer/eduke32/source/lunatic/con_lang.lua
/polymer/eduke32/source/lunatic/defs.ilua
/polymer/eduke32/source/premap.c
4967 2359d 8h hendricks266 /polymer/eduke32/source/ Correct the special behavior to select the pipebomb detonator when you have no pipebombs in your inventory but you have some thrown in the environment so that it animates properly and also applies with the next/previous weapon functions.  
/polymer/eduke32/source/sector.c
4966 2359d 8h hendricks266 /polymer/eduke32/source/ Move EVENT_DISPLAYMENU to after the black translucent background is drawn when in-game.  
/polymer/eduke32/source/menus.c
4965 2359d 23h 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
4964 2359d 23h helixhorned /polymer/eduke32/build/src/ sdlayer.c: minor stylistic simplification of sdlayer_checkversion(). DONT_BUILD.  
/polymer/eduke32/build/src/sdlayer.c
4963 2359d 23h helixhorned /polymer/eduke32/build/src/ osd.c: in OSD_HandleChar() for TAB, fix use of uninitialized osd->editor.buf[i].

Exposed by Valgrind. DONT_BUILD.
 
/polymer/eduke32/build/src/osd.c
4962 2359d 23h helixhorned /polymer/eduke32/source/lunatic/ LunaCON: make -fbad-getactorvar-use-pli enabled by default. DONT_BUILD.  
/polymer/eduke32/source/lunatic/doc/lunacon.txt
/polymer/eduke32/source/lunatic/lunacon.lua
4961 2359d 23h 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 2359d 23h 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 2359d 23h helixhorned /polymer/eduke32/build/src/ engine.c: style-cleanup owallmost() and wallmost(). DONT_BUILD.  
/polymer/eduke32/build/src/engine.c
4958 2361d 23h helixhorned /polymer/eduke32/build/include/ In DEBUGANYWAY=2/DEBUG_MAIN_ARRAYS build, declare tsprite[] as tspritetype.

Fixing a bunch of warnings. DONT_BUILD.
 
/polymer/eduke32/build/include/build.h

Show All