Last change
on this file since 68 was
68,
checked in by Maciej Komosinski, 13 years ago
|
added missing sources; updated sources for compatibility with vs2008 and added project files
|
File size:
1.2 KB
|
Line | |
---|
1 | // This file is a part of the Framsticks GDK library.
|
---|
2 | // Copyright (C) 2002-2011 Szymon Ulatowski. See LICENSE.txt for details.
|
---|
3 | // Refer to http://www.framsticks.com/ for further information.
|
---|
4 |
|
---|
5 | #ifndef _NEUROCLSOBJECT_H_
|
---|
6 | #define _NEUROCLSOBJECT_H_
|
---|
7 |
|
---|
8 | #include "modelparts.h"
|
---|
9 | #include "neurolibrary.h"
|
---|
10 | #include "extvalue.h"
|
---|
11 |
|
---|
12 | extern ParamEntry neuroclass_paramtab[];
|
---|
13 |
|
---|
14 | class NeuroClassLibObject
|
---|
15 | {
|
---|
16 | NeuroLibrary& lib() {return NeuroLibrary::staticlibrary;}
|
---|
17 | public:
|
---|
18 | Param param,classparam;
|
---|
19 | NeuroClass invalid;
|
---|
20 | NeuroClass *cls;
|
---|
21 | long current;
|
---|
22 | NeuroClassLibObject();
|
---|
23 | void selectClass(int i);
|
---|
24 | static int* convertVectorData(const SString& s);
|
---|
25 | #define STATRICKCLASS NeuroClassLibObject
|
---|
26 | PARAMSETDEF(current);
|
---|
27 | PARAMGETDEF(count) {arg1->setInt(lib().getClassCount());}
|
---|
28 | PARAMPROCDEF(p_findclass);
|
---|
29 | PARAMPROCDEF(p_getclass);
|
---|
30 | #undef STATRICKCLASS
|
---|
31 | };
|
---|
32 |
|
---|
33 | class NeuroClassExt: public NeuroClass
|
---|
34 | {
|
---|
35 | public:
|
---|
36 | #define STATRICKCLASS NeuroClassExt
|
---|
37 | PARAMSETDEF(glyph);
|
---|
38 | PARAMGETDEF(glyph);
|
---|
39 | PARAMGETDEF(props);
|
---|
40 | PARAMGETDEF(summary) {arg1->setString(getSummary());}
|
---|
41 | #undef STATRICKCLASS
|
---|
42 | static void makeStaticObject(ExtValue *ret,NeuroClass *cl);
|
---|
43 | };
|
---|
44 |
|
---|
45 | #endif
|
---|
46 |
|
---|
47 |
|
---|
48 |
|
---|
49 |
|
---|
50 |
|
---|
51 |
|
---|
52 |
|
---|
Note: See
TracBrowser
for help on using the repository browser.