LZScene

Форк
0
/
GLStrings.pas 
118 строк · 4.7 Кб
1
//
2
// This unit is part of the GLScene Engine https://github.com/glscene
3
//
4
{
5
    String constants that are used in many GLScene units
6

7
	 History : 
8
       16/09/10 - YP - Added glsUnknownParam
9
       23/02/07 - DaStr - Added glsDot, glsUnsupportedType, glsUncompatibleTypes,
10
                         glsUnknownType, glsShaderNeedsAtLeastOneLightSource(Ex),
11
                         glsCadencerNotDefined(Ex), glsSceneViewerNotDefined
12
       16/02/07 - DaStr - Added glsOCProxyObjects, glsError, glsErrorEx,
13
                         glsMatLibNotDefined, glsMaterialNotFoundInMatlib(Ex)
14
       26/08/02 - EG - Added missing header, added glsUnknownExtension
15
	 
16
}
17
unit GLStrings;
18

19
interface
20

21
resourcestring
22
  // General
23
  glsDot = '.';
24
  glsError   = 'Error!';
25
  glsErrorEx = 'Error: ';
26

27
  // SceneViewer
28
  glsNoRenderingContext = 'Could not create a rendering context';
29
  glsWrongVersion       = 'Need at least OpenGL version 1.1';
30
  glsTooManyLights      = 'Too many lights in the scene';
31
  glsDisplayList        = 'Failed to create a new display list for object ''%s''';
32
  glsWrongBitmapCanvas  = 'Couldn''t create a rendering context for the given bitmap';
33
  glsWrongPrinter       = 'Couldn''t render to printer';
34
  glsAlreadyRendering   = 'Already rendering';
35
  glsSceneViewerNotDefined = 'SceneViewer not defined!';
36

37
  // GLCadencer
38
  glsCadencerNotDefined   = 'Cadencer not defined!';
39
  glsCadencerNotDefinedEx = 'Cadencer not defined for  the ''%s'' component';
40

41
  // Shaders
42
  glsShaderNeedsAtLeastOneLightSource   = 'This shader needs at least one LightSource!';
43
  glsShaderNeedsAtLeastOneLightSourceEx = 'Shader ''%s'' needs at least one LightSource!';
44

45
  // GLTree
46
  glsSceneRoot  = 'Scene root';
47
  glsObjectRoot = 'Scene objects';
48
  glsCameraRoot = 'Cameras';
49
  glsCamera     = 'Camera';
50

51
  // GLTexture
52
  glsImageInvalid = 'Could not load texture, image is invalid';
53
  glsNoNewTexture = 'Could not get new texture name';
54

55
  // GLMaterials
56
  glsMatLibNotDefined = 'Material Library not defined!';
57
  glsMaterialNotFoundInMatlib = 'Material not found in current Material Library!';
58
  glsMaterialNotFoundInMatlibEx = 'Material "%s" not found in current Material Library!';
59

60
  // GLObjects
61
  glsSphereTopBottom = 'The top angle must be higher than the bottom angle';
62
  glsSphereStartStop = 'The start angle must be smaller than then stop angle';
63
  glsMaterialNotFound = 'Loading failed: could not find material %s';
64
  glsInterleaveNotSupported = 'Interleaved Array format not supported yet. Sorry.';
65

66
  // common messages
67
  glsUnknownArchive = '%s : unknown archive version %d';
68
  glsOutOfMemory = 'Fatal: Out of memory';
69
  glsFileNotFound = 'File %s not found';
70
  glsFailedOpenFile = 'Could not open file: %s';
71
  glsFailedOpenFileFromCurrentDir = 'Could not open file: %s'#13#10'(Current directory is %s)';
72
  glsNoDescriptionAvailable = 'No description available';
73
  glsUnBalancedBeginEndUpdate = 'Unbalanced Begin/EndUpdate';
74
  glsUnknownExtension = 'Unknown file extension (%s), maybe you forgot to add the support '
75
                       +'unit to your uses? (%s?)' ;
76
  glsMissingResource = 'Missing application resource: %s: %s';
77

78
  glsIncompatibleTypes = 'Incompatible types!';
79
  glsUnknownType       = 'Unknown type!';
80
  glsUnsupportedType   = 'Unsupported type!';
81

82
  // object categories
83
  glsOCBasicGeometry = 'Basic geometry';
84
  glsOCAdvancedGeometry = 'Advanced geometry';
85
  glsOCMeshObjects = 'Mesh objects';
86
  glsOCParticleSystems = 'Particle systems';
87
  glsOCEnvironmentObjects = 'Environment objects';
88
  glsOCSpecialObjects = 'Special objects';
89
  glsOCGraphPlottingObjects = 'Graph-plotting objects';
90
  glsOCDoodad = 'Doodad objects';
91
  glsOCHUDObjects = 'HUD objects';
92
  glsOCGuiObjects = 'GUI objects';
93
  glsOCProxyObjects = 'Proxy objects';
94
  glsOCExperimental = 'Experimental objects';
95

96
  glsUnknownParam =
97
    'Unknown %s "%s" for "%s" or program not in use';
98

99
  //
100
  // Context
101
  strCannotAlterAnActiveContext = 'Cannot alter an active context';
102
  strContextActivationFailed = 'Context activation failed: %X, %s';
103
  strContextAlreadyCreated = 'Context already created';
104
  strContextDeactivationFailed = 'Context deactivation failed';
105
  strContextNotCreated = 'Context not created';
106
  strDeleteContextFailed = 'Delete context failed';
107
  strFailedToShare = 'DoCreateContext - Failed to share contexts';
108
  strIncompatibleContexts = 'Incompatible contexts';
109
  strInvalidContextRegistration = 'Invalid context registration';
110
  strInvalidNotificationRemoval = 'Invalid notification removal';
111
  strNoActiveRC = 'No active rendering context';
112
  strUnbalancedContexActivations = 'Unbalanced context activations';
113
  strUnableToCreateLegacyContext = 'Unable to create legacy context';
114

115

116
implementation
117

118
end.
119

120

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.