Commit graph

3050 commits

Author SHA1 Message Date
Mike Swanson
7b95fbbff4 automake: install binaries to ${bindir} not ${exec_prefix}/games
This has been enforcing an optional part of the FHS that proves
problematic on distributions that do not include /usr/games or
/usr/local/games on the $PATH by default.  On the packagers’ side, the
Arch, Fedora, and OpenBSD packages (at least) have been patching the
Makefile.in files in order to get it to install to the bin directory
instead.  On the users’ side, this comes as a rather nasty surprise
when neither the terminal nor GUI will launch the games when they have
been installed to a location not in the $PATH.

If desired by packagers or end-users, the old behavior can still be
effectively implemented by using `./configure --bindir=/usr/games`
2016-04-28 15:21:25 -07:00
Fabian Greffrath
4ff554629f opl_sdl.c: remove unused variable "i" 2016-04-25 20:48:17 +02:00
Simon Howard
d982aa21ea Merge pull request #701 from krystalgamer/patch-1
Removed non-existing files from project
2016-04-18 09:52:34 -04:00
krystalgamer
8e36bba2bc Removed non-existing files from project 2016-04-17 14:32:18 +01:00
Simon Howard
7c4a6bf731 Merge pull request #688 from jkbenaim/heretix-namefix
heretic: Add map names for Episode 6
2016-03-27 18:30:06 -04:00
Jason
85b6f63a70 Heretic: Add map names for Episode 6
Add blank map names for Episode 6.

This fixes a crash that can occur at the intermission screen after
completing a map in Episode 6.
2016-03-27 16:03:24 -04:00
Simon Howard
1089c6a37d Merge pull request #687 from chocolate-doom/jmtd-doc-install-freedm
Update INSTALL.template
2016-03-24 21:25:21 -04:00
Jonathan Dowland
6cd7d53a27 Update INSTALL.template
Add freedm.wad to the list of IWADs that can be used for chocolate-doom.

Closes: #666.
2016-03-24 21:26:12 +00:00
Jonathan Dowland
41c3d6d54b Merge pull request #683 from nukeykt/authors2
Add me to AUTHORS
2016-03-23 18:14:20 +00:00
nukeykt
6b0a6feea3 Add Alexey to AUTHORS 2016-03-24 02:34:32 +09:00
Jonathan Dowland
bd7a22c321 Update AUTHORS
Update my email
2016-03-11 15:37:11 +00:00
Simon Howard
cf9c03648c Merge pull request #679 from jmtd/osx-launcher-lmp
osx: Add support for .lmp file formats to Mac Launcher
2016-03-10 17:47:32 -05:00
Jonathan Dowland
c9d46e0c7c Add support for .lmp file formats to Mac Launcher
Once the app has been launched at least once, double-clicking upon
an .lmp file should start the Chocolate Doom launcher and add
appropriate "-playdemo" command-line arguments.

Closes: #677.
2016-03-10 22:30:56 +00:00
James Haley
21668aca63 Cast player pitch to unsigned when calculating sigil mega blast trajectory 2016-03-09 19:57:31 -06:00
James Haley
4077f339e7 Verified change to AM_addMark logic 2016-03-06 12:00:52 -06:00
James Haley
c2a82e2430 Verified changes needed to P_KillMobj 2016-03-06 11:51:26 -06:00
James Haley
899bc171b7 pw_invisibility is in fact cleared on burning death; addl resolution for issue #663 2016-03-06 01:36:43 -06:00
James Haley
a515d590c9 Address multiple issues identified by nukeykt; partially resolves issue #663 2016-03-06 01:22:27 -06:00
James Haley
71cf6472c2 Merge branch 'master' of https://github.com/chocolate-doom/chocolate-doom 2016-03-06 00:39:01 -06:00
James Haley
bc09b36a20 Allow SDL headers and libraries to exist in the msvc project directory 2016-03-06 00:38:49 -06:00
Simon Howard
2dedb03719 Merge pull request #672 from jmtd/jmtd-revert-mrandom-seeding
doom: Revert commit 59aad53.
2016-03-01 20:58:11 -05:00
Jonathan Dowland
4f040459eb Revert "Seed the M_Random random number generator from the system time to give"
This reverts commit 59aad53bbd.

Closes #665.

The original commit enhanced the behaviour of Doom to make some of the
pseudo-random behaviour less predictable. Whilst this is a nice feature, it's a
feature that vanilla lacks: replaying a demo would result in those behaviours
(wipe, pitched sound effects) being identical each time. This is not the case
with the above feature.

It could actually be quite useful to ensure that such behaviours are
reproducible to fine-tune our emulation of e.g. Doom/Heretic/Hexen pitch
shifting. Perhaps in the future our testing will be enhanced to compare
multimedia output of Vanilla versus chocolate for demo playback, in which case
we would also need to have reproducibility here.
2016-03-01 16:10:50 +00:00
Simon Howard
3a1bc4269d Add Contributor Covenant as Code of Conduct.
Chocolate Doom is only a small project, but it does have a small
community, and nowadays it is best practice to always have a Code of
Conduct.
2016-02-28 20:02:10 -05:00
Simon Howard
96a017b56f Update some doomworld http: links I missed.
Also fix the link to Lee Killough's page about visplane overflows;
it used to be on John Romero's website but is no longer there.
2016-02-28 14:36:59 -05:00
Simon Howard
826d2a09fa Update Doomworld URLs.
Doomworld is now available over https: so there's no reason to link
to unencrypted http: URLs (which are just redirect anyway). Also the
idgames interface URLs have changed.
2016-02-28 14:30:31 -05:00
Simon Howard
2137da434e Change all chocolate-doom.org URLs to https:
The website is now available over encrypted https: and there's no
reason to direct people to unencrypted http: URLs any more.
2016-02-28 14:20:19 -05:00
Simon Howard
e3954613bd opl: Fix compile errors.
I think these were introduced when functions in the file were made
static, eg.
"static declaration of 'OPL3_EnvelopeGenOff' follows non-static declaration"
Make function prototypes static where appropriate.
2016-02-28 13:25:19 -05:00
Simon Howard
a0ef4eda48 Merge pull request #669 from nukeykt/nuked-opl
opl: Nuked OPL emulator
2016-02-28 13:12:42 -05:00
nukeykt
166c3d2e9b opl: Fix tab characters 2016-02-28 21:59:12 +09:00
nukeykt
eb3cd65176 opl: Nuked OPL3 v1.7
Reformat the OPL3 code.
Remove the DBOPL core.
The OPL3 chip write delay implementation.
2016-02-28 21:53:03 +09:00
Simon Howard
cae001b84b CONTRIBUTING: Oops. 2016-02-17 19:53:23 -05:00
Simon Howard
f4bf4d8017 CONTRIBUTING: Add Git commit message guidelines.
Good commit messages are a thing to be encouraged.
2016-02-17 19:51:25 -05:00
Simon Howard
216dbe12a8 CONTRIBUTING: Tweak wording. 2016-02-17 19:37:04 -05:00
Simon Howard
deee694456 Add contributors guide.
This will appear when opening a new bug on GitHub.
2016-02-17 19:30:56 -05:00
Simon Howard
1360e6abb7 Fix automake warning by changing variable name.
The _SOURCES suffix has a special meaning in automake rules; change
MUS2MID_SOURCES to MUS2MID_SRC_FILES to avoid automake complaining.
2016-02-15 20:12:38 -05:00
nukeykt
e25368ca6b opl:Nuked OPL emulator 2016-02-11 20:49:48 +09:00
Simon Howard
5e162ed7e3 doom: Correctly handle savegame fopen() failure.
If the savegame directory is unwriteable we should exit with an error -
the previous behavior caused an infinite loop of attempting to open the
same file repeatedly. Because the player may value the progress they
have made, attempt to write the savegame to a temporary directory first
before exiting with an error.

This fixes #659. Thanks to @terrorcide for the bug report.
2016-02-06 17:38:17 -05:00
Simon Howard
b40e43e330 Merge pull request #655 from njankowski/issue-651
Fix typo and remove unused symbol. Fixes #651
2016-01-22 22:55:09 -05:00
njankowski
b2206374b8 Fix typo and remove unused symbol. Fixes #651 2016-01-22 16:33:50 -05:00
James Haley
37c1162fe8 Rogue did change the gib health check after all, we misread the assembly about 100 times in a row (this stuff is hard) 2016-01-11 04:08:06 -06:00
Simon Howard
3b7f8c554f Merge branch 'master' of github.com:chocolate-doom/chocolate-doom 2016-01-03 15:29:07 +01:00
Simon Howard
6aad2f8034 joystick: Don't initialize if joystick_index < 0.
We only initialize the joystick subsystem if usejoystick is true, but
joystick_index must also be valid in order to use a joystick, and a
negative value indicates no joystick is set.
2016-01-03 15:27:48 +01:00
Simon Howard
ca78a3ab8f Merge pull request #649 from rrebello/makefile-fix
Avoid use of '$<' and '$^' in Makefile rules
2015-12-31 09:05:10 +01:00
Rodrigo Rebello
86cb29b693 Avoid use of '$<' and '$^' in Makefile rules
Versions of make other than GNU make don't support automatic variables
in explicit rules, only in suffix (implicit) ones.

This fixes the build on FreeBSD (and possibly other BSD variants), which
was failing with errors like:

cp  chocolate-doom-setup
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-alpvx] source_file target_file
       cp [-R [-H | -L | -P]] [-f | -i | -n] [-alpvx] source_file ... target_directory
*** Error code 64

Stop.
2015-12-30 11:36:28 -02:00
Simon Howard
59d5f4e54e Merge branch 'master' of github.com:chocolate-doom/chocolate-doom 2015-12-25 13:36:22 +01:00
Simon Howard
b0585fa6ec Fix bug when starting multiplayer Chex Quest games.
The server was rejecting connects when running with chex.wad, because it
was expecting the gamemode to be shareware; in fact, chex.wad contains
four episodes worth of levels (even though only five levels are used).
Technically it is therefore a retail IWAD and we should expect
gamemode=retail when using it. This fixes #647; thanks to Danfun64 for
reporting the bug.
2015-12-25 13:33:59 +01:00
Fabian Greffrath
3dd823caab tables.c: Changed type of finetangent[]/finesine[] to fixed_t 2015-12-11 14:11:29 +01:00
Fabian Greffrath
2ecfe698d5 Hexen: Let the MRJONES cheat report the same version string as HEXEN.EXE
Fixes #644
2015-11-30 21:35:40 +01:00
Fabian Greffrath
71cc7a163d Fix warning: variable ‘widget’ set but not used 2015-11-17 17:33:13 +01:00
Fabian Greffrath
6345a9bdee Do not blindly assume single-byte framebuffers 2015-11-17 11:13:31 +01:00