Logo Search packages:      
Sourcecode: frozen-bubble version File versions  Download package

fb-server.c

/*******************************************************************************
 *
 * Copyright (c) 2004-2006 Guillaume Cottenceau
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2, as
 * published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 *
 ******************************************************************************/

#include <stdio.h>
#include "net.h"
#include "game.h"
#include "tools.h"

int main(int argc, char **argv)
{
        printf("Frozen-Bubble server version " VERSION " (protocol version %d.%d)\n", proto_major, proto_minor);
        printf("\n");
        printf("Copyright (c) 2004-2006 Guillaume Cottenceau.\n");
        printf("This is free software; see the source for copying conditions.  There is NO\n");
        printf("warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n");
        printf("\n");

        create_server(argc, argv);
        daemonize();
        connections_manager();

        return 0;
}

Generated by  Doxygen 1.6.0   Back to index