Monday, July 3, 2017

Kingdom - Day 22

1 week has passed... Here are the most noticeable changes in the code since the last post:
- Implement PlaySound
- Add code for savegames
- Implement the timers
- Implement SaveAS and RestoreAS which are used to save/restore parts of the screen when switching to/from some specific game areas (inventory, map...)

At this point, there's only 1 function which is still stubbed, used for displaying some icons (I'll look at it this evening most likely). As soon as the video player will be implemented, I'll start a playthrough to see if there are bugs in the hardcoded logic. I expect some in the first group, as it was the first one I reversed.

Special thanks to waltervn and to SylvainTV for their help on the timers and the weird way it's hooked in the original on int 8h

(and sorry, no fancy screenshot this time again...) :)


  1. Please, move the development to master.

  2. I'd prefer to have the video player first. But as the format is known (and implemented by TMM in ffmpeg) it could be fast :)