ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/trunk/RenegadeMapSelector/RenegadeMapSelector.cpp
(Generate patch)

Comparing trunk/RenegadeMapSelector/RenegadeMapSelector.cpp (file contents):
Revision 74 by douglas, 2003-03-13T13:05:06-08:00 vs.
Revision 75 by douglas, 2003-03-13T14:12:42-08:00

# Line 4 | Line 4
4   //
5   // RenegadeMapSelector.cpp
6  
7 + #include "RenegadeMapSelector.h"
8 + #include "RenegadeConfig.h"
9 +
10   #ifdef _WIN32
11   #include <io.h>
12   #include <fcntl.h>
13   #include "resource.h"
14 + #else
15 + #include "gtk/gtk.h"
16   #endif
17  
13 #include "RenegadeMapSelector.h"
14 #include "RenegadeConfig.h"
15
18   bool debug = false;
19   string program;
20   RenegadeConfig* config;
# Line 76 | Line 78 | int WINAPI WinMain(HINSTANCE hInstance,
78   #else
79   int main(int argc, char* argv[])
80   {
81 +        gtk_init(&argc, &argv);
82   #endif
83  
84          string error;
# Line 128 | Line 131 | int main(int argc, char* argv[])
131  
132   #ifdef _WIN32
133          DialogBox(hInstance, MAKEINTRESOURCE(IDD_MAP_SELECTOR), NULL, selector);
134 + #else
135 +        gtk_main();
136   #endif
137  
138          delete config;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines