Muzychenko Andrey
42226a14c9
Simplified get_rc_string, merged pinball and pb.
2022-08-31 15:18:22 +03:00
Alexis Murzeau
66a868083a
Add translations ( #153 )
...
* Add translations from v1
* Add font configuration (to be able to use non-latin languages)
* translations: remove includes that are already in pch.h
* translations: rename enums and avoid macros
* Fix crash when the font file doesn't exist
* translations: avoid u8 to avoid reencoding by MSVC
MSVC will read the file as ASCII and reconvert characters as UTF-8, this will corrupt characters as the file is in fact already in UTF-8.
* translations: remove NUMBER in enums
* translations: handle non existing translations gracefuly (don't crash)
Fallback to english if available, else return empty string
* Testing pull collaboration.
* Rollback: remove NUMBER in enums.
* Get rid of namespace, use header instead.
* Collapsed translated text struct and array.
* Fixed build errors and warnings.
* Simplified language list.
* All new types, locals and globals should use CamelCase.
* Removed unnecessary ImGui patch.
* Rearranged TTextBox immediate mode draw.
* Final touches: removed unused declaration in gdrv.
Removed unused Msg entries and added new check.
* Remove placeholder english texts from missing translations
Co-authored-by: Muzychenko Andrey <33288308+k4zmu2a@users.noreply.github.com>
2022-08-31 07:58:03 +03:00
Muzychenko Andrey
5461483bb5
Added debug overlay v1.
...
It features various collision info perspective projected and overlayed on the table.
2022-05-19 14:17:31 +03:00
Muzychenko Andrey
8ab50ea7b7
ColorRgba: replaced union with bit shifts.
...
Fixed bad clamping in frame time tool.
2021-11-13 09:00:58 +03:00
Muzychenko Andrey
f3e4211226
Improved frame time diagnostic tool.
...
Split overdraw palette from frame time tool.
2021-11-11 14:30:56 +03:00
Muzychenko Andrey
917b68d630
Added NN scaling for PINBALL2.MID.
...
It does not scale well.
Wii port should rather use non-compressed PB_MSGFT_bin.
2021-10-28 13:03:05 +03:00
Muzychenko Andrey
69ecce88df
Score: inject 3DPB msg font into dat struct.
...
Fixed double free in sound.
2021-10-10 12:22:21 +03:00
oz
93de90b680
Replaced memory with new.
...
Cleaned up gdrv, zdrv, render.
2021-10-02 17:45:31 +03:00
Muzychenko Andrey
81c2034a16
Replaced objlist_class with std::vector.
...
Fixed minor bug in TLightGroup.
Cleaned up some warnings.
2021-10-01 18:55:44 +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
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
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
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
oz
a143b820af
TBall, nudge v1, ready.
...
render occlude list.
2020-12-27 18:19:36 +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
2376ffcbc1
gdrv v2, ready.
2020-11-13 19:04:58 +03:00
oz
989ba6cdb2
gdrv, render v1.
2020-11-08 18:37:59 +03:00
oz
a925b6137f
winmain v2.
...
FuncStats doc.
2020-11-07 18:41:14 +03:00