Commit graph

1578 commits

Author SHA1 Message Date
Simon Howard
162ba0b777 Change gradient characters of 'large' textscreen font to be direct
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
2013-10-31 02:59:07 +00:00
Simon Howard
5387e91e31 Use system DPI setting on Windows to determine whether to use the large
font.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2730
2013-10-28 05:01:33 +00:00
Simon Howard
552d300e26 Determine which textscreen font to use by looking at the current desktop
screen resolution, not the largest fullscreen resolution offered by SDL.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2724
2013-10-28 01:23:10 +00:00
Simon Howard
79c6c5e83d Fix backwards logic for -novert handling.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2640
2013-09-08 19:14:31 +00:00
Simon Howard
e10af52152 Fix file select widget to emit "changed" signal properly. Reset variable
value to empty string rather than NULL if cancel is pressed in dialog
(thanks Alexandre Xavier).

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2638
2013-09-08 18:57:20 +00:00
Russell Rice
50289818e9 - Update codeblocks projects
- Remove missing setup-manifest.xml file inclusion from setup-res.rc
file

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2610
2013-07-03 21:41:46 +00:00
Simon Howard
431b79530b Fix OPL MIDI playback on big endian systems (thanks GhostlyDeath).
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2607
2013-06-19 20:50:09 +00:00
Simon Howard
0fea3b6cd1 Refactor handling of novert to take place at the lower layers rather
than in the game code. This makes the behavior closer to Vanilla and
stops the mouse affecting the menus when novert is enabled (thanks
manny).

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2606
2013-06-17 23:02:21 +00:00
Simon Howard
ba1c027718 Remove use of WINAPI macro to fix compile under MSVC.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2602
2013-05-27 17:56:06 +00:00
Simon Howard
ce8a95a5b9 Correct incorrect doc comment.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2579
2013-04-01 16:38:55 +00:00
Simon Howard
bd0f386997 Fix Doxygen comments.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2576
2013-03-31 20:38:03 +00:00
Simon Howard
f346e3391d Add back call to TXT_Delay to fix OS X freeze.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2575
2013-03-31 19:38:04 +00:00
Simon Howard
daa0897ec9 Allow backspace or delete to clear the contents of an input box.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2574
2013-03-31 19:32:49 +00:00
Simon Howard
9963de836f Don't hog the CPU while waiting for the file selector.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2573
2013-03-31 19:32:22 +00:00
Simon Howard
a16cb18b84 Change WAD selectors in setup tool to file selection widgets.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2572
2013-03-31 19:16:25 +00:00
Simon Howard
fdd021c565 Fix file selector issues with Windows build.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2571
2013-03-31 19:09:45 +00:00
Simon Howard
3ac144025a Add file selector widget to textscreen library.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2570
2013-03-31 18:46:25 +00:00
Simon Howard
adbfa3216c Fix compiler warnings caused by unused variables.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2552
2012-12-23 21:25:40 +00:00
Simon Howard
7b9cfe4a61 Fix up weird looking '9' character in large font.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2549
2012-12-23 01:43:41 +00:00
Simon Howard
da1e9064e9 Add some extra zero-fill to the end of .DS_store.
Recent versions of Mac OS X Finder seem to generate slightly fatter
.DS_store files. This can cause a problem where there is insufficient
free space in tmp.dmg to generate the modified .DS_store file. Adding
some zero-fill to the end of the base one fixes this.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2547
2012-12-22 23:30:17 +00:00
Simon Howard
f5e5190c42 Rename function, as ShowCursor is a Windows function and this conflicts
with it (thanks exp(x)).

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2545
2012-12-14 01:05:16 +00:00
Simon Howard
9f1a64f856 Add high-resolution font for textscreen.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2543
2012-11-18 21:56:18 +00:00
Simon Howard
a854a3a5e0 Fix registry handles not being closed (thanks Quasar).
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2540
2012-11-12 20:46:38 +00:00
Simon Howard
cab5118726 Add note about BFG Edition IWADs to NOT-BUGS.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2538
2012-10-29 01:08:58 +00:00
Simon Howard
ad11652dcd Refactor AES code to resolve compiler aliasing warnings.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2536
2012-10-28 20:50:50 +00:00
Simon Howard
501b13786b Add functions for network signature requests. These request the signed
messages from the master server, to be used at the start and end of
recording a secure demo.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2535
2012-10-28 10:41:45 +00:00
Simon Howard
f7ecbd1449 Define PRNG seed as a type.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2534
2012-10-28 10:40:37 +00:00
Simon Howard
a3b3e15f4e Add pseudorandom number generator for secure demos.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2533
2012-10-27 06:10:50 +00:00
Simon Howard
80571d7c6b Add small workaround to deal with the fact that the BFG Edition's
version of doom2.wad has no TITLEPIC lump (thanks Gez).

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2532
2012-10-26 21:52:40 +00:00
Simon Howard
e6d59fa34c Add missing sha1.h header.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2531
2012-10-25 20:43:15 +00:00
Simon Howard
42567795b3 Switch from MD5 to SHA-1 for network digests.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2530
2012-10-25 20:40:56 +00:00
Simon Howard
933839b0a2 Add Steam path for Doom 3: BFG Edition IWAD path (thanks Gez for the
information).

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2529
2012-10-23 20:39:52 +00:00
Simon Howard
74293323d6 Er... that's 64, not 32.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2514
2012-07-11 21:23:55 +00:00
Simon Howard
fdf156f819 Add bound check for scrolling walls limit and exit with an error if it
is exceeded.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2513
2012-07-11 21:20:39 +00:00
Simon Howard
ddb9af112d Update NEWS and ChangeLog, bump version number.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2510
2012-06-09 16:50:09 +00:00
Simon Howard
003c82ce37 Remove some calls to TXT_FGColor by using the new TXT_SaveColors system
instead. Remove the unused "embedded color code" system from TXT_Puts.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2508
2012-03-04 12:06:29 +00:00
Simon Howard
9ffd1cc4d4 Rework the way that window background colors are set, and change the
background color of inactive windows to black, to give better contrast
when viewing many layered windows.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2507
2012-03-01 20:26:56 +00:00
Simon Howard
920ffea9b6 On Windows, convert the USER and USERNAME environment variables from OEM
codepage to UTF-8 encoding. This should fix the case where the user has
a username that includes non-ASCII characters (thanks Alexandre Xavier).

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2495
2012-02-04 23:05:42 +00:00
Simon Howard
c6b8f11637 Fix crash when typing lots of Unicode characters into a number input
box.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2494
2012-02-03 22:05:49 +00:00
Simon Howard
25374dee58 Fix chat macros when vanilla_keyboard_mapping is turned off.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2493
2012-02-03 21:46:55 +00:00
Simon Howard
20f405ec54 Fix CP437-Unicode mapping of cedilla character.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2492
2012-02-03 21:38:06 +00:00
Simon Howard
85b5a7487d Upgrade the input box and label widgets to use UTF-8 strings.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2491
2012-02-03 21:10:36 +00:00
Simon Howard
d745a6409c Support Unicode input by mapping typed Unicode characters >= 128 up into
a higher range to avoid conflicts with Doom's key constants.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2490
2012-02-03 21:09:57 +00:00
Simon Howard
c818fb0216 Split off UTF-8 code into separate file and add extra functions.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2489
2012-02-03 20:21:17 +00:00
Simon Howard
d4df22aa1e Beginnings of limited textscreen UTF-8 support.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2487
2012-02-02 23:35:16 +00:00
Simon Howard
d0c89e469d Re-resolve the address of the master server every eight hours, to adapt
to changes in DNS configuration.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2486
2012-02-02 21:59:46 +00:00
Simon Howard
1138de4fb6 Fix scroll bar behavior (thanks Alexandre Xavier).
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2484
2012-02-02 21:10:20 +00:00
Simon Howard
41c2cd24e6 Only use the SDL mouse lag workaround on Windows - not all systems allow
the cursor to be changed. This fixes Chocolate Doom on AmigaOS (thanks
Timo Sievänen).

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2483
2012-02-02 20:34:09 +00:00
Simon Howard
33120be8fa Add hack command-line option for on-screen OPL status output - useful
for GENMIDI development.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2482
2012-01-05 02:33:25 +00:00
Simon Howard
01e91aab21 Fix weapon cycling keys when using IDKFA in Shareware Doom (thanks
Alexandre Xavier).

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2478
2011-11-26 22:09:42 +00:00