Subversion Repositories eduke32


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

Filtering Options

Rev Age Author Path Log message Diff
5197 2341d 1h hendricks266 /polymer/eduke32/source/game.c Add SW to our build system and make relevant changes to avoid fatal build errors.  
5174 2357d 16h hendricks266 /polymer/eduke32/source/game.c Replace most instances of casting byte arrays to wider integral types with the B_(UN)BUF functions in compat.h that were previously used only in the netcode.

I have commented out the versions of these functions that perform bitmasks and shifts and replaced them with versions that cast to and from integral types, pending performance and compatibility research across platforms.
5171 2357d 16h hendricks266 /polymer/eduke32/source/game.c Fix typo "maxtileallocsiz" --> "maxtiltallocsiz" for MAXYDIM < 640.  
5161 2366d 23h hendricks266 /polymer/eduke32/source/game.c Add game-side def "globalgameflags" that takes a single value. Flag 1 disables hardcoded pinning of HUD weapons to the side of the screen in widescreen.

5156 2372d 1h helixhorned /polymer/eduke32/source/game.c Double the size of clouds[] (holding sectors with CLOUDYSKIES ceilings).

Also, make cloudx[] and cloudy[] scalars, as the per-sector values were always
identical. In prelevel(), warn if some CLOUDYSKIES-ceiling sectors could not
be set up due to reaching the new 256 sector limit.
5141 2378d 15h hendricks266 /polymer/eduke32/source/game.c Fix omission of modules when parsing game-side defs.  
5140 2378d 15h hendricks266 /polymer/eduke32/source/game.c Implement "renamefile" during game-side def parsing (normally for "loadgrp" et al.) in addition to engine-side def parsing.  
5126 2381d 15h hendricks266 /polymer/eduke32/source/game.c Clear the player's quote timer for each MAIN_LOOP_RESTART.  
5124 2381d 15h hendricks266 /polymer/eduke32/source/game.c Allow alpha fade-out for quotes and the menu mouse cursor in 8-bit when the supplied PALETTE.DAT has enough alpha tables to fully display each effect.  
5116 2391d 17h hendricks266 /polymer/eduke32/source/game.c Replace the use of an "snum" parameter in the screen display functions with screenpeek because we need to keep screenpeek accurate for CON anyway.  
5114 2391d 17h hendricks266 /polymer/eduke32/source/game.c Don't print quotes when not in-game.

This is required after a change in the cheat menu commit that allows the cheat quotes to trigger from the in-game menu. However, a side-effect was that pressing F12 in the main menu would cause "SCREEN SAVED" to display indefinitely.
5103 2394d 10h hendricks266 /polymer/eduke32/source/game.c Restructure the GRP scanning functionality. Outwardly, this allows GRP selections with special handling (the add-ons and NAM) to function properly when the Windows or GTK startup windows do not run, namely with the OS X startup window, and using the -gamegrp command line parameter on any other platform, or on all of the both under dedicated server mode,  
5084 2397d 12h hendricks266 /polymer/eduke32/source/game.c Menus: Add a Cheats menu to options.

It's old-school.
5080 2397d 22h terminx /polymer/eduke32/source/game.c A lot of CON rewrites/optimizations. Converts projectile system to dynamic allocation, saving a bunch of memory (something like sizeof(projectile_t) * MAXTILES * 2). This commit also contains changes that reduce overhead for CON commands that take a lot of parameters, by way of adding a Gv_GetManyVars() to replace long strings of subsequent calls to Gv_GetVarX().

Savegame version has been bumped due to the projectile changes. There is no way this commit doesn't cause at least one bug, so DONT_BUILD. ;)
5065 2397d 22h terminx /polymer/eduke32/source/game.c Remove WeaponChoice* from eduke32.cfg and transition setting to "wchoice" cvar. This commit also removes an Android hack and changes the order of some of the in-game "F" key handling, just because it bugged me that some of them were out of order.  
5057 2398d 16h hendricks266 /polymer/eduke32/source/game.c Modify the modern mini-HUD so that:
1. Instead of the Mighty Foot using the Protective Boots inventory item as its icon, display no icon at all.
2. Adjust the ammo icon so that it is drawn at one-quarter size if its y-size is >=50 instead of >50. This fixes the display of Water Pistol Ammo in Duke Caribbean.
5054 2412d 15h hendricks266 /polymer/eduke32/source/game.c Replace the drawing code for the level stats with nearly equivalent code that can be much more easily reproduced in CON.  
5052 2412d 23h hendricks266 /polymer/eduke32/source/game.c Amend r5048 to also reset ototalclock and lockclock, and to reset all three at the top of G_PlaybackDemo.  
5048 2413d 15h hendricks266 /polymer/eduke32/source/game.c Reset totalclock to zero for each MAIN_LOOP_RESTART.  
5047 2413d 15h hendricks266 /polymer/eduke32/source/game.c CON: Add EVENT_DISPLAYROOMSCAMERA and EVENT_DISPLAYSTART.

EVENT_DISPLAYROOMSCAMERA functions exactly like EVENT_DISPLAYROOMS, including RETURN values, but for the ud.camerasprite >= 0 case.
EVENT_DISPLAYSTART is executed immediately after the screen background is cleared and drawn. Ensure its RETURN value is zero, because it is currently not being used.

WARNING: Consult the devs before using EVENT_DISPLAYSTART. Its position in the display code sequence is not finalized.

Show All