Age | Commit message (Collapse) | Author |
|
Clicking on a scrollbar should scroll the cursor to that location, but
the logic for it was buggy because of loss of precision when doing an
integer divide. When dividing by bar_max, seek up to the nearest value
so that the cursor always arrives where we clicked.
Thanks to Alexandre-Xavier for reporting this bug. This fixes #359.
|
|
Always call SDL_SetVideoMode with bpp=0 to use the desktop's native
bit depth, and instead draw into an intermediate 8-bit screenbuffer
surface. This ensures that we do not encounter any palette mess-ups
as on some systems true 8-bit screen modes are poorly supported.
|
|
An off-by-one error in the function caused the strings to be truncated
one character too early. Change the return value check so that
negative values are also interpreted as indicating truncation; this is
the behavior of the Win32 API.
|
|
Define TXT_{StringCopy,StringConcat,snprintf,vsnprintf} as analogs of
the m_misc.c versions so that the textscreen library does not need a
dependency on the Doom code, and change all textscreen code to use
these instead of unsafe functions. This fixes #372.
|
|
Needed to properly fix bug #369.
|
|
There is no real scan code for the PrintScreen key under DOS, but it
is convenient to be able to bind it as a screenshot key. Define a
"fake" scancode (126) to represent PrintScreen so that it can be
represented as a key binding in configuration files. Also add some
comments/notes to the scantokey[] lookup table.
This fixes #369.
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2742
|
|
scale-ups of the standard res versions of the characters: in addition to
giving a more 'authentic' retro look, this fixes a problem where the
high-frequency dot patterns can cause weird moire effects on some
monitors.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2735
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2731
|
|
font.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2730
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2725
|
|
screen resolution, not the largest fullscreen resolution offered by SDL.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2724
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2717
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2716
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2639
|
|
value to empty string rather than NULL if cancel is pressed in dialog
(thanks Alexandre Xavier).
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2638
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2628
|
|
What support exists is for obsolete devices I no longer possess; I've
never been contacted about the port and it's been several years since
I even bothered to build a new version. All the extra overrides are
clutter that can just be removed.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2615
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2602
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2579
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2577
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2576
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2575
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2574
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2573
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2571
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2570
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2553
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2549
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2546
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2543
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2537
|
|
instead. Remove the unused "embedded color code" system from TXT_Puts.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2508
|
|
background color of inactive windows to black, to give better contrast
when viewing many layered windows.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2507
|
|
box.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2494
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2492
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2491
|
|
a higher range to avoid conflicts with Doom's key constants.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2490
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2489
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2487
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2484
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2464
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2463
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2462
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2461
|
|
when they lose their focus (thanks Twelve).
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2460
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2418
|
|
boundaries of the screen.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2391
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2388
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2383
|