![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
02-12-11, 12:38 PM
|
#11 |
|
Black Magic
![]() |
so here's something I've done that is pretty cool:
I took the high precision timer code that I wrote in Python, converted it to C#, subscribed to the game's TimeCompressionChanged event (so that the high precision timer can update itself with the current TC level) in the C# code ( ), had the high precision timer start a new thread to continuously update itself at 10ms intervals (so that I don't have to rely on the game's Animation timer which is very unstable).....result: a completely autonomous high precision timer completely independent from the game now THIS ROCKS! ![]() SOAN has been converted to a .dll The radio messages feature is being converted to a .dll to protect new features I'm adding to it at a later date I made a new .dll that encloses all my file utils for the game I made a new .dll that encloses all my utils for the game I made a new .dll that allows new sounds to be added to the game without registering with Sh.sdl (TDWSound.dll) I made a new .dll that allows the capturing of mouse parameters (buttons pushed, scroll wheel moved, mouse position, etc.) (TDWMouse.dll) Things are starting to get really interesting now...... |
|
|
| Tags |
| dbrn, favorite, new ui |
| Thread Tools | |
| Display Modes | |
|
|
