Age | Commit message (Collapse) | Author |
|
These were added ages ago as hacks to make the code compile with SDL2,
back when SDL2 was still in development. They aren't relevant any more
and aren't useful - the actual SDL2 port is proceeding on sdl2-branch.
|
|
This was removed on Windows a while back in favour of a more
conservative approach that examined the system DPI settings, but the
logic still remained for other systems and it really isn't a good
idea. Remove the logic that chooses a large font on large monitors,
and add a TODO comment to add proper Linux font selection in the
future, based on the Gtk+ HiDPI setting.
|
|
This change rewrites and simplifies the copyright headers at the top
of all source files:
* Remove "Emacs style mode select" line; this line was included in
the headers for the originally released source files and appears
to be to set the file type for old versions of Emacs. I'm not sure
entirely why it was required but I don't think it is any more.
* Remove "You should have received a copy of..." text from copyright
header. This refers to the old 59 Temple Place address where the
FSF headquarters used to be located and is no longer correct.
Rather than change to the new address, just remove the paragraph
as it is superfluous anyway. This fixes #311.
* Remove ---- separator lines so that the file headers are barer
and more simplified.
|
|
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: 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
|
|
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: /branches/v2-branch
Subversion-revision: 2546
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2543
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2537
|
|
a higher range to avoid conflicts with Doom's key constants.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2490
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2464
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2463
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2418
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 2347
|
|
bindings to prevent bindings to the same key from being cleared (thanks
myk).
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2325
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2320
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 2258
|
|
(thanks Alexandre Xavier).
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2249
|
|
several days ago.
Subversion-branch: /branches/raven-branch
Subversion-revision: 2212
|
|
line variable.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2195
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1845
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1745
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1737
|
|
avoid crashes.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1728
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1726
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1699
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1679
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1596
|
|
CE buttons are read properly. Map buttons to PC function keys.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1594
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1579
|
|
default on Windows CE if no fullscreen modes are available.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1570
|
|
it contains too many conflicts at present.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1522
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1502
|
|
Atari-Small font by Tom Fine.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1501
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1403
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1095
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 976
|
|
setup (hopefully)
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 939
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 935
|
|
functions, while keeping txt_main.h for the common API. Add
TXT_SDL_SetEventCallback to allow programs to intercept SDL events in
the textscreen main loop.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 892
|