------------------------------------------------------------------------ r2141 | helixhorned | 2011-11-26 14:41:09 -0800 (Sat, 26 Nov 2011) | 6 lines Upload sky textures with s wrapping set to GL_CLAMP{_TO_EDGE}. This fixes the vertical (~1 texel wide) stripes that are especially noticable with tiled art skies and Polymost with r_parallaxskyclamp=1 or Polymer (which always uploads skies with repeating s and t coords). What constitutes a sky tile is currently hardcoded to be >=78 and <=99. ------------------------------------------------------------------------ r2140 | helixhorned | 2011-11-26 14:40:54 -0800 (Sat, 26 Nov 2011) | 1 line Fix moving cloud panning like in E4L1. ------------------------------------------------------------------------ r2139 | helixhorned | 2011-11-26 14:40:39 -0800 (Sat, 26 Nov 2011) | 2 lines Remove old duplicate_selected_sectors() function and copysector(), which was only used there, from the source. ------------------------------------------------------------------------ r2138 | helixhorned | 2011-11-26 14:40:23 -0800 (Sat, 26 Nov 2011) | 4 lines Rewrite sector duplication (Insert or C) in terms of backup_highlighted_sector and restore_highlighted_sector functions. What this means is that TROR bunches are now correctly duplicated too (only if all sectors of a given bunch are highlighted). ------------------------------------------------------------------------ r2137 | helixhorned | 2011-11-26 14:40:07 -0800 (Sat, 26 Nov 2011) | 8 lines New modifier for RAlt. When RShift is depressed while highlighting sectors (i.e. first press RAlt, then hold RShift to make it active), consider all sectors, even the grayed out ones. This makes 6 modifier keys in 4 categories for RAlt. Can you name them all? Also spell out the labels that get drawn near the reticle when applying some of the modifiers and make them not show when not actually selecting (e.g. pressed RShift alone, but have highlighted sectors) ------------------------------------------------------------------------ r2136 | helixhorned | 2011-11-26 14:39:50 -0800 (Sat, 26 Nov 2011) | 15 lines In backing up highlighted sectors code: also back up TROR information so that bunches and nextwall links are restores, too. Now, to coalesce two TROR maps (e.g. for a CBP), one could do for i allsectors, sethighlightsector i 1 on the console, and then load the 'other' map to copy over the contents of the first, including all TROR stuff. Note that neither selecting all sectors with RAlt, nor duplicating them with Insert would lead to the desired effect (yet). Internally, - yax_setbunch() now has different behavior for bunchnums -1, -2 and -3 (it either clears the nextwalls or not) - build.c has a helper function free_n_ptrs(). This could be handy in other situations where many blocks of memory must be allocated consecutively and freed in case of failure ------------------------------------------------------------------------