Commit Graph

133 Commits

Author SHA1 Message Date
Muzychenko Andrey
7f3bee15f0 Merge from V2: Fixed sound duration for missing sounds.
Issue #140.
2022-06-14 16:58:28 +03:00
Muzychenko Andrey
dae824ab75 Added cleanup for ball_bitmap memory. 2022-05-30 09:02:54 +03:00
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
06ca75057d Merge from master: Fixed wormhole lights reset on mission abort.
Issue #124.
2022-02-07 16:58:45 +03:00
Muzychenko Andrey
6ce3f654b1 Refactored System font option. 2022-01-18 12:53:20 +03:00
Gábor Dobra
7a6ae6ac50
Add support for SYSTEM font (#119)
* Add support for SYSTEM font

* Add System Font Name registry option

Issue #87
2022-01-18 09:42:14 +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
Muzychenko Andrey
53b2399687 Merge from master: centered textboxes in FT mode. 2021-11-23 15:49:56 +03:00
Lim Chunwei
818a90b7aa
East Asian font adjustments (#94)
* Disable input method in game

* Improve imm32.lib linking

* East Asian font size adjustments

* Use pre-defined font sizes instead of offset

* Use Malgun Gothic instead of Gulim for Korean
2021-11-19 08:25:46 +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
c7f5f8cd30 Merge from master: fixed bug with mission accept scores.
Ref issue #81.
2021-11-04 18:49:49 +03:00
Muzychenko Andrey
da4b99e983 Added Unicode support in high score dialog.
Cherry picked form ecea9c812a.
2021-11-03 12:53:04 +03:00
Muzychenko Andrey
2abcaac437 Added Turkish translation.
This is the last WinXP language, for a total of 24.
2021-11-02 15:33:22 +03:00
Muzychenko Andrey
98da410251 Added Swedish translation. 2021-11-02 14:24:47 +03:00
Muzychenko Andrey
e020c0fe33 Added Portuguese translation. 2021-11-02 14:04:25 +03:00
Muzychenko Andrey
33b8b29f11 Added Norwegian translation. 2021-11-01 12:21:50 +03:00
Muzychenko Andrey
84a46082ab Added Dutch translation. 2021-11-01 11:09:13 +03:00
Muzychenko Andrey
a079117507 Added Korean translation. 2021-10-31 18:29:41 +03:00
Muzychenko Andrey
620ec011ec Added Spanish translation. 2021-10-31 17:35:41 +03:00
Muzychenko Andrey
1af8bb67d7 Added Greek translation. 2021-10-31 17:25:24 +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
Muzychenko Andrey
1c1fbcb811 TTextBox: fixed DrawText texts getting overwritten by full redraw.
This bug is from the original 3DPB.
2021-10-30 18:25:49 +03:00
Muzychenko Andrey
c0ec8ec932 Added Finnish translation. 2021-10-30 16:50:49 +03:00
Muzychenko Andrey
71e25fd7fa Merge from master: control bugfix, no delay FT THole. 2021-10-30 16:21:01 +03:00
Muzychenko Andrey
b40b54ce51
Updated plans 2021-10-30 12:54:30 +03:00
Muzychenko Andrey
b4a85bcf2f Added Danish translation. 2021-10-29 17:40:02 +03:00
Muzychenko Andrey
acc2725bbe Added Czech translation. 2021-10-29 17:33:09 +03:00
Muzychenko Andrey
68c2055ce6 Added Brazilian Portuguese translation. 2021-10-29 17:25:26 +03:00
Muzychenko Andrey
09668f3468 Added Hungarian translation.
Disabled bitmap font in Italian translation.
2021-10-29 10:47:17 +03:00
Muzychenko Andrey
4878b6a835 Added Italian translation. 2021-10-28 18:17:36 +03:00
Muzychenko Andrey
bd606436bd Added French translation. 2021-10-28 11:41:30 +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
e2f10333d9 Added Japanese translation. 2021-10-28 09:56:14 +03:00
Muzychenko Andrey
356977290e Added German translation. 2021-10-28 08:56:49 +03:00
Muzychenko Andrey
a65c40fe32 Added incomplete Polish translation.
Removed unused dialogs.
Fixed char sprintf in control.
Ref #28.
2021-10-27 09:22:53 +03:00
Muzychenko Andrey
d0c1ac60b6 TTextBox: converted to accept wchar input.
Ref #69.
2021-10-26 08:12:37 +03:00
Lim Chunwei
3c2fff9d07
Use a single Unicode charset and specify language-specific font for better viewing (?) (#69)
* Use a single Unicode charset and specify language-specific font for better (?) viewing

* Fix missing include for strcpy_s function

* Better (?) implementation of using strings (so that font names aren't limited to 30 chars)
2021-10-26 06:53:52 +03:00
Muzychenko Andrey
09c62f5909 Fixed mixed up Chinese language texts. 2021-10-25 17:40:38 +03:00
Muzychenko Andrey
cf215aaa6a Added Traditional Chinese and Simplified Chinese languages to options.
They don’t work without Chinese locale.
Ref #68.
2021-10-25 17:30:39 +03:00