Subversion Repositories eduke32

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
5016 2309d 20h helixhorned /polymer/eduke32/source/player.c Add lunatic/test/thisactor_getzrange.con, providing 'state thisactor_getzrange'.

Also, note a place that is the real cause for "what makes the player slide off
enemies", as far as I can see.
 
4994 2317d 11h terminx /polymer/eduke32/source/player.c Android fixes: let the player climb stairs while crouched and fix the quick switch function of the weapon wheel. DONT_BUILD.  
4915 2346d 4h hendricks266 /polymer/eduke32/source/player.c Improve weapon switching:
1. If you switch away from a weapon and switch to a third when the gun is still going down, continue lowering the first weapon instead of immediately raising the third.
2. If you switch away from a weapon and switch back to it before it lowers completely, raise it from its current position instead of going all the way to the bottom.
 
4888 2348d 12h terminx /polymer/eduke32/source/player.c Fix up weapon switching deficiencies  
4745 2398d 4h terminx /polymer/eduke32/source/player.c Mainly misc cleanups (and a fix for the C++ build), but there are a few important changes in here.

VM_OnEvent() has become VM_OnEvent(), VM_OnEventWithReturn(), VM_OnEventWithDist(), and VM_OnEventWithBoth() (the latter of which is only ever used once...). Of course, this required every call to VM_OnEvent() be changed.

memberlabel_t and vmstate_t have been changed to use the regular "int" type versus explicitly specifying int32_t as they did previously. The rationale for this change is simply that it looks cleaner, and I think we should move toward just using "int" in most cases where there's no particular reason to specify an explicit data type.

Also changes CON_KILLIT to just "return" instead of "continue". DONT_BUILD.
 
4741 2398d 4h terminx /polymer/eduke32/source/player.c Fix up conveyor belts. This fixes breakage of the movement in general, as well as corrects the general behavior of the effect so that a player on a moving surface is moved at a constant rate, regardless of whether the player crouches, is shrunk, etc. DONT_BUILD.  
4734 2412d 18h helixhorned /polymer/eduke32/source/player.c C-CON: fix 'readgamearray' on 64-bit platforms.

Also prettify P_DisplaySpit().
 
4707 2421d 23h terminx /polymer/eduke32/source/player.c Alter weapon switching to cycle through GROW_WEAPON when using next/previous weapon keys. DONT_BUILD.  
4703 2421d 23h terminx /polymer/eduke32/source/player.c Clean up some player code a bit... make bobposx/bobposy a vec2_t, make fricxv/fricyv a per-player vec2_t (TODO: CON access), promote angvel in input_t to int16_t and allow for player angle changes that result in odd numbered angles (we were effectively artificially limiting the angle to 1024 values before), fix some HUD model ID stuff that should help with the weapons in the HRP, clean up a bunch of random functions (P_FireWeapon(), P_DisplayTip(), P_DisplayAccess(), P_DisplayWeapon(), P_GetInput(), etc). Also clean up G_SetupFilenameBasedMusic() to loop through flac/ogg/mid when searching for usermap music replacements. Some of this really needs a BYTEVERSION bump, but these commits aren't for synthesis to build so we're not doing it yet. DONT_BUILD.  
4680 2426d 13h terminx /polymer/eduke32/source/player.c Another 5000 lines of pain and tears. DONT_BUILD.  
4658 2426d 13h terminx /polymer/eduke32/source/player.c Various additional optimizations: add CLASSIC_SLICE_BY_4 mode to unroll some of the loops in a-c, replace integer divisions by a divisor unknown at compile time with usage of libdivide, clean up pragmas further by removing more old stuff that wasn't used anywhere. This is another one of those nasty commits that make people cry. DONT_BUILD.  
4654 2426d 13h terminx /polymer/eduke32/source/player.c Fix up some incorrect PWEAPON macro usage  
4623 2451d 12h terminx /polymer/eduke32/source/player.c More Polymost cleanup, also consolidate tilesizx and tilesizy into a single tilesiz vec2_t to ensure both x and y are always in the same cache line. I may add a new vec2_16t later. Still need to take care of emulating the old flat array for the sake of CON access.  
4595 2451d 12h terminx /polymer/eduke32/source/player.c HUD on the top of the screen and extra wide autoaim mode for Android  
4574 2494d 21h helixhorned /polymer/eduke32/source/player.c Properly consider sprites with a clipshape as bridge (p->spritebridge).  
4541 2523d 8h hendricks266 /polymer/eduke32/source/player.c Replace the funkily-formatted GNU.TXT with the FSF's official gpl-2.0.txt. Also, update the FSF's address in all source files that contain it.

DONT_BUILD.
 
4440 2618d 21h terminx /polymer/eduke32/source/player.c Android updates from Emile. DONT_BUILD.  
4433 2622d 8h terminx /polymer/eduke32/source/player.c Partial Android support cleanup. I actually have no idea if this even compiles ;)  
4392 2642d 2h helixhorned /polymer/eduke32/source/player.c Factor out approaching val. to target val by half-difference steps into logapproach().

Fix a case in G_MovePlayers(), where the player sprite's shade is approached
toward the ceiling/floor's shade. Before, it could stop at one above or below!
 
4386 2643d 7h terminx /polymer/eduke32/source/player.c Some basic changes for Android support. DONT_BUILD.  

Show All