| 1 | externcxx . . $ `<file>/src/Common.h`/ int winxcxx . . $ winx., winycxx . . $ winy.; |
| 2 | |
| 3 | typedef unsigned char Bytecxx . . $ Byte#; |
| 4 | |
| 5 | // SDL functions: remiplement these |
| 6 | //void swapbuffers(); |
| 7 | //void refresh(); |
| 8 | long int getTickscxx . . $ getTicks(da6335ded91d79c2).(); |
| 9 | |
| 10 | |
| 11 | |
| 12 | // drawing & geom settings... |
| 13 | extern CgUtilcxx . . $ CgUtil# cgSettingscxx . . $ cgSettings.; |
| 14 | extern GeoSettingscxx . . $ GeoSettings# geoSettingscxx . . $ geoSettings.; // singleton |
| 15 | |
| 16 | extern bool bilinearcxx . . $ bilinear.; |
| 17 | extern bool MovingLightModecxx . . $ MovingLightMode.; |
| 18 | |
| 19 | extern bool draw_ballscxx . . $ draw_balls.; // just to test |
| 20 | extern bool draw_stickscxx . . $ draw_sticks.; // just to test |
| 21 | extern bool draw_wireframe_stickscxx . . $ draw_wireframe_sticks.; |
| 22 | extern bool draw_wireframe_ballscxx . . $ draw_wireframe_balls.; |
| 23 | |
| 24 | extern bool use_accurate_halocxx . . $ use_accurate_halo.; |
| 25 | |
| 26 | void setAniStepcxx . . $ setAniStep(ba8836b59fb42830).(double step); |
| 27 | void stopAnicxx . . $ stopAni(49f6e7a06ebc5aa8).(); |
| 28 | |
| 29 | int InitQuteMolcxx . . $ InitQuteMol(5c4306d8553b3696).(const char * filename); |
| 30 | |
| 31 | #define ERRGL_OKcxx . . $ `src/Common.h:31:9`! 0 |
| 32 | #define ERRGL_NO_FScxx . . $ `src/Common.h:32:9`! 1 |
| 33 | #define ERRGL_NO_VScxx . . $ `src/Common.h:33:9`! 2 |
| 34 | #define ERRGL_NO_FBO_SHADOWMAPcxx . . $ `src/Common.h:34:9`! 4 |
| 35 | #define ERRGL_NO_FBO_HALOcxx . . $ `src/Common.h:35:9`! 8 |
| 36 | #define ERRGL_NO_FBO_AOcxx . . $ `src/Common.h:36:9`! 16 |
| 37 | #define ERRGL_NO_GLEWcxx . . $ `src/Common.h:37:9`! 32 |
| 38 | |
| 39 | // returns an ERRGL code |
| 40 | int initGlcxx . . $ initGl(b126dc7c1de90089).(); |
| 41 | |
| 42 | void drawFramecxx . . $ drawFrame(d4f767463ce0a6b3).(int quality); |
| 43 | void clearFramecxx . . $ clearFrame(49f6e7a06ebc5aa8).(); |
| 44 | void UpdateShadowmapcxx . . $ UpdateShadowmap(49f6e7a06ebc5aa8).(); |
| 45 | |
| 46 | int GetCurrentHetatmcxx . . $ GetCurrentHetatm(b126dc7c1de90089).(); |
| 47 | |
| 48 | int GetCurrentAtmcxx . . $ GetCurrentAtm(b126dc7c1de90089).(); |
| 49 | |
| 50 | void SetTextureAccesscxx . . $ SetTextureAccess(b45ddcbc8423892c).(bool bilinear); |
| 51 | //void ReloadTexture(vector<Byte> t, bool bilinear); |
| 52 | |
| 53 | Bytecxx . . $ Byte#* GetSnapshotcxx . . $ GetSnapshot(8ac90524f31ad8a9).(int sx, int sy, bool alpha); |
| 54 | |
| 55 | //extern Mol mol; |
| 56 | //extern ShadowMap shadowmap; |
| 57 | extern CgUtilcxx . . $ CgUtil# shadowSettingscxx . . $ shadowSettings.; |
| 58 | |
| 59 | extern float backgroundcxx . . $ background.; |
| 60 | |
| 61 | void StartTimecxx . . $ StartTime(49f6e7a06ebc5aa8).(); |
| 62 | long int TakeTimecxx . . $ TakeTime(239003bd6de320c1).(FILE *f, char *st); |
| 63 | long int TakeTotalTimecxx . . $ TakeTotalTime(da6335ded91d79c2).(); |
| 64 | void Cyclecxx . . $ Cycle(b8d3300d42ddd7c9).( float &c, float min, float max, float step); |
| 65 | |
| 66 | void SetColModecxx . . $ SetColMode(9364e6e7bff7660).(float mode); |
| 67 | float GetColModecxx . . $ GetColMode(9b8c9e39889c762c).(); |
| 68 | void ResetColModecxx . . $ ResetColMode(49f6e7a06ebc5aa8).(); |
| 69 | |
| 70 | void ChangeColorSchemacxx . . $ ChangeColorSchema(d4f767463ce0a6b3).(int i=-1); |
| 71 | |
| 72 | |
| 73 | |
| 74 | //extern vector<Byte> texture; |
| 75 | |
| 76 | //bool LoadImagePPM( const char * filename , vector<Byte> &im); |
| 77 | //bool SaveImagePPM( const char * filename , const vector<Byte> &im, int sizex, int sizey); |
| 78 | |
| 79 |