Novembre 2011
-
Generale
multivoc.c: trivial stylistic changes, make some functions static
-
Generale
Fix another dragpoint() bug that was wrongly omitting walls.
Mostra dettagli
This one could have only happened with TROR maps, I think.
Ottobre 2011
-
Generale
Oops. That last one wasn't supposed to be committed. Here's the log for the
Mostra dettagli
last one + this one: A couple of tweaks against accidental overwriting of maps. - first, fix a bug where the map name wasn't reset to 'newboard.map' when starting a new map - When saving with Ctrl-S, query the user for confirmation and also show the file name where the map will be written - when going into the ESC-menu, print the file name where the map will be written on pressing 'S' above the '(S)ave' text
-
Generale
A couple of tweaks against accidental overwriting of maps.
Mostra dettagli
- first, fix a bug where
-
Generale
Fix an init issue with the earlier ATI workaround.
-
Generale
Increase MAXSOUNDS to 4096, making the maximum valid sound ID be 4093.
Mostra dettagli
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)
-
Generale
When joining sectors and there's more than one non-grayed-out sector under the
Mostra dettagli
cursor, query the mapper to pick one. The joining can still fail afterwards, which makes it only a semi-automatic helper feature.
-
Generale
This fixes the aforementioned TROR corruption. It happened because Mapster32
Mostra dettagli
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!)
-
Generale
(Almost) correct insertion of points in the midst of having some walls drawn,
Mostra dettagli
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.
-
Generale
Make deleting points correct while having some walls drawn. For that,
Mostra dettagli
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.
-
Generale
Eliminate one malloc(0) when corrupt-checking an empty map, clean up
Mostra dettagli
overheadeditor() by allocating temp variables in the blocks where they are needed.
-
Generale
Fix the bug where many kick sounds were started when pressing
Mostra dettagli
HOME or END in the user map selector. Now it's only one.
-
Generale
A couple of small tweaks:
Mostra dettagli
- fix arg checking in checkdefs.sh - some tilenum and quote ID validation in the CON interpreter - G_DrawDigiNum and friends: eliminate redundant strlen calls
-
Generale
Workaround (two, actually) for the hardware gamma bug in 8-bit fullscreen with
Mostra dettagli
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.
-
remove ebacktrace1.dll as dependency to eduke32 and mapster32 and
Mostra dettagli
add it to the 'all' target instead source/midi.c: eliminate one 'variable set but not used' warning
-
Generale
Comment out some unnecessary lines in animvpx.c
-
Generale
Comment out some leftover code from the "make back-facing switches invisible"
Mostra dettagli
hack.
-
Generale
Bash helper script to find wrongly-cased file names in DEFs and
Mostra dettagli
maybe replace them with the proper names. Usage: checkdefs.sh <some.def> [[<some_dir>] -patch] <some_dir> is taken to be the base directory of the search path. -patch uses 'sed -i' to replace the offending findings
-
tell gl.h not to include the system's glext.h
Mostra dettagli
We pack our own copy of glext.h to avoid build breakages on older environments, and having gl.h include its own was defeating all that.
-
Generale
Eliminate all 'variable ... set but not used [-Wunused-but-set-variable]'
Mostra dettagli
warnings with GCC 4.6 except one in kplib.c
-
Generale
Make Polymer's FOV depend viewingrange variable in a 'tangent-linear'
Mostra dettagli
fashion. Among other things, this makes the FOV widening when shrunk work. User CON code should always check the initial viewingrange value when attempting to do FOV effects like zoom, because it is not guaranteed to be 65536 due to different screen aspect ratios etc.
-
Generale
Two tweaks when keying in values directly in the editor's 3D mode.
Mostra dettagli
First, when pressing 'S on signed members (like the shade), display the real signed value instead of the value cast to an unsigned type. Second, when aiming at an overwall and pressing G, affect the overwall instead of the wall. Maybe these changes affect a few other queries too...
-
Generale
OSX build: don't include startup window (where the hell is the nib file?); makefile bits for libpng from maxports (dynamically linked, not enabled); update osxbuild.sh so that the 64-bit build links (statically) to libvpx
-
Generale
mapster32 script: when defining an event, enable it automatically
-
more sandboxing mechanisms, makefile lines for OSX
-
Generale
fix osx build: looks like it doesn't have the GL debugging functions
-
Generale
Tripbombs now stop producing laserlines when they reach invalid space. In effect, tripbombs facing the wrong way will not make infinite laser lines.
Mostra dettagli
-
Generale
Fix being squished in sectors with little headroom but extended non-blocking
Mostra dettagli
ceilings or floors. In such cases, you're not squished unconditionally (instead of fetching the ceiling or floor height of the neighbor sector), but TROR isn't meant for small-scale RoR anyway.
-
Generale
Fix dragpoint()!!! There was a bug that omitted setting the new position of certain wall-points since the TROR introduction.
-
Generale
Initialize prlights[lighti].flags.invalidate with 0 when calling
Mostra dettagli
polymer_addlight(). I have no idea whether it's the 'right' thing, but it fixes this: Conditional jump or move depends on uninitialised value(s) at polymer_updatelights (polymer.c:5090) by polymer_drawrooms (polymer.c:938) . . . Uninitialised value was created by a stack allocation at loadmaphack (engine.c:9482) Fix another uninitialized access when rendering jpegs.
-
Generale
Delete maphack lights when changing from Polymer to another renderer.
Mostra dettagli
This fixes a crash when loading a map afterwards. Tweak a few debugging messages and some whitespace.
-
support for creating a debugging context in winlayer
Mostra dettagli
This also fixes a warning when building for Windows.
-
Generale
Show fake TROR texture when show-invisibility [I] is on in Mapster32/Polymer.
Mostra dettagli
Also move a 'int16_t editstatus' declaration from polymost.c to engine_priv.h.
-
Generale
kextract <groupfile> (without further filenames) lists all files in the GRP.
-
refactor closing cache files and removing duplicate pointers into their own functions
-
fix stupid typo that broke r2057
-
Generale
Fix GCC 4.6 out-of-bounds and uninitialized warnings involving bossmove[].
Mostra dettagli
My choice of solution is simply to add an extra set of values duplicating the previous five because doing so would definitely show the user no changes. I could have tinkered with the messy loop where the out-of-bounds references are made but there is no guarantee I could have succeeded or kept compatibility.
-
Generale
remove two instances of duplicate USE_OPENGL preprocessor checks missed by the removal of the POLYMOST definition
-
Generale
move Electric Fence (EFENCE) handling from build/Makefile to Makefile.common
-
constantly get the textures handle for projective spotlights
Mostra dettagli
Getting the texture handles without requiring invalidation means we can handle ART-animating tilenums without impacting performance too much.
-
fix horizontal spotlight SEs constantly getting invalidated
Mostra dettagli
Polymer has a hack that snaps horiz values of spotlights between 90 and 110 to 90 and 110 to avoid triggering aliasing artifacts with perfectly horizontal spotlights. Propagate that change all the way to the spotlight SE sprite so that the code won't think that the horiz is always different from the light and mark it invalid each frame.
-
preliminary support for GL_ARB_debug_output
Mostra dettagli
This won't actually do anything until the a debug bit is added when creating the context, but that requires support for GLX_create_context which SDL doesn't support. I'll add support for WGL_create_context to winlayer in a bit as a stopgap. Also updates our local copy of glext.h with a fresh one from the Khronos registry.
-
Fix upside-down projective textures
Mostra dettagli
We need to Y-invert the projection texcoords when sampling from the lightmap.
-
apply ART animation to spotlight lightmaps.
-
Discard cached sprite planes on texinvalidate
Mostra dettagli
Sprites would stick with their old material on global palette change. This goes through all prsprites and clobbers their CRCs so that an alternate skin / tint / highpal can be applied accordingly.
-
account for model flipping for backface culling.
Mostra dettagli
The winding order of faces is different if only flipping about X or Y, and we were unconditionally culling CW faces.
-
fix leading whitespace in polymer_drawmdsprite
Settembre 2011
-
Generale
fix a stupid copy&paste error that made sector[].ceilingbunch/floorbunch not functioning
-
Generale
fix for the fix
-
Generale
When X- or Y-flipping a selection of highlighted sectors, also handle setting
Mostra dettagli
the nextwall pointers correctly; Add some 'asksave=1' and 'make old-nextwalls invalid'.