Ada, games and frame rate calculation
From: Luke A. Guest (laguest_at_n_o_p_o_r_k_a_n_d_h_a_m.abyss2.demon.co.uk)
Date: 02/16/05
- Next message: Robert A Duff: "Re: Finalization of a record containing a task"
- Previous message: Adrien Plisson: "Re: Finalization of a record containing a task"
- Next in thread: Stephen Leake: "Re: Ada, games and frame rate calculation"
- Reply: Stephen Leake: "Re: Ada, games and frame rate calculation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 16 Feb 2005 21:32:08 +0000
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.
- Next message: Robert A Duff: "Re: Finalization of a record containing a task"
- Previous message: Adrien Plisson: "Re: Finalization of a record containing a task"
- Next in thread: Stephen Leake: "Re: Ada, games and frame rate calculation"
- Reply: Stephen Leake: "Re: Ada, games and frame rate calculation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|