Ioan Chera
2ecf987df1
Fix TXT_SelectFile for macOS
...
First parameter needed to be const, and the content updated to work under this restriction.
2018-03-18 09:42:17 +02:00
Simon Howard
5ff1698982
Merge branch 'master' of github.com:chocolate-doom/chocolate-doom
2018-03-17 23:49:03 -04:00
Simon Howard
ded7e89d0f
music: Fix bug with loop metadata tags on Windows.
...
The .ogg / .flac music files need to be opened in binary mode, not
in text mode, otherwise these won't be read properly on Windows. This
fixes #982 .
2018-03-17 23:47:38 -04:00
Simon Howard
f3ce0c7fdd
Merge pull request #986 from turol/musicsubst
...
Read whole music substition config file at once
2018-03-17 23:44:15 -04:00
Mike Swanson
e03c281d83
man: Remove quotes added in my prior commit for the WIN32 define
...
I have a habit of doing this in shell, and Make is not shell. It was
overall harmless, but it looks cleaner when building to not see
"-D_WIN32" (quotes included) in the commands being run.
2018-03-17 10:50:07 -07:00
Mike Swanson
da54817037
win32: Include appropriate game-specific INSTALL files in Zips.
2018-03-17 10:46:16 -07:00
Mike Swanson
3fd5eed6b0
Add a const for TXT_SelectFile in the Windows build too
2018-03-17 10:29:12 -07:00
Turo Lamminen
56d1487bd6
i_sdlmusic: Read whole config file at once and then parse
2018-03-17 16:22:04 +02:00
Turo Lamminen
8b8b46cd36
misc: Always add terminating '\0' in M_ReadFile
2018-03-17 16:22:04 +02:00
Mike Swanson
de175686e6
Merge pull request #999 from turol/const
...
Improve const correctness
2018-03-16 22:00:18 -07:00
Simon Howard
1db716fa17
textscreen: Simplify AppleScript for fileselect.
...
Since macOS 10.9 it is no longer to "tell an application" in order
to display pop-up UI elements like the file select dialogs. Quote:
> osascript(1) is now a “UI element” process and can therefore display
> its own UI, such as using display dialog; telling another application
> such as System Events is no longer necessary. [12365409]
As well as simplifying the wrapper this also fixes some issues with the
pop-up dialogs where window focus was getting messed up after selecting
a file.
2018-03-16 23:41:44 -04:00
Simon Howard
dd45fd9652
osx: Fix AppleScript script under High Sierra.
...
Some of the old script broke with this new OS release.
2018-03-16 22:32:53 -04:00
Simon Howard
9690b06aaa
docgen: Fix spurious whitespace.
...
The text output mode included useless whitespace at the end of lines
and also occasionally generated lines containing nothing but
whitespace. Clean up the code that generates text output and fix
these bugs.
2018-03-16 21:48:55 -04:00
Simon Howard
ceefa5bbd9
docgen: Add 'game' and 'obscure' categories.
...
The "general options" section of the manpage(s) has become quite
cluttered, and some of the options are obscure things most people don't
need to know about. Move the really obscure ones into their own category
near the end of the manpage, and factor out the options used when
starting a game from the command line into their own section as well.
Also add some missing doc comments for Hexen command line options.
2018-03-16 21:25:20 -04:00
Simon Howard
04b3ca24eb
Oops.
2018-03-16 20:34:01 -04:00
Simon Howard
1692a21966
Add a doc comment for -nogui.
...
Thanks to Xindage.
2018-03-16 20:31:52 -04:00
Turo Lamminen
c72143846b
Make W_ReleaseLumpName parameter const
2018-03-13 20:17:28 +02:00
Turo Lamminen
cc5a879a84
Make W_CacheLumpName name parameter const
2018-03-13 20:14:45 +02:00
Turo Lamminen
0eb2d12ecb
Make W_GetNumForName parameter const
2018-03-13 20:10:59 +02:00
Turo Lamminen
77eb05a2f9
Make W_CheckNumForName parameter const
2018-03-13 20:07:00 +02:00
Turo Lamminen
eb0c1ba61a
Make Z_ChangeTag2 file parameter const
2018-03-13 20:02:43 +02:00
Turo Lamminen
aacff41c26
Make TXT_NewRadioButton label parameter const
2018-03-13 19:57:07 +02:00
Turo Lamminen
71ea0f904f
Make TXT_SetRadioButtonLabel value parameter const
2018-03-13 19:53:42 +02:00
Turo Lamminen
569787da58
Make TXT_NewSeparator parameter const
2018-03-13 19:47:59 +02:00
Turo Lamminen
a6fbae76cd
Make TXT_SetSeparatorLabel label parameter const
2018-03-13 19:46:36 +02:00
Turo Lamminen
94d85c51b0
Make TXT_SetWindowHelpURL help_url parameter const
2018-03-13 19:44:25 +02:00
Turo Lamminen
232c968ed9
textscreen: Make help_url member const in txt_window_s
2018-03-13 19:33:51 +02:00
Turo Lamminen
592edc0d87
Make TXT_OpenURL parameter const
2018-03-13 19:33:51 +02:00
Turo Lamminen
10fda2ac53
Make TXT_MessageBox title character const
2018-03-13 19:33:51 +02:00
Turo Lamminen
334232d3b4
Make TXT_MessageBox message parameter const
2018-03-13 19:33:51 +02:00
Turo Lamminen
6283e91fbd
Make TXT_NewLabel parameter const
2018-03-13 19:33:51 +02:00
Turo Lamminen
50e55526b3
Make TXT_SetLabel value parameter const
2018-03-13 19:33:51 +02:00
Turo Lamminen
aa555a22c1
textscreen: Use more const-correct loop in TXT_SetLabel
2018-03-13 19:33:51 +02:00
Turo Lamminen
19a0939300
Make TXT_NewWindow parameter const
2018-03-13 19:33:51 +02:00
Turo Lamminen
49b5751693
Make TXT_SelectFile window_title parameter const
2018-03-13 19:33:51 +02:00
Turo Lamminen
90ded64b2b
textscreen: Make ExpandExtension parameter const
2018-03-13 19:33:51 +02:00
Turo Lamminen
5f82ebd75b
Make TXT_NewInvertedCheckBox label parameter const
2018-03-13 19:33:51 +02:00
Turo Lamminen
27a28b8ad9
Make TXT_NewCheckBox label parameter const
2018-03-13 19:33:51 +02:00
Turo Lamminen
898442b101
Make TXT_NewButton2 label parameter const
2018-03-13 19:33:51 +02:00
Turo Lamminen
4b48cd7f9d
Make TXT_NewButton parameter const
2018-03-13 19:33:51 +02:00
Turo Lamminen
44b80b2a7a
Make TXT_SetButtonLabel label parameter const
2018-03-13 19:33:47 +02:00
Turo Lamminen
1758e89080
textscreen: Make SDLWheelToTXTButton parameter const
2018-03-13 19:33:47 +02:00
Turo Lamminen
10d2130a2a
textscreen: Make TranslateKeysym parameter const
2018-03-13 19:33:47 +02:00
Turo Lamminen
fff3741c78
textscreen: Make FontForName parameter const
2018-03-13 19:33:47 +02:00
Turo Lamminen
54a38844f7
textscreen: Make name member const in txt_font_t
2018-03-13 19:33:38 +02:00
Turo Lamminen
83d0f369df
Make TXT_SetDesktopTitle parameter const
2018-03-13 12:31:51 +02:00
Turo Lamminen
8ec41dca6c
Make TXT_SetWindowTitle parameter const
2018-03-13 12:31:51 +02:00
Turo Lamminen
47091d24fb
Make M_StrCaseStr parameters and return value const
2018-03-13 12:31:51 +02:00
Turo Lamminen
746f429371
Make M_ExtractFileBase path parameter const
2018-03-13 12:31:51 +02:00
Turo Lamminen
95fef9ea78
Make M_FileCaseExists parameter const
2018-03-13 12:31:51 +02:00