Muzychenko Andrey
919b537e28
Added FT demo data support.
...
Tested with .006 ,.020 RC2, there might be more versions out there.
Fixed mds2midi.
Ref #22 .
2021-11-24 17:25:23 +03:00
Muzychenko Andrey
683204519c
Added UTF-8 path support on Windows.
...
Ref issue #82 .
2021-11-06 19:22:56 +03:00
Muzychenko Andrey
348d79ef38
Bugs and suggestions from PR# 48.
2021-10-18 09:31:47 +03:00
Muzychenko Andrey
81c2034a16
Replaced objlist_class with std::vector.
...
Fixed minor bug in TLightGroup.
Cleaned up some warnings.
2021-10-01 18:55:44 +03:00
Muzychenko Andrey
a281000308
midi: added support for FULLTILT16 music.
2021-09-30 08:51:48 +03:00
Muzychenko Andrey
03deda2f9d
Added event wait timeout when idle.
...
Added show menu button to prevent lockout; this somewhat ruins no menu aesthetic.
Cleaned up 3DPB vs. FT methods in midi.
2021-09-29 17:53:49 +03:00
Muzychenko Andrey
b4cb827d73
winmain: reworked main loop for smoother frame times.
...
imgui_sdl: added handling for device lost.
midi: load PINBALL.MID in uppercase and using absolute path.
Added UPS/FPS options, by default 120/60.
2021-09-28 08:14:18 +03:00
Muzychenko Andrey
c5b7c0ad16
Fixed some of the memory leaks and Clang warnings.
...
DrMemory and Valgrind work with regular debug builds.
2021-09-14 15:33:18 +03:00
Muzychenko Andrey
28e2417ef9
Made it compile with GCC on Linux.
...
Fixed GCC warnings and Windows specifics.
Restored C++11, switch to 14 was not supposed to happen.
Not 100% sure about my Find* module section.
2021-09-09 11:40:54 +03:00
Muzychenko Andrey
2fe6d6d33a
Removed windows.h dependency.
...
Added support for music in MDS format.
2021-09-06 16:27:58 +03:00
Muzychenko Andrey
9a10d72e1f
gdrv: simplified bitmap, fixed blit, improved SDL present.
...
Removed some Windows dependencies.
2021-09-01 11:02:57 +03:00
Muzychenko Andrey
a09ea75d80
SDL port v1, Windows only for now.
...
Working: graphics, sound, music (3dpb only).
Not working: GUI, user settings.
2021-08-27 13:29:41 +03:00
Muzychenko Andrey
d5b44e44e1
Improved wav duration calculation - now supports sample rates other than 11025.
...
Bumped build tool version to VS2019.
2021-08-18 12:44:26 +03:00
George McMullen
db08631ab9
Fix to the routine that opens the MIDI file.
...
In the original source code for Space Cadet and its related games, the MIDI sound track is opened with MCI_OPEN_TYPE. According to Microsoft's documentation (https://docs.microsoft.com/en-us/windows/win32/multimedia/mci-open ), this is for opening devices and not files. Windows' libraries were obviously robust enough to accommodate the error, but other platforms (i.e. WINE) expects things to be called the right way. The simple fix is to switch out MCI_OPEN_TYPE with MCI_OPEN_ELEMENT and move the info for the filename to the lpstrElementName variable.
2021-08-16 05:39:18 -07:00
Muzychenko Andrey
98f234fce3
Replaced GlobalAlloc with malloc.
...
WaveMix keeps GlobalAlloc for authenticity.
Fixed float to double casts.
Some cleanup.
2021-02-18 12:53:25 +03:00
Muzychenko Andrey
55984fbb08
Fixed x64 build warnings.
...
Replaced __intN with intN_t.
Some cleanup.
2021-02-16 19:03:45 +03:00
Muzychenko Andrey
5c3e9fea4c
Added FT music loader.
...
Fixed mouse lock.
Some cleanup.
2021-02-15 18:55:54 +03:00
oz
7d15427dd9
midi ready, TCollision cleanup.
2021-01-23 13:33:30 +03:00
oz
090beefd07
timer v1, ready.
...
winmain uninit.
message_handler tweaks.
2020-12-04 18:35:47 +03:00
oz
9ffab95d8e
winmain message_handler v1.
2020-12-02 20:12:34 +03:00