🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.free.newsservers
1 messages
1 total messages Started by Jeff-Relf.Me Sat, 26 Mar 2016 13:59
I wrote my own "terminal interface"; "X.EXE" ( Windows 8 ).
#164120
Author: Jeff-Relf.Me
Date: Sat, 26 Mar 2016 13:59
41 lines
2766 bytes
<h2><PRE Style='Font-Family: OCR A, monospace !important;'> 
I wrote my own "terminal interface", "X.EXE" ( Windows 8 );
250 columns, fixedWidth fonts.  Screenshots ( 3840 x 2160 ):

  http://Jeff-Relf.Me/Diff.PNG
  http://Jeff-Relf.Me/X.PNG
  http://Jeff-Relf.Me/SleepPat.PNG
  http://Jeff-Relf.Me/Chess.PNG
  http://Jeff-Relf.Me/Super.Fast.Monopoly.PNG
  http://Jeff-Relf.Me/Reversi.PNG
  http://Jeff-Relf.Me/Solitair.PNG
  http://Jeff-Relf.Me/Mario.PNG

"X.EXE" is in <<A hRef='http://Jeff-Relf.Me/X.ZIP'
 target=_blank>X.ZIP</A>>, along with the files it needs.

    "X.HTM" is the "help/settings file".
    "Nyms.HTM" is the Usenet Scorefile.
    The "xGames" folder has .PNG files for the Monopoly game.
    "X.CPP" is the source code, Visual C++, x64, Visual Studio 2015.

"OCR A", "MS Mincho", "DejaVu LGC Sans Mono" and "nSimSun"
are the (required) "Unicode Console" fonts.
If they don't exist, warnings are issued using "Consolas" ( Vista ).

"DirectX.CPP" is a small (one-file) example of how to:
_ Make all Fonts/Glyphs the same width (double_width is allowed).
_ Rescale Graphics/Glyphs when a window changes size.
_ Use DirectX 11.1, Direct2D 1.1, DirectWrite, and Direct3D.
_ Draw to a back buffer at a high fps (frames per second).
_ Draw properly scaled/smoothed .JPG files, hardware accelerated.
_ Draw to/from/within bitmaps.
_ Discover if a font exists or not ("FindFamilyName()").
_ Discover if a glyph exists in a font ("HasCharacter()").
_ Discover the width/height of a glyph ("GlyphWH()").

Your startup folder should have, e.g., "Pics/LowRes.JPG" ( 100px wide/tall ) 
and "Pics/Chess.PNG" ( a 3840 x 2160 screenshot, Jeff-Relf.Me/Chess.PNG ).
All coordinates are in hard⋅pixels (D2D1_UNIT_MODE_PIXELS).

ScreenShot: Jeff-Relf.Me/Glyph.PNG
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads