From: curt Date: Sat, 23 May 1998 14:07:14 +0000 (+0000) Subject: Use new C++ events class. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=453b041f0d5c3388a3b87fe032de206088e85bb2;p=simgear.git Use new C++ events class. --- diff --git a/Astro/sky.cxx b/Astro/sky.cxx index caedbf73..90989f5e 100644 --- a/Astro/sky.cxx +++ b/Astro/sky.cxx @@ -252,8 +252,8 @@ void fgSkyInit( void ) { fgSkyVerticesInit(); /* regester fgSkyColorsInit() as an event to be run periodically */ - fgEventRegister("fgSkyColorsInit()", fgSkyColorsInit, - FG_EVENT_READY, 30000); + global_events.Register( "fgSkyColorsInit()", fgSkyColorsInit, + FG_EVENT_READY, 30000); } @@ -373,9 +373,12 @@ void fgSkyRender( void ) { /* $Log$ -/* Revision 1.5 1998/04/28 01:19:02 curt -/* Type-ified fgTIME and fgVIEW +/* Revision 1.6 1998/05/23 14:07:14 curt +/* Use new C++ events class. /* + * Revision 1.5 1998/04/28 01:19:02 curt + * Type-ified fgTIME and fgVIEW + * * Revision 1.4 1998/04/26 05:10:01 curt * "struct fgLIGHT" -> "fgLIGHT" because fgLIGHT is typedef'd. *