sb.diff

dfighter, 06/22/2011 10:37 pm

Download (3.3 kB)

b/code/CMakeLists.txt Wed Jun 22 22:31:30 2011 +0200
143 143
ENDIF(WITH_RYZOM)
144 144

  
145 145
IF(WITH_NELNS)
146
#  ADD_SUBDIRECTORY(nelns)
146
  ADD_SUBDIRECTORY(nelns)
147 147
ENDIF(WITH_NELNS)
148 148

  
149 149
IF(WITH_SNOWBALLS)
150
#  ADD_SUBDIRECTORY(snowballs2)
150
  ADD_SUBDIRECTORY(snowballs2)
151 151
ENDIF(WITH_SNOWBALLS)
152 152

  
153 153
IF(WITH_TOOLS)
b/code/snowballs2/CMakeLists.txt Wed Jun 22 22:31:30 2011 +0200
29 29
FIND_PACKAGE(LibXml2 REQUIRED)
30 30
FIND_PACKAGE(PNG REQUIRED)
31 31

  
32
NL_SETUP_BUILD()
33

  
34
FIND_PACKAGE(NeL COMPONENTS nelmisc nelgeorges nel3d nelnet nelpacs REQUIRED)
35
FIND_PACKAGE(NeLNS COMPONENTS naming_service login_service welcome_service nel_launcher_qt)
36

  
37 32
###
38 33
# An example of finding NeL 3D and CEGUI Renderer.
39 34
###
40 35
IF(BUILD_CLIENT)
41 36
  FIND_PACKAGE(FreeType)
42 37
  FIND_PACKAGE(Jpeg)
43
  
44
  IF(ENABLE_SOUND)
45
    FIND_PACKAGE(NeL COMPONENTS nelsound)
46
  ENDIF(ENABLE_SOUND)
47 38
ENDIF(BUILD_CLIENT)
48 39

  
49 40
IF(WIN32)
b/code/snowballs2/client/src/snowballs_client.cpp Wed Jun 22 22:31:30 2011 +0200
70 70
#include "internationalization.h"
71 71
#include "game_time.h"
72 72

  
73
#ifdef NL_OS_WINDOWS
74
#include <Windows.h>
75
#endif
76

  
73 77
using namespace std;
74 78
using namespace NLMISC;
75 79
using namespace NL3D;
b/code/snowballs2/server/chat/src/main.cpp Wed Jun 22 22:31:30 2011 +0200
36 36
// We're using the NeL Service framework, and layer 5
37 37
#include <nel/net/service.h>
38 38

  
39
#ifdef NL_OS_WINDOWS
40
#include <Windows.h>
41
#endif
42

  
39 43

  
40 44
using namespace std;
41 45
using namespace NLMISC;
b/code/snowballs2/server/collision/src/collision_service.cpp Wed Jun 22 22:31:30 2011 +0200
17 17
#include "collision_service.h"
18 18
#include <nel/3d/u_instance_group.h>
19 19

  
20
#ifdef NL_OS_WINDOWS
21
#include <Windows.h>
22
#endif
23

  
24

  
20 25
using namespace SBSERVICE;
21 26
using namespace NLMISC;
22 27
using namespace NLNET;
b/code/snowballs2/server/frontend/src/main.cpp Wed Jun 22 22:31:30 2011 +0200
38 38
#include <map>
39 39
#include <utility>
40 40

  
41
#ifdef NL_OS_WINDOWS
42
#include <Windows.h>
43
#endif
44

  
45

  
41 46
using namespace NLMISC;
42 47
using namespace NLNET;
43 48
using namespace std;
b/code/snowballs2/server/position/src/main.cpp Wed Jun 22 22:31:30 2011 +0200
41 41

  
42 42
#include "physics.h"
43 43

  
44
#ifdef NL_OS_WINDOWS
45
#include <Windows.h>
46
#endif
47

  
44 48

  
45 49
using namespace NLMISC;
46 50
using namespace NLNET;