------------------------------------------------------------------------ r6263 | hendricks266 | 2017-06-24 02:21:13 -0700 (Sat, 24 Jun 2017) | 1 line Shrink the tilesiz vector to use int16_t members as the original arrays were. ------------------------------------------------------------------------ r6262 | hendricks266 | 2017-06-24 02:21:07 -0700 (Sat, 24 Jun 2017) | 1 line CON: Add EVENT_PRELOADGAME and EVENT_POSTLOADGAME. ------------------------------------------------------------------------ r6261 | hendricks266 | 2017-06-24 02:21:03 -0700 (Sat, 24 Jun 2017) | 8 lines CON: Add drawline256 and drawlinergb commands that call the internal functions used for the automap lines. drawline256 drawlinergb The coordinates are xdim<<12/ydim<<12 based, not 320<<16x200<<16. is a palette index, and for drawlinergb is used as a fallback in the software renderer. is encoded the same as PROJ_FLASH_COLOR. ------------------------------------------------------------------------ r6260 | hendricks266 | 2017-06-24 02:20:58 -0700 (Sat, 24 Jun 2017) | 1 line Add internal drawlinergb function. ------------------------------------------------------------------------ r6259 | hendricks266 | 2017-06-24 02:20:54 -0700 (Sat, 24 Jun 2017) | 7 lines CON: Add getclosestcol command, which finds the closest palette index given getclosestcol is encoded the same as PROJ_FLASH_COLOR. is the index of the last palette color that should be considered. Use 255 for the whole palette, 254 to exclude the transparent color, 239 to exclude Duke 3D's fullbrights, etc. ------------------------------------------------------------------------ r6258 | hendricks266 | 2017-06-24 02:20:50 -0700 (Sat, 24 Jun 2017) | 5 lines CON: Add EVENT_DISPLAYOVERHEADMAPTEXT. Set RETURN to any non-zero value to disable hardcoded display of text. If you wish to replace the hardcoded text, you must check that userdef[].overhead_on == 2 yourself. ------------------------------------------------------------------------ r6257 | hendricks266 | 2017-06-24 02:20:46 -0700 (Sat, 24 Jun 2017) | 1 line Replace specialized swap C functions with a templatized version. ------------------------------------------------------------------------ r6256 | hendricks266 | 2017-06-24 02:20:42 -0700 (Sat, 24 Jun 2017) | 1 line scale(1<<##, b, c) --> divscale##(b, c) ------------------------------------------------------------------------ r6255 | hendricks266 | 2017-06-24 02:20:37 -0700 (Sat, 24 Jun 2017) | 1 line scale(a, b, 1<<##) --> mulscale##(a, b) ------------------------------------------------------------------------ r6254 | hendricks266 | 2017-06-24 02:20:21 -0700 (Sat, 24 Jun 2017) | 1 line mulscale(a, b, ##) --> mulscale##(a, b) ------------------------------------------------------------------------ See http://svn.eduke32.com/listing.php?repname=eduke32 for more details.