git repos / blockattack-game

blame: source/code/uploadReplay.h

normal view · raw

78d03b38 sago007 2008-11-13 19:56 1
/*
78d03b38 sago007 2008-11-13 19:56 2
Block Attack - Rise of the Blocks, SDL game, besed on Nintendo's Tetris Attack
78d03b38 sago007 2008-11-13 19:56 3
Copyright (C) 2008 Poul Sander
78d03b38 sago007 2008-11-13 19:56 4
78d03b38 sago007 2008-11-13 19:56 5
    This program is free software; you can redistribute it and/or modify
78d03b38 sago007 2008-11-13 19:56 6
    it under the terms of the GNU General Public License as published by
78d03b38 sago007 2008-11-13 19:56 7
    the Free Software Foundation; either version 2 of the License, or
78d03b38 sago007 2008-11-13 19:56 8
    (at your option) any later version.
78d03b38 sago007 2008-11-13 19:56 9
78d03b38 sago007 2008-11-13 19:56 10
    This program is distributed in the hope that it will be useful,
78d03b38 sago007 2008-11-13 19:56 11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
78d03b38 sago007 2008-11-13 19:56 12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
78d03b38 sago007 2008-11-13 19:56 13
    GNU General Public License for more details.
78d03b38 sago007 2008-11-13 19:56 14
78d03b38 sago007 2008-11-13 19:56 15
    You should have received a copy of the GNU General Public License
78d03b38 sago007 2008-11-13 19:56 16
    along with this program; if not, write to the Free Software
78d03b38 sago007 2008-11-13 19:56 17
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
78d03b38 sago007 2008-11-13 19:56 18
78d03b38 sago007 2008-11-13 19:56 19
    Poul Sander
78d03b38 sago007 2008-11-13 19:56 20
    R�vehjvej 36, V. 1111
78d03b38 sago007 2008-11-13 19:56 21
    2800 Kgs. Lyngby
78d03b38 sago007 2008-11-13 19:56 22
    DENMARK
78d03b38 sago007 2008-11-13 19:56 23
    blockattack@poulsander.com
78d03b38 sago007 2008-11-13 19:56 24
    http://blockattack.sf.net
78d03b38 sago007 2008-11-13 19:56 25
*/
78d03b38 sago007 2008-11-13 19:56 26
89c4a3a6 sago007 2008-08-29 14:32 27
// 
89c4a3a6 sago007 2008-08-29 14:32 28
// File:   uploadReplay.h
89c4a3a6 sago007 2008-08-29 14:32 29
// Author: poul
89c4a3a6 sago007 2008-08-29 14:32 30
//
89c4a3a6 sago007 2008-08-29 14:32 31
// Created on 26. februar 2008, 00:12
89c4a3a6 sago007 2008-08-29 14:32 32
//
89c4a3a6 sago007 2008-08-29 14:32 33
89c4a3a6 sago007 2008-08-29 14:32 34
#ifndef _UPLOADREPLAY_H
89c4a3a6 sago007 2008-08-29 14:32 35
#define	_UPLOADREPLAY_H
89c4a3a6 sago007 2008-08-29 14:32 36
89c4a3a6 sago007 2008-08-29 14:32 37
#define HIGHSCORESERVER http://localhost/~poul/blockattackHighscores/result/
89c4a3a6 sago007 2008-08-29 14:32 38
89c4a3a6 sago007 2008-08-29 14:32 39
#include <curl/curl.h>
89c4a3a6 sago007 2008-08-29 14:32 40
#include "SDL.h"
89c4a3a6 sago007 2008-08-29 14:32 41
89c4a3a6 sago007 2008-08-29 14:32 42
using namespace std;
89c4a3a6 sago007 2008-08-29 14:32 43
89c4a3a6 sago007 2008-08-29 14:32 44
SDL_mutex *mutDownload,*mutUpload;
89c4a3a6 sago007 2008-08-29 14:32 45
89c4a3a6 sago007 2008-08-29 14:32 46
bool uploadReplay_canUpload();
89c4a3a6 sago007 2008-08-29 14:32 47
    
89c4a3a6 sago007 2008-08-29 14:32 48
void uploadReplay_upload();
89c4a3a6 sago007 2008-08-29 14:32 49
    
89c4a3a6 sago007 2008-08-29 14:32 50
    
89c4a3a6 sago007 2008-08-29 14:32 51
class OnlineHighscores
89c4a3a6 sago007 2008-08-29 14:32 52
{
89c4a3a6 sago007 2008-08-29 14:32 53
    
89c4a3a6 sago007 2008-08-29 14:32 54
};
89c4a3a6 sago007 2008-08-29 14:32 55
89c4a3a6 sago007 2008-08-29 14:32 56
#endif	/* _UPLOADREPLAY_H */
89c4a3a6 sago007 2008-08-29 14:32 57
1970-01-01 00:00 58