From 8898ad9b25fca6afe2374d293a981db02a83d7e9 Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Thu, 31 May 2012 14:46:27 +0000 Subject: Committing the documentation to svn to have it accessible online --- Doc/doxygen/html/_intel_8cpp_source.html | 163 +++++++++++++++++++++++++++++++ 1 file changed, 163 insertions(+) create mode 100644 Doc/doxygen/html/_intel_8cpp_source.html (limited to 'Doc/doxygen/html/_intel_8cpp_source.html') diff --git a/Doc/doxygen/html/_intel_8cpp_source.html b/Doc/doxygen/html/_intel_8cpp_source.html new file mode 100644 index 0000000..292fcfe --- /dev/null +++ b/Doc/doxygen/html/_intel_8cpp_source.html @@ -0,0 +1,163 @@ + + + + + +Starshatter_Open: D:/SRC/StarshatterSVN/Stars45/Intel.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
Starshatter_Open +
+
Open source Starshatter engine
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
Intel.cpp
+
+
+Go to the documentation of this file.
1 /* Project Starshatter 4.5
+
2  Destroyer Studios LLC
+
3  Copyright © 1997-2004. All Rights Reserved.
+
4 
+
5  SUBSYSTEM: Stars.exe
+
6  FILE: Intel.cpp
+
7  AUTHOR: John DiCamillo
+
8 
+
9 
+
10  OVERVIEW
+
11  ========
+
12  An element in the dynamic campaign
+
13 */
+
14 
+
15 #include "MemDebug.h"
+
16 #include "Intel.h"
+
17 
+
18 #include "Game.h"
+
19 #include "DataLoader.h"
+
20 
+
21 // +--------------------------------------------------------------------+
+
22 
+
23 static const char* intel_name[] = {
+
24  "",
+
25  "Reserve",
+
26  "Secret",
+
27  "Known",
+
28  "Located",
+
29  "Tracked",
+
30 };
+
31 
+
32 const char*
+ +
34 {
+
35  return intel_name[intel];
+
36 }
+
37 
+
38 int
+
39 Intel::IntelFromName(const char* type_name)
+
40 {
+
41  for (int i = RESERVE; i <= TRACKED; i++)
+
42  if (!_stricmp(type_name, intel_name[i]))
+
43  return i;
+
44 
+
45  return 0;
+
46 }
+
+
+ + + + -- cgit v1.1