private void UpdateSignPos(int x, int y) { SignLoader.Sign s = signLoader.signs[(int)nSign.Value]; s.yx = (byte)(x + (y << 4)); signLoader.signs[(int)nSign.Value] = s; pMap.Invalidate(); }
private void nText_ValueChanged(object sender, EventArgs e) { SignLoader.Sign s = signLoader.signs[(int)nSign.Value]; s.text = (byte)nText.Value; signLoader.signs[(int)nSign.Value] = s; }
private void nMap_ValueChanged(object sender, EventArgs e) { SignLoader.Sign s = signLoader.signs[(int)nSign.Value]; s.map = (byte)nMap.Value; signLoader.signs[(int)nSign.Value] = s; }