scale, 247
setting for surfaces, 247-248
scene elements, 276
scene layer, painting, 273-274
scene management, 261, 262-263
implementing, 264-268
scene manager,
creating, 264-268, 280-281
working with, 275-279
scene nodes, 303 see also SceneNode
creating, 304-305
scene objects, 265-266
layer, 270-271
working with, 272
SceneNode, see also scene node
methods, 305-306
properties, 305
scenes, 262
managing, 262-263
scripting, 336
SDL, 223
secant, 60
Simple DirectMedia Layer, see SDL
sine, 60
slope, 68-69
source code, 72
spotlight, 307
sprites, 255-256
creating, 257
defining in XML, 256
drawing, 257
square, 55
calculating area of, 55
square numbers, 56
square roots, 56-57
stack, 204
algorithm, 204-205
statements, 95
conditional, 114
std::string class, 174
strings, 95, 172-173
addition in, 174-175
converting, 176
determining length of, 175-176
erasing in, 177
finding substrings in, 177
functions of, 173
inserting characters in, 176-177
methods of, 175-178
processing, 178-180
replacing in, 178
reversing, 180
struct, 151
substrings, 177
subtraction, 4
of fractions, 20
with negative numbers, 33
surfaces, 242
creating, 242-243, 254-255
displaying, 243
drawing, 244-246
painting to, 273
repeating, 246-247
setting alpha transparency for, 249
setting color for, 248
setting rotation for, 248
setting scale for, 247-248
transforming, 247-249
switch-case statement, 120-121
system memory, 99-100