Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
base_util_server.cpp
Go to the documentation of this file.
1 #include <string>
2 #include <stdlib.h>
3 #include "unit_generic.h"
4 #include "base_util.h"
5 namespace BaseUtil
6 {
7 int Room( std::string text )
8 {
9  return 0;
10 }
11 void Texture( int room, std::string index, std::string file, float x, float y ) {}
12 bool Video( int room, std::string index, std::string file, float x, float y ) { return false; }
13 bool VideoStream( int room, std::string index, std::string file, float x, float y, float w, float h ) { return false; }
14 void PlayVideo( int room, std::string index ) {}
15 void StopVideo( int room, std::string index ) {}
16 void SetDJEnabled( bool enabled ) {}
17 void Ship( int room, std::string index, QVector pos, Vector Q, Vector R ) {}
18 void Link( int room, std::string index, float x, float y, float wid, float hei, std::string text, int to )
19 {
20  LinkPython( room, index, "", x, y, wid, hei, text, to );
21 }
22 void LinkPython( int room,
23  std::string index,
24  std::string pythonfile,
25  float x,
26  float y,
27  float wid,
28  float hei,
29  std::string text,
30  int to ) {}
31 void Launch( int room, std::string index, float x, float y, float wid, float hei, std::string text )
32 {
33  LaunchPython( room, index, "", x, y, wid, hei, text );
34 }
35 void LaunchPython( int room,
36  std::string index,
37  std::string pythonfile,
38  float x,
39  float y,
40  float wid,
41  float hei,
42  std::string text ) {}
43 void EjectPython( int room, std::string index, std::string pythonfile, float x, float y, float wid, float hei,
44  std::string text ) {}
45 void Comp( int room, std::string index, float x, float y, float wid, float hei, std::string text, std::string modes )
46 {
47  CompPython( room, index, "", x, y, wid, hei, text, modes );
48 }
49 void CompPython( int room,
50  std::string index,
51  std::string pythonfile,
52  float x,
53  float y,
54  float wid,
55  float hei,
56  std::string text,
57  std::string modes ) {}
58 void Python( int room, std::string index, float x, float y, float wid, float hei, std::string text, std::string pythonfile ) {}
59 void Message( std::string text ) {}
60 void EnqueueMessage( std::string text ) {}
61 void EraseLink( int room, std::string index ) {}
62 void EraseObj( int room, std::string index ) {}
63 int GetCurRoom()
64 {
65  return 0;
66 }
67 int GetNumRoom()
68 {
69  return 1;
70 }
71 bool HasObject( int room, std::string index )
72 {
73  return false;
74 }
75 void refreshBaseComputerUI( const class Cargo *carg ) {}
76 }
77