OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4FindObject.h File Reference
#include "lib/C4Rect.h"
#include "script/C4Value.h"
Include dependency graph for C4FindObject.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  C4FindObject
 
class  C4FindObjectNot
 
class  C4FindObjectAnd
 
class  C4FindObjectAndStatic
 
class  C4FindObjectOr
 
class  C4FindObjectExclude
 
class  C4FindObjectDef
 
class  C4FindObjectInRect
 
class  C4FindObjectAtPoint
 
class  C4FindObjectAtRect
 
class  C4FindObjectOnLine
 
class  C4FindObjectDistance
 
class  C4FindObjectCone
 
class  C4FindObjectOCF
 
class  C4FindObjectCategory
 
class  C4FindObjectAction
 
class  C4FindObjectActionTarget
 
class  C4FindObjectProcedure
 
class  C4FindObjectContainer
 
class  C4FindObjectAnyContainer
 
class  C4FindObjectOwner
 
class  C4FindObjectController
 
class  C4FindObjectFunc
 
class  C4FindObjectProperty
 
class  C4FindObjectLayer
 
class  C4FindObjectInArray
 
class  C4SortObject
 
class  C4SortObjectByValue
 
class  C4SortObjectReverse
 
class  C4SortObjectMultiple
 
class  C4SortObjectDistance
 
class  C4SortObjectRandom
 
class  C4SortObjectSpeed
 
class  C4SortObjectMass
 
class  C4SortObjectValue
 
class  C4SortObjectFunc
 

Enumerations

enum  C4FindObjectCondID {
  C4FO_Not = 1, C4FO_And = 2, C4FO_Or = 3, C4FO_Exclude = 4,
  C4FO_InRect = 5, C4FO_AtPoint = 6, C4FO_AtRect = 7, C4FO_OnLine = 8,
  C4FO_Distance = 9, C4FO_ID = 10, C4FO_OCF = 11, C4FO_Category = 12,
  C4FO_Action = 13, C4FO_ActionTarget = 14, C4FO_Procedure = 15, C4FO_Container = 16,
  C4FO_AnyContainer = 17, C4FO_Owner = 18, C4FO_Controller = 19, C4FO_Func = 20,
  C4FO_Layer = 21, C4FO_InArray = 22, C4FO_Property = 23, C4FO_AnyLayer = 24,
  C4FO_Cone = 25
}
 
enum  C4SortObjectCondID {
  C4SO_First = 30, C4SO_Reverse = 31, C4SO_Multiple = 32, C4SO_Distance = 33,
  C4SO_Random = 34, C4SO_Speed = 35, C4SO_Mass = 36, C4SO_Value = 37,
  C4SO_Func = 38, C4SO_Last = 50
}
 

Enumeration Type Documentation

Enumerator
C4FO_Not 
C4FO_And 
C4FO_Or 
C4FO_Exclude 
C4FO_InRect 
C4FO_AtPoint 
C4FO_AtRect 
C4FO_OnLine 
C4FO_Distance 
C4FO_ID 
C4FO_OCF 
C4FO_Category 
C4FO_Action 
C4FO_ActionTarget 
C4FO_Procedure 
C4FO_Container 
C4FO_AnyContainer 
C4FO_Owner 
C4FO_Controller 
C4FO_Func 
C4FO_Layer 
C4FO_InArray 
C4FO_Property 
C4FO_AnyLayer 
C4FO_Cone 

Definition at line 23 of file C4FindObject.h.

24 {
25  C4FO_Not = 1,
26  C4FO_And = 2,
27  C4FO_Or = 3,
28  C4FO_Exclude = 4,
29  C4FO_InRect = 5,
30  C4FO_AtPoint = 6,
31  C4FO_AtRect = 7,
32  C4FO_OnLine = 8,
33  C4FO_Distance = 9,
34  C4FO_ID = 10,
35  C4FO_OCF = 11,
36  C4FO_Category = 12,
37  C4FO_Action = 13,
38  C4FO_ActionTarget = 14,
39  C4FO_Procedure = 15,
40  C4FO_Container = 16,
41  C4FO_AnyContainer = 17,
42  C4FO_Owner = 18,
43  C4FO_Controller = 19,
44  C4FO_Func = 20,
45  C4FO_Layer = 21,
46  C4FO_InArray = 22,
47  C4FO_Property = 23,
48  C4FO_AnyLayer = 24,
49  C4FO_Cone = 25,
50  // last C4FO must be smaller than C4SO_First.
51 };
Enumerator
C4SO_First 
C4SO_Reverse 
C4SO_Multiple 
C4SO_Distance 
C4SO_Random 
C4SO_Speed 
C4SO_Mass 
C4SO_Value 
C4SO_Func 
C4SO_Last 

Definition at line 54 of file C4FindObject.h.

55 {
56  C4SO_First = 30, // no sort condition smaller than this
57  C4SO_Reverse = 31, // reverse sort order
58  C4SO_Multiple = 32, // multiple sorts; high priority first; lower priorities if higher prio returned equal
59  C4SO_Distance = 33, // nearest first
60  C4SO_Random = 34, // random first
61  C4SO_Speed = 35, // slowest first
62  C4SO_Mass = 36, // lightest first
63  C4SO_Value = 37, // cheapest first
64  C4SO_Func = 38, // least return values first
65  C4SO_Last = 50 // no sort condition larger than this
66 };