Commit Graph

271 Commits

Author SHA1 Message Date
Muzychenko Andrey
dcd488c48c
Merge pull request #5 from GeorgeMcMullen/midifix
Fix to the routine that opens the MIDI file.
2021-08-18 10:08:55 +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
bad55d49cf Updated readme. 2021-02-20 15:58:16 +03: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
Muzychenko Andrey
debe52c1e0 Added scalable window, mouse controls. 2021-02-09 18:09:44 +03:00
Muzychenko Andrey
1c5256a4c6 Added table resolution support.
Only works with FT .dat file.
FT music does not work - different format.
2021-02-06 16:53:47 +03:00
Muzychenko Andrey
d594f5fdb7 Converted memory to direct pointers.
Fixed memory leaks in uninit.
Fixed some of the code analysis warnings.
Enabled /MP build.
Cleaned up the code.
2021-02-02 18:29:54 +03:00
Muzychenko Andrey
49f6132d23 Added loader for Full Tilt .dat files, v1.
Works with some data hacks in lowest resolution.
Seems to work ok, even though BL is still 3DPB.
2021-01-31 17:29:53 +03:00
Muzychenko Andrey
6ff457eb68 Cleaned up objlist_class. 2021-01-30 14:19:25 +03:00
Muzychenko Andrey
5b9a1ff95d
Create LICENSE
Some docs might be incompatible with MIT, to be reviewed later.
2021-01-29 19:47:23 +03:00
Muzychenko Andrey
232f24a2a2
Added Readme.md 2021-01-29 19:34:45 +03:00
oz
efc56e82d9 Compile releases with Windows subsystem. 2021-01-29 17:49:00 +03:00
oz
cd4679194c x64 build - no collision bug found(
Either lost in decompilation or introduced in x64 port.
2021-01-29 16:42:05 +03:00
oz
6756c54d3b splash ready.
All subs ready, phase 1 complete.
2021-01-29 14:24:49 +03:00
oz
262b098610 Some renames, cleanup partman, loader. 2021-01-28 18:01:26 +03:00
oz
74306179a7 WaveMix ready. Fixed ball Z reset in TKickout. 2021-01-28 12:46:48 +03:00
oz
77f3f52e0d WaveMix v4. 2021-01-27 18:50:24 +03:00
oz
2945069de0 WaveMix v3. 2021-01-26 17:54:54 +03:00
oz
10af864767 WaveMix v2. 2021-01-25 17:46:50 +03:00
oz
e824307b27 WaveMix v1. 2021-01-24 17:30:37 +03:00
oz
b0080fd80a Sound ready. 2021-01-23 19:28:29 +03:00
oz
7d15427dd9 midi ready, TCollision cleanup. 2021-01-23 13:33:30 +03:00
oz
683e823193 control ready. 2021-01-23 09:57:16 +03:00
oz
847eb15d02 control: removed tag casts. 2021-01-22 12:53:16 +03:00
oz
bdf2d930fd control v3. 2021-01-21 17:58:05 +03:00
oz
d4febb4082 control v2. 2021-01-20 17:28:48 +03:00
oz
5252fb1b7e TRamp, TPinballTable ready. 2021-01-19 18:28:48 +03:00
oz
f22077d8c8 TSink, TDemo ready. 2021-01-18 18:30:19 +03:00
oz
7e8f52c156 TDrain, TKickout, TLightBargraph, TPopupTarget, TSoloTarget ready. 2021-01-17 18:26:03 +03:00
oz
ffd626fbc1 TBlocker, TBumper, TFlagSpinner, TGate, THole, TKickback, TWall ready. 2021-01-16 17:45:29 +03:00
oz
61fe0410b0 TFlipper, TFlipperEdge ready. 2021-01-10 15:22:06 +03:00
oz
87b4aa27e7 TFlipperEdge v1. 2021-01-09 19:11:03 +03:00
oz
d19fb0476a TRollover, TOneway, TLightRollover, TTripwire, TEdgeManager ready. 2021-01-08 18:50:12 +03:00
oz
9bd064bf15 TPlunger ready. TEdgeManager v1. 2021-01-07 19:00:38 +03:00
oz
1ea247e185 pb, cheats ready.
Collison v1, mouse fixed.
2021-01-06 17:06:50 +03:00
oz
d267fd5c98 Fixed uninitialized memory. 2021-01-05 15:12:54 +03:00
oz
8b1f6f4cfa TLightGroup ready. 2021-01-05 12:02:43 +03:00
oz
230c981144 TLight, TTimer, TSound, TComponentGroup ready. 2021-01-01 16:14:11 +03:00
oz
a143b820af TBall, nudge v1, ready.
render occlude list.
2020-12-27 18:19:36 +03:00
oz
99fba56a34 TPinballTable v2. 2020-12-25 16:46:06 +03:00
oz
3097edf526 TTableLayer v1. 2020-12-20 14:13:12 +03:00
oz
a6425b54f3 control v1. 2020-12-19 17:49:31 +03:00
oz
12066963f0 key mapper dialog, ready. 2020-12-13 16:05:19 +03:00
oz
2da95a2e8a score, high_score ready.
Added dialog rc.
2020-12-12 16:36:20 +03:00
oz
fe254ef03c Added icon, textbox font.
TTextBox ready.
2020-12-11 19:03:13 +03:00
oz
b412563ee3 Fixed timer. 2020-12-06 16:21:56 +03:00
oz
090beefd07 timer v1, ready.
winmain uninit.
message_handler tweaks.
2020-12-04 18:35:47 +03:00
oz
fe66d33768 TTextBoxMessage v1, ready.
TTextBox v1.
2020-12-03 17:47:36 +03:00