SpaceCadetPinballPPC/SpaceCadetPinball
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
..
control.cpp Increase precision of mode_countdown_ handling (#52) 2021-10-23 07:33:04 +03:00
control.h Cheats: flipped literals, made some toggle, added GUI. 2021-10-05 16:48:13 +03:00
EmbeddedData.cpp Compressed and encoded embedded 3DPB font. 2021-09-29 10:08:45 +03:00
EmbeddedData.h Compressed and encoded embedded 3DPB font. 2021-09-29 10:08:45 +03:00
fullscrn.cpp Adjusted screen coordinates so menu doesn't overlap (#66) 2021-10-24 18:38:23 +03:00
fullscrn.h Added table resolution and UI scale options. 2021-09-22 15:50:07 +03:00
gdrv.cpp Score: inject 3DPB msg font into dat struct. 2021-10-10 12:22:21 +03:00
gdrv.h Replaced memory with new. 2021-10-02 17:45:31 +03:00
GroupData.cpp Score: inject 3DPB msg font into dat struct. 2021-10-10 12:22:21 +03:00
GroupData.h Score: inject 3DPB msg font into dat struct. 2021-10-10 12:22:21 +03:00
high_score.cpp high_score: fixed new score not shifting older scores. 2021-10-15 13:30:55 +03:00
high_score.h gdrv: RGBA buffers, pre-applied palettes, SDL bitmap origin. 2021-09-21 13:14:39 +03:00
Icon_1.ico Added icon, textbox font. 2020-12-11 19:03:13 +03:00
imconfig.h Added GUI, some menus dont work yet. 2021-09-05 10:47:05 +03:00
imgui_demo.cpp Added GUI, some menus dont work yet. 2021-09-05 10:47:05 +03:00
imgui_draw.cpp Compressed and encoded embedded 3DPB font. 2021-09-29 10:08:45 +03:00
imgui_impl_sdl.cpp Added GUI, some menus dont work yet. 2021-09-05 10:47:05 +03:00
imgui_impl_sdl.h Added GUI, some menus dont work yet. 2021-09-05 10:47:05 +03:00
imgui_internal.h Added GUI, some menus dont work yet. 2021-09-05 10:47:05 +03:00
imgui_sdl.cpp winmain: reworked main loop for smoother frame times. 2021-09-28 08:14:18 +03:00
imgui_sdl.h Added GUI, some menus dont work yet. 2021-09-05 10:47:05 +03:00
imgui_tables.cpp Added GUI, some menus dont work yet. 2021-09-05 10:47:05 +03:00
imgui_widgets.cpp Added GUI, some menus dont work yet. 2021-09-05 10:47:05 +03:00
imgui.cpp Added GUI, some menus dont work yet. 2021-09-05 10:47:05 +03:00
imgui.h Compressed and encoded embedded 3DPB font. 2021-09-29 10:08:45 +03:00
imstb_rectpack.h Added GUI, some menus dont work yet. 2021-09-05 10:47:05 +03:00
imstb_textedit.h Added GUI, some menus dont work yet. 2021-09-05 10:47:05 +03:00
imstb_truetype.h Added GUI, some menus dont work yet. 2021-09-05 10:47:05 +03:00
loader.cpp Sound: added channel recycling. 2021-10-09 17:28:30 +03:00
loader.h Replaced objlist_class with std::vector. 2021-10-01 18:55:44 +03:00
maths.cpp Increase precision of mode_countdown_ handling (#52) 2021-10-23 07:33:04 +03:00
maths.h Increase precision of mode_countdown_ handling (#52) 2021-10-23 07:33:04 +03:00
midi.cpp Bugs and suggestions from PR# 48. 2021-10-18 09:31:47 +03:00
midi.h Added Windows subsystem entry point for release builds. 2021-10-09 12:33:33 +03:00
NatvisFile.natvis Partman v2, ready. 2020-10-24 18:30:45 +03:00
nudge.cpp Replaced objlist_class with std::vector. 2021-10-01 18:55:44 +03:00
nudge.h TBall, nudge v1, ready. 2020-12-27 18:19:36 +03:00
options.cpp Adjusted screen coordinates so menu doesn't overlap (#66) 2021-10-24 18:38:23 +03:00
options.h Player controls: added mouse and game controller remapping. 2021-10-17 18:18:29 +03:00
partman.cpp Score: inject 3DPB msg font into dat struct. 2021-10-10 12:22:21 +03:00
partman.h Replaced objlist_class with std::vector. 2021-10-01 18:55:44 +03:00
PB_MSGFT.bin Added icon, textbox font. 2020-12-11 19:03:13 +03:00
pb.cpp winmain: converted int to bool. 2021-10-23 09:02:51 +03:00
pb.h Increase precision of mode_countdown_ handling (#52) 2021-10-23 07:33:04 +03:00
pch.h Changed SDL_mixer version guard. 2021-10-17 12:00:30 +03:00
pinball.cpp Replaced memory with new. 2021-10-02 17:45:31 +03:00
pinball.h gdrv: RGBA buffers, pre-applied palettes, SDL bitmap origin. 2021-09-21 13:14:39 +03:00
proj.cpp Replaced GlobalAlloc with malloc. 2021-02-18 12:53:25 +03:00
proj.h Proj v1, ready. 2020-11-29 18:50:49 +03:00
render.cpp Optimized final blit to the screen render target. (#65) 2021-10-24 07:13:51 +03:00
render.h Replaced memory with new. 2021-10-02 17:45:31 +03:00
score.cpp Score: inject 3DPB msg font into dat struct. 2021-10-10 12:22:21 +03:00
score.h Score: inject 3DPB msg font into dat struct. 2021-10-10 12:22:21 +03:00
Sound.cpp Changed SDL_mixer version guard. 2021-10-17 12:00:30 +03:00
Sound.h Sound: added channel recycling. 2021-10-09 17:28:30 +03:00
SpaceCadetPinball.cpp Added Windows subsystem entry point for release builds. 2021-10-09 12:33:33 +03:00
SpaceCadetPinball.rc Mingw cross compilation (#24) 2021-10-07 12:53:56 +03:00
splash_bitmap.bmp splash ready. 2021-01-29 14:24:49 +03:00
TBall.cpp winmain: converted int to bool. 2021-10-23 09:02:51 +03:00
TBall.h TPinballComponent: replaced calloc operator new with member initialization. 2021-10-02 18:58:54 +03:00
TBlocker.cpp Replaced objlist_class with std::vector. 2021-10-01 18:55:44 +03:00
TBlocker.h control v2. 2021-01-20 17:28:48 +03:00
TBumper.cpp Replaced objlist_class with std::vector. 2021-10-01 18:55:44 +03:00
TBumper.h TPinballComponent: replaced calloc operator new with member initialization. 2021-10-02 18:58:54 +03:00
TCircle.cpp Some renames, cleanup partman, loader. 2021-01-28 18:01:26 +03:00
TCircle.h TPinballComponent: replaced calloc operator new with member initialization. 2021-10-02 18:58:54 +03:00
TCollisionComponent.cpp Replaced objlist_class with std::vector. 2021-10-01 18:55:44 +03:00
TCollisionComponent.h Replaced objlist_class with std::vector. 2021-10-01 18:55:44 +03:00
TComponentGroup.cpp Replaced objlist_class with std::vector. 2021-10-01 18:55:44 +03:00
TComponentGroup.h Replaced objlist_class with std::vector. 2021-10-01 18:55:44 +03:00
TDemo.cpp Made it compile with GCC on Linux. 2021-09-09 11:40:54 +03:00
TDemo.h TSink, TDemo ready. 2021-01-18 18:30:19 +03:00
TDrain.cpp TDrain, TKickout, TLightBargraph, TPopupTarget, TSoloTarget ready. 2021-01-17 18:26:03 +03:00
TDrain.h TDrain, TKickout, TLightBargraph, TPopupTarget, TSoloTarget ready. 2021-01-17 18:26:03 +03:00
TEdgeBox.h Replaced objlist_class with std::vector. 2021-10-01 18:55:44 +03:00
TEdgeManager.cpp Replaced objlist_class with std::vector. 2021-10-01 18:55:44 +03:00
TEdgeManager.h TPinballComponent: replaced calloc operator new with member initialization. 2021-10-02 18:58:54 +03:00
TEdgeSegment.cpp Replaced objlist_class with std::vector. 2021-10-01 18:55:44 +03:00
TEdgeSegment.h TPinballComponent: replaced calloc operator new with member initialization. 2021-10-02 18:58:54 +03:00
TFlagSpinner.cpp Replaced objlist_class with std::vector. 2021-10-01 18:55:44 +03:00
TFlagSpinner.h TPinballComponent: replaced calloc operator new with member initialization. 2021-10-02 18:58:54 +03:00
TFlipper.cpp Increase precision of mode_countdown_ handling (#52) 2021-10-23 07:33:04 +03:00
TFlipper.h Fixed flipper animation frame skip bug. 2021-10-07 08:01:34 +03:00
TFlipperEdge.cpp Increase precision of mode_countdown_ handling (#52) 2021-10-23 07:33:04 +03:00
TFlipperEdge.h Fixed flipper animation frame skip bug. 2021-10-07 08:01:34 +03:00
TGate.cpp Replaced objlist_class with std::vector. 2021-10-01 18:55:44 +03:00
TGate.h TBlocker, TBumper, TFlagSpinner, TGate, THole, TKickback, TWall ready. 2021-01-16 17:45:29 +03:00
THole.cpp winmain: converted int to bool. 2021-10-23 09:02:51 +03:00
THole.h TPinballComponent: replaced calloc operator new with member initialization. 2021-10-02 18:58:54 +03:00
timer.cpp Replaced memory with new. 2021-10-02 17:45:31 +03:00
timer.h x64 build - no collision bug found( 2021-01-29 16:42:05 +03:00
TKickback.cpp TPinballComponent: replaced calloc operator new with member initialization. 2021-10-02 18:58:54 +03:00
TKickback.h TPinballComponent: replaced calloc operator new with member initialization. 2021-10-02 18:58:54 +03:00
TKickout.cpp Fixed TKickout temporary Z in FT mode. 2021-10-06 12:42:22 +03:00
TKickout.h TPinballComponent: replaced calloc operator new with member initialization. 2021-10-02 18:58:54 +03:00
TLight.cpp Replaced objlist_class with std::vector. 2021-10-01 18:55:44 +03:00
TLight.h TPinballComponent: replaced calloc operator new with member initialization. 2021-10-02 18:58:54 +03:00
TLightBargraph.cpp Fixed TLightGroup message 45 and 46, used by TLightBargraph. 2021-10-07 14:17:43 +03:00
TLightBargraph.h TPinballComponent: replaced calloc operator new with member initialization. 2021-10-02 18:58:54 +03:00
TLightGroup.cpp Increase precision of mode_countdown_ handling (#52) 2021-10-23 07:33:04 +03:00
TLightGroup.h TPinballComponent: replaced calloc operator new with member initialization. 2021-10-02 18:58:54 +03:00
TLightRollover.cpp Replaced objlist_class with std::vector. 2021-10-01 18:55:44 +03:00
TLightRollover.h TRollover, TOneway, TLightRollover, TTripwire, TEdgeManager ready. 2021-01-08 18:50:12 +03:00
TLine.cpp Some renames, cleanup partman, loader. 2021-01-28 18:01:26 +03:00
TLine.h TPinballComponent: replaced calloc operator new with member initialization. 2021-10-02 18:58:54 +03:00
TOneway.cpp Replaced objlist_class with std::vector. 2021-10-01 18:55:44 +03:00
TOneway.h TPinballComponent: replaced calloc operator new with member initialization. 2021-10-02 18:58:54 +03:00
TPinballComponent.cpp TPinballComponent: replaced calloc operator new with member initialization. 2021-10-02 18:58:54 +03:00
TPinballComponent.h TPinballComponent: replaced calloc operator new with member initialization. 2021-10-02 18:58:54 +03:00
TPinballTable.cpp Increase precision of mode_countdown_ handling (#52) 2021-10-23 07:33:04 +03:00
TPinballTable.h TPinballComponent: replaced calloc operator new with member initialization. 2021-10-02 18:58:54 +03:00
TPlunger.cpp winmain: converted int to bool. 2021-10-23 09:02:51 +03:00
TPlunger.h TRollover, TOneway, TLightRollover, TTripwire, TEdgeManager ready. 2021-01-08 18:50:12 +03:00
TPopupTarget.cpp Replaced objlist_class with std::vector. 2021-10-01 18:55:44 +03:00
TPopupTarget.h TPinballComponent: replaced calloc operator new with member initialization. 2021-10-02 18:58:54 +03:00
TRamp.cpp Replaced objlist_class with std::vector. 2021-10-01 18:55:44 +03:00
TRamp.h TPinballComponent: replaced calloc operator new with member initialization. 2021-10-02 18:58:54 +03:00
TRollover.cpp TPinballComponent: replaced calloc operator new with member initialization. 2021-10-02 18:58:54 +03:00
TRollover.h TPinballComponent: replaced calloc operator new with member initialization. 2021-10-02 18:58:54 +03:00
TSink.cpp Replaced objlist_class with std::vector. 2021-10-01 18:55:44 +03:00
TSink.h TPinballComponent: replaced calloc operator new with member initialization. 2021-10-02 18:58:54 +03:00
TSoloTarget.cpp Replaced objlist_class with std::vector. 2021-10-01 18:55:44 +03:00
TSoloTarget.h TPinballComponent: replaced calloc operator new with member initialization. 2021-10-02 18:58:54 +03:00
TSound.cpp TLight, TTimer, TSound, TComponentGroup ready. 2021-01-01 16:14:11 +03:00
TSound.h TLight, TTimer, TSound, TComponentGroup ready. 2021-01-01 16:14:11 +03:00
TTableLayer.cpp Replaced objlist_class with std::vector. 2021-10-01 18:55:44 +03:00
TTableLayer.h TPinballComponent: replaced calloc operator new with member initialization. 2021-10-02 18:58:54 +03:00
TTextBox.cpp Demangled and simplified pbctrl_bdoor_controller. 2021-10-04 17:04:09 +03:00
TTextBox.h Demangled and simplified pbctrl_bdoor_controller. 2021-10-04 17:04:09 +03:00
TTextBoxMessage.cpp Demangled and simplified pbctrl_bdoor_controller. 2021-10-04 17:04:09 +03:00
TTextBoxMessage.h Demangled and simplified pbctrl_bdoor_controller. 2021-10-04 17:04:09 +03:00
TTimer.cpp TLight, TTimer, TSound, TComponentGroup ready. 2021-01-01 16:14:11 +03:00
TTimer.h TLight, TTimer, TSound, TComponentGroup ready. 2021-01-01 16:14:11 +03:00
TTripwire.cpp Increase precision of mode_countdown_ handling (#52) 2021-10-23 07:33:04 +03:00
TTripwire.h TRollover, TOneway, TLightRollover, TTripwire, TEdgeManager ready. 2021-01-08 18:50:12 +03:00
TWall.cpp TPinballComponent: replaced calloc operator new with member initialization. 2021-10-02 18:58:54 +03:00
TWall.h TPinballComponent: replaced calloc operator new with member initialization. 2021-10-02 18:58:54 +03:00
winmain.cpp Adjusted screen coordinates so menu doesn't overlap (#66) 2021-10-24 18:38:23 +03:00
winmain.h Adjusted screen coordinates so menu doesn't overlap (#66) 2021-10-24 18:38:23 +03:00
zdrv.cpp Replaced memory with new. 2021-10-02 17:45:31 +03:00
zdrv.h Replaced memory with new. 2021-10-02 17:45:31 +03:00