A very Windows 10 update
Recently, the bad behaviour of the Windows 95 version became apparent when trying it on a newer, Windows 10 machine. The game ran, but the window would never appear - and when it did, it was simply too damn fast.
The crux of the question was this call:
MoveWindow(HWnd,
CW_USEDEFAULT,
CW_USEDEFAULT,
window_rect.right - window_rect.left,
window_rect.bottom - window_rect.top,
TRUE
);
Somehow, it causes the window to misbehave badly.
The fix was simple: for the Windows 10, I simply removed it.
The speed issues required some more code, but nothing special (but that would be too complicated to reproduce here) - but the issue was that each tick was taking 0 milliseconds on a modern-ish (Mac Mini late 2012, running Windows Pro 10, but also a Cedar-Trail Windows 10 Tablet). Making it to sleep for 20ms for each tick did the trick nicely.
Right now, I've tested with those machines about and plus a Mac Mini 2007, also running Windows 10 and my wife's laptop, running Windows 10 on a very cutting edge laptop. The game played very well on all the machines.
Files
Get The Mistral Report: Invisible Affairs
The Mistral Report: Invisible Affairs
RetroZaragoza Homebrew '18 awarded entry: A espionage-themed turn-based 3D RPG for MS-DOS, XBox One, Mac and Amiga
Status | Released |
Author | Daniel "MontyOnTheRun" Monteiro |
Genre | Role Playing |
Tags | 3D, adlib, Amiga, DOS, espionage, mac, MS-DOS, Stealth, Turn-based |
Languages | English |
More posts
- Toiling in Visual Studio 6 for a good cause - and it paid off handsomelyJul 04, 2020
- OSX version improvementsJun 11, 2020
- The major rewrite is hereOct 06, 2019
Leave a comment
Log in with itch.io to leave a comment.