Mariotaku
f56abf0596
Compatibility and game controller patches ( #42 )
...
* Compatibility for old CMake versions (3.0)
Compatibility for SDL Mixer 2.0.1
Basic controller support: LB, RB for flippers, A for plunger, DPAD for table bump
* Update SpaceCadetPinball/Sound.cpp
Co-authored-by: Muzychenko Andrey <33288308+k4zmu2a@users.noreply.github.com>
2021-10-17 07:52:05 +03:00
Muzychenko Andrey
5947727f80
Tweaked ball mouse control cheat.
2021-10-10 17:13:43 +03:00
Muzychenko Andrey
43593b168d
Sound: added channel recycling.
...
Added sound channel count (aka voices) user option.
Added 3DPB font to sprite viewer.
Added version number to about dialog.
2021-10-09 17:28:30 +03:00
Muzychenko Andrey
d80074b9b6
Added Windows subsystem entry point for release builds.
2021-10-09 12:33:33 +03:00
Muzychenko Andrey
8c4f38c0af
Cheats: flipped literals, made some toggle, added GUI.
2021-10-05 16:48:13 +03:00
Muzychenko Andrey
8d2745fc33
Added support for sub-millisecond frame times.
2021-10-03 18:06:19 +03:00
oz
93de90b680
Replaced memory with new.
...
Cleaned up gdrv, zdrv, render.
2021-10-02 17:45:31 +03:00
Muzychenko Andrey
c3b6daefc9
Added uncapped UPS option.
...
Issue #18 .
2021-10-02 07:42:08 +03:00
Muzychenko Andrey
8a421a2623
Implemented player controls dialog.
...
This last missing major feature brings v2 into feature parity with the original and closer to release.
Ref issues #16 , #17 .
2021-10-01 09:05:38 +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
b37f5d6d76
Fixed ShowMenu option interrupting ImGui::NewFrame.
2021-09-29 07:46:13 +03:00
prototux
7c29c05d64
Fixed the keyboard shortcut for show menu
2021-09-29 06:09:24 +02:00
prototux
89f4b6d535
Fixed the keyboard shortcut for show menu
2021-09-29 06:06:08 +02:00
prototux
b843e9a6cb
Added an option to show or hide the menu.
2021-09-29 02:21:21 +02: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
22ce8ac538
gdrv: blit no more, present render:vScreen directly.
...
Improved split bitmap handling.
2021-09-25 16:52:19 +03:00
Muzychenko Andrey
fd9de493e6
Added linear filter option for vScreen texture.
...
Rollback blit to backing storage – its persistence is not guaranteed.
Added project URL to About dialog.
Added source ports table to readme.
2021-09-23 12:16:58 +03:00
Muzychenko Andrey
4c196a9290
Added table resolution and UI scale options.
...
gdrv: blit directly to backing store of vScreen texture.
Added missing cheat_bump_rank sub, oops.
Fixed some warnings.
2021-09-22 15:50:07 +03:00
Muzychenko Andrey
c63c6701ac
gdrv: RGBA buffers, pre-applied palettes, SDL bitmap origin.
...
Refactored partman.
Added sprite viewer.
2021-09-21 13:14:39 +03:00
Muzychenko Andrey
8bae7a5b05
Added user settings persistence.
...
Using ImGui .ini writer.
2021-09-16 10:57:46 +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
e0638c598d
Added GUI, some menus dont work yet.
...
Fixed uniform scaling.
Removed splash screen.
2021-09-05 10:47:05 +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
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
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
ffd626fbc1
TBlocker, TBumper, TFlagSpinner, TGate, THole, TKickback, TWall ready.
2021-01-16 17:45:29 +03:00
oz
1ea247e185
pb, cheats ready.
...
Collison v1, mouse fixed.
2021-01-06 17:06:50 +03:00
oz
a143b820af
TBall, nudge v1, ready.
...
render occlude list.
2020-12-27 18:19:36 +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
oz
9ffab95d8e
winmain message_handler v1.
2020-12-02 20:12:34 +03:00
oz
d83c4e2b26
Proj v1, ready.
...
port_draw in multiple T classes.
pb v1.
proj v1, ready.
WinMain v3.
2020-11-29 18:50:49 +03:00
oz
2376ffcbc1
gdrv v2, ready.
2020-11-13 19:04:58 +03:00
oz
a925b6137f
winmain v2.
...
FuncStats doc.
2020-11-07 18:41:14 +03:00
oz
7db64ae1c6
winmain v2.
...
fullscrn, pb v1.
2020-11-06 16:56:32 +03:00
oz
473ed6b9d9
winmain, memory, options v1.
2020-11-05 18:44:34 +03:00