From 474849f96b45a257edbe5f30fc34edb6e824ca01 Mon Sep 17 00:00:00 2001 From: curt Date: Sat, 23 May 1998 14:07:14 +0000 Subject: [PATCH] Use new C++ events class. --- Astro/sky.cxx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Astro/sky.cxx b/Astro/sky.cxx index caedbf73d..90989f5ee 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. * -- 2.39.2