Muzychenko Andrey
80947888a0
Optimized table restart, external font loading.
...
Fixed memory leak related to restart.
Added window to table size adjustment on init, imperfect.
2022-11-17 15:43:59 +03:00
Muzychenko Andrey
7003b01e5d
Render tweaks part 2: sprite set by index.
2022-09-22 17:46:00 +03:00
Muzychenko Andrey
9f0ae0434e
Render tweaks part 1: refactored sprite struct.
...
Optimized sprite handling in render.
Fixed switch warning in control.
2022-09-21 16:43:45 +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
fdf1f6c9f1
Cleaning up maths: part 3.
...
Demangled methods, vectors args by ref, added comments, more accurate ray_intersect_line.
2022-05-13 11:15:30 +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
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
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
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
Muzychenko Andrey
69ecce88df
Score: inject 3DPB msg font into dat struct.
...
Fixed double free in sound.
2021-10-10 12:22:21 +03:00
Muzychenko Andrey
43593b168d
Sound: added channel recycling.
...
Added sound channel count (aka voices) user option.
Added 3DPB font to sprite viewer.
Added version number to about dialog.
2021-10-09 17:28:30 +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
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
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
9a10d72e1f
gdrv: simplified bitmap, fixed blit, improved SDL present.
...
Removed some Windows dependencies.
2021-09-01 11:02:57 +03:00
Muzychenko Andrey
debe52c1e0
Added scalable window, mouse controls.
2021-02-09 18:09:44 +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
oz
cd4679194c
x64 build - no collision bug found(
...
Either lost in decompilation or introduced in x64 port.
2021-01-29 16:42:05 +03:00
oz
d267fd5c98
Fixed uninitialized memory.
2021-01-05 15:12:54 +03:00
oz
a143b820af
TBall, nudge v1, ready.
...
render occlude list.
2020-12-27 18:19:36 +03:00
oz
d83c4e2b26
Proj v1, ready.
...
port_draw in multiple T classes.
pb v1.
proj v1, ready.
WinMain v3.
2020-11-29 18:50:49 +03:00
oz
a4c64cc4c8
render v2, ready
2020-11-15 17:39:00 +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
oz
7db64ae1c6
winmain v2.
...
fullscrn, pb v1.
2020-11-06 16:56:32 +03:00