#include <celutil/color.h>Include dependency graph for starcolors.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Enumerations | |
| enum | ColorTableType { ColorTable_Enhanced, ColorTable_Blackbody_D65 } |
Functions | |
| ColorTemperatureTable * | GetStarColorTable (ColorTableType) |
|
|
Definition at line 44 of file starcolors.h. 00045 {
00046 ColorTable_Enhanced,
00047 ColorTable_Blackbody_D65,
00048 };
|
|
|
Definition at line 477 of file starcolors.cpp. References blackbodyD65, ColorTable_Blackbody_D65, ColorTable_Enhanced, enhanced, StarColors_Blackbody_2deg_D65, and StarColors_Enhanced. Referenced by CelestiaCore::charEntered(), and Renderer::Renderer(). 00478 {
00479 switch (ct)
00480 {
00481 case ColorTable_Enhanced:
00482 if (enhanced == NULL)
00483 {
00484 enhanced = new ColorTemperatureTable(StarColors_Enhanced,
00485 41, 40000.0f);
00486 }
00487 return enhanced;
00488
00489 case ColorTable_Blackbody_D65:
00490 if (blackbodyD65 == NULL)
00491 {
00492 blackbodyD65 = new ColorTemperatureTable(StarColors_Blackbody_2deg_D65,
00493 401, 40000.0f);
00494 }
00495 return blackbodyD65;
00496
00497 default:
00498 return NULL;
00499 }
00500 }
|
1.4.1