Commit graph

3041 commits

Author SHA1 Message Date
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
Fabian Greffrath
d368801835 Merge pull request #640 from chocolate-doom/de-obfuscate
De-obfuscate some numerical constants found in the source code
2015-11-12 13:07:50 +01:00
Fabian Greffrath
dba0583c05 De-obfuscate some numerical constants found in the source code
Also, fix pointer arithmetic in R_SetupFrame(), where
sizeof(lighttable_t) == 1 was correct incidentally.
2015-11-11 11:08:17 +01:00
Simon Howard
9cc55c7f01 Fix warning due to mismatched enum types.
disk_indicator is a disk_indicator_e, not a boolean.
2015-11-09 23:31:31 -05:00
Simon Howard
6fb9d62d14 Merge branch 'master' of github.com:chocolate-doom/chocolate-doom 2015-11-09 23:31:16 -05:00
Simon Howard
c9debbb1ce Set the window title for command prompt.
This is a bit more interesting than just displaying "tempscript.sh".
2015-11-09 23:30:34 -05:00
Simon Howard
74e95c6130 Merge pull request #594 from khokh2001/warp
Emulation of hidden par bug in Final Doom.
2015-11-08 19:22:48 -05:00
Simon Howard
0f569394d1 Add Fabian and Jon to AUTHORS. 2015-11-08 18:39:18 -05:00
Simon Howard
59698770a3 Merge pull request #638 from rrebello/io-ports-fix
opl: limit use of ioperm/inb/outb to x86 architecture
2015-11-06 18:42:58 +01:00
Simon Howard
b67821cd80 Merge pull request #637 from Azarien/upstream_master
Add v_diskicon.c/v_diskicon.h to MSVC project files.
2015-11-06 17:55:48 +01:00