Agosto 2012
-
Generale
Fix stack corruption when demo was attempted to be written with non-empty mod dir.
-
Generale
If r_screenaspect is 0 (or any other invalid value), assume square pixel aspect.
-
Generale
osxbuild.sh: add 'debughelix' preset, building only x64 debug packages.
-
Generale
Pack how many players fake multi was started with into g_fakeMultiMode.
-
don't wrongly change pitch for sounds originating from 2nd player.
Mostra dettagli
For example, if the first one is underwater.
-
tweak base palette application, remove resp. code from splitscr.con.
Mostra dettagli
Basically, base palettes with lower indices trump higher ones. For example, when one player is underwater and the other above, the normal palette takes precedence.
-
Generale
Generalize fullscreen tint application to more than one tint.
Mostra dettagli
Currently, the only kinds of tint that can be applied simultaneously are one "palfrom" per player, plus one loogie tint per player. Each palfrom still overrides the preceding one. However, this is not a big problem IMO since palfroms decrease at the same rate (loogie tint decreases at half the speed). This change is especially good for the splitscreen mod, since now the tints of the two players won't compete with each other. See the comment in the source for some properties of the blending formula.
-
Generale
Don't clear loogie tint transiently on changing palette.
-
Generale
Keep full-screen tints through palette changes again.
Mostra dettagli
A debug macro to test tints being stuck at the least intense non-zero value is provided in engine.c.
-
Generale
Make a colored REACTOR/REACTOR2 sprite disappear in single player again.
Mostra dettagli
Noted by Nukey. See Duke3D 1.5 GAME.C line 4220.
-
print "reserved" quotes in the upper half of the screen.
Mostra dettagli
Reverved quotes are ones like "Killed by xxx". Since they're only shown for the first player for now, printing them in the upper part makes more sense (in above/below split, the first player is above).
-
tweak weapon selection to do the expected thing for shrinker/grower.
-
Generale
Print quotes for both players in fake multi, remove quote code in splitscr.con.
-
Generale
game.c: clean up G_PrintGameText() a little.
-
Generale
game.c: clean up G_PrintGameQuotes().
-
handle crosshairs for above/below split and regard crosshairscale.
-
support for above/below screen split.
Mostra dettagli
To enable it, the HUD-less (maximized) screen size must be selected.
-
properly reset highlights in undo/redo.
-
with highlighted sectors, print rot. angle; Alt + [,]: manual angle.
Mostra dettagli
Because rotating sectors "smoothly" by 1 BUILD ang will quickly accumulate roundoff error, this lets the user first do that as a preview and then use the manual angle rotation do carry it out for real.
-
use the rotatepoint code for both smooth and 90-degree sect. rotation.
-
Generale
control layer: comment out some unused functions and stuff.
-
tweak view drawing: use player's cursectnum and simulate z clamping.
Mostra dettagli
Using the players's cursectnum instead of "updating" the sectnum means that it won't glitch on SoS. The z clamping (basically a port of some code from G_DrawRooms) is so that the view won't be drawn from under the floor when shrunk.
-
Generale
In G_DisplayRest, be sure to always un-apply a previously applied tint.
Mostra dettagli
This fixes the screen keeping the bluish tint even after shattering a frozen player in the splitscreen mod.
-
Generale
Fix two "may be used uninitialized" warnings (they can't, as far as I can see).
-
Generale
fake multi: don't display name when aiming at opponents.
-
Generale
Fake multi: fix display of item percentage and on/off states.
-
Generale
Display the firsts-when-shrunk hud-weaponscaled, tweak for fake multi.
-
Generale
Make the scuba HUD be affected by hud_weaponscale, tweak for fake multi.
-
Generale
Display the nukebutton punching fist with viewport clipping bounds.
Mostra dettagli
Using rotatesprite with bit 8 clear (scale to viewport) but using fullscreen clipping bounds is never what we want. Also, tweak for fake multi.
-
Generale
Fake multi: draw the HUD weapons and status bar with the proper aspect.
Mostra dettagli
This uses the new rotatesprite bit introduced earlier. Also, allow the HUD-less screen size.
-
Generale
player.c: In G_DrawTileScaled, lose bit 1024 (prior to r1658, bit 256).
Mostra dettagli
I checked all direct and transitive uses of that function and am fairly confident that it is never used.
-
Generale
Introduce additional rotatesprite bit for internal use and mask ext. ones from CON.
Mostra dettagli
ROTATESPRITE_MAX is moved to build.h and all orientation bits from CON commands using rotatesprite are ANDed with (ROTATESPRITE_MAX-1). Some of the functions use ROTATESPRITE_MAX for different internal purposes, which will not be exposed to CON now (a good thing). Also, dorotspr_handle_bit2 is made clearer.
-
Generale
Clean up a couple of rotatesprite uses.
Mostra dettagli
The black translucent background underneath the user map list will now be drawn with a shade 32 tile 0 instead of tile BLANK, since I've seen the latter being replaced in some mod. Also, it will look the same regardless of screen aspect.
-
Generale
Restucture dorotspr_handle_bit2().
Mostra dettagli
This also fixes the OSD with aspects < 4/3. I broke that, too.
-
Generale
Always draw the full original status bar fully instead of in patches.
Mostra dettagli
It seems like I broke the blitty/patchy way of drawing it with one of the last commits.
-
Generale
Some g_netServer || g_netServer --> g_netServer.
-
Generale
In places where fullscreen tiles are drawn (logo etc.), use clearallviews().
Mostra dettagli
This really fixes clearing the borders to the left and right with widescreen and hud_bgstretch=0. Also, it seems to fix glitches when the "screen size" is small (ud.screen_size is large).
-
rotatesprite+test, player access, misc.
-
Generale
mdsprite.c: factor out two instances of identical code.
-
Generale
Clean up handling of widescreen bits in dorotatesprite functions.
Mostra dettagli
Don't call setaspect from them, because the only thing that's needed is (in classic) yxaspect and xyaspect. Pass these from the helper function defined earlier instead.
-
Generale
player.c: fix a check of md_tilehasmodel return value against >0 (should be >=0)
-
Generale
Clean up polymost_dorotatesprite a little (triv. changes only)
-
Generale
In polymost_dorotatesprite, don't set [xy]dimen to [xy]dim temporarily.
Mostra dettagli
This fixes stuff like the HUD chaingun with widescreen and small "screen sizes" (in-game viewport). It also makes rotatesprite behave more like classic overall. I have no idea why it was there in the first place.
-
Generale
Clean up player.c's weapon display code (no functional changes).
-
Generale
OpenBSD build fix from Brad Smith (plus a couple of irrelevant changes to the same file from my local tree)
-
rewrite special weapons cycling, don't cycle to foot.
-
Generale
Redraw background when ud.screen_size >= 8, unconditional on ud.statusbarscale.
Mostra dettagli
Classic HUD now has correct aspect in widescreen modes, so with the full status bar, there may be patches of free room left to the left and right.
-
Generale
In setaspect_new, determine the aspect with {x,y}dim again except for showview.
Mostra dettagli
setaspect(), which is called by setaspect_new, already uses the *dimen variables, so it's the same thing done twice. Now, a change from the original full status bar to the original mini status bar keeps the horizontal FOV again and only bumps the view a little higher, as with the classic aspect determination.
-
Generale
Clear the screen first in some non-in-game places, also in classic.
Mostra dettagli
Compare with revision 2584.
-
Generale
Factor out Polymost's widescreen bit handling code and use it in classic, too.
Mostra dettagli
This means that classic and the GL modes now look the same as far as e.g. hud_bgstretch or HUD weapons are concerned.