------------------------------------------------------------------------ r2093 | helixhorned | 2011-10-30 12:48:46 -0700 (Sun, 30 Oct 2011) | 5 lines Increase MAXSOUNDS to 4096, making the maximum valid sound ID be 4093. Keep in mind that MUSICANDSFXs with ambient sounds must still have lotags less than 999 because values >=1000 are used for the amount of reverb. (999 can't be used because the original code reads '< 999' and I'm not sure whether it has any special significance... probably not though) ------------------------------------------------------------------------ r2092 | helixhorned | 2011-10-30 12:48:29 -0700 (Sun, 30 Oct 2011) | 3 lines When joining sectors and there's more than one non-grayed-out sector under the cursor, query the mapper to pick one. The joining can still fail afterwards, which makes it only a semi-automatic helper feature. ------------------------------------------------------------------------ r2091 | helixhorned | 2011-10-30 12:48:13 -0700 (Sun, 30 Oct 2011) | 4 lines This fixes the aforementioned TROR corruption. It happened because Mapster32 allowed circle-walls started on the unconstrained _other_ side of a constrained wall. Also fix a potential invalid wall access when inserting a point (pretty serious, that!) ------------------------------------------------------------------------ r2090 | helixhorned | 2011-10-30 12:47:58 -0700 (Sun, 30 Oct 2011) | 4 lines (Almost) correct insertion of points in the midst of having some walls drawn, also for make-circle (C, SPACE). There's still a TROR corruption happening probably when inserting on constrained walls, but I've yet to get behind the real cause. ------------------------------------------------------------------------ r2089 | helixhorned | 2011-10-30 12:47:42 -0700 (Sun, 30 Oct 2011) | 4 lines Make deleting points correct while having some walls drawn. For that, some wall drawing state is ripped out from overheadeditor() into a a file-scope struct (even if we don't yet need it there). If the deleting touches the first drawn point, the walls drawn so far are cleared. ------------------------------------------------------------------------ r2088 | helixhorned | 2011-10-30 12:47:26 -0700 (Sun, 30 Oct 2011) | 3 lines Eliminate one malloc(0) when corrupt-checking an empty map, clean up overheadeditor() by allocating temp variables in the blocks where they are needed. ------------------------------------------------------------------------ r2087 | helixhorned | 2011-10-30 12:47:07 -0700 (Sun, 30 Oct 2011) | 2 lines Fix the bug where many kick sounds were started when pressing HOME or END in the user map selector. Now it's only one. ------------------------------------------------------------------------ r2086 | helixhorned | 2011-10-30 12:46:51 -0700 (Sun, 30 Oct 2011) | 4 lines A couple of small tweaks: - fix arg checking in checkdefs.sh - some tilenum and quote ID validation in the CON interpreter - G_DrawDigiNum and friends: eliminate redundant strlen calls ------------------------------------------------------------------------ r2085 | helixhorned | 2011-10-27 06:14:22 -0700 (Thu, 27 Oct 2011) | 7 lines Workaround (two, actually) for the hardware gamma bug in 8-bit fullscreen with ATI cards. From the time of OpenGL initialization, gamma lookup in classic/fullscreen will be done in software. Before that, always do a setgamma() after setting the palette, since this is what resets the HW gamma. However, this may lead to unappealing artifacts with portions of the scene being sent to the screen with different gammas. ------------------------------------------------------------------------