git repos / blockattack-game

blame: source/code/uploadReplay.h

normal view · raw

78d03b38 sago007 2008-11-13 19:56 1
/*
c53e6443 sago007 2012-04-17 11:04 2
===========================================================================
c53e6443 sago007 2012-04-17 11:04 3
blockattack - Block Attack - Rise of the Blocks
c53e6443 sago007 2012-04-17 11:04 4
Copyright (C) 2005-2012 Poul Sander
c53e6443 sago007 2012-04-17 11:04 5
c53e6443 sago007 2012-04-17 11:04 6
This program is free software: you can redistribute it and/or modify
c53e6443 sago007 2012-04-17 11:04 7
it under the terms of the GNU General Public License as published by
c53e6443 sago007 2012-04-17 11:04 8
the Free Software Foundation, either version 2 of the License, or
c53e6443 sago007 2012-04-17 11:04 9
(at your option) any later version.
c53e6443 sago007 2012-04-17 11:04 10
c53e6443 sago007 2012-04-17 11:04 11
This program is distributed in the hope that it will be useful,
c53e6443 sago007 2012-04-17 11:04 12
but WITHOUT ANY WARRANTY; without even the implied warranty of
c53e6443 sago007 2012-04-17 11:04 13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
c53e6443 sago007 2012-04-17 11:04 14
GNU General Public License for more details.
c53e6443 sago007 2012-04-17 11:04 15
c53e6443 sago007 2012-04-17 11:04 16
You should have received a copy of the GNU General Public License
c53e6443 sago007 2012-04-17 11:04 17
along with this program.  If not, see http://www.gnu.org/licenses/
c53e6443 sago007 2012-04-17 11:04 18
c53e6443 sago007 2012-04-17 11:04 19
Source information and contacts persons can be found at
c53e6443 sago007 2012-04-17 11:04 20
http://blockattack.sf.net
c53e6443 sago007 2012-04-17 11:04 21
===========================================================================
78d03b38 sago007 2008-11-13 19:56 22
*/
78d03b38 sago007 2008-11-13 19:56 23
89c4a3a6 sago007 2008-08-29 14:32 24
89c4a3a6 sago007 2008-08-29 14:32 25
#ifndef _UPLOADREPLAY_H
89c4a3a6 sago007 2008-08-29 14:32 26
#define	_UPLOADREPLAY_H
89c4a3a6 sago007 2008-08-29 14:32 27
89c4a3a6 sago007 2008-08-29 14:32 28
#define HIGHSCORESERVER http://localhost/~poul/blockattackHighscores/result/
89c4a3a6 sago007 2008-08-29 14:32 29
89c4a3a6 sago007 2008-08-29 14:32 30
#include <curl/curl.h>
89c4a3a6 sago007 2008-08-29 14:32 31
#include "SDL.h"
89c4a3a6 sago007 2008-08-29 14:32 32
89c4a3a6 sago007 2008-08-29 14:32 33
using namespace std;
89c4a3a6 sago007 2008-08-29 14:32 34
89c4a3a6 sago007 2008-08-29 14:32 35
SDL_mutex *mutDownload,*mutUpload;
89c4a3a6 sago007 2008-08-29 14:32 36
89c4a3a6 sago007 2008-08-29 14:32 37
bool uploadReplay_canUpload();
c53e6443 sago007 2012-04-17 11:04 38
89c4a3a6 sago007 2008-08-29 14:32 39
void uploadReplay_upload();
c53e6443 sago007 2012-04-17 11:04 40
c53e6443 sago007 2012-04-17 11:04 41
89c4a3a6 sago007 2008-08-29 14:32 42
class OnlineHighscores
89c4a3a6 sago007 2008-08-29 14:32 43
{
c53e6443 sago007 2012-04-17 11:04 44
89c4a3a6 sago007 2008-08-29 14:32 45
};
89c4a3a6 sago007 2008-08-29 14:32 46
89c4a3a6 sago007 2008-08-29 14:32 47
#endif	/* _UPLOADREPLAY_H */
89c4a3a6 sago007 2008-08-29 14:32 48
1970-01-01 00:00 49