Commit Graph

124 Commits

Author SHA1 Message Date
Gábor Dobra ada2776fb8 Don't resume game when paused manually
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-04 18:37:54 +01: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
Lim Chunwei 893d898d0a
Simplified Chinese and Traditional Chinese translations (#68) 2021-10-25 14:10:47 +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 cf8b53de01 Added scaling support in grtext_draw_ttext_in_box.
Issue #56.
2021-10-21 16:47:45 +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 de76557325 Bug fixes from master:
Demangled and simplified cheat controller.
TKickout temp Z in FT mode.
Flipper animation frame advance.
Fuel bar graph light states.
2021-10-09 08:14:47 +03:00
Muzychenko Andrey b995b02fd1 Added ARM/ARM64 build configurations.
Ref #21.
2021-10-04 10:03:16 +03:00
Muzychenko Andrey de6c31802c Bug fixes from master: score saving and missing sub. 2021-09-30 08:59:56 +03:00
Muzychenko Andrey 86eaad5b79 Fixed off-by-one error in background blit. 2021-09-07 10:19:06 +03:00