Unit Hirestim |
This TTimer replacement uses the high resolution timing capabilities of the MMSystem to provide timing far more precise than those possible with standard Windows's timer resources. It also illustrates the use of Delphi 2.0's TThread class, and the use of a Win32 event for thread synchronization. Freeware with source code. Provided by Silicon Commander Games http://www.silicmdr.com JAB : added a frames-per-second property for convenience & modified interval set. Modified ontimer call to addSynchronize(...) : removed sender param. Need Synchronize for Zonerings, becuase GDI handles are freed etc. Modified Thread creation/destruction to plug memory leak in (???) VCL (???)
Classes |
Functions |
Register - /////////////////////////////////////// end ///////////////////////////////////////
Types |
Constants |
Variables |
Functions |
Types |
Constants |
Variables |