Thomas Buck 10 years ago
parent
commit
ea926ee57a
4 changed files with 17 additions and 23 deletions
  1. 4
    10
      README.md
  2. 6
    8
      src/OpenRaider.cpp
  3. 5
    5
      src/Render.cpp
  4. 2
    0
      src/Sound.cpp

+ 4
- 10
README.md View File

@@ -4,9 +4,9 @@
4 4
 
5 5
 This project aims to get OpenRaider running in a modern Unix.
6 6
 
7
-## Dependencies
7
+## Building
8 8
 
9
-On Mac OS X 10.9 with [XCode](https://developer.apple.com/xcode/) and [MacPorts](http://www.macports.org) installed, the following should be enough:
9
+On Mac OS X 10.9 with [XCode](https://developer.apple.com/xcode/) and [MacPorts](http://www.macports.org) installed, the following should be enough to get all dependencies:
10 10
 
11 11
     sudo port install libsdl libsdl_ttf cmake
12 12
 
@@ -20,13 +20,7 @@ Also, to get Sound, get [freealut](https://github.com/vancegroup/freealut) and c
20 20
     make
21 21
     sudo make install
22 22
 
23
-+ Linux 2.4.16 SMP kernel (Debian distrobution)
24
-+ GCC 2.95.2 compiler and supporting development packages
25
-+ X11 4.1.0 with X11 development package
26
-+ OpenGL 1.2 core and utils development packages
27
-+ SDL 1.2.1 development package
28
-+ OpenAL 0.0.6 development package
29
-+ libz 1.1.3 development package
23
+Then, just make OpenRaider and run bin/debug/OpenRaider!
30 24
 
31 25
 ## License
32 26
 
@@ -38,4 +32,4 @@ OpenRaider is based on code, specs, and alogrithms from:
38 32
 
39 33
 All code should be GPLed, unless otherwise noted.
40 34
 
41
-Housekeeping by xythobuz.
35
+2013 Housekeeping by xythobuz.

+ 6
- 8
src/OpenRaider.cpp View File

@@ -94,17 +94,15 @@ void killOpenRaiderSingleton()
94 94
 	delete OpenRaider::Instance();
95 95
 
96 96
 #ifdef DEBUG_MEMEORY
97
-	printf("\n\n[Mongoose MEMEORY_DEBUG]\nMemory leak table:\n");
97
+	printf("\n[Mongoose MEMEORY_DEBUG]\nMemory leak table:\n");
98 98
 	dump_memory_report();
99 99
 #endif
100 100
 
101
-	printf("\n\n\tThanks for testing %s\n", VERSION);
102
-	printf("\tPlease file bug reports and submit video card performance\n\n");
103
-	printf("\tBuild date : %s @ %s\n", __DATE__, __TIME__);
104
-	printf("\tBuild host : %s\n", BUILD_HOST);
105
-	printf("\tEmail bugs : mongoose@users.sourceforge.net\n");
106
-	printf("\tWeb site   : http://openraider.sourceforge.net\n\n");
107
-	printf("Thanks for playing\n");
101
+	printf("\nThanks for testing %s\n", VERSION);
102
+	printf("Please file bug reports\n\n");
103
+	printf("Build date: %s @ %s\n", __DATE__, __TIME__);
104
+	printf("Build host: %s\n", BUILD_HOST);
105
+	printf("Web site  : http://github.com/xythobuz/OpenRaider\n");
108 106
 }
109 107
 
110 108
 

+ 5
- 5
src/Render.cpp View File

@@ -486,11 +486,11 @@ void Render::Init(int width, int height, bool fast_card)
486 486
 	}
487 487
 
488 488
 	// Print driver support information
489
-	printf("\n\n\t## GL Driver Info 2 ##\n");
490
-	printf("\tVendor     : %s\n", glGetString(GL_VENDOR));
491
-	printf("\tRenderer   : %s\n", glGetString(GL_RENDERER));
492
-	printf("\tVersion    : %s\n", glGetString(GL_VERSION));
493
-	printf("\tExtensions : %s\n\n\n", (char*)glGetString(GL_EXTENSIONS));
489
+	printf("\n## GL Driver Info ##\n");
490
+	printf("Vendor     : %s\n", glGetString(GL_VENDOR));
491
+	printf("Renderer   : %s\n", glGetString(GL_RENDERER));
492
+	printf("Version    : %s\n\n", glGetString(GL_VERSION));
493
+	//printf("\tExtensions : %s\n\n\n", (char*)glGetString(GL_EXTENSIONS));
494 494
 
495 495
     // Testing for goodies
496 496
 	// Mongoose 2001.12.31, Fixed string use to check for bad strings

+ 2
- 0
src/Sound.cpp View File

@@ -75,6 +75,7 @@ int Sound::init()
75 75
 {
76 76
 	int fd;
77 77
 
78
+#ifndef __APPLE__
78 79
 	fd = open("/dev/dsp", O_RDWR);
79 80
 
80 81
 	if (fd < 0)
@@ -84,6 +85,7 @@ int Sound::init()
84 85
 	}
85 86
 
86 87
 	close(fd);
88
+#endif
87 89
 
88 90
 #ifdef HAVE_OPENAL
89 91
 	alutInit(NULL, 0);

Loading…
Cancel
Save