Commit graph

31 commits

Author SHA1 Message Date
graham sanderson
368a6210f7 squashed rp2040-doom changes 2022-03-07 12:44:30 -06:00
Mike Swanson
cc9c4ef380 Makefile.am: add CMakeLists.txt and win32 to EXTRA_DIST
Closes: #1055
2018-06-05 10:41:38 -07:00
Alex Mayfield
f8810f763c Chocolate Doom now builds 2018-05-02 21:23:00 -04:00
Alex Mayfield
aebcec00b2 opl and pcsound libraries 2018-05-02 20:20:28 -04:00
Turo Lamminen
26e758810f pcsound: Make pcsound_driver_s name member const 2018-03-31 15:09:24 +03:00
Simon Howard
38eb80a7dc pcsound: Remove Win9x TODO().
We're not going to pretend to support Win9x any more so this isn't
going to get done. Part of #834.
2017-01-02 14:56:59 +01:00
Simon Howard
7fd60f8d9b Add thread name to SDL_CreateThread calls.
SDL2's version of SDL_CreateThread has an extra parameter to specify
a name for the thread.
2014-11-28 15:43:26 -05:00
Simon Howard
7684ddcfd8 Clean up file headers.
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.
2014-05-05 00:20:54 -04:00
Simon Howard
46fb2a7c8c pcsound: Fix resouce leak with speaker_handle.
speaker_handle should be close()d after forking the separate sound
server. This fixes #192 (thanks Edward-san).
2014-04-10 00:09:15 -04:00
Simon Howard
63acb55b18 Remove Windows CE support.
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
2013-08-11 17:32:29 +00:00
Simon Howard
a9e2d244a5 Add tags files to svn:ignore properties.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1828
2010-01-27 19:16:26 +00:00
Simon Howard
410579ec66 Change British English spellings to American English, for consistency.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1699
2009-09-30 23:07:03 +00:00
Simon Howard
3a4db25094 Include libc_wince.h on Windows CE.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1593
2009-06-11 18:19:05 +00:00
Simon Howard
a91a1c60f5 Use SDL's getenv/putenv implementation, and populate at startup.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1577
2009-06-08 18:15:57 +00:00
Simon Howard
cf6e976f37 Add missing SDL_thread include.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1569
2009-06-07 16:39:08 +00:00
Simon Howard
e80490d431 Always use an SDL buffer size that is a power of two. Reduce buffer size
to 70ms.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1524
2009-05-17 13:54:19 +00:00
Simon Howard
cc93c79792 Calculate SDL buffer size automatically based on sample rate.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1511
2009-05-07 21:59:38 +00:00
Simon Howard
a0062502d1 Add SDL_CFLAGS, SDL_LDFLAGS to default compile flags, and check for SDL
in configure before checking for libraries and headers, to fix Windows.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1412
2008-12-09 19:56:43 +00:00
Simon Howard
125f86e18b Make the BSD PC speaker driver work on FreeBSD.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1113
2008-04-15 23:16:16 +00:00
Simon Howard
6805e19222 Use strcmp(), not strcasecmp() for checking driver name
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1004
2008-01-20 01:59:39 +00:00
Simon Howard
764f451cdf Revert doomdef.h include added to pcsound.c.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1003
2008-01-20 00:22:47 +00:00
GhostlyDeath
dd32de5567 Added MSVC9 (2k8 Express) Project File; The client builds but -setup and
-server just need to have files excluded/included from the project

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1000
2008-01-16 13:39:24 +00:00
Simon Howard
604e09624e Try to open /dev/speaker in the parent process, so that we can tell if
we don't have permission to open it before we fork.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 966
2007-09-03 00:43:29 +00:00
Simon Howard
0517fad3f4 Add pcsound driver for OpenBSD.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 965
2007-09-03 00:30:51 +00:00
Simon Howard
5997ce8212 Add pcsound_internal.h to dist.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 929
2007-07-04 22:57:07 +00:00
Simon Howard
beab4eb58b Split i_sound.c into i_sdlsound.c, i_sdlmusic.c, with generic "sound
driver" modules, one for PC speaker and one for digital output.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 913
2007-06-17 18:40:02 +00:00
Simon Howard
5193587afe Set svn:ignore on pcsound directory.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 896
2007-06-09 17:45:14 +00:00
Simon Howard
64c188aa8e Fix tempo problems in pcsound linux driver.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 878
2007-05-19 16:42:56 +00:00
Simon Howard
6a36c84b15 <SDL.h> -> "SDL.h"
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 866
2007-03-27 11:40:04 +00:00
Simon Howard
eba59fdf44 Add pcsound Linux driver.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 851
2007-03-09 23:30:46 +00:00
Simon Howard
d4056662a4 Move the pcsound library to the top level, alongside textscreen.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 849
2007-03-09 22:50:48 +00:00