Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: vyper on December 18, 2002, 02:48:22 pm
-
What happened? Why is the thread un-stickified? I just wanna know the progress.
-
inqui unsticked it
its basically done for now... just need a launcher so we can do registry stuff (which is ready)
-
Yeah, what phreak said :)
-
Originally posted by PhReAk
inqui unsticked it
its basically done for now... just need a launcher so we can do registry stuff (which is ready)
What registry info would be needed for OpenGL mode? In other words, what would the registry code look for?
-
look for "OpenGL -" in the video card string.
-
Originally posted by PhReAk
look for "OpenGL -" in the video card string.
Does that mean it will not check for resolution info as Glide and D3D do? The launcher I've been working on is currently setup to do the following types:
3DFX Glide (640x480)
3DFX Glide (1024x768)
Direct 3D - Primary Display Driver (640x480)
Direct 3D - Primary Display Driver (1024x768)
Software (640x480)
OpenGL (640x480)
OpenGL (1024x768)
(I intend to remove the "Primary Display Driver" part for D3D since the game doesn't look for it. I also and no idea what would happen if you had a computer with 2 active video cards.)
-
you forgot (32 bit)
-
When I made the list, I made it from what my own computer listed as options and assumptions about what other options would be. As I have a Voodoo 3, 32-bit never showed up. Does OpenGL mode check for 32-bit? Glide I'm pretty sure doesn't but can check in the original code I have, D3D I assume would, and for software it doesn't really matter much what you use. Having just gotten VC6 Intro edition I'll be trying to get the current code myself, but haven't gotten WinCVS yet and am not sure how much I'll get done before Christmas.
-
"(32 bit)" must be in the launcher string
-
oh and software will not be supported period once i get a fred2 in hardware mode
-
What exacly is the final form of the string?
OpenGL- (640x480) (32 bit) ?
-
Direct 3D - Primary Display Driver (32 bit) (1024x768)
-
Hence my confusion.
Same form for the OGL?
-
yea
-
Code wise, the actual order is irrelevant. You could do: 32 bit OpenGL - (640x480) and it would still work. (It uses strstr() to check for the bits it recognizes.) Using the style already established will make it easier to read. (It's quite a list now.)
Direct 3D - Primary Display Driver (640x480)
Direct 3D - Primary Display Driver (32 bit) (640x480)
Direct 3D - Primary Display Driver (1024x768)
Direct 3D - Primary Display Driver (32 bit) (1024x768)
OpenGL - Primary Display Driver (640x480)
OpenGL - Primary Display Driver (32 bit) (640x480)
OpenGL - Primary Display Driver (1024x768)
OpenGL - Primary Display Driver (32 bit) (1024x768)
3DFX Glide (640x480)
3DFX Glide (1024x768)
Software (640x480)
Yes, I left software in there. Even if the code for it is commented out in 3.4+, the original exe and versions prior to 3.4 are capable of using it. (And for me Software mode still beats OpenGL, which apparently won't even load in textures on a Voodoo 3, which no driver "updates" has fixed.)
-
The latest fs2_open codebase does not have the stuff in the "gl" folder...
#include "gl/gl.h"
#include "gl/glu.h"
#include "gl/glext.h"
I get a fatal error because I can't compile the thing. Can comeone commit the gl folder, please?
-
its a subfolder in the "graphics" folder
-
Hmm, yes, I see it on the website. For some reason, it isn't coming up on CVS. :wtf:
-
change the first two to
#include
#include
and get this file for glext.h
http://fs2source.warpcore.org/ogl/Glext.zip
-
Why - are those more up-to-date?
I did a re-checkout into a temporary folder, then got the GL folder and dumped it into graphics. Then it worked. But I'm not sure why it didn't work before.
-
those are the files that come with VC6.
DTP didn't have those so I put them on cvs