mfrancis95
8442508444
Fix memory leak related to Steam directories
2018-11-08 13:59:48 -05:00
Simon Howard
08bb28ed91
Merge pull request #1094 from mfrancis95/master
...
Heretic: Call W_GenerateHashTable()
2018-10-14 10:59:27 -04:00
Simon Howard
2531f324e3
dehacked: Fix mistake in comment.
...
Thanks to Grazza for identifying this error on Doomworld (in reference
to DEH9000, although that text came from here).
2018-10-11 22:27:46 -04:00
mfrancis95
e295bb014b
Heretic: Call W_GenerateHashTable()
2018-10-11 02:20:17 -04:00
Mike Swanson
02fc812eff
iwad: Search Steam-on-Linux paths for WAD files
...
Windows games can now be installed via the Linux version of Steam,
so let’s automatically find any installed copies of the games.
2018-10-06 01:34:02 -07:00
Fabian Greffrath
3bf06ab27b
video: explicitly check for aspect_ratio_correct's value being 1
...
This doesn't make any factual change for Choco but allows forks to
assign different values to this variable.
2018-10-04 13:43:00 +02:00
Mike Swanson
b9416dc6f9
Merge branch 'master' of gh:mfrancis95/chocolate-doom
2018-10-02 14:04:12 -07:00
mfrancis95
cb49854d10
Make sure SDL_HINT_NO_SIGNAL_HANDLERS is only set if using SDL >= 2.0.4
2018-10-02 16:31:50 -04:00
mfrancis95
28e6533feb
Format the previous commit according to Chocolate Doom's coding style guidelines
2018-10-02 09:47:11 -04:00
mfrancis95
09f9ffb63f
Fix SIGINT being ignored when Dehacked SHA1 warning dialog open
2018-10-02 01:51:06 -04:00
mfrancis95
3e21ed71a3
Gracefully error out when player starts are missing
2018-10-01 18:27:50 -04:00
Simon Howard
560cdc3e45
configure: add AM_PROG_AR macro.
...
Some platforms (eg. Emscripten) have their own version of the ar tool,
so it is important to pick one that matches the target architecture.
Without this macro we always use the default system-installed version
of ar.
2018-09-30 23:34:52 -04:00
Simon Howard
0a7d77c2a7
Merge pull request #1081 from hifi/wipe-refactor
...
doom: Refactor wipe to advance once per frame
2018-09-30 22:53:44 -04:00
Mike Swanson
54a2c31efc
video: remove errant code for the -width and -height parameters
...
This prevented either paramater from working properly, since they
would be incorrectly trying to set the other dimension and immediately
switching video modes. Now works like -geometry does.
Resolves #1086
2018-09-18 20:48:20 -07:00
Simon Howard
50d2f52b21
travis: Remove sdl2-branch
...
This work is now complete.
2018-09-16 20:32:21 -04:00
Simon Howard
b69888222b
Merge pull request #1084 from chungy/win32_html_docs
...
Use pandoc to generate HTML documentation files in win32 packages
2018-09-16 20:29:52 -04:00
Mike Swanson
5d629db9be
pkg/win32: Use pandoc to create HTML versions of the docs
...
While plain-text versions generally worked, they have been slightly
littered recently with Markdown syntax. We should be able to assume
every Windows user has a web browser and can view these documents
in nicely-formatted HTML pages instead of opening Notepad.
2018-09-16 05:28:28 -07:00
Mike Swanson
aa72812ca7
man: Generate Markdown versions of CMDLINE
2018-09-16 05:28:25 -07:00
Mike Swanson
eccaa5aace
docgen: add Markdown output mode
2018-09-16 05:14:16 -07:00
Mike Swanson
aff22a2eaa
INSTALL: Convert document to Markdown format
2018-09-16 04:53:38 -07:00
Simon Howard
3e0dc2d65c
Fix warnings introduced by previous commits.
2018-09-09 18:54:20 -04:00
Simon Howard
b695b71233
iwad: Check executable location for IWADs.
...
This adds an additional search path when looking for IWADs - in addition
to checking the current working directory, also look in the directory
where the program executable is located.
To give some context for why I'm adding this: apparently there's a small
number of users who do something very unpleasant that I'd really prefer
they didn't: they "install" Chocolate Doom into Steam by replacing
dosbox.exe from their Steam installation of Doom with a renamed version
of `chocolate-doom.exe`. Yuck, I don't approve - it's a grotesque hack.
This works but it has a bug: Chocolate Doom picks up the Steam IWADs
from Windows registry keys. This means that it always starts doom2.wad,
and launching "Ultimate Doom" will actually launch Doom II. This solves
that problem, and while I don't approve of dumb Steam hacks, the change
itself is reasonable and it's an eminently sensible place to look for an
IWAD file.
2018-09-09 18:45:23 -04:00
Simon Howard
b34edc6d3e
Convert various bits of code to M_{Dir,Base}Name.
...
The new functions significantly improve readability and I'm pretty
sure that most of these changes produce logic that is equivalent to
the existing logic.
2018-09-09 18:44:18 -04:00
Simon Howard
ae8c1ed2e0
misc: Add M_{Dir,Base}Name utility functions.
...
These extract the directory / base filename, equivalent to the Unix
`dirname` / `basename` commands. Repeated code throughout the codebase
seems to reimplement this particular functionality.
2018-09-09 18:36:47 -04:00
Fabian Greffrath
de9163ef53
config: let GetDefaultConfigDir() never return NULL
...
Fixes #1083 , thanks @Pickle
2018-09-04 15:32:34 +02:00
Toni Spets
1641969b57
doom: Refactor wipe to advance once per frame
2018-08-24 16:22:52 +03:00
Simon Howard
28e726147a
Merge pull request #1075 from turol/const
...
More const correctness
2018-08-18 00:48:19 -04:00
Simon Howard
9ea4b024c2
Merge pull request #1079 from hifi/fix-setup-crash
...
setup: Use proper function signatures for callbacks
2018-08-18 00:47:56 -04:00
Jonathan Dowland
98f4af33f4
Merge pull request #1077 from hifi/fix-joystick-event-skip
...
doom: Don't skip joy events when menu is closed
2018-08-15 18:21:45 +01:00
Toni Spets
2d68e0791c
setup: Use proper function signatures for callbacks
...
This prevents the setup main menu from crashing when the caller
does not clean the stack.
2018-08-15 19:52:30 +03:00
Toni Spets
078673f730
doom: Don't skip joy events when menu is closed
...
Fixes #1015 .
2018-08-12 12:00:39 +03:00
Simon Howard
dd78c0873e
Merge pull request #1074 from AXDOOMER/master
...
Heretic: Fix P_FindNextHighestFloor's behavior
2018-08-11 13:02:27 -04:00
Turo Lamminen
3bd1270c48
hexen: Fix constness issues in DrawClassMenu
2018-08-07 18:45:58 +03:00
Turo Lamminen
a901b7a5b6
hexen: Fix constness issue in MN_Drawer
2018-08-07 18:45:11 +03:00
Turo Lamminen
1e71555aa5
hexen: Make QuitEndMsg contents const
2018-08-07 18:45:11 +03:00
Turo Lamminen
dcc753fbfc
hexen: Make GammaText contents const
2018-08-07 18:45:11 +03:00
Turo Lamminen
e11589559f
hexen: Make P_SetYellowMessage message parameter const
2018-08-07 18:45:11 +03:00
Turo Lamminen
77f1f76b2b
hexen: Make P_SetMessage message parameter const
2018-08-07 18:45:11 +03:00
Turo Lamminen
7660e72fe8
hexen: Make MenuItem_t text member const
2018-08-07 18:45:11 +03:00
Turo Lamminen
e822d5dfec
hexen: Make ACSAssert fmt parameter const
2018-08-07 18:45:11 +03:00
Turo Lamminen
cd812fce50
hexen: Make MN_TextBWidth parameter const
2018-08-07 18:45:11 +03:00
Turo Lamminen
b0cfaad650
hexen: Make MN_DrTextB text parameter const
2018-08-07 18:45:11 +03:00
Turo Lamminen
f57c4033db
hexen: Make MN_TextAWidth parameter const
2018-08-07 18:45:11 +03:00
Turo Lamminen
79d1b19e61
hexen: Make MN_DrTextAYellow text parameter const
2018-08-07 18:45:11 +03:00
Turo Lamminen
7209e8aba3
hexen: Make MN_DrTextA text parameter const
2018-08-07 18:45:11 +03:00
Turo Lamminen
062e8870ff
hexen: Fix constness issue between SC_MatchString, SC_MustMatchString and MapCmdNames
2018-08-07 18:45:11 +03:00
Turo Lamminen
e026fc8729
hexen: Make SC_Compare parameter const
2018-08-07 18:45:11 +03:00
Turo Lamminen
0e86f377a3
hexen: Make SC_ScriptError parameter const
2018-08-07 18:45:11 +03:00
Turo Lamminen
6f1d394d40
hexen: Make SC_OpenFile parameter const
2018-08-07 18:45:11 +03:00
Turo Lamminen
d5298aab05
hexen: Make SC_Open parameter const
2018-08-07 18:45:09 +03:00