730 Commits

Author SHA1 Message Date
Roman Fomin
cf98ad3f21
clear extended line flags if ML_RESERVED is set (#311)
* clear extended line flags if ML_RESERVED is set

* add space
2021-10-19 09:03:41 +02:00
Roman Fomin
d87c9534f9 fix things in rotate mode 2021-10-19 11:56:23 +07:00
Roman Fomin
f79738e9d5
automap: flashing key based switch (#294)
* flashing key based switch

* add check for keyed switch

* forgot else

* remove check for closed door again

* add comment
2021-10-18 17:55:06 +02:00
Fabian Greffrath
57c6d23cbc
uncouple showing "secret revealed" message from general messages (#310) 2021-10-18 10:19:33 +02:00
Roman Fomin
db473e3527
allow more than one direction after stick to button conversion (#306)
* remove joymove

* track axes to buttons state
2021-10-16 15:32:01 +02:00
Roman Fomin
15e28f9459
it is impossible to remove menu keys without replacing them (#305) 2021-10-16 15:31:51 +02:00
Roman Fomin
09a607b9ab Merge branch 'master' of https://github.com/fabiangreffrath/woof 2021-10-15 13:04:15 +07:00
Roman Fomin
37d97c6b55 fix the cursor positioning in gamepad menu 2021-10-15 13:01:51 +07:00
Roman Fomin
8498ed97f9
correction of fuzz sprite extra line code from Crispy Doom (#303) 2021-10-14 16:59:36 +02:00
Roman Fomin
7e16fbe7df
immediately redraw status bar after help screens have been shown (#302) 2021-10-14 11:31:45 +02:00
Roman Fomin
78ae4a39dc
fix fuzz effect (taken from SMMU and Crispy Doom) (#300)
* fix fuzz effect (taken from SMMU)

* fix missing line at bottom when drawing fuzzed sprites (from Crispy Doom)

* draw fuzz effect independent of frame rate (from Crispy Doom)

* fix missing multiplication
2021-10-14 11:31:27 +02:00
Roman Fomin
5c82a47118
gamepad support (#292)
* initial implemetation of gamepad support

* fix gcc warnings

* fix comment

* add axis inversion

* input_menu_enter acts like 'y' in confirm messages

* fix reload and next level composite inputs

* settled on a choice on the response curve x ^ 3

* cleanups

* fix declaration

* controller axes also dispatch button events

* fix menu spacing

* menu cosistency fixes

* rename controller->gamepad

* use SDL for double click detection

* remove unused variable

* check input_strafe and input_forward for double click use

* little cleanup, better console messages
2021-10-14 11:30:47 +02:00
Roman Fomin
8cd6a0a45d
add transparent ghost monsters from Crispy Doom (#293) 2021-10-08 08:23:11 +02:00
Fabian Greffrath
6ba3119bc4 initialize a config variable to silence a compiler warning 2021-10-06 14:10:35 +02:00
Roman Fomin
564fe38575
composite input (#281)
* initial implementation of composite input

* fix gcc warnings

* fix wrong comparison

* fix more gcc warnings

* fix menu_buffer offset

* implement composite menu inputs

* implement the rest of the composite inputs

* fix quit demo key

* change config format for composite inputs

* remove unused code

* fix config format

* fix adding key with 0 value

* fix alt-strafe directions

* restore defaults for some actions

* add new event types, remove state tracking

* any combination of inputs are possible now, new config format

* fix gcc warnings

* retore key mode

* remove unused code, fix whitespace

* more whitespace fixes

* few cleanups

* fix typo
2021-10-05 21:53:46 +02:00
Fabian Greffrath
a921f50949 Merge branch 'master' of https://github.com/fabiangreffrath/woof 2021-10-04 08:32:58 +02:00
Roman Fomin
64b3abd262
fix automap marks in automapoverlay mode (#289)
* fix am marks if followmode is off

* add automapoverlay check
2021-10-04 08:30:16 +02:00
Fabian Greffrath
fcf1b040f5 fix "unused variable" warnings on Windows 2021-10-04 08:19:42 +02:00
Roman Fomin
942b9a3c64
process deh in IWAD first (#288)
* process deh in IWAD first

* remove excess blank line
2021-10-04 08:08:29 +02:00
Roman Fomin
791487b56b remove unused umapinfo_loaded variable 2021-10-03 10:01:17 +07:00
Roman Fomin
5c290a3f08 SDL_mixer introduced current check for mp3 header in version 2.0.2 2021-10-01 19:37:02 +07:00
Roman Fomin
90808ec587 remove midiOutUnprepareHeader
Since the buffers are static, we don't need to free the data.
2021-10-01 15:48:05 +07:00
Roman Fomin
9a84692474
workaround for SDL_Mixer 2.0.4 mp3 header check (#287)
* workaround for SDL_Mixer 2.0.4 mp3 header check

* add comment
2021-10-01 09:22:37 +02:00
Roman Fomin
51adb6083c
win midi: fix timing issue, reformatting (#286) 2021-09-30 08:27:00 +02:00
Fabian Greffrath
afef615cf4 release Woof! 7.0.0 woof_7.0.0 2021-09-27 08:24:53 +02:00
Roman Fomin
a44a44568b
use SDL functions to load a WAV lump (#285)
* fix samplelen for some 8-bit WAVs

* use SDL functions to load a WAV lump

* little cleanup
2021-09-27 08:19:43 +02:00
Roman Fomin
351166d56d
Demo features (#278)
* if a new game is started during demo recording, start a new demo

* add key to finish demo recording

* count spawned monsters

* add demo file name suffix counter, rngseed is generated before restart recording

* align the demo restart feature with PrBoom+
2021-09-22 11:17:04 +02:00
Roman Fomin
101fe0573c
add comp_voodooscroller (MBF21 v1.3 update) (#283) 2021-09-22 08:49:43 +02:00
JadingTsunami
d7b6cbb659 Fixed a bug in DeHackEd string replacements with a length of exactly four. First reported by esselfortium: https://www.doomworld.com/forum/topic/115788-deh-music-string-replacement-buggy-in-boom-based-ports/ (#110) 2021-09-21 15:50:01 +02:00
Roman Fomin
95ed3f0948
fix the dehacked string replacement behavior (#282) 2021-09-20 16:23:33 +02:00
Fabian Greffrath
45714f284f
Update README.md 2021-09-20 13:05:08 +02:00
Roman Fomin
2b38b8cf22 Revert "Merge branch 'master' into multiplayer"
This reverts commit 00dab5b54c04ee9d295c917604b1735625ac2f05.
2021-09-14 20:45:14 +07:00
Roman Fomin
00dab5b54c Merge branch 'master' into multiplayer 2021-09-14 20:43:33 +07:00
Roman Fomin
70af27e655 remove redundant include 2021-09-13 19:33:42 +07:00
Roman Fomin
51859711c9
implement DSDHacked support (#277)
* uncap states

* uncap sprites and sounds

* uncap things

* fix clang warnings

* fix format error

* remove redundant declaration

* use zone memory in dsdhacked.c

* allocate only when needed
2021-09-13 14:08:35 +02:00
Fabian Greffrath
97ebf4be37
keep the map static in overlay mode if not following the player (#276)
* keep the map static in overlay mode if not following the player

Closes: #275

* update mapcenter and mapangle in the drawing routine
2021-09-10 21:04:52 +02:00
Roman Fomin
a7a784d54b change the color of the flashing door for better visibility 2021-09-10 20:59:36 +07:00
Roman Fomin
9643c4efda win midi: wait 2 seconds for callback 2021-09-10 17:47:17 +07:00
Roman Fomin
c2fe0220d1 map_keyed_door_flash is 0 by default 2021-09-10 17:43:26 +07:00
Roman Fomin
ef5c4b3c9f
make keyed doors flash on the automap (from Crispy Doom) (#274)
* make keyed doors flash on the automap (from Crispy Doom)

* add menu option

* remove unnecessary decloration
2021-09-10 12:33:08 +02:00
Roman Fomin
5b18c00d22
fix M_PAUSE graphics location in hires mode (#273) 2021-09-08 21:30:40 +02:00
melak47
af261a9e07
cmake: always unzip SDL2 binaries in build directory (#270) 2021-09-03 06:57:33 +02:00
Roman Fomin
cff96ceca2 win midi: set a higher priority for the player thread 2021-09-03 01:20:32 +07:00
Roman Fomin
070cb84a41
next level key also skips the current demo (#268)
* next level key also skips the current demo

* reset demoskip variable
2021-09-02 10:11:22 +02:00
Roman Fomin
520b13cc14
enable cosmetic compatibility options for all complevels (#267)
* enable cosmetic compatibility options for all complevels

* don't warn about change of cosmetic options

* rename S_NOTWRN to S_COSMETIC
2021-09-02 10:10:56 +02:00
Fabian Greffrath
56c35c1dba
improve build instructions 2021-09-02 10:08:01 +02:00
Roman Fomin
3afa670f66 wait for the MOM_DONE event before freeing the data 2021-09-02 01:07:06 +07:00
Roman Fomin
220addf311
fix the Boom elevators movement interpolation (#266) 2021-09-01 18:23:58 +02:00
Roman Fomin
93a0909e55 add missing copyright 2021-09-01 22:51:23 +07:00
Fabian Greffrath
c8b2fbd531
remove native OPL access implementations (#262) 2021-09-01 08:37:54 +02:00