Examples of BCDynamicTexture


Examples of buildcraft.core.BCDynamicTexture

    xSize = 256;
    ySize = 220;

    zonePlan = iZonePlan;

    getContainer().mapTexture = new BCDynamicTexture(mapWidth, mapHeight);
    getContainer().mapTexture.createDynamicTexture();

    currentSelection = new BCDynamicTexture(mapWidth, mapHeight);
    currentSelection.createDynamicTexture();

    newSelection = new BCDynamicTexture(1, 1);
    newSelection.createDynamicTexture();

    getContainer().currentAreaSelection = new ZonePlan();

    cx = zonePlan.xCoord;
View Full Code Here

Examples of buildcraft.core.BCDynamicTexture

      refreshSelectedArea();
    } else if (carac == 'm') {
      mapWidth = 200;
      mapHeight = 100;

      getContainer().mapTexture = new BCDynamicTexture(mapWidth, mapHeight);
      getContainer().mapTexture.createDynamicTexture();

      currentSelection = new BCDynamicTexture(mapWidth, mapHeight);
      currentSelection.createDynamicTexture();

      uploadMap();
      refreshSelectedArea();
      container.inventorySlots = inventorySlots;
      buttonList = savedButtonList;
    } else if (carac == 'M') {
      mapWidth = this.mc.displayWidth;
      mapHeight = this.mc.displayHeight;

      getContainer().mapTexture = new BCDynamicTexture(mapWidth, mapHeight);
      getContainer().mapTexture.createDynamicTexture();

      currentSelection = new BCDynamicTexture(mapWidth, mapHeight);
      currentSelection.createDynamicTexture();

      uploadMap();
      refreshSelectedArea();
      container.inventorySlots = new LinkedList();
View Full Code Here

Examples of buildcraft.core.BCDynamicTexture

    gui.refreshSelectedArea();
  }

  @RPC(RPCSide.SERVER)
  private void computeMap(int cx, int cz, int width, int height, int blocksPerPixel, RPCMessageInfo info) {
    mapTexture = new BCDynamicTexture(width, height);

    int startX = cx - width * blocksPerPixel / 2;
    int startZ = cz - height * blocksPerPixel / 2;

    for (int i = 0; i < width; ++i) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.