Hello,
I've got two questions (or you can call it 'feature requests'
) regarding the support of mobile (tablet) devices with Windows.
Short intro:
I'm not playing much on a stationary PC nor laptop nowdays, but what i DO enjoy is playing on my Asus Transformer 10" tablet with Windows.
It's a great device for games like Settlers 2 or other oldies, but I always had problems running and enjoying my beloved HoMM2 on it.
Eventually, when you started this project to resurrect fHeroes and support SDL2, also Heroes became playable on my device, which made me more happy than ever
Thus finally I've encouraged myself to ask for support for such kind of "mobile" game setup
1) Right-click via Touchscreen:
Usually, right click is emulated by touch&drag or touch&hold, but in fHeroes, neither of it works, at least on my device (Asus Transformer T101HA).
This makes inspecting objects/units impossible without a mouse.
I'm not sure if this is problem of SDL2 or not, but maybe it would be possible to support right-click actions via touchscreen input?
I'm not an expert
but I believe SDL2 should support such thing already, right?
2) Widescreen in low resolution mode:
It's great the game supports various resolutions and screen ratios, but I wonder if it is technically possible to use widescreen ratios on LOW resolution modes.
I preffer to play in the original resolution (640x480) as on smaller screens (like 10" or less), playing on high res (like 1280x800) - especially without mouse (only screen touch) - is very imprecise and ofc everything is very small.
However, having a widescreen ratio with such low resolution would be even better (no black areas on the sides).
I know this would mean having non-standard resolution like 768x480 or 960x600 but it could be achieved by using scaling (x1.5 or x.2?) for example.
I remember that in older "incarnations" of fHeroes project or in DosBox config it was possible, so maybe SDL2 supports this?
Is it possible to allow this? If not officially in the game menu, then at least via the config file?