mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-15 04:22:27 -04:00
* Addition of the basic Games Launcher - used to organise networked games with peers.
* New external interface for launcher (rsiface/rsgame.h) * changed pqiservice type Ids from int -> uint32_t. * added NO_DELETE option to pqistreamer. * added HASHDATA flag for BinInterfaces git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@301 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
ad8562467f
commit
0712590a99
13 changed files with 1527 additions and 12 deletions
|
@ -9,7 +9,7 @@ OBJ = pqistrings.o \
|
|||
p3face-network.o \
|
||||
p3face-startup.o \
|
||||
rstypes.o \
|
||||
rsiface.o \
|
||||
rsiface.o
|
||||
|
||||
TESTS =
|
||||
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
#include "services/p3disc.h"
|
||||
#include "services/p3msgservice.h"
|
||||
#include "services/p3chatservice.h"
|
||||
#include "services/p3gamelauncher.h"
|
||||
|
||||
#include <list>
|
||||
#include <string>
|
||||
|
@ -52,6 +53,7 @@
|
|||
|
||||
#include "pqi/pqidebug.h"
|
||||
#include "rsserver/p3face.h"
|
||||
#include "rsiface/rsgame.h"
|
||||
|
||||
const int p3facestartupzone = 47238;
|
||||
|
||||
|
@ -496,10 +498,15 @@ int RsServer::StartupRetroShare(RsInit *config)
|
|||
ad = new p3disc(sslr);
|
||||
msgSrv = new p3MsgService();
|
||||
chatSrv = new p3ChatService();
|
||||
p3GameLauncher *gameLauncher = new p3GameLauncher();
|
||||
|
||||
pqih -> addService(ad);
|
||||
pqih -> addService(msgSrv);
|
||||
pqih -> addService(chatSrv);
|
||||
pqih -> addService(gameLauncher);
|
||||
|
||||
/* setup the gui */
|
||||
rsGameLauncher = gameLauncher;
|
||||
|
||||
/* put a welcome message in! */
|
||||
if (config->firsttime_run)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue