Commit Graph

39 Commits

Author SHA1 Message Date
Muzychenko Andrey b937f57121 Merge from V2: Added support for multiple music tracks in FT mode.
Issue #129.
2022-05-26 11:18:09 +03:00
Muzychenko Andrey 5b4f259289 Replaced some of integer literals with constants.
Partial cherry pick from https://github.com/evpobr/SpaceCadetPinball/tree/develop.
2022-02-25 10:00:20 +03:00
Muzychenko Andrey b10fefd5af Improved TargetUps comments. 2022-01-17 09:54:28 +03:00
Gábor Dobra 4f8dd98135
Add Target UPS registry option (#85) 2022-01-17 09:30:17 +03:00
Gábor Dobra bd90b9d712
Don't resume game when paused manually (#118)
You get an annoying behavior when:
- press F3 to pause
- minimize the window
- (keep it in the background, do other stuff)
- bring the window back to focus, accidentally (Alt+Tab)
- game resumes even if I explicitly paused it with F3

This commit makes F3 (and Pause in the menu) require an explicit
resume via F3 (or Pause), other pauses like moving the window still
get resumed automatically.
2022-01-05 08:25:39 +03:00
Muzychenko Andrey ed0ef9044d Bumped version to 1.2.
Added automated release script.
2021-12-19 14:42:52 +03:00
Lim Chunwei 129b8aac95
Disable input method in game (#93)
* Disable input method in game

* Improve imm32.lib linking
2021-11-17 08:15:50 +03:00
Muzychenko Andrey bbbdb2d9d4 Fixed off by one in frame time tool. 2021-11-13 15:48:16 +03:00
Gábor Dobra 585a2f7113
Minor performance optimizations (#89)
* Optimize performance by calling FreePlayedBlocks rarely

Don't call it at every main loop iteration, only after someTime.

* Optimize more aggressively in Release mode
2021-11-13 14:36:22 +03:00
Muzychenko Andrey ab7184ef86 Added float target frame time, set UPS to 120.
Improved frame stabilization.
Ref PR #85.
2021-11-13 10:55:37 +03:00
Muzychenko Andrey 0b2fd28fda Fixed unaccounted frame time, now game should be stable at 8ms/125UPS.
Fixed pause handling.
2021-11-12 16:21:02 +03:00
Muzychenko Andrey ec13bca129 Stabilized main loop.
Cherry picked timeBeginPeriod.
Ref PR #85.
2021-11-11 18:03:23 +03:00
Muzychenko Andrey c29acb12d0 Merge from master: Improved frame time diagnostic tool.
Split overdraw palette from frame time tool.
2021-11-11 17:13:28 +03:00
Muzychenko Andrey 089ccbf549 Added Arabic translation. 2021-10-31 17:03:32 +03:00
Muzychenko Andrey 1428fb3770 Added Hebrew translation.
Switched to MessageBoxW in some places.
2021-10-31 13:18:21 +03:00
Raymai (Chee Boon) 457a982f72
Change only a few key places to make the program works as if it's Unicode build. (#75) 2021-10-28 10:58:19 +03:00
Muzychenko Andrey 502fc71afc Added experimental translation support.
Added Russian translation.
Ref issues #28, #56.
2021-10-24 18:23:46 +03:00
Muzychenko Andrey 331f1dc125 Added release version to about dialog. 2021-10-16 16:19:53 +03:00
Muzychenko Andrey 0d9610ddb6 Added new render mode with reduced tearing.
Available under new option Window->Alternative Rendering.
Issue #29.
2021-10-12 16:30:20 +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