Commit graph

4269 commits

Author SHA1 Message Date
Fabian Greffrath
fff2e0e058 pass buffer size to M_snprintf() instead of string length 2019-01-23 21:21:39 +01:00
Fabian Greffrath
82109a9cc0 force upper case for the save name string 2019-01-09 08:13:43 +01:00
Fabian Greffrath
48bda90fc4 omit prefixing the containing WAD file name if its the IWAD 2019-01-09 08:09:43 +01:00
Fabian Greffrath
4df980f534 address raised issues
- just call M_BaseName() when the basename is needed
 - move maplumpinfo declaration into doom/p_setup.h,
   include w_wad.h for the lumpinfo_t type definition,
   include p_setup.h in doom/m_menu.c
 - remove [crispy] comments, this is going to be Choco code
2019-01-08 08:11:30 +01:00
Fabian Greffrath
91dabf5355 default save name is map name and containing WAD file name 2019-01-07 14:30:40 +01:00
Fabian Greffrath
1ac868718c save a pointer to the current map lump info struct 2019-01-07 14:25:51 +01:00
Fabian Greffrath
78886030b9 save a WAD file's filename in struct wad_file 2019-01-07 14:20:59 +01:00
Fabian Greffrath
05c3023d2b video: point destroyed textures to NULL
When a renderer gets destroyed, all associated textures get destroyed
as well, so point them to NULL to prevent them being destroyed again.
2018-12-21 13:14:56 +01:00
Fabian Greffrath
1f07cbb796 Merge branch 'master' of https://github.com/chocolate-doom/chocolate-doom 2018-12-20 12:00:04 +01:00
Fabian Greffrath
07e9f3b987 video: create new texture before destroying old one
This fixes a racing condition which would leave us with no
intermediate texture available until the new one is created.
2018-12-20 11:05:41 +01:00
Jonathan Dowland
3235eb707a
Merge pull request #1124 from mfrancis95/master
Heretic: Gracefully error out when player starts are missing (fix #1122)
2018-12-19 13:39:46 +00:00
mfrancis95
3181ed3cae Heretic: Gracefully error out when player starts are missing (fix #1122) 2018-12-18 10:58:51 -05:00
Fabian Greffrath
e9b9fefcf6 setup: fix building on Windows 2018-12-18 09:19:22 +01:00
Simon Howard
6904023bfd
Merge pull request #1121 from turol/const
Const correctness
2018-12-17 09:46:51 -05:00
Simon Howard
6a6d49eaf8 setup: Fix bug opening music packs on Windows.
The previous code was opening a command prompt instead of an Explorer
window. I'm following the advice from this StackOverflow question on how
to do this properly:
<https://stackoverflow.com/questions/354902/open-in-explorer>

Thanks to /u/Ohrami3 on Reddit for discovering this bug.
2018-12-17 09:07:20 -05:00
Simon Howard
6764d05ccc mode: Add v1.2 to valid versions list. 2018-12-17 08:54:50 -05:00
Fabian Greffrath
482d302ee8
Merge pull request #1119 from mfrancis95/master
Fix memory leak in Strife related to finding voices.wad and make finding it case-insensitive
2018-12-12 21:00:56 +01:00
mfrancis95
b18f4641c3 Strife: Make finding VOICES.wad case-insensitive when the -iwad parameter is used (fix #1120) 2018-12-12 13:28:07 -05:00
Turo Lamminen
a857a14163 net: Fix format string warning 2018-12-12 12:24:08 +02:00
Turo Lamminen
264ff37298 net: Make NET_ResolveAddress addr parameter const 2018-12-11 19:46:39 +02:00
Turo Lamminen
f7b11a3775 net: Make _net_module_s ResolveAddress function parameter const and fix functions to match 2018-12-11 19:45:08 +02:00
Turo Lamminen
837a1ce0a9 net: Make NET_SV_SendReject msg parameter const 2018-12-11 19:42:31 +02:00
Turo Lamminen
fde56790b5 net: Mark NET_SV_SendConsoleMessage with PRINTF_ATTR 2018-12-11 19:41:36 +02:00
Turo Lamminen
30673d2389 net: Make NET_SV_SendConsoleMessage 's' parameter const 2018-12-11 19:41:36 +02:00
Turo Lamminen
0032332dac net: Mark NET_SV_BroadcastMessage with PRINTF_ATTR 2018-12-11 19:41:33 +02:00
Turo Lamminen
41df97b38e net: Make NET_SV_BroadcastMessage 's' parameter const 2018-12-11 19:37:59 +02:00
Turo Lamminen
4488827a39 net: Hoist now-identical code out of both branches of if 2018-12-11 19:35:12 +02:00
Turo Lamminen
0074d76e44 net: Fix const correctness issue in NET_SDL_ResolveAddress 2018-12-11 19:34:36 +02:00
Turo Lamminen
803e8e43d9 net: Make GameDescription return value const 2018-12-11 19:31:42 +02:00
Turo Lamminen
893f94d018 net: Make formatted_printf 's' parameter const 2018-12-11 19:26:53 +02:00
Turo Lamminen
8f7d6aa165 net: Make PrintSHA1Digest digest parameter const 2018-12-11 19:24:21 +02:00
Turo Lamminen
61664787e4 net: Make PrintSHA1Digest 's' parameter const 2018-12-11 19:23:53 +02:00
Turo Lamminen
a39ee1acf6 net: Make net_querydata_t description member const 2018-12-11 19:21:32 +02:00
Turo Lamminen
79b4de751c net: Make net_querydata_t version member const 2018-12-11 19:18:54 +02:00
Turo Lamminen
d0c0539483 net: Make not_dedicated_options contents const 2018-12-11 19:18:24 +02:00
Turo Lamminen
a6a17adce3 music: Make ParseSubstituteLine return value const 2018-12-11 19:17:25 +02:00
Turo Lamminen
1cd3cb4c73 music: Fix const correctness issue in ReadSubstituteConfig 2018-12-11 19:15:26 +02:00
Turo Lamminen
a98b617237 hexen: Make sprnames contents and related function parameters const 2018-12-11 19:13:19 +02:00
Turo Lamminen
338be540ce hexen: Mark spritename variable static 2018-12-11 19:09:35 +02:00
Turo Lamminen
8aeae4ae00 hexen: Make spritename variable const 2018-12-11 19:04:59 +02:00
Turo Lamminen
8e3a7b4b8d hexen: Fix const correctness issue in TryPickupArtifact 2018-12-11 19:00:18 +02:00
Turo Lamminen
d6817d2d1d hexen: Fix const correctness issues in TryPickupWeaponPiece 2018-12-11 18:56:38 +02:00
Turo Lamminen
bd36e1a19d hexen: Make TextKeyMessages contents const 2018-12-11 18:53:10 +02:00
Turo Lamminen
4b0fa1dff8 hexen: Make ClusMsgLumpNames contents const 2018-12-11 18:49:06 +02:00
Turo Lamminen
472dce0552 hexen: Fix const correctness issue in InitStats 2018-12-11 18:48:25 +02:00
Turo Lamminen
05836d1021 hexen: Make pagename variable const 2018-12-11 18:46:57 +02:00
Turo Lamminen
b700e7701a hexen: Mark gamedescription variable static 2018-12-11 18:46:02 +02:00
Turo Lamminen
28132c7385 hexen: Make gamedescription variable const 2018-12-11 18:39:30 +02:00
Turo Lamminen
9afe244903 hexen: Fix const correctness issue in GetFinaleText 2018-12-11 18:35:06 +02:00
Turo Lamminen
7005e93818 hexen: Make CT_FromPlrText contents const 2018-12-11 18:29:17 +02:00