| 42 | |
| 43 | #define ISSPACE(c) ((c) >= 0 && (c) <= 32) |
| 44 | |
| 45 | Texture* HTMLField::GetTexture() |
| 46 | { |
| 47 | if (condition.GetLength() > 0) |
| 48 | { |
| 49 | GameState* gstate = GWorld->GetGameState(); |
| 50 | bool result = gstate->EvaluateBool(condition); |
| 51 | return result ? texture1 : texture2; |
| 52 | } |
| 53 | else |
| 54 | { |
| 55 | return texture1; |
| 56 | } |
| 57 | } |
| 58 | |
| 59 | CHTMLContainer::CHTMLContainer() |
no test coverage detected