1
0
Fork 0
mirror of https://github.com/k4zmu2a/SpaceCadetPinball.git synced 2024-11-17 23:20:19 +01:00
Commit graph

186 commits

Author SHA1 Message Date
Muzychenko Andrey
b20e13ee97 control: reduced component indirection.
cheats: hidden test with tab, FT style.
2022-02-10 16:29:31 +03:00
Muzychenko Andrey
a626572da3 Fixed wormhole lights reset on mission abort.
Issue #124.
2022-02-07 16:57:04 +03:00
Stefan
29c84c37c8
MorphOS port (#128) 2022-01-26 08:15:41 +03:00
林博仁(Buo-ren, Lin)
6039f843a7
Fix typo in CONTRIBUTING.md (guarantee) (#123)
Signed-off-by: 林博仁(Buo-ren, Lin) <Buo.Ren.Lin@gmail.com>
2022-01-17 09:14:43 +03:00
Muzychenko Andrey
8f34829b1e High score: rank starts from 1, table borders. 2022-01-12 17:26:31 +03:00
Muzychenko Andrey
0a2d6847ba Added sound and music volume control.
Issue #120.
2022-01-12 17:17:38 +03:00
Muzychenko Andrey
43af97127b Simplified game mode, pause. 2022-01-05 11:38:50 +03:00
Nicola Smaniotto
d8ee1b9bfe
fix install directories (#115) 2021-12-29 14:28:03 +03:00
Kowalski Dragon
583262d221
Update SpaceCadetPinball.metainfo.xml (#116) 2021-12-29 14:26:49 +03:00
Muzychenko Andrey
9acd3dbc9b Bumped version to 2.0.1.
Added Flathub link.
2021-12-29 09:46:09 +03:00
Nicola Smaniotto
5ffbab8208
Simplify icon installation (#114)
Uses a foreach loop to iterate over the possible sizes. Should help in the future if more are added.
2021-12-26 13:43:47 +03:00
Muzychenko Andrey
a6e2a433c4 Added secondary clear hack.
Issue #88
2021-12-26 13:25:25 +03:00
Kowalski Dragon
ad4a17c2f2
Add assets (#113)
* Add 128x128 icon needed for Flathub submission

* Add screenshot

* Align metainfo to use screenshot in the upstream repository

* Edit CMake to install 128x128 icon in correct folder

* Add jpg screenshots
2021-12-26 13:06:31 +03:00
Kowalski Dragon
4db4e5fbcb
Improve linux building (#111)
* Improve Linux platform by adding metadata and improve description

* Improve readme

* Improve metainfo

* Fix wrong desktop file

* Improve readme

* Improve readme

* Appstream doesn't like h1

* Add CMake and Ninja to .gitignore

* Fix issues




3


4

* Revert readme keeping only Linux part

* Change comment on desktop file

* Align metainfo

* Decouple Readme from Linux building instructions
2021-12-24 09:09:40 +03:00
Muzychenko Andrey
0dc6006937 Added explicit bin install directory for old CMake.
Issue #110.
2021-12-20 09:06:32 +03:00
Lucy M
e81c6c9d37
spaces in .desktop name (#106) 2021-12-14 12:42:06 +03:00
Nicola Smaniotto
b25cf3f0d0
Add Linux installation info (#103)
* Add Linux installation info

Add a repology badge and mention the possibility to install via the package manager.

I believe this is a better approach than explicitly mentioning a repository, because it uses repology's database (and the list will remain updated).

* use tiny badge

The big badge is too big and could overflow in the following section. The tiny one will keep the same size as new packages are added.
2021-12-14 12:40:44 +03:00
Muzychenko Andrey
3400ea4576 Added WD and Linux-specific /usr/* to game data search paths.
Improved data not found error message.
Ref #100.
2021-12-08 15:55:49 +03:00
Martin Ligabue
389122182e
typo (#102)
pause/ resume to pause/resume
2021-12-03 15:35:23 +03:00
Nicola Smaniotto
de13d4e326
Add linux desktop file and install (#100)
* extract png icons from the ico

* add desktop file

* add linux install option to cmake

* use 32bit icons
2021-12-02 08:07:27 +03:00
Muzychenko Andrey
4e8dbd0b86 TKickout: fixed z reset with demo data. 2021-11-24 17:37:37 +03:00
Muzychenko Andrey
919b537e28 Added FT demo data support.
Tested with .006 ,.020 RC2, there might be more versions out there.
Fixed mds2midi.
Ref #22.
2021-11-24 17:25:23 +03:00
Muzychenko Andrey
95007c9253 partman: improved bad zMap skip. 2021-11-23 15:23:11 +03:00
Muzychenko Andrey
37198f1b99 Added integer scaling option.
Useful for getting exact upscale in combination with nearest neighbor.
Ref issue #97.
2021-11-22 09:32:17 +03:00
Muzychenko Andrey
64c3f2031b Added “Prefer 3DPB game data” option.
Useful for quickly switching between the two datasets.
3DPB and FT data can be stored in one folder without collisions.
2021-11-21 15:40:56 +03:00
Muzychenko Andrey
3b7dc0dae2 Added centered text in textboxes in FT mode. 2021-11-20 19:03:22 +03:00
Muzychenko Andrey
2229f9b70e Added hybrid sleep/spin wait mode. 2021-11-18 17:58:53 +03:00
Muzychenko Andrey
545af17b3b Merge from classic: better frame time tool, negative sleep remainder. 2021-11-18 12:11:25 +03:00
Muzychenko Andrey
200a7dbf79 Enabled ImGui navigation with keyboard and game controller.
Ref issue #92.
2021-11-15 17:32:18 +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
16b527e3cf Added AddressSanitizer to Windows build config, disabled by default.
VS older that 2019 do not support it.
Game passes ASan checks at the moment of writing.
2021-11-09 16:50:09 +03:00
Muzychenko Andrey
683204519c Added UTF-8 path support on Windows.
Ref issue #82.
2021-11-06 19:22:56 +03:00
Muzychenko Andrey
ecdf802d68 Added game data loading from user folder (SDL_GetPrefPath).
Ref issue #80.
2021-11-05 10:16:27 +03:00
Muzychenko Andrey
dc00dbde0d Fixed bug with mission accept scores.
Ref issue #81.
2021-11-04 18:46:04 +03:00
Muzychenko Andrey
862fe13dcd Added game controller exit shortcut: back/select when paused.
Ref issue #79.
2021-11-01 09:09:19 +03:00
Muzychenko Andrey
6c299ed103
Updated plans in readme 2021-10-30 12:51:24 +03:00
Muzychenko Andrey
fc1975a607 Fixed bug: dialogs not shown when main menu is hidden.
Ref issue #76.
2021-10-30 12:34:17 +03:00
Muzychenko Andrey
e61bbd634c Added fallback to SW SDL renderer. 2021-10-30 10:12:30 +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
MaikelChan
46d3ae324c
Added 3DS port to README. (#74) 2021-10-28 07:53:57 +03:00
Iscle
d27740bd38
Fix compiler warnings (#73) 2021-10-26 17:15:45 +03:00
Muzychenko Andrey
cfd30419c2 Added Windows XP build configuration.
Removed unused SDL inits.
2021-10-26 17:11:53 +03:00
Muzychenko Andrey
3ec96b84ad PresentVScreen: fixed sub pixel offset.
SDL<2.0.10 uses crude approximation.
2021-10-25 08:03:30 +03:00
MaikelChan
34cb964ea5
Change texture filtering without restarting. (#67) 2021-10-25 06:42:36 +03:00
MaikelChan
5789492021
Adjusted screen coordinates so menu doesn't overlap (#66)
* Optimized final blit to the screen render target.

When bumping the table, instead of offseting the table pixels by CPU, just memcpy all the pixels to vScreenTex once, and then render two separate quads from that texture: one for the board and the other for the sidebar. Then change the coordinates of the board quad when bumping.

* Main menu bar doesn't cover game area

* Forgot to also take into account changing UI scale.
2021-10-24 18:38:23 +03:00
MaikelChan
38cf08e298
Optimized final blit to the screen render target. (#65)
When bumping the table, instead of offseting the table pixels by CPU, just memcpy all the pixels to vScreenTex once, and then render two separate quads from that texture: one for the board and the other for the sidebar. Then change the coordinates of the board quad when bumping.
2021-10-24 07:13:51 +03:00
Muzychenko Andrey
5cd01807b2 winmain: converted int to bool.
Cleaned up some of the PR changes.
2021-10-23 09:02:51 +03:00
toxie
57af3af800
Increase precision of mode_countdown_ handling (#52)
* fix harmless warnings and properly try/catch allocations via new

otherwise the error handling will never be triggered

* increase precision of mode_countdown_ handling

potentially there could be modes running a bit too long, depending on passed in ms (which were implicitly truncated before when passing in)

also fix some harmless warnings

* document warnings that i cannot handle on my own

* revert changes to have a new cleaner PR after review/cherry picks

* increase precision of mode_countdown_ handling

potentially there could be modes running a bit too long, depending on passed in ms (which were implicitly truncated before when passing in)

also fix some harmless warnings and add comments where original code is 'correct' but weird
2021-10-23 07:33:04 +03:00
Desgging
8e07b7fc3f
Full Tilt hack - ball doesn't delay at ramp hole (#63) 2021-10-23 07:31:25 +03:00