Commit Graph

264 Commits (master)
 

Author SHA1 Message Date
Muzychenko Andrey e466bbacb8 Added credits from FT about dialog. 2 months ago
Muzychenko Andrey 34a1e32843 Added in-game credits from Full Tilt.
This was kind-of requested a long time ago.
2 months ago
Muzychenko Andrey 43e2ab896b FT collision part6: fixes and cleanup. 3 months ago
Muzychenko Andrey e0424bed65 FT collision part5: cleanup. 3 months ago
Muzychenko Andrey c5acdcd524 FT collision part4: ball to ball collision.
TBall uses multiple inheritance, interesting.
3 months ago
Muzychenko Andrey f521a03322 Removed confirmation for exit done from the menu.
Issue #173.
3 months ago
Muzychenko Andrey 4b86fe2aa7 FT collision part3: cleanup. 3 months ago
Muzychenko Andrey ba470e8727 FT collision part2: added most of the FT collision system.
Aka "World's most expensive flippers".
This is an aggregate of collision-related changes made during 3DPB->FT transition.
The most important part is in flipper collision - a shift from monolithic iterative solver in TFlipperEdge::EdgeCollision to a distributed non-iterative solver.
Both 3DPB and FT data sets use FT collision, keeping two collision systems does not make much sense.
From user perspective, FT/3DPB systems should not have any major differences.
3 months ago
Muzychenko Andrey 466c875f8a Added a way to reset all game options.
Fixed some of the fragmented translations.
Improved input rejection in control dialog.
3 months ago
Muzychenko Andrey 1749a2ba09 Future-proof SDL controller enum range check.
Issue #172.
4 months ago
Muzychenko Andrey 831c3f49bf Fixed controller enum use for older SDL versions.
Issue #172.
4 months ago
Muzychenko Andrey 9454e11fd9 Adjusted exit key: added shortcut binding, confirmation dialog. 4 months ago
Muzychenko Andrey 215599684c Options refactor part 3: added key bindings for menu shortcuts.
Issue #168.
4 months ago
Muzychenko Andrey 8df996f452 Options refactor part 2.1: fixed control option labels. 4 months ago
Muzychenko Andrey d99fbb092e Options refactor part 2: input bindings. 4 months ago
Muzychenko Andrey 4192b12c29
Removed dead sourceport link (Web by stech11845)
Ref issue #169
4 months ago
Muzychenko Andrey 10ff1143cc Refactored options: symmetric save/load. 5 months ago
Muzychenko Andrey 2d6f2c14e5 FT collision part1: AABB. 5 months ago
Muzychenko Andrey 17f11bd428 Improved frame timing display. 6 months ago
Muzychenko Andrey 6aa6472667 Added hardware ImGui renderer. 6 months ago
Muzychenko Andrey ab3f3bd12b Updated ImGui to v1.89.2 WIP.
Fixed IdxOffset support in imgui_sdl.
6 months ago
Muzychenko Andrey 3109a8ea75 Improved player name entry in high score dialog.
Issue #165.
6 months ago
Muzychenko Andrey 2162cac977 Moved SDL mixer initialization out of partial restart loop.
This might help with issue #167.
6 months ago
Muzychenko Andrey 8e43d06e84 Improved console output: added version constants and message box texts. 6 months ago
Muzychenko Andrey 31530bef18 Added WSL build configuration for VS. 6 months ago
Muzychenko Andrey 3be26282b3 Fixed lower case .dat file loading.
Ref #164.
6 months ago
Low-power f561cadf63
Allow loading data files with lowercase name (#164)
* Allow loading data files with lowercase name

* Added lower case support for all game data files.

Co-authored-by: Muzychenko Andrey <33288308+k4zmu2a@users.noreply.github.com>
6 months ago
Muzychenko Andrey 1391eeba81 Reordered pch includes in Sound.
This might help with #162.
Fixed switch warning.
6 months ago
Muzychenko Andrey ea32c08c4f Added “easy mode” cheat, aka frustration-free mode.
It involves always on center post and never closing kicker gates.
Issue #161.
6 months ago
Muzychenko Andrey 80947888a0 Optimized table restart, external font loading.
Fixed memory leak related to restart.
Added window to table size adjustment on init, imperfect.
6 months ago
Low-power 6486589c4a
Fix null pointer dereferencing in SDL_GetPrefPath(3) (#163) 6 months ago
Muzychenko Andrey 3c6e1c9d47 Added rate limiter for SDL error messages.
Workaround for issue #158.
8 months ago
Muzychenko Andrey cfaab257ed Added debug overlay for ball sprite size cutoff points. 8 months ago
Muzychenko Andrey 4ec30cf472 Render tweaks part 3: bitmap/zMap pairs. 8 months ago
Natty e7ddebd16c
Add FullTilt lane light behavior (#157)
* Add FullTilt lane light behavior

* Replaced spaces with tabs
8 months ago
Muzychenko Andrey 7003b01e5d Render tweaks part 2: sprite set by index. 8 months ago
Muzychenko Andrey 9f0ae0434e Render tweaks part 1: refactored sprite struct.
Optimized sprite handling in render.
Fixed switch warning in control.
8 months ago
Harmann Gabrielian 1e43bdd5fa
Minor typo fixes in Russian translation (#156)
Self-explanatory.
9 months ago
Muzychenko Andrey 40672845e4 Message code enum part 6: final touches + control light cleanup.
MessageField is often used as int, so it stays unchanged.
9 months ago
Muzychenko Andrey 22603aa126 Message code enum part 5: control codes. 9 months ago
Muzychenko Andrey dfe1665ba1 Message code enum part 4: finalized transition of Message to enum class. 9 months ago
Muzychenko Andrey e80010e3c6 Message code enum part 3: light and light group. 9 months ago
Muzychenko Andrey 803ca14ef2 Message code enum part 2: all components except for lights. 9 months ago
Muzychenko Andrey 44d5fd5097 Message code enum part 1: global messages and some hacks. 9 months ago
Harmann Gabrielian 69fd91f003
Russian translation overhaul (#154)
* Russian translation overhaul

Most of strings were renamed according to the official localisation (bundled with russian WinXP distros, manual only), some of them I had to adapt myself.

* Rollback wormhole translation.

Co-authored-by: Muzychenko Andrey <33288308+k4zmu2a@users.noreply.github.com>
9 months ago
Muzychenko Andrey 42226a14c9 Simplified get_rc_string, merged pinball and pb. 9 months ago
Muzychenko Andrey 88f835d068 Removed unused translated texts.
Fixed translation.h include leak.
Added TTextBox font color support.
9 months ago
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>
9 months ago
Muzychenko Andrey c1c74878df Multiball part 1: control and component changes from FT.
The result is 3DPB/FT hybrid, with control closer to 3DPB and components closer to FT.
9 months ago
Muzychenko Andrey 14a8d64b67 TLight: cleanup, code from FT, new test commands. 9 months ago