From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,a447112bc8b81379,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!peer-uk.news.demon.net!kibo.news.demon.net!mutlu.news.demon.net!news.demon.co.uk!demon!not-for-mail From: "Luke A. Guest" Newsgroups: comp.lang.ada Subject: Ada, games and frame rate calculation Date: Wed, 16 Feb 2005 21:32:08 +0000 Message-ID: NNTP-Posting-Host: abyss2.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.demon.co.uk 1108589528 18150 62.49.62.197 (16 Feb 2005 21:32:08 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Wed, 16 Feb 2005 21:32:08 +0000 (UTC) User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Xref: g2news1.google.com comp.lang.ada:8362 Date: 2005-02-16T21:32:08+00:00 List-Id: Hi, I'm currently designing a game engine in Ada and was wondering about using the Ada.Real_Time facilities (especially the timing). Now, normally you get the current time calculate how much time has passed since the last time it was called. These values are used to implement frame rate (FPS) display and to animated models. So ultimately, I need to get access to the internals (I think). So, as an example, I have my Ada.Real_Time.Time type which is my FPS, I now have to display this on screen, so I need to determine the actual text from the value. How do I do this? Thanks, Luke.