Use new C++ events class.
This commit is contained in:
+7
-4
@@ -252,8 +252,8 @@ void fgSkyInit( void ) {
|
|||||||
fgSkyVerticesInit();
|
fgSkyVerticesInit();
|
||||||
|
|
||||||
/* regester fgSkyColorsInit() as an event to be run periodically */
|
/* regester fgSkyColorsInit() as an event to be run periodically */
|
||||||
fgEventRegister("fgSkyColorsInit()", fgSkyColorsInit,
|
global_events.Register( "fgSkyColorsInit()", fgSkyColorsInit,
|
||||||
FG_EVENT_READY, 30000);
|
FG_EVENT_READY, 30000);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -373,9 +373,12 @@ void fgSkyRender( void ) {
|
|||||||
|
|
||||||
|
|
||||||
/* $Log$
|
/* $Log$
|
||||||
/* Revision 1.5 1998/04/28 01:19:02 curt
|
/* Revision 1.6 1998/05/23 14:07:14 curt
|
||||||
/* Type-ified fgTIME and fgVIEW
|
/* 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
|
* Revision 1.4 1998/04/26 05:10:01 curt
|
||||||
* "struct fgLIGHT" -> "fgLIGHT" because fgLIGHT is typedef'd.
|
* "struct fgLIGHT" -> "fgLIGHT" because fgLIGHT is typedef'd.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user