Build 5643
SVN-
Fix on-screen keyboard, broken in r5625.
-
Fix launching on iOS 6.
-
Fix iOS hardware deployment.
SVN handles and Git names are merged into one person.
Fix on-screen keyboard, broken in r5625.
Fix launching on iOS 6.
Fix iOS hardware deployment.
Fix animsounds
Fix CON_IFCUTSCENE
Fix anim definition problem
Add support for changing the refresh rate in SDL builds. Should also fix non-SDL builds.
Fix r5548
Fix Polymost issue reported at https://forums.duke4.net/topic/8470-weirdness-of-players-sprite-in-view-modef7/
VS project fixes, DONT_BUILD.
Fix Polymer wall updating
Fix animsounds error message. DONT_BUILD.
Fix switch/case regressions introduced in r5577.
Fix potential build failure when static inline G_CheckForSpace{Ceiling,Floor} are declared without namesdyn.h first being included.
Exposed by lunatic_game.c when LUNATIC=1.
Fix unused-parameter warnings.
Fix discarded-qualifiers warnings.
Fix cast-qual warnings having to do with L_RunString.
Fix problem with C-CON sector and wall structure access. Oops.
Fix issue with the info message for toggling floor texture expansion bit in Mapster32 only reading the value from the sector's ceiling instead of what you were actually pointing at.
Enable -Wwrite-strings and fix all instances where string constants were passed to functions accepting a char ptr.
Fix some ENet const issues. DONT_BUILD.
Fix quite a few issues with casting away const and volatile qualifiers, found with -Wcast-qual. If we're going to use const everywhere, we should really mean it!
Fix a stupid error in MACT, found with GCC's -Wlogical-op parameter.
Fix a few instances where bitptr wasn't properly set after writing to the compiled script
Fix miscellaneous GL ES warnings
fix warnings when compiling on Linux
fix errors when compiling on Linux
Fix the return command within events, broken since r5097.
Fix CON compiler errors. Me no smart.
Fix warnings. DONT_BUILD.
Fix a major bug where "enda" could be used to terminate an event, resulting in all kinds of issues.
Fix MSVC warning. DONT_BUILD.
Projectile changes:
-palette is now set at spawn time, instead of during movement (oops!) -projectiles can no longer hit their owner during their first tic of movement
Fix hard coded white and red color indexes used in on-screen debug output, to better operate with a palette dissimilar to Duke3D.
Fix voxels so palette colors are treated as 8-bit, not 6-bit. Overlooked in r5349.
Fix CLANG warnings
Fix issue with sin/cos CON commands that prevented using the special builtin structure shortcut access vars for input.
Fix cstat 1024 in classic and Polymer
Fix FIRELASER spawning multiple Polymer lights
Fix two bugs in SCRIPT_GetNumber that cause it to issue an incorrect return value.
Add a new pthtyp flag to mark textures that should not be processed by the fixtransparency() hack (which avoids the transparent color blending into a sprite when texture filtering is enabled), such as non-(T)ROR-masking floors and ceilings, white- and mask-walls, paper-skies, and rotatesprite with orientation flag 64. This commit makes sure the flag's status always fits the situation.
This fixes the remaining issue with WWII GI's LOGO.ANM: Color index #255 is used as the dominant white color (not as a transparent index) and fixtransparency() was mangling the image as a result.
Factor out common handling of the end-of-level between sectors tagged 65535 and 65534, switches tagged 65535, and nukebuttons.
This fixes the bug with user maps ending in 65534-tagged sectors, reported by FistMarine: https://forums.duke4.net/topic/8367-end-of-level-bug/ It also eliminates dead code belonging to the nukebutton.
Fix unused global variables in menus.c with DROIDMENU defined.
Fix an unused variable in menus.c with USE_OPENGL=0.
Fix orientation bit 64 when applied to a tile with fullbrights in OpenGL with r_fullbrights enabled.
This fixes (the most glaringly wrong problem) with WWII GI's LOGO.ANM in OpenGL, exposed by r5437.
More NAM/WWII GI "bluefont" xbetween fixes missed in r5452.
Fix a compiler error on introduced in r5445.
Fix typo in r5448.
Fix compiler warnings when building for 32-bit.
Miscellaneous NAM and WWII GI tweaks/fixes.
Remaining issues: - Inventory item gamefuncs still use their Duke 3D names. The buggy way custom gamefunc binds are saved and loaded needs to be addressed first.
Don't test (!usemodels || md_tilehasmodel(picnum, pal) < 0) in eligible_for_tileshades (called only from getshadefactor) because getshadefactor is only called when a model is *not* being drawn, and therefore results in incorrect shading when drawing a tile with a model defined and models enabled to the screen or as a skybox.
in drawspritelabel(), use fixed background color.
Make it always one of the colors that the 2D color cycles to (base color + offset in [0 .. 4]) instead of <base color>-3, as that one might be in a different color ramp.