Article View: alt.free.newsservers
Article #164120I wrote my own "terminal interface"; "X.EXE" ( Windows 8 ).
From: Jeff-Relf.Me
Date: Sat, 26 Mar 2016 13:59
Date: Sat, 26 Mar 2016 13:59
41 lines
2766 bytes
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
Technical Details
Message-ID:
<Jeff-Relf.Me@Mar.26{6.59A.Seattle.2016}>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.advocacy.(1483839).mbox.7z!not-for-mailReferences:
<nd608n11fd0@news4.newsguy.com>Show Full Headers
Complete Article Headers
Message-ID: <Jeff-Relf.Me@Mar.26{6.59A.Seattle.2016}>
Subject: I wrote my own "terminal interface"; "X.EXE" ( Windows 8 ).
Date: Sat, 26 Mar 2016 13:59:57 +0000
From: Jeff-Relf.Me <@.>
References: <nd608n11fd0@news4.newsguy.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.advocacy.(1483839).mbox.7z!not-for-mail
Content-Type: Text/HTML; charset=UTF-8
Content-Transfer-Encoding: 8bit
Newsgroups: comp.os.linux.advocacy,sci.physics,alt.free.newsservers
User-Agent: Jeff-Relf.Me/X.ZIP
X-Complaints-To: abuse@blueworldhosting.com
Organization: BWH Usenet NNTPSwitch-Cluster
Lines: 41
NNTP-Posting-Date: Sat, 26 Mar 2016 09:59:57 -0400
X-Trace: 75d3856f695ddec90b8a604662
X-Received-Body-CRC: 3283203426
X-Received-Bytes: 2677