Blog
Latest Entries
Categories airac, aircraft, arc, atc, autopilot, bgl, blog, centers, code, control, database, development, doc, download, faq, features, file, flight, forum, free, fs2004, fsinn, fsx, fuel, gallery, gps, help, ipc, latitude, logbook, login, longitude, look, navaids, ndb, news, photo, planner, radial, register, release, scenery, sfp4, sfp5, simconnect, simulator, site, software, source, speed, super, support, system, time, tnail, tutorial, update, vor, x-plane, xml Most Popular Blogs Archive
|
Category >> code
This source snippet formats a Latitude/Longitude value for use with Flight Simulator/X new XML flight plan format. Seconds values must be clamped to a value ranged between 0.01 and 59.99...
Don't miss to regularly check our new blog: Super Flight Planner Docs, Tutorials and code bank. Whenever I have updated documentation and/or tutorials, I will post an article there. It also turns useful to me to have a blog I can use as a code bank (a repository where to keep my most frequently used code snippets): programmers, feel free to use them as long as you respect the GPL (open source) license. I dunno how frequently I'll be able to update the bank, but trust in me: it's good and well functional code (lot of fast math routines...), and in a good percentage the code is available in both C and Pascal. Good life.
Hello People
I would like to inform I have successfully implemented the first one of the several steps necessary to bring fresh air to the Flight Simulator link interface. The first job has been the reengineering of the existing IPC routines.
I have heavily changed the code in order to strip out access violation issues given by multi-threading.
The link routine now doesn't talk directly to Moving Map any longer, it instead uses multi thread windows to exchange data throught the Windows message processing queue, making the code virtually AV safe. The code is a little bit slower (unnoticeable however) while the planner still runs smoothly. I can see the result of my efforts by having Super Flight Planner and FSX running and linked together on my desktop since almost 8 hours without any error at all...
The amount of mail I receive about the comparison of Super Flight Planner versus other products is not too relevant but it's not too few anyway....
|