Rev | Line | |
---|
[23287] | 1 | #include "../titan/struct.h" |
---|
| 2 | #include "../titan/debug.h" |
---|
| 3 | #include "../titan/header.h" |
---|
| 4 | #include "betarobot.h" |
---|
| 5 | |
---|
| 6 | char pluginname[] = "Beta Robot"; |
---|
| 7 | char plugindesc[] = "Beta Robot"; |
---|
| 8 | char pluginpic[] = "%pluginpath%/betarobot/plugin.png"; |
---|
| 9 | |
---|
| 10 | int pluginaktiv = 0; |
---|
| 11 | int pluginversion = PLUGINVERSION; |
---|
| 12 | struct skin* pluginmenu = NULL; |
---|
| 13 | int pluginflag = 0; |
---|
| 14 | |
---|
| 15 | //wird beim laden ausgefuehrt |
---|
| 16 | void init(void) |
---|
| 17 | { |
---|
| 18 | pluginaktiv = 1; |
---|
| 19 | |
---|
| 20 | debug(10, "BetaRobot Plugin loadet !!!"); |
---|
| 21 | } |
---|
| 22 | |
---|
| 23 | //wird beim entladen ausgefuehrt |
---|
| 24 | void deinit(void) |
---|
| 25 | { |
---|
| 26 | pluginaktiv = 0; |
---|
| 27 | debug(10, "BetaRobot Plugin removed !!!"); |
---|
| 28 | } |
---|
| 29 | |
---|
| 30 | //wird in der Pluginverwaltung bzw Menue ausfeguehrt |
---|
| 31 | void start(void) |
---|
| 32 | { |
---|
| 33 | screenbetarobot(); |
---|
| 34 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.