Dicembre 2014
-
disable all loop checks as they spam the log too much. DONT_BUILD.
Mostra dettagli
The one introduced with r4569.
-
Generale
Propagate 'smoothratio' to scenes drawn from the position of a camera.
Mostra dettagli
That is, make interpolation work properly there -- both when 'using' a VIEWSCREEN and when rendering the scene onto a TILE_VIEWSCR. This makes a difference only if the camera is in a moving sector.
-
Generale
Minor cleanup, mostly in engine.c:drawalls().
-
Generale
Prettify viewscreen turned to STATIC in breakable cameras mode. DONT_BUILD.
-
fix 'writearraytofile' for 64-bit platforms.
-
Generale
Tweak the behavior of viewscreens to what is more logical IMO.
Mostra dettagli
- At a given time, at most one viewscreen may display TILE_VIEWSCR, namely that one which is g_curViewscreen - sync kinds of distance to compare against VIEWSCREEN_ACTIVE_DISTANCE (was Manhattan vs. dist(), now both the latter) - fix resetting to VIEWSCREEN tile when player is greater from it than that distance. When the player is closer to it again, it is *not* reset to TILE_VIEWSCR. - more sync'd g_curViewscreen and sprite[i].yvel (for 'i' being the viewscreen sprite) Note: in a multiplayer context, this needs to be thought about once more.
-
Generale
engine.c: clamp all indices for distrecip[] access, as more OOBs were observed.
-
allow passing more than one flag to the 'spriteflags' directive.
Mostra dettagli
These will be bitwise-OR'd.
-
Generale
gamedef.c: factor out some dup'd code into C_BitOrNextValue(), C_FinishBitOr().
-
Generale
In C-CON build, prevent leak of gamevar/gamearray labels on savegame loading.
Mostra dettagli
Also, rewrite the loops in Gv_Free() and Gv_Clear() in the plain fashion so that they are correct even if the number of gamearrays exceeds the number of gamevars.
-
Generale
cache1d.c: Revert changes in r4665 unrelated to unrolling, fixing oob write.
Mostra dettagli
Specifically, we must make sure that dasizeof <= LZWSIZE (or so) in c1d_{read,write}_compressed() (what the assertion in the last commit was about, and is now redundant). This fixes saving of e.g. large gamearrays with the C-CON build. Bump BYTEVERSION. An alternative for setting dasizeof to 1 would be to factor it and keep dividing as long as it's > LZWSIZE.
-
Generale
cache1d.c: in (de)compr. funcs, add an bound-checking assert that fails w/ AMC TC.
Mostra dettagli
Also, formatting.
-
Generale
Convert voxels to models only when starting or changing to Polymost.
Mostra dettagli
Analogously to the way models are processed in a deferred manner for Polymer.
-
Generale
A couple of miscellaneous cleanups.
Mostra dettagli
defs.c: sync some dup'd code for 'definevoxel' and 'voxel' DEF tokens. engine.c: factor out PolymerProcessModels().
-
Generale
engine.c: style-cleanup drawvox(). Also clean up ALL of voxmodel.c.
Mostra dettagli
No deliberate semantic changes here.
-
include wall[].ypanning in wall invalidation logic.
Mostra dettagli
Fixes bug reported here: http://forums.duke4.net/topic/1348-mapster32-problems-and-bugs/page__view__findpost__p__213759
-
Generale
menus.c: Reset next-viewscreen-redraw counter from M_CloseMenu().
-
Generale
Minor cleanup around security cameras / viewscreens. DONT_BUILD.
Mostra dettagli
The only semantic change is that an out-of-sync instance of a distance to check (viewscreen sprite <-> player sprite) is changed in actors.c:G_MoveStandables(), from 2048 (as in Duke3D 1.5) to 8192, now represented by the define VIEWSCREEN_ACTIVE_DISTANCE. I have not yet observed any change in behavior regarding this change (but there ought to be one). Also, in DNCOORDS display, print 'totalclock' count, too.
-
don't draw masked walls with void tile. DONT_BUILD.
Mostra dettagli
This prevents displaying W_FORCEFIELD+1 masks (as e.g. in front of viewscreens) completely black with ART mapping. The old behavior, which is inconsistent with classic, is kept for one-sided masked walls, though.
-
sync MAXJOYAXES, add lunatic/test/sprite_addtv.con. DONT_BUILD.
-
Display all hat directions in the joystick buttons menu instead of just up.
-
Bump MAXJOYAXES to 9 to avoid menu corruption, and fix _functio.h, CONFIG_FunctionNameToNum, CONFIG_AnalogNameToNum, so that this does not crash.
-
Generale
Fix the MAXJOYBUTTONS discrepancy between _control.h and gamedefs.h.
-
Add non-interactive cases to wm_msgbox and wm_ynbox.
-
Output and package the binary as .dol instead of .elf.
-
Generale
Polish up the video menu a bit.
-
Generale
Fix "bright red" player color.
-
Add a custom exception handler that saves the crash information to the log and directs the user to submit it to us. DONT_BUILD.
-
Add a console to display startup messages to the screen instead of showing the user a black screen while the game initializes. DONT_BUILD.
-
Work around a performance regression caused by r4080. DONT_BUILD.
-
Tweaks.
Mostra dettagli
*Move the FPS display down from the top of the screen, as we do for quotes. *Don't show a non-functional mouse cursor in the center of the screen. *Don't display the "Startup window" option in Game Settings. *Display the IR pointer crosshair in addition to the aiming crosshair, not instead of it. *Eliminate some assumptions from wiibuild.bat. *DONT_BUILD.
-
Generale
Makefile.common: in non-release builds, explicitly pass -fno-omit-frame-pointer.
Mostra dettagli
So that stack traces can be gotten with optimized DEBUGANYWAY builds, e.g. for Linux's 'perf' --> flame graphs. DONT_BUILD.
-
for '(display)rand*', use math.floor(); correct create_additive_trans() help.
Mostra dettagli
DONT_BUILD.
-
show on-screen errors even in passive menu; fix '(display)rand*' for large values.
Mostra dettagli
Also, some minor style cleanup in game.c. DONT_BUILD.
-
expose more members, properly handle setting ud.screen_size.
Mostra dettagli
BUILD_LUNATIC.
-
fix handling of 'remappal' attribute for 'makepalookup'.
-
Generale
Pull setting g_noFloorPal[] further down, into makepalookup().
Mostra dettagli
Now passed as last arg 'noFloorPal' to makepalookup(). Used as follows: - from loadlookups(): *false*, i.e. do take over floor pal. - from generatefogpals() [default fog pals] and fillemptylookups(): *true*, i.e. don't take over floor pal - from DEF 'fogpal': true - from DEF 'makepalookup': take over flag from pal from which we are remapping, or set to true if remapping from pal 0 - (CROSSHAIR_PAL: true) This should make the issue reported in http://forums.duke4.net/topic/775-eduke32-20-and-polymer/page__view__findpost__p__197583 resolve in a natural manner.
-
Generale
Move g_noFloorPal[] to the engine side and adapt other stuff accordingly.
Mostra dettagli
- 'nofloorpalrange' DEF token: now handled for both game and editor (for the latter, it's effective only for "shade preview" mode, [']+[X]). - in generatefogpals(), assign g_noFloorPal[] = 1 for every generated (default) fog pal; get rid of its return value / g_firstFogPal
-
Generale
engine.c: prevent an oob access of uwall[] in ceilspritescan().
-
Generale
engine.c: style tweaks (tighter var. declaration) in sprite drawing functions.
-
Fix build. DONT_BUILD.
-
Generale
Fix building with `make -B`. (`make veryclean` is now obsolete.) DONT_BUILD.
-
Generale
Fix building the Build Tools. DONT_BUILD.
-
Fix the previous commit. DONT_BUILD.
-
Add detection of the Steam releases of Duke 3D and NAM. DONT_BUILD.
-
Generale
Fix a warning with Linux/GTK2. DONT_BUILD.
-
Generale
Refine the previous commit a bit. DONT_BUILD.
-
Generale
Mac OS X: Add detection of the Steam and GOG releases of Duke 3D and the Steam release of NAM. DONT_BUILD.
-
Generale
voxmodel.c: fix Polymost rendering of voxels.
Mostra dettagli
This reverts/corrects two semantic changes of r4639 as far as what is now voxmodel.c (formerly part of mdsprite.c) is concerned. One correction ends up having no effect (m->bscale is always 1.f for voxel models, as far as I can see), but is the proper rewrite. Also, in osdcmds.c:registerosdcommands(), tweak two help strings.
-
fix tilesizx[]/tilesizy[] access. Can also 'copy' from them.