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

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

[titan] update copyright

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