/[Sims3RigEditor]/trunk/GR2RigEditor/GR2RigEditor.cpp
ViewVC logotype

Contents of /trunk/GR2RigEditor/GR2RigEditor.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 49 - (show annotations) (download)
Sun Aug 8 07:43:37 2010 UTC (10 years, 6 months ago) by william
File size: 692 byte(s)
continue support for ST3C textures...

Have BGR ST3C Texture Colors somwhate correct.
BGRA, still having problems with colors & alpha bein applied when there is no alpha

1 // GR2RigEditor.cpp : main project file.
2 #include <assert.h>
3 #include "granny.h"
4 #include "..\gr2lib_cpp\guicon.h"
5 #include "..\gr2lib_cpp\gr2lib_rigeditor_frm.h"
6
7 using namespace System::Diagnostics;
8
9 [STAThreadAttribute]
10 int main(array<System::String ^> ^args)
11 {
12 // Enabling Windows XP visual effects before any controls are created
13 Application::EnableVisualStyles();
14 Application::SetCompatibleTextRenderingDefault(false);
15 try
16 {
17 AttachConsole_();
18 // Create the main window and run it
19 Application::Run(gcnew gr2lib_rigeditor_frm());
20 FreeConsole_();
21 }
22 catch(Exception^ ex)
23 {
24 System::Diagnostics::Debug::WriteLine(ex->ToString());
25 }
26 return 0;
27 }

  ViewVC Help
Powered by ViewVC 1.1.22