I have thought of mobile mode, it would need something more than resolution entry, also implementing it in main version without conditional compilation would be troublesome
so all things in code should be done in #ifdef VCMI__MobileMode blocks
fixes: making able to work on resolution from 320x240 and very low memory
changes to fix:
- videos disabled and not loaded (and no needing for *.VID files) - the classes for using video will be dummy in Mobile Mode
- animations will be cached (some of animation files memory would be dropped on SD card to be able unload it from memory) and/or would be loaded partially (some of them would be not loaded even compressed)
- scallable windows would be divided into more interface parts (eg. adventure map interface would be an element divided into: the map, the minimap with some AM buttons, the status box with rest of adventure map buttons all switchable by tiny 8x8pixels buttons)
- non scallable windows would feature scrolling with some special features and will be meant as 800x600 scrollable
requirements to work: qwerty keyboard (may feature some virtual keyboard for non qwerty phones users)
special features for non scallable windows
all: when moving cursor the preview would center around the cursor
battle: when battle animation of move plays, the preview follows moving creature (to not blink it would show center on the first attacking creature when contrattacked)
Town Menu- would be divided into plain non scallable menu of only town view, rest of menu (armies and infos) would be hidden, and accesible from tab button
special features for divided windows:
some of them would be able to switch around using tab key
some of them will have tiny 8x8 pixels symbols to switch to desired subwindow
adventure map interface would be an element divided into: the map, the minimap with some AM buttons, the status box with rest of adventure map buttons
hero interface would be divided into: stats box, garrrison box, and paperdoll (wearing of artifacts)
PS: I may work on some code for it, and it would be funny to play vcmi on non-packed-up phone, and i hope it wouldn’t need to port any of code out of SDL
EDIT: not all thoughts from this thread would pass into vcmi especially things from earlier posts like this