How do I view the code?

  • Thread starter Thread starter Matow98
  • Start date Start date
M

Matow98

Guest
I've looked over all the files in the sdk folder and the rest of the folders in the valve folder for the matter and I can't find the actually code. Where is it and how do I view it?
 
If you have created a MOD (using the Play Games->Source SDK->Create a Mod), you can just open any of the .h or .cpp files found in any of the folders inside the 'src' folder of your MOD (for example MyMod\src\dlls\player.cpp) using any text editor (like Notepad.exe for example).

To compile the modified code you will need Microsoft's Visual Studio .NET or Visual Studio 2003.

botman
 
botman said:
To compile the modified code you will need Microsoft's Visual Studio .NET or Visual Studio 2003.

botman
Should it work with the new Express edition ?

And on another note, what file would be good to start in ?
As in being able to make your mod start correctly :p
(Maybe even the location of main() )

Edit:

Even more, why the f*** do we need to buy :devil:
Visual Studio just to program a mod. How many people that build mods have an official version, with a good license (as in : not borrowed from work or something). Honestly, noone could use DevC++ ?
 
I believe that you don't need any specific c++ compiler, any will do. However Microsoft's Visual Studio .NET and Visual Studio 2003 are one of the best. You can use devc++ (I however think dev c++ is a peice of crap :p)
 
I've been doing some checking out on compiling the sdk.

I've found out that it's also possible (theoretically) to compile using the Visual Toolkit, which is free, but is unable to read the solution (.sln) files.

Anyone ever tried to compile (a part of) the sdk with this ?
I'd very much like to try. But I'm kind of lost in general Windows enviroments. (I work mostly in Linux for my work)

Cheers.
 
Back
Top