Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/network/src/subprojects/network/network_unit_test.cc @ 5580

Last change on this file since 5580 was 5580, checked in by bensch, 18 years ago

orxonox/branches/network: fixed makefiles
created working subproject network

File size: 761 bytes
Line 
1
2#include "stdlibincl.h"
3#include <stdarg.h>
4#include <stdio.h>
5#include "shell_buffer.h"
6
7
8#include "network_manager.h"
9
10int verbose = 4;
11
12
13int startHelp(int argc, char** argv)
14{}
15
16/**
17 *
18 *  main function
19 *
20 * here the journey begins
21 */
22int main(int argc, char** argv)
23{
24  // here the pre-arguments are loaded, these are needed to go either to orxonx itself, Help, or Benchmark.
25  int i;
26  for(i = 1; i < argc; ++i)
27  {
28    if(! strcmp( "--help", argv[i]) || !strcmp("-h", argv[i])) return startHelp(argc, argv);
29    //else if(!strcmp( "--gui", argv[i]) || !strcmp("-g", argv[i])) showGui = true;
30  }
31
32  new NetworkManager();
33
34  return 0;
35}
36
37
38bool ShellBuffer::addBufferLineStatic(const char* line, ...)
39{
40  va_list arguments;
41  vprintf(line, arguments);
42
43}
Note: See TracBrowser for help on using the repository browser.