source: titan/plugins/wins3/wins3.c @ 14546

Last change on this file since 14546 was 14546, checked in by nit, 9 years ago

fix

File size: 741 bytes
Line 
1#include "../titan/struct.h"
2#include "../titan/debug.h"
3#include "../titan/header.h"
4#include "wins3.h"
5
6char pluginname[] = "3 Wins";
7char plugindesc[] = "3 Wins Game";
8char pluginpic[] = "%pluginpath%/wins3/plugin.png";
9
10int pluginaktiv = 0;
11
12//wird beim laden ausgefuehrt
13void init(void)
14{
15        char* tmpstr = NULL;
16
17        tmpstr = ostrcat(getconfig("pluginpath", NULL), "/wins3/skin.xml", 0, 0);
18        readscreen(tmpstr, 196, 1);
19        free(tmpstr); tmpstr = NULL;
20
21        pluginaktiv = 1;
22        debug(10, "3 Wins Plugin loadet !!!");
23}
24
25//wird beim entladen ausgefuehrt
26void deinit(void)
27{
28        delmarkedscreen(196);
29        pluginaktiv = 0;
30        debug(10, "3 Wins Plugin removed !!!");
31}
32
33//wird in der Pluginverwaltung bzw Menue ausfeguehrt
34void start(void)
35{
36        screenwins3();
37}
Note: See TracBrowser for help on using the repository browser.