Bazaar developer reference

plotXY(int, int, int, int)

Defined in
CvGameCoreUtils.h, line 192
Not a hook point
written in a header

Code

192inline CvPlot* plotXY(int iX, int iY, int iDX, int iDY)193{194	// convert the start coord to hex-space coordinates195	int iStartHexX = xToHexspaceX(iX, iY);196197	int iPlotHexX = iStartHexX + iDX;198	int iPlotY = iY + iDY; // Y is the same in both coordinate systems199200	// convert from hex-space coordinates to the storage array201	iPlotHexX = hexspaceXToX(iPlotHexX, iPlotY);202203	return GC.getMap().plot(iPlotHexX , iPlotY);204}

Calls

Called by