-=Biohazard=- wrote:I know about a few people who tried it and gave up really fast, maybe because they have been spammed with errors after copy and pasting it...
Like Gary said, non-coders would probably have trouble with this - you need to understand the compiler errors you'd get if you want to fix them.
But anyway, this should be super simple to port imho. Especially considering that the materialsystem is based on the 2007 one. If that wasn't the case, there'd be a high potential for a lot of shader work to do...
Regarding the shader stuff, take the vanilla shaderlib.lib from 2007 and the keep the rest. Any compile errors should be simple to fix. For the client/server you can keep all the files and simply fix any occuring errors except for viewrender_deferred.cpp. That file is entirely different and it would make more sense to take the 2007 viewrender file and re-implement the deferred stuff, diff viewrender_deferred with the swarm viewrender file to do so efficiently.
- Regarding the shader stuff: Checked for a shaderlib.lib in my 2007 directories, nothing to be found. Okay on this front?
- viewrender_deferred.cpp: both your [src\game\client\deferred] viewrender_deferred.cpp and your [src\game\client] viewrender.cpp appear to have deferred rendering code within them, so colour me a little bit confused as to which of these files I'm supposed to be following the lead of when modifying the 2007 viewrender [src\game\client]. I figure the latter was superseded by the former, but it doesn't hurt to be sure.
- Not sure what you mean by diff, I assume it's some kind of side-by-side comparative mode for visual studio .cpps and the like? Once I get this running, I presume there are Alien Swarm-specific bits of code I'm looking to try not to duplicate here?
- How difficult would it be to port the editor menus as well? Used them briefly in the swarm mod and they're mighty handy.
Haven't got to moving files around yet, I'm being cautious and backing up anything I'm touching here (as well as getting clarification on everything dumb that comes to mind


). Just omit all of that in my baseworldview because 2007 does not even support that flag.





