SHARE
TWEET

Untitled

a guest Jan 16th, 2020 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /** STYLE 1 */
  2.     /* Maybe change to water */
  3.     switch (wc) {
  4.         case WATER_CLASS_SEA:   MakeSea(tile);                break;
  5.         case WATER_CLASS_CANAL: MakeCanal(tile, o, Random()); if (river) SetCanalOnRiver(tile); break;
  6.         case WATER_CLASS_RIVER: MakeRiver(tile, Random());    break;
  7.         default: break;
  8.     }
  9.  
  10. /** STYLE 2 */
  11.     /* Maybe change to water */
  12.     switch (wc) {
  13.         case WATER_CLASS_SEA:   MakeSea(tile);                break;
  14.         case WATER_CLASS_CANAL:
  15.             MakeCanal(tile, o, Random());
  16.             if (river) SetCanalOnRiver(tile);
  17.             break;
  18.         case WATER_CLASS_RIVER: MakeRiver(tile, Random());    break;
  19.         default: break;
  20.     }
  21.  
  22. /** STYLE 3 */
  23.     /* Maybe change to water */
  24.     switch (wc) {
  25.         case WATER_CLASS_SEA:
  26.             MakeSea(tile);
  27.             break;
  28.  
  29.         case WATER_CLASS_CANAL:
  30.             MakeCanal(tile, o, Random());
  31.             if (river) SetCanalOnRiver(tile);
  32.             break;
  33.  
  34.         case WATER_CLASS_RIVER:
  35.             MakeRiver(tile, Random());
  36.             break;
  37.  
  38.         default:
  39.             break;
  40.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top