Revision 657,
644 bytes
checked in by mattausch, 19 years ago
(diff) |
added ogre dependencies and patched ogre sources
|
Line | |
---|
1 | #ifndef _PS10_PROGRAM_H
|
---|
2 | #define _PS10_PROGRAM_H
|
---|
3 |
|
---|
4 | #include "nvparse_errors.h"
|
---|
5 | #include "nvparse_externs.h"
|
---|
6 |
|
---|
7 | #ifdef WIN32
|
---|
8 | # include <windows.h>
|
---|
9 | #endif
|
---|
10 |
|
---|
11 | #include <GL/gl.h>
|
---|
12 | #include <string>
|
---|
13 | #include <list>
|
---|
14 | #include <vector>
|
---|
15 | #include <map>
|
---|
16 |
|
---|
17 | namespace ps10
|
---|
18 | {
|
---|
19 |
|
---|
20 | struct constdef
|
---|
21 | {
|
---|
22 | std::string reg;
|
---|
23 | float r,g,b,a;
|
---|
24 | };
|
---|
25 |
|
---|
26 | extern std::map<int, std::pair<int,int> > constToStageAndConstMap;
|
---|
27 | extern std::map<int, GLenum> stageToTargetMap;
|
---|
28 | void invoke(std::vector<constdef> * c,
|
---|
29 | std::list<std::vector<std::string> > * a,
|
---|
30 | std::list<std::vector<std::string> > * b);
|
---|
31 |
|
---|
32 | bool init_extensions();
|
---|
33 | }
|
---|
34 |
|
---|
35 | #endif
|
---|
Note: See
TracBrowser
for help on using the repository browser.