Plans for open source?

Started by WMP, December 15, 2013, 10:45:41 AM

Previous topic - Next topic

bleedo

Quote from: WorldOfIllusion on April 29, 2014, 08:03:14 PM
Plus, this will stop me having to request simple snippets of code that don't decompile properly (which i'm sure would be greatly appreciated)!

Like all the jobdrivers. :)


namespace AI
{
  public class JobDriver_Goto : JobDriver
  {
    public JobDriver_Goto(Pawn pawn)
      : base(pawn)
    {
    }

    [DebuggerHidden]
    protected override IEnumerable<Toil> MakeNewToils()
    {
      // ISSUE: object of a compiler-generated type is created
      // ISSUE: variable of a compiler-generated type
      JobDriver_Goto.\u003CMakeNewToils\u003Ec__Iterator49 toilsCIterator49 = new JobDriver_Goto.\u003CMakeNewToils\u003Ec__Iterator49()
      {
        \u003C\u003Ef__this = this
      };
      int num = -2;
      // ISSUE: reference to a compiler-generated field
      toilsCIterator49.\u0024PC = num;
      return (IEnumerable<Toil>) toilsCIterator49;
    }
  }
}

sparda666

Quote from: Tynan on April 29, 2014, 06:50:59 PMI have 0% unit test coverage
For shame...
Honestly this makes me feel a bit a bit better at my own coding practices.

Tynan

Well, it's not as bad as with some software because just generating the map and running the game for a few seconds tests a ton of functionality.
Tynan Sylvester - @TynanSylvester - Tynan's Blog