Subversion Repositories eduke32

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
4978 2445d 4h hendricks266 /polymer/eduke32/source/premap.c Provide a RETURN value of -2 to EVENT_DISPLAYLOADINGSCREEN after G_CacheMapData().  
4968 2446d 2h hendricks266 /polymer/eduke32/source/premap.c Factor out generation of strings for time values in the bonus screen. This involves the creation of ud.playerbest.  
4948 2459d 22h hendricks266 /polymer/eduke32/source/premap.c Modularize .mid --> .ogg --> .flac code to apply to sounds as well, and various cleanup in music/sound filename-handling code.  
4933 2466d 13h helixhorned /polymer/eduke32/source/premap.c Fix bsearch() call for user G_LoadMapHack(): don't access nonexistent storage. DONT_BUILD.  
4923 2469d 3h terminx /polymer/eduke32/source/premap.c Fix savemapstate/loadmapstate (fixes a crash at shutdown, among other things)  
4900 2474d 5h terminx /polymer/eduke32/source/premap.c Place the current loading percentage into RETURN for EVENT_DISPLAYLOADINGSCREEN.  
4884 2476d 19h hendricks266 /polymer/eduke32/source/premap.c Implement UserMapHacks.  
4852 2488d 15h hendricks266 /polymer/eduke32/source/premap.c Introduce preprocessor token EDUKE32_TOUCH_DEVICES that covers both Android and iOS, and replace selected instances of __ANDROID__ with it.  
4831 2494d 18h helixhorned /polymer/eduke32/source/premap.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.
 
4776 2517d 6h hendricks266 /polymer/eduke32/source/premap.c Make sure the mouse is captured when the main menu transitions into MODE_GAME. DONT_BUILD.  
4745 2523d 21h terminx /polymer/eduke32/source/premap.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.
 
4738 2529d 2h hendricks266 /polymer/eduke32/source/premap.c Set up mouse cursor display in menus, with idle timeout fully implemented. No functionality yet. DONT_BUILD.  
4706 2547d 17h terminx /polymer/eduke32/source/premap.c Default map zoom to something a bit more useful on Android. DONT_BUILD.  
4703 2547d 17h terminx /polymer/eduke32/source/premap.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 2552d 6h terminx /polymer/eduke32/source/premap.c Another 5000 lines of pain and tears. DONT_BUILD.  
4679 2552d 6h terminx /polymer/eduke32/source/premap.c Hi-res security viewscreens  
4658 2552d 6h terminx /polymer/eduke32/source/premap.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.  
4655 2552d 6h terminx /polymer/eduke32/source/premap.c Fix a bug where if you had a savegame with an active viewscreen, the tile in the world wouldn't update until totalclock > what totalclock was when the game was saved.  
4650 2552d 6h terminx /polymer/eduke32/source/premap.c Tie a few random things previously hardcoded to p->curr_weapon == KNEE_WEAPON to curr_weapon being a weapon with a workslike of KNEE_WEAPON instead, and do the same with stuff hard coded for HANDREMOTE_WEAPON  
4623 2577d 6h terminx /polymer/eduke32/source/premap.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.  

Show All