January 2013
-
General
gamevars.c: implement Gv_Clear() in terms of Gv_Free() + own code.
Show details
Also, some commenting.
-
cmdline switch to run test script, compile out more code, 2 more GVs.
-
hook up PIPEBOMB_CONTROL etc. with the player members.
-
General
player.c: factor out repeated code into P_SetWeaponGamevars().
-
General
demo.c: correct strange indentation.
-
General
MSVC doesn't have ssize_t
-
General
Remove mixed Lunatic/legacy build option.
-
General
Lunatic translator: more of the same.
Show details
- more predefined vars - fix recursive states and ones with a stray "else" before the end
-
General
Consolidate badly named HUD weapon globals ("g_looking_angSR1") into struct.
-
more convenient weapon data access.
-
various.
Show details
- Fix "gv" access. - camera - translator: comparison predicates, predefs...
-
General
Wrap some ud.camera* and g_camera{Distance,Clock} into CAMERA* macros.
Show details
In Lunatic, make it a struct type "camera_t" instead.
-
in texel-hitscan wall-aligned sprites, consider engine-side animation.
Show details
Whether a sprite is considered for texel-hitscan is determined on the base tile number, not the individual animated tile numbers.
-
General
Make r_shadescale 1.0 by default.
-
General
Simplify HUD scale and viewport size logic and clean up related code.
Show details
* Make the "classic status bar fullscreen viewport" mode accessible in classic too. * Make range of status bar scale 36..100 * Update ud.statusbarmode when executing OSD command r_size (ud.screen_size). NOTE: ud.statusbarmode is considered internal. Don't use from CON! * Make sure 1) loading any configuration and 2) menu bars work correctly. (The "classic status bar fullscreen viewport" mode will never be restored though because ud.statusbarmode isn't handled by the OSD var system).
-
General
polymost.c: factor out 2x dup'd code into get_projhack_ratio().
Show details
One use was in determining the ray vector for the mouse-aiming hitscan in the editor. Unfortunately, the change doesn't make it any less broken in Polymost, even if the two instances were out of sync.
-
General
Various cleanup of status bar drawing code, remove some old commented out code.
-
General
game.c: replace a couple of sbarsc() inline code with calls to sbarsc().
-
add cvar/mapster32.cfg option "keeptexturestretch".
Show details
If enabled, dragging wall vertices will correct the xrepeat after the mouse button is released, so that the pre-drag absolute stretching is restored.
-
slightly rework code for setting/querying some cvars.
-
more or less fix the auto wall-alignment feature ([.]/[,]).
Show details
- Run it twice, since the first one is wrong. - Warn when attempting to align based on a top-oriented wall. When the sequence of walls to align has "windows", only the bottom parts will be correct. - Make the modifiers actually useful: * Pressing SHIFT aligns at most one wall, remove the old CTRL modifier. * The rest is as before: ALT makes the walls have (approximately) equal texture stretching, ['] (quote) aligns the immediate TROR-nextwalls.
-
don't show wall length of *line* highlight when dragging points.
Show details
Also, factor out 2x dup'd code of insertsprite() into do_insertsprite() and add searchwall-displaying code into package/samples/a.m32.
-
General
Replace dragpoint()'s "dragpoint_noreset" global with a "flags" argument.
Show details
Also, add another flag, signifying that from the editor, also the "lastwall"s (i.e. the CCW-linked points) should get collected. This is to signal the editor that their wall lengths should be displayed, too.
-
General
Fix MUSICANDSFX ambient sounds (bit 2) playing only one instance.
Show details
This is done by introducing an additional internal bit, meaning "play only one instance". It is set for all sounds which have bit 1 ("repeat in the sound system") set at definesound time, but not those that set bit 1 temporarily (see r3336).
-
codegen beyond milestone 1.
Show details
- weapon data - changing ones... (locals for now) - operators
-
General
Lunatic translator: slight code reorganization to prevent too many local vars.
-
begin changing ones...
-
don't apply GL fogging to crosshair.
-
General
Lunatic translator: handle -mx.
-
General
Make r_downsize 0 by default.
Show details
Also, rewrite comparison to the non-tint in astub.c to be even less hackish.
-
General
polymost.c: a couple of {tex,mem}cache cleanups / fixes.
Show details
- Stop using memcache on some other failure paths, particularly when failing to read from the on-disk texcache. - Factor out cache reading code (3x). - Fix endianness issues affecting big-enadian systems (one introduced by r3382, one existing before). Comment each B_LITTLE32 with whether we're converting from native to on-disk (little) endianness or back.
-
General
On Windows, remove "SHGetFileInfo failed with error code ..." note.
-
General
polymost.c: some meaning-preserving cleanups, make some vars file-local.
-
General
polymost.c: factor out 2 x 3x dup'd I/O code for DXT filter functions.
-
General
Fix warnings that appear if big-endian || USE_OPENGL=0.
-
General
Re-enable spotlights on ATI cards again because the crash from 12.8 seems gone.
-
a couple of small changes.
-
General
Fix NETCODE=0 build.
-
General
Reimplement pixel doubling by taking the upper left pixel of each 2x2 block.
Show details
This obviously won't help performance as the scene has still to be drawn at the original resolution, but it's better than the draw-to-tile hack.
-
General
Factor "pipe standard outputs to files" code into baselayer.c.
Show details
The SDL and Windows layers had slightly different code: the latter would dereference a NULL pointer if stdout.txt failed being write-opened.
-
allow creating circle walls from TROR-constrained walls.
Show details
When reaching wall limits, it is possible that only some circle points will be inserted and the result is left unfinished.
-
grabbag of different things.
Show details
- fix error handing with recursing events - wallsofsect iterator, sector[]:contains() - more codegen; mangle function names - m32: compinside
-
General
Lunatic translator: dangling else, hopefully for the last time!
-
more commands, mostly of the define* variety.
-
General
Delete some accumulated empty directories, missed by git-svn.
-
General
Add r_togglecomposition cvar on Windows for Roma Loom.
Show details
r_togglecomposition: enable/disable toggle of desktop composition when initializing screen modes default value: 1
-
General
Address some macro madness in jaudiolib. (Should fix PowerPC builds.)
-
General
Fix a "typedef redefined" warning with clang in dsound.h
-
General
Bring the SDL.h include in SDLMain.m up to speed with driver_sdl.c in jaudiolib and sdl_inc.h in the engine. Also address some Apple macro problems.
-
General
Amend r3328 so that NAM gets WEAPON_RELOAD_TIMING.