Changes A11 to A12

Started by Haplo, August 22, 2015, 01:53:58 PM

Previous topic - Next topic

Haplo

Here is a list of a few of the changes in the C# code between a11 and a12 that I've found so far.
  • pawn.playercontroler -> pawn.drafter
  • Find.UIRoot.Map -> Find.WindowStack
  • LayerWindow -> Window - DoWindowContent
  • pawn.playercontroller.AreaAllowed -> pawn.playerSettings.AreaRestrictions
  • GenCellfinder.RandomStandableClosewalkCellNear -> CellFinder.RandomClosewalkCellNear
  • Find.HomeArea.Grid -> Find.AreaHome
  • pawn.Name.StringFull -> pawn.Name.ToStringFull
  • TryFindRandomCellNearWith(...) -> CellFinder.TryFindRandomReachableCellNear(...)
  • GenCellFinder.RandomStandableClosewalkCellNear -> CellFinder.RandomClosewalkCellNear
  • pawn.kindDef.pointsCost -> pawn.kindDef.combatPower
  • pawn.carryHand -> pawn.carrier

skyarkhangel

#1
AwareOf -> AwareOfAnimal
harvestYieldRange -> harvestYield
LayerStack -> WindowStack
Layer_FloatMenu -> FloatMenu
winRect -> currentWindowRect
FillWindow -> DoWindowContents
PreRemove -> PreClose

Wivex

OTabs -> MainTabWindows
Also have it's own defs now in MainTabDefs folder/

isistoy

Haplo,

liking your topic a lot, could we make it a sticky, or sthg?

Sky found another change: WorkGiver base class doesn't have virtual methods like PotentialWorkThingRequest and so on.
We should now use WorkGiver_Scanner instead.

<Stay on the scene like a State machine>

isistoy

med ops have changed and it seems we have these now:

<Stay on the scene like a State machine>

NoImageAvailable

A13 is upon us, unstickied.
"The power of friendship destroyed the jellyfish."