Subversion Repositories eduke32


Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
4898 2319d 21h terminx /polymer/eduke32/source/game.c Revise C++ structure trackers for performance and introduce "tspritetype", for temporary sprites or other usages where using the trackers would be invalid or undesired. DONT_BUILD.  
4879 2325d 4h helixhorned /polymer/eduke32/source/game.c game.c: revert changes of r4861 ("consult g_mirrorCount instead of gotpic[]").  
4875 2326d 8h helixhorned /polymer/eduke32/source/game.c Cleanup of various engine functions.

- factor out calculation of player-relative and screen+clipped-player-relative
coordinates into get_rel_coords() and get_screen_coords(), respectively
- the usual beautification stuff, especially since we're now on C99
4863 2333d 5h helixhorned /polymer/eduke32/source/game.c actors.c: replace hard-coded list with missing check for SFLAG_NODAMAGEPUSH.

In A_RadiusDamage(). The code snippet that is disabled for such actors
increases the damaged actor's .xvel by (4 times the) damage amount and
is responsible for the strange effect of enemies becoming faster TOWARDS
the player on being hit with an RPG frontally.

Thanks to Fox for a keen eye.
4861 2333d 11h helixhorned /polymer/eduke32/source/game.c In G_HandleMirror(), consult g_mirrorCount instead of gotpic[] w/ MIRROR.

4856 2334d 8h hendricks266 /polymer/eduke32/source/game.c Menus: Implement mouse/touch/pointer controls for all widgets.  
4853 2334d 8h hendricks266 /polymer/eduke32/source/game.c Add the necessary plumbing to sdlayer to detect mousedown, mouseup, and dragging.  
4852 2334d 8h hendricks266 /polymer/eduke32/source/game.c Introduce preprocessor token EDUKE32_TOUCH_DEVICES that covers both Android and iOS, and replace selected instances of __ANDROID__ with it.  
4847 2334d 9h helixhorned /polymer/eduke32/source/game.c Propagate 'smoothratio' to scenes drawn from the position of a camera.

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.
4845 2335d 8h helixhorned /polymer/eduke32/source/game.c Prettify viewscreen turned to STATIC in breakable cameras mode. DONT_BUILD.  
4843 2335d 9h helixhorned /polymer/eduke32/source/game.c Tweak the behavior of viewscreens to what is more logical IMO.

- 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
- more sync'd g_curViewscreen and sprite[i].yvel (for 'i' being the viewscreen

Note: in a multiplayer context, this needs to be thought about once more.
4834 2335d 9h helixhorned /polymer/eduke32/source/game.c engine.c: style-cleanup drawvox(). Also clean up ALL of voxmodel.c.

No deliberate semantic changes here.
4831 2340d 11h helixhorned /polymer/eduke32/source/game.c Minor cleanup around security cameras / viewscreens. DONT_BUILD.

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.
4818 2344d 13h hendricks266 /polymer/eduke32/source/game.c Wii: Tweaks.
*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.
4815 2347d 12h helixhorned /polymer/eduke32/source/game.c Lunatic: show on-screen errors even in passive menu; fix '(display)rand*' for large values.

Also, some minor style cleanup in game.c. DONT_BUILD.
4811 2348d 4h helixhorned /polymer/eduke32/source/game.c Move g_noFloorPal[] to the engine side and adapt other stuff accordingly.

- '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
4791 2359d 20h hendricks266 /polymer/eduke32/source/game.c Add dummy command line parameters to allow us to serve as a drop-in replacement for the NAM Steam release's dosbox.exe  
4784 2361d 3h terminx /polymer/eduke32/source/game.c Fix EVENT_ANIMATESPRITES.  
4781 2361d 21h hendricks266 /polymer/eduke32/source/game.c Fix names of savegames. DONT_BUILD.  
4780 2361d 22h hendricks266 /polymer/eduke32/source/game.c Fix displaying a savegame preview shot when in OpenGL and/or when the selected slot is empty. DONT_BUILD.  

Show All