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
4153 2906d 4h helixhorned /polymer/eduke32/ LunaCON: for gamevar-already-defined warnings/errors, show old location.

Synthesis, BUILD_LUNATIC! Got the build? Good synthesis.
 
4152 2906d 4h helixhorned /polymer/eduke32/ LunaCON: In lunacon.lua, make room for a couple more locals at file scope.

Also, really reset all label-related tables in reset.labels().
 
4151 2906d 4h helixhorned /polymer/eduke32/ LunaCON: for *-already-defined style warnings/errors, show location of old def.  
4150 2906d 4h helixhorned /polymer/eduke32/ LunaCON: add a couple of userdefs members, fix tsprite's sectnum for writing.  
4149 2906d 4h helixhorned /polymer/eduke32/ LunaCON: implement 'ssp' command.  
4148 2907d 4h helixhorned /polymer/eduke32/ Mapster32: don't produce erratic behavior w/ crash when not in 3D mode.

Also, BUILD_LUNATIC.
 
4147 2907d 8h helixhorned /polymer/eduke32/ Lunatic: add 'fs' module containing 'listpath' function, 'd' in global env.

See the updated documentation for (ATM sparse) details.
 
4146 2907d 8h helixhorned /polymer/eduke32/ CON: add sprite pseudo-member 'isvalid', getting 1 if the sprite is valid.

And 0 otherwise. Before accessing a sprite that is not not known to be
definitely valid (e.g. a loop over all sprites from 0 to MAXSPRITES-1),
one should check for validity before accessing it in any other fashion.
 
4145 2910d 7h helixhorned /polymer/eduke32/ Lunatic: add two names forgotten for dynsymlist.

Let's BUILD_LUNATIC to see whether it still works...
 
4144 2910d 7h helixhorned /polymer/eduke32/ In C_SetCfgName, don't use unsafe string functions with unknown-length input.  
4143 2910d 7h helixhorned /polymer/eduke32/ LunaCON: implement 'setcfgname'.

Factor out a block of code into C_SetCfgName() and use that from lunacon.lua.
 
4142 2910d 7h helixhorned /polymer/eduke32/ LunaCON: on 'starttrack' with null music, issue a 'soft' error.

That is, one that doesn't break the control flow.
 
4141 2910d 7h helixhorned /polymer/eduke32/ Lunatic: fix ported A_FurthestVisiblePoint().  
4140 2910d 7h helixhorned /polymer/eduke32/ LunaCON: implement NORESET flag for gamevars.  
4139 2914d 2h helixhorned /polymer/eduke32/ OSD: on non-Windows, make textmode=0 the default, just like in Windows.

This fixes some init and update anomalies: before,
- init would always be the graphical mode (0), but writing
merely "osdtextmode" would switch it
- osdtextmode would not get saved to the cfg
 
4138 2914d 2h helixhorned /polymer/eduke32/ OSD: retire OSD_GetFmt(), OSD_GetFmtPtr() and OSD_GetTextPtr() functions.

These were too much "looking into the implementation of a module" for my
taste, hence OSD_GetShadePal() earlier.
 
4137 2914d 2h helixhorned /polymer/eduke32/ OSD: make plain display (osdtextmode=1) colorized, too.  
4136 2914d 2h helixhorned /polymer/eduke32/ OSD: factor out getting sh/pal using format+text buffers into OSD_GetShadePal().  
4135 2914d 2h helixhorned /polymer/eduke32/ textfont.c: make TAB character display blank.

This renders tweaks like r4122 unnecessary.
Also, note a "bug" with the program generating that C code.
 
4134 2914d 2h helixhorned /polymer/eduke32/ Lunatic: add 'lua' OSD command, permitting to execute arbitrary code.

That is, everything that would be possible via scripting.
 

Show All