Project

General

Profile

Activity

From 2010-05-04 to 2010-05-17

2010-05-17

23:40 Revision 90b30406 (github): M_TextFragmentHeight was missing a zero check for end of string.
danij
23:29 Revision b269a764 (github): Quickly implemented a basic method for horizontal alignment of Patch based text strings.
* Renamed all M_DrawText* methods to M_DrawTextFragment and modified so that they now draw only a single line of text... danij
09:03 Revision d95c05d1 (github): Fix Patch vertical alignment offset in M_DrawPatch2.
Next step: Implement proper alignment of multi-line text strings in M_DrawText4 and introduce a lineheight paramater. danij
08:56 Revision c4561fd8 (github): Fix alignment of Heretic fullscreen health and current item widgets.
danij
08:56 Revision 32ece30d (github): Fix important game message vertical offset.
danij
07:40 Revision 54a56543 (github): Further fixes to the player in-void status checking.
danij
07:39 Revision 5d107427 (github): Clean up.
danij
06:33 Revision e33e2a35 (github): Updated calls to M_DrawText to use the default value for font where appropriate.
danij
06:29 Revision 5bbaa6c5 (github): Updated calls to M_DrawText and M_DrawPatch to use the default value for flags where appropriate.
danij
06:02 Revision 4a08eb6f (github): Further smoothed the offset scrolling of the player message log.
danij
05:59 Revision 58df1483 (github): Removed the color+alpha arguments from the paramater lists of the various M_DrawText methods. Text is now always drawn using the current GL color.
danij
03:08 Revision e4017d54 (github): Implemented DGL_GetFloatv for the purposes of querying the current GL color and/or alpha and returning floating point values.
danij
02:59 Revision 5daf0f45 (github): Added TOPLEFT/BOTTOMLEFT/TOPRIGHT/BOTTOMRIGHT drawText and drawPatch flags for improved brevity when making calls to these methods.
danij
02:31 Revision 923d383e (github): Completed the next phase of the game-side 2D drawing cleanup; implemented vertical alignment/positioning flags for Patches and text strings. Also began removing game-side global copies of patchinfo_t, which are no longer needed.
Todo: Implement proper alignment calculations for paramaterized Patch replacement strings. The current algorithm for ... danij

2010-05-16

23:10 Revision d4f686f2 (github): Fixed positioning of the message scale slider handle in the HUD options menu.
danij
22:09 Revision 754ef06d (github): Fixed All games: After a teleport the player's view bob offset was not zeroed, resulting in brief interpolation of the view height from the old relative height back to zero.
Fixed DOOM/Heretic: Teleporting voodoodolls would affect the real player's view height offset and look direction. danij
20:12 Revision 52969736 (github): Changed: Disabled the BlackOutlines algorithm previously used on Upscale and Sharpen patches. The black outlines only really worked with Heretic's big green font yet made the others look much worse. If this enhancement is to be automatically applied then it needs to be much smarter; calculate a "contrast" paramater from the original image data and use the contrast as in inverse scale factor on the size and darkness of the outline.
danij
20:08 Revision 46012fe5 (github): Clean up.
danij
08:31 Revision 82d14c9b (github): Fixed alpha blending artefacts on the menu sliders in Heretic and Hexen when fading in/out.
danij
07:27 Revision 784734a5 (github): Fixed: Patches prepared using the Upscale and Sharpen conversion filter subsequently put throught the hq2x filter (again) if Smart Filtering is enabled.
Clean up. danij
06:03 Revision 67ce4288 (github): Clean up.
danij
05:38 Revision 4fa1b344 (github): Tweaked the color of the statusbar ammo/maxammo counters adding a bit more red into the mix.
danij
05:25 Revision 02bcd647 (github): Fixed positioning of the Paused graphic.
danij
05:25 Revision 44eb7761 (github): Made unhighlighted items in the fullscreen HUD inventory widget a bit less translucent as they were difficult to distinguish.
danij
05:23 Revision 946d96d8 (github): Made a font out of the Hexen IN* Patches (used on the statusbar and the fullscreen HUD).
danij
05:00 Revision 0dfcb1d0 (github): Created a font from the Heretic IN* patches (used on the statusbar and the fullscreen HUD).
danij
05:00 Revision 4b9ee65e (github): Further menu color widget fixes.
danij
04:59 Revision b3a4ca43 (github): Clean up.
danij
04:58 Revision 56d256b0 (github): Fixed compilation errors in jDoom64.
danij
02:55 Revision 3d9f054a (github): Created a font out of DOOM's STT* font Patches (used for the armor and health percentages and frag count).
danij
02:21 Revision f2a1944a (github): Changed: When loading Patch format graphics with both the Upscale and Sharpen and Monochrome translation/filters enabled do the Monochrome conversion first, then Upscale and Sharpen. As this produces better results. The Upscale method utilizes the HQ2x algorithm which aims to retain the shape of regions with similar colors. By doing the monochrome conversion first, regions of similar luminosity but different hue are no longer treated as distinct seperate forms.
Fixed: Under/overflow in GL_DeSaturatePalettedImage resulting in visible artefacts in Patches. danij

2010-05-15

23:45 Revision bcf3f36e (github): Made a font out of the STYSNUM patches in DOOM (used for the owned/max ammo counters on the statusbar). Note that although the owned weapon icons use the same patches I'm not using the font drawing methods for these; although the original resources depict the number of the weapon slot this may not be the case in mods i.e., they are icons and not counters.
danij
20:40 Revision 14da0310 (github): Made a font out of the SMALLIN number patches in Hexen.
danij
08:12 Revision 06a96aca (github): Fixed: Buffer overflow vulnerability in WI_DrawParamText.
Removed HUlib_drawTextLine2; no longer used.
Fixed fatal error in R_FindPatchTex due to missing font character patches.
danij
07:12 Revision 774c9fe9 (github): Further standardising on conventions with the game-side text/character drawing methods.
danij
06:55 Revision deeac67a (github): Removed HU_DrawBNumber and DrBNumber completely; they are no longer used.
danij
06:49 Revision 8db1b027 (github): Utilize M_DrawShadowedChar2 rather than M_DrawShadowedPatch3 in HU_DrawBNumber and DrBNumber.
danij
06:44 Revision 8c1c6fe0 (github): Utilize M_DrawShadowedChar in IN_DrawNumber
danij
06:38 Revision ff23d241 (github): Added a DTF_* flags argument to M_DrawShadowedChar2
danij
06:35 Revision 182efa9c (github): Replaced redundant patch positioning calculations in IN_DrawNumber with use of the appropriate DTF_ alignment flag.
danij
06:28 Revision 91b928d4 (github): Replace function calls to M_DrawPatch2 in text drawing methods with M_DrawChar2.
danij
06:12 Revision 16a6a37c (github): Use M_DrawPatch2 rather than M_DrawPatch in the specialised text string drawing methods.
danij
06:08 Revision 914ebcb9 (github): Removed duplicate font patch look up logic in the various text drawing routines.
danij
05:25 Revision b326d362 (github): Various text typein fixes.
danij
04:53 Revision 2484c109 (github): Removed the defTypeIn and defShadow arguments of WI_DrawParamText as now redundant.
danij
04:41 Revision ef52cd3c (github): Turned the flagTypeIn and flagShadow arguments for M_DrawText3/4/5 into DTF_* flags.
danij
04:15 Revision 79543261 (github): Reordered argument lists for the various M_DrawText routines moving color+alpha further toward the end of the list.
danij
03:15 Revision 1151daf6 (github): Renamed many of the game-side 2D drawing functions to follow a standard convention.
danij
01:49 Revision 46ee399f (github): Standardize argument list ordering of M_DrawBackgroundBox moving the colour+alpha to the end (inline with the conventions applied to the rest of the 2D drawing methods).
danij

2010-05-14

20:25 Revision 8c593dde (github): Continuing clean up of game-side 2D drawing.
danij
18:05 Revision 11ad2ff3 (github): Restore verbose warning about missing Patches in R_GetPatchTex.
danij
08:24 Revision e50e3afc (github): Fixed: Bilinear filtering of UI Patches was determined by the "World" setting in the control panel.
danij
08:20 Revision 2ebc0543 (github): Renamed cvar "rend-tex-filter-raw" to "rend-tex-filter-ui".
Removed ccmd "smoothscr" now unnecessary as the cvar "rend-tex-filter-ui" can be modified directly. danij
08:04 Revision 6b424948 (github): Fix Read This background patch selection in DOOM2 (correct patch is "HELP" not "HELP1").
danij
07:48 Revision 751117bf (github): Changed All games: Allow the gravity multiplier to work in single player games as well as multiplayer.
danij
07:28 Revision 2e1b6e85 (github): Fixed scale problem with Patch drawing.
danij
05:44 Revision a38a0aae (github): Collect together all the patchtex_t and patchinfo_t routines.
danij
05:28 Revision be6d7afe (github): Clean up.
danij
04:59 Revision 5630aa0a (github): Merged the specialized drawPatch routine in Heretic's st_stuff.c with Hu_DrawPatch.
danij
04:40 Revision 4270b621 (github): Moved DGL_DrawPatch into libcommon and renamed Hu_DrawPatch.
danij
03:41 Revision 4403fca6 (github): Refactored DGL_DrawRawScreen to assume the caller has already configured the DGL state as necessary. Removed DGL_DrawRawScreen_CS.
danij
03:06 Revision 0d1f6695 (github): Moved DGL_DrawShadowedPatch out of the engine and into libcommon. Renamed as Hu_DrawShadowedPatch.
danij
03:00 Revision 3a4251f5 (github): Removed the old DGL_DrawPatch, replaced all calls with DGL_DrawPatch_CS (and adding any necessary state changes) then renamed DGL_DrawPatch_CS to DGL_DrawPatch. All patch drawing now assumes the correct GL state has been setup prior to calling DGL_DrawPatch.
danij
02:46 Revision eee3c88e (github): Removed DGL_DrawAltFuzzPatch.
danij
02:41 Revision b1cb3557 (github): Removed DGL_DrawFuzzPatch.
danij
02:35 Revision 3f266bdd (github): Removed DGL_DrawPatchLitAlpha.
danij
02:06 Revision 3eec54f9 (github): Changed the prefix for the various GL_* drawing routines for Patch and Raw textures to DGL_ in preparation for assimilation into the DGL subsystem.
danij
00:07 Revision 1befd4fa (github): Standardize argument list ordering of GL Patch drawing functions inline with the conventions applied to the rest of the API.
danij

2010-05-13

23:23 Revision ca1659ac (github): Initial steps towards using logical Patch identifiers rather than lump indices.
danij
21:41 Revision 53676ef9 (github): Removed the last remaining instances where Patch data is referenced directly by lump indices using W_GetNumForName/W_CheckNumForName game-side.
Precache the intermission Patches in Heretic. danij
20:40 Revision d79132a6 (github): Fix typo.
danij
20:35 Revision 76a81ac5 (github): Do not use W_CheckNumForName with Patches.
Removed Draw_TeleportIcon in Hexen as its no longer used. danij
20:32 Revision d479f45b (github): Continuing clean up of game-side resource referencing/identification; centralize map identifier string lookup and utilize P_MapExists rather than W_CheckNumForName.
danij
04:29 Revision 4eef8c03 (github): Precache the spinning gold skull and the bull with fire on the Heretic and Hexen (respectively) drawn in the menu.
danij
04:28 Revision 56ff826d (github): R_GetPatchTex must gracefully handle invalid lump indices.
danij
03:10 Revision 2710df03 (github): Do not draw the load/save plaques when loading/saving the game in Hexen; Doomsday draws the progress wheel in this spot and drawing both looks untidy.
danij
03:06 Revision 63766c93 (github): Precache more patches used with UI drawing (in the process removing public use of lump indices as identifiers).
Clean up. danij
02:05 Revision 7d5b94fa (github): Further type tweaks in GUI_DrawWidgets to maintain accuracy.
danij
02:00 Revision 1553f0f8 (github): Changed DOOM/Heretic: As the kills/items/secrets counters are now part of the regular HUD they should be colored by the cfg.hudColor.
danij
01:58 Revision 9824be0a (github): Accumulate drawn widget group dimensions using floats rather than integers as discarding the fractional part (introduced by the per-widget scaling) can add up to a large degree of inaccuracy (resulting in inconsistent positioning).
danij
01:29 Revision 3a6fd598 (github): Precache patches used for drawing the menu sliders.
danij
00:58 Revision fcbb3e3b (github): Various fixes to minor drawing issues in the DOOM menu (strings that should type-in but don't, alpha blending artefacts on the slider widgets, etc).
danij
00:09 Revision 74593263 (github): Draw a shadow behind slider widgets in the menu if menu-shadow is enabled.
Todo: Use this method elsewhere rather than duplicate code (e.g., the automap uses a similar routine for drawing glow... danij

2010-05-12

22:40 Revision ea7313f9 (github): Fixed All games: Menu-shadow did not work.
danij
22:39 Revision 56cd04d6 (github): Font kerning fix for "Upscale and Sharpen" patches take 2. I see what this was trying to do now.
danij
22:12 Revision 7a197089 (github): Fixed DOOM: Fullscreen HUD counters drawn using the menu text shadow and type-in effect if enabled.
danij
22:05 Revision a4262053 (github): Fixed paletted flats erroneously identified as having an alpha channel after recent changes to GLTexture_Prepare
danij
21:35 Revision 7ef75b64 (github): Fix line endings.
danij
17:39 Revision 8720062e (github): Reinstated the upscale and sharpen and monochrome patch loading conversion/translation algorithms.
Fixed: Font kerning on Patch based fonts loaded using the "Upscale and Sharpen" algorithm. danij
16:22 Revision 1ef51aae (github): Fixed lightmap loading after recent changes to GLTexture_Prepare.
danij
15:41 Revision 2cd45c1b (github): Added verbose log message detailing the paramaters for balancing done to detail textures by the Equalize algorithm.
danij
14:51 Revision 5a32e3c4 (github): Fix typo.
danij
05:41 Revision d2f6e3a1 (github): Updated class menu player sprite preview in Hexen.
danij
05:40 Revision 7af13588 (github): Fixed broken shiny texture loading after recent changes to GLTexture_Prepare.
danij
04:11 Revision 8c393cae (github): Added: Equalization algorithm used on detail textures during load which balances them toward the optimum average and amplifies the hi/low variance to achieve better results (with poor source textures) when rendering. Note this does not mean that artists no longer have to take care to do this during the creation process. A well authored detail texture will produce far better results than a bad one relying on this algorithm.
danij
00:11 Revision 3b691050 (github): Continuing the clean up of GLTexture_Prepare (and texture loading in general).
danij

2010-05-11

19:08 Revision daf68f50 (github): Began clean up of GLTexture_Prepare.
danij
07:09 Revision 23c87026 (github): Use the gltexture instance wrapper with graphics loaded in DOOM Patch format. Created new instance flags for "monochrome" and "upscale and sharpen" and incorporated them into the instancing.
Note this means that the current Patch precaching methods will generate unused instances because the public Patch dra... danij

2010-05-10

23:40 Revision b887b857 (github): Changed: Removed the splitting of large Patch and Raw format graphics into two textures. Back when this was implemented the maximum texture dimensions supported by many GL implementations was considerably smaller than is common today. So to preserve quality Doomsday would split "large" graphics up into two smaller parts. This resulted in several architectural issues as drawing these graphics necesitated the use of dedicated methods for the purpose. Today with maximum texture dimensions so much larger and support for non-power-of-two textures being common place, this splitting is no longer useful for 99% of systems and has now been removed.
danij
22:53 Revision d2850541 (github): Refactored the API for patch precaching in preparation for more extensive changes needed to support the HI_START/HI_END method for high resolution textures.
* lumppatch_t is now engine-internal.
* Removed R_CachePatch from libcommon by combining it with R_PrecachePatch.
danij
00:46 Revision ab23bae7 (github): Fix line endings.
danij
00:28 Revision e3ddd2e1 (github): Further fixes and tweaks to mobj/player movement. I think it just about feels right now.
danij

2010-05-09

21:19 Revision bb12b517 (github): Fixed another GL texture filtering artefact with the Hexen statusbar.
danij
21:18 Revision 7e71adb4 (github): Added a comment about a future optimization observation in the automap regarding the drawing of glowing linedef specials.
danij
19:45 Revision 1d7903b2 (github): Changed: Disabled lightgrid z-biasing as it does not work particularly well currently.
danij
19:24 Revision cc29c710 (github): Revert wall division calculation of vertex colors (was already correct).
danij
18:05 Revision 5744da8f (github): Ensure we bind the correct texture when reseting the possibly modified state in Rend_RenderMaskedWall.
danij
16:34 Revision f4f59bc9 (github): Added: DDKEY_PRINT and DDKEY_CAPSLOCK and implemented support in the input SDL, Win32 and DirectInput wrappers (fixes http://sourceforge.net/tracker/?func=detail&aid=1533380&group_id=74815&atid=542099).
Added: PrtSc now bound by default binding to take a screenshot. danij
15:54 Revision e40e7caa (github): Fixed: "Transparent texture clamp on upper/lower wall sections". (see here http://sourceforge.net/tracker/?func=detail&aid=2934366&group_id=74815&atid=542099)
danij
15:14 Revision d6f401eb (github): Further fixes to fakeradio wall shadow texture offset calculations when doing height division. It however still doesn't look 100% correct when dealing with the wall shadow's horizontal coordinates.
danij
03:28 Revision fe21a53f (github): Fixed: Dynamic lights were not aspect corrected.
danij
03:10 Revision 89f8768e (github): Changed: Use a slightly larger offset for mobj shadows to help avoid z-fighting.
Todo: Replace with a method similar to that used with dynamic lights? danij
02:57 Revision d39e26d2 (github): Changed: Long walls no longer receive slightly larger fakeradio shadows.
danij
02:38 Revision 45e2e9cd (github): Fixed: Particle textures not reloaded after a resolution change.
danij
02:35 Revision b0fd4131 (github): Fixed: Fakeradio wall side shadow y offset calculated incorrectly.
danij

2010-05-08

19:27 Revision 1bcfc490 (github): Clean up.
danij
17:08 Revision 84cc0f92 (github): Use the same near-4:3 aspect calculation as used for picking the bordered projection stategy for psprites, menu and statusbar (changed so that 5:4 stretches by default).
danij
16:50 Revision 8dbd7d1a (github): Fix ambiguous bordered projection test in G_Display2.
danij
16:45 Revision 0895ce6c (github): Use the same bordered projection drawing method for the intermission.
danij
15:37 Revision 25b6462b (github): When doing pillarbox/letterbox when drawing finales:
* Use modelview rather than projection matrix.
* Draw the black bars at the very end rather than the beginning so tha...
danij
13:49 Revision 7a2996c8 (github): Added: Aspect correct scaling of finale animations (InFine). If the window aspect ratio is equal to or close to 4:3 finales will be stretched to fill the window unless new cvar "finale-nostretch" is enabled. Otherwise finales will be scaled and positioned to fit within the window whilst maintaining their original aspect ratio (e.g., using pillarbox/letterbox drawing).
Todo: "Overlay" mode animations should not treated in this way.
Todo: Implement features so that an InFine script can...
danij
00:52 Revision 93342d0a (github): Changed: Do not prevent the movefloor/ceil ccmds from moving planes to or past the height of the opposite plane. For example, previously attempts to move a floor to the same height as the ceiling would be clamped to four world units below the ceiling.
Doomsday now gracefully handles the possible unwanted sideeffects that would occur should say a floor move past a cei... danij
00:39 Revision 2635a3be (github): Changed: Use the same equation for calculating shadow darkness for mobjs as used with fakeradio. Default value for rend-shadow-darkness changed to 1.2
danij

2010-05-07

19:59 Revision 613820b4 (github): Changed Win32: When running in windowed mode, use the dimensions of the virtual desktop for window position and sizing purposes (formerly the dimensions of the primary display).
Added Win32: Command line option "-noframe": used in combination with "-wnd"/"-window" to obtain fullscreen-like wind... danij
16:58 Revision 4a65795e (github): Animate menu background fog, menu alpha, menu flash color and rotating cursor in fractional time.
danij
14:57 Revision 502fc645 (github): Various changes to the automap:
* Fixed calculation of the rotation-aware axis-aligned clipping box.
* Fixed free-pan translation speed.
* Calculate ...
danij
00:40 Revision 0e0b79bb (github): Fixed: DD_DEFNS lumps not parsed.
danij

2010-05-06

15:31 Revision d165ed82 (github): Changed: Do not set the texture wrap properties of the currently bound texture in drawConsoleBackground we have no idea which texture (if any) is. Console background drawing should be redesigned to happen entirely game-side if it needs this flexibility or simply allow the game to specify a Material and let the engine handle drawing.
Fixed GL filtering artefacts on the viewwindow border due to border-clamping. danij
14:46 Revision 0d20b33c (github): Brought HUD drawing in Heretic and Hexen up to par with DOOM.
danij
13:08 Revision 09eef1cc (github): View window now ticks in fractional time.
danij
03:28 Revision c3342f4c (github): Automap now ticks in fractional time.
danij

2010-05-05

23:26 Revision a56d5e69 (github): Do not do __anything__ in assert() statements other than test an expression.
danij
18:19 Revision 583b583e (github): Ensure all the various player view offsets are zeroed in P_SpawnPlayer.
danij
16:26 Revision d2289731 (github): Continued clean up of HUD drawing (DOOM only thus far).
danij
16:25 Revision 4de88e06 (github): Brought the Hexen HUD drawing up to par with DOOM and Heretic.
danij
16:23 Revision bcfa5404 (github): Changed All games: Improved drawing of automap marked points by projecting them onto the edges of the view window (they are always in-view regardless of scale or position).
danij
01:16 Revision 82d877f5 (github): Began the next steps in refactoring the uiwidget stuff:
* Dynamic allocation of unique uiwidgets for each local player.
* Widget groups.
Todo: Bring Hexen up to par with DO...
danij
01:09 Revision 4d5b23ea (github): Minor tweaks to message log drawing to smooth out the scrolling somewhat.
danij

2010-05-04

12:07 Revision fb25e3f0 (github): Resolution independent aspect-correct drawing of the chat widget.
Fixed All games: Chat widget would be drawn over the message log making it difficult to read. danij
10:13 Revision 51346b9e (github): Resolution independent aspect-correct drawing of the world timer in Hexen.
danij
01:32 Revision 760c895f (github): Resolution independent aspect-correct scaling of the kills/items/secrets counters.
Changed DOOM/Heretic: The kills/items/secrets counters were previously only visible when the automap was open.
Change...
danij
 

Also available in: Atom