Gennaio 2013
-
Generale
gamevars.c: implement Gv_Clear() in terms of Gv_Free() + own code.
Mostra dettagli
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.
-
Generale
player.c: factor out repeated code into P_SetWeaponGamevars().
-
Generale
demo.c: correct strange indentation.
-
Generale
MSVC doesn't have ssize_t
-
Generale
Remove mixed Lunatic/legacy build option.
-
Generale
Lunatic translator: more of the same.
Mostra dettagli
- more predefined vars - fix recursive states and ones with a stray "else" before the end
-
Generale
Consolidate badly named HUD weapon globals ("g_looking_angSR1") into struct.
-
more convenient weapon data access.
-
various.
Mostra dettagli
- Fix "gv" access. - camera - translator: comparison predicates, predefs...
-
Generale
Wrap some ud.camera* and g_camera{Distance,Clock} into CAMERA* macros.
Mostra dettagli
In Lunatic, make it a struct type "camera_t" instead.
-
in texel-hitscan wall-aligned sprites, consider engine-side animation.
Mostra dettagli
Whether a sprite is considered for texel-hitscan is determined on the base tile number, not the individual animated tile numbers.
-
Generale
Make r_shadescale 1.0 by default.
-
Generale
Simplify HUD scale and viewport size logic and clean up related code.
Mostra dettagli
* 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).
-
Generale
polymost.c: factor out 2x dup'd code into get_projhack_ratio().
Mostra dettagli
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.
-
Generale
Various cleanup of status bar drawing code, remove some old commented out code.
-
Generale
game.c: replace a couple of sbarsc() inline code with calls to sbarsc().
-
add cvar/mapster32.cfg option "keeptexturestretch".
Mostra dettagli
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 ([.]/[,]).
Mostra dettagli
- 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.
Mostra dettagli
Also, factor out 2x dup'd code of insertsprite() into do_insertsprite() and add searchwall-displaying code into package/samples/a.m32.
-
Generale
Replace dragpoint()'s "dragpoint_noreset" global with a "flags" argument.
Mostra dettagli
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.
-
Generale
Fix MUSICANDSFX ambient sounds (bit 2) playing only one instance.
Mostra dettagli
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.
Mostra dettagli
- weapon data - changing ones... (locals for now) - operators
-
Generale
Lunatic translator: slight code reorganization to prevent too many local vars.
-
begin changing ones...
-
don't apply GL fogging to crosshair.
-
Generale
Lunatic translator: handle -mx.
-
Generale
Make r_downsize 0 by default.
Mostra dettagli
Also, rewrite comparison to the non-tint in astub.c to be even less hackish.
-
Generale
polymost.c: a couple of {tex,mem}cache cleanups / fixes.
Mostra dettagli
- 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.
-
Generale
On Windows, remove "SHGetFileInfo failed with error code ..." note.
-
Generale
polymost.c: some meaning-preserving cleanups, make some vars file-local.
-
Generale
polymost.c: factor out 2 x 3x dup'd I/O code for DXT filter functions.
-
Generale
Fix warnings that appear if big-endian || USE_OPENGL=0.
-
Generale
Re-enable spotlights on ATI cards again because the crash from 12.8 seems gone.
-
a couple of small changes.
-
Generale
Fix NETCODE=0 build.
-
Generale
Reimplement pixel doubling by taking the upper left pixel of each 2x2 block.
Mostra dettagli
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.
-
Generale
Factor "pipe standard outputs to files" code into baselayer.c.
Mostra dettagli
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.
Mostra dettagli
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.
Mostra dettagli
- fix error handing with recursing events - wallsofsect iterator, sector[]:contains() - more codegen; mangle function names - m32: compinside
-
Generale
Lunatic translator: dangling else, hopefully for the last time!
-
more commands, mostly of the define* variety.
-
Generale
Delete some accumulated empty directories, missed by git-svn.
-
Generale
Add r_togglecomposition cvar on Windows for Roma Loom.
Mostra dettagli
r_togglecomposition: enable/disable toggle of desktop composition when initializing screen modes default value: 1
-
Generale
Address some macro madness in jaudiolib. (Should fix PowerPC builds.)
-
Generale
Fix a "typedef redefined" warning with clang in dsound.h
-
Generale
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.
-
Generale
Amend r3328 so that NAM gets WEAPON_RELOAD_TIMING.