Pages: [1]
  Print  
Author Topic: CD Functions  (Read 350 times)
Offline (Male) Goombert
Posted on: November 02, 2013, 09:18:03 PM

Contributor
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2988

View Profile
I have implemented the CD functions, all of them 100% to the exact same behavior of Game Maker, and I tested everything very very thoroughly. The only difference is that ENIGMA has a higher accuracy with the milliseconds, eg. playback position would be reported as follows.

ENIGMA: 1346, 1380, 1632, etc.
Game Maker: 1000, 1000, 2000, etc.

This was the pull request.
https://github.com/enigma-dev/enigma-dev/commit/ac2ceb4ed2760a82d23bd07fc734faf75222f0fd

Full documentation can be found on the Wiki.
http://enigma-dev.org/docs/Wiki/Disk_Functions

The functions also utilize the same part of the Windows API the original Game Maker ones did, the Media Control Interface. The functions and drag and drop actions are available through the extension by the same name, simply enable the extension and the functions and drag and drop actions should become usable. Also note that these are Windows only.

Not that these functions were rather important just to make sure we don't leave as much as we possibly can deprecated, and nevertheless it is optional, and these old functions help ensure maximum compatibility.
Logged
Welcome to ENIGMO, the game engine built by fucking aliens.

Pages: [1]
  Print