diff options
author | truebrain <truebrain@openttd.org> | 2009-01-15 15:56:10 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2009-01-15 15:56:10 +0000 |
commit | ae5c8a8b359255e4b026543c736d42601ea7a599 (patch) | |
tree | 336201bee848644fdb9096a06f1ffec998951171 /bin/ai/library/queue/fibonacci_heap | |
parent | e84138af22abc40d3ebd993eba4103ccf3b2997f (diff) | |
download | openttd-ae5c8a8b359255e4b026543c736d42601ea7a599.tar.xz |
(svn r15091) -Add [NoAI] [API CHANGE]: introduce GetCategory() as a requirement for every library.nut, to indicate in which category it belongs. Currently the directory indicates the category, but this doesn't allow planned future additions
Diffstat (limited to 'bin/ai/library/queue/fibonacci_heap')
-rw-r--r-- | bin/ai/library/queue/fibonacci_heap/library.nut | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ai/library/queue/fibonacci_heap/library.nut b/bin/ai/library/queue/fibonacci_heap/library.nut index 244228788..727a2477d 100644 --- a/bin/ai/library/queue/fibonacci_heap/library.nut +++ b/bin/ai/library/queue/fibonacci_heap/library.nut @@ -8,6 +8,7 @@ class FibonacciHeap extends AILibrary { function GetVersion() { return 1; } function GetDate() { return "2008-08-22"; } function CreateInstance() { return "FibonacciHeap"; } + function GetCategory() { return "Queue"; } } RegisterLibrary(FibonacciHeap()); |