Jan 19, 2011 at 4:16 PM
Edited Jan 19, 2011 at 4:21 PM
The Source Code Files linked into the Rawr4.sln solution and the Rawr4.WPF.sln solution are the ones you need to worry about. None of the other .sln files you see anywhere else in the entire SVN matter. Reason being: they are for Rawr2 or Rawr3 which is
all WotLK builds.
The actual .cs files you need may be linked in from the following places:
- .\Rawr.Retribution\filename.cs (This is the Rawr2 file)
The hierarchy of what files are correct is in the same order. Rawr4 is a for-sure Cataclysm file. Rawr3 and Rawr2 are older files but we tried to make sure that all files were directly compatible with each other. We shared code heavily between Rawr2 and
Rawr3 for portability. This shared code transitioned into being shared into Rawr4 as well.
Since we shared code, you will see tags like '#if SILVERLIGHT' in the code. The SILVERLIGHT tag is defined in the Rawr3 & Rawr projects, but not in the Rawr2 or Rawr4.WPF projects. You shouldn't actually see it very often as it only really comes into
play with some thread safety points in base and some XML Serialization. If you see tags of '#if RAWR3 || RAWR3' that was a separation between Rawr2 and Rawr3 (we did replace alls to put the RAWR4 tag on it too when we created that solution file, which was
literally a copy of Rawr3.sln, then making the necessary changes to call it Rawr4).
Rigamonk, if you have added in additional files beyond what was there when you started working from the Rawr2 and/or Rawr3 project folders, you probably linked something in that you didn't need to and should drop those files. If you need to make new files,
make them in the Rawr4 folders and include them in Rawr4.sln and Rawr4.WPF.sln. If you want to bring up the files from Rawr2 or Rawr3 to the Rawr4 directory so that you are only working in one directory you can, but of course only grab what you need and then
change how they are linked into the project. and ALWAYS ALWAYS make sure code fully compiles when checking in. If you add/move/delete files, make sure that that gets into the commit. Sometimes people add files to a project but then don't check them in.
NOTE: We WILL be taking this stuff down to reduce confusion and simplify the SVN, BUT that's a pain in the ass and there are a lot of repercussions with making those changes, deleting files, etc. We want to get Rawr4 working in all models first, at least
to a Mostly status. There are 10 models that still need to be brought up to Mostly from either Non or Partially.