Loading

Paste #prejuogn9

  1. [TXT] docs/readme.txt
  2. /bin/sh: -c: line 0: syntax error near unexpected token `('
  3. /bin/sh: -c: line 0: `[ -z "unix2dos" ] || unix2dos unix2dos 7.3.2 (2015-11-20) MSYS version. Without Unicode UTF-16 support. With native language support. LOCALEDIR: /usr/share/locale http://waterlan.home.xs4all.nl/dos2unix.html -q docs/readme.txt'
  4. make: *** [docs/readme.txt] Error 2
  5. make: *** Deleting file `docs/readme.txt'

Paste #px8jhisd5

  1. C:\Users\Leanden\Desktop\dev>make -n
  2. [ -f .version ] && [ "`cat .version`" = "r-1" ] || echo r-1 > .version
  3. echo "[TXT] docs/readme.txt"
  4. cat docs/readme.ptxt \
  5.                 | sed -e "s/{{GRF_TITLE}}/BRTrains r-1/" \

Paste #pwhynemkg

  1. [ -f .version ] && [ "`cat .version`" = "r-1" ] || echo r-1 > .version
  2. echo "[MD5] BRTrains.md5"
  3. md5sum BRTrains.grf | sed "s/  / /;s/ /  /" > BRTrains.md5
  4. cat: BRTrains.md5: No such file or directory
  5. echo "[TXT] docs/readme.txt"

Paste #pasvxuszs

  1. // BRTrains
  2. // BRTrains.pnml
  3. //
  4. //============================================================
  5. // MAIN FILE

Paste #pwdejvohy

  1. enum ScriptSlotFlags {
  2.     SST_GAMEMODE   = 0x1,  ///< _game_mode == GM_NORMAL or _game_mode != GM_NORMAL
  3.     SST_SLOT       = 0x2,  ///< slot == OWNER_DEITY or slot != OWNER_DEITY
  4.     SST_GSSTATE    = 0x4,  ///< Game::GetInstance()->IsDead() or !Game::GetInstance()->IsDead()
  5.     SST_AICOMPANY  = 0x8,  ///< Company::IsValidAiID(slot) or !Company::IsValidAiID(slot)

Paste #pbh42bouj

  1. enum ScriptSlotFlags {
  2.     SST_GAMEMODE   = 0x1,  ///< _game_mode == GM_NORMAL or _game_mode != GM_NORMAL
  3.     SST_SLOT       = 0x2,  ///< slot == OWNER_DEITY or slot != OWNER_DEITY
  4.     SST_GSSTATE    = 0x4,  ///< Game::GetInstance()->IsDead() or !Game::GetInstance()->IsDead()
  5.     SST_AICOMPANY  = 0x8,  ///< Company::IsValidAiID(slot) or !Company::IsValidAiID(slot)

Paste #px2mrnq7q

  1. enum ScriptSlotFlags {
  2.     SCRIPTSLOT_NONE                         = 0,                                             ///< No Company or Game Script started in this slot
  3.     SCRIPTSLOT_HU_STARTED                   = 1,                                             ///< Human Company started in this slot
  4.     SCRIPTSLOT_AI_STARTED                   = 2,                                             ///< AI Company started in this slot
  5.     SCRIPTSLOT_GS_STARTED                   = 3,                                             ///< Game Script started in this slot

Paste #p65cplx9w

  1. enum ScriptSlotFlags {
  2.     SCRIPTSLOT_NONE                         = 0, ///<
  3.     SCRIPTSLOT_HU_STARTED                   = 1, ///<
  4.     SCRIPTSLOT_AI_STARTED                   = 2, ///<
  5.     SCRIPTSLOT_GS_STARTED                   = 3, ///<

max_no_competitors = 15 v

  1. Index: src/ai/ai_core.cpp
  2. ===================================================================
  3. --- src/ai/ai_core.cpp  (revision 27550)
  4. +++ src/ai/ai_core.cpp  (working copy)
  5. @@ -62,6 +62,7 @@

Paste #pwi7oodo8

  1. frosch@lagune:~/daten/ottd/gs/SiliconValley$ make bananas
  2. [BaNaNaS]
  3. packaging files... (might take a while)
  4. Please enter your username: frosch
  5. Please enter your password:

Paste #pbq4jucs7

  1.     virtual void OnClick(Point pt, int widget, int click_count)
  2.     {
  3.         if (widget >= WID_AIC_TEXTFILE && widget < WID_AIC_TEXTFILE + TFT_END) {
  4.             if (this->selected_slot == INVALID_COMPANY || GetConfig(this->selected_slot) == NULL) return;

Paste #pdzyemlyo

  1. /* shortened line */
  2. bool editable = _game_mode != GM_NORMAL || (this->slot != OWNER_DEITY && (!Company::IsValidAiID(this->slot) || Company::Get(this->slot)->ai_instance->IsDead())) || (this->slot == OWNER_DEITY && Game::GetInstance()->IsDead()) || (config_item.flags & SCRIPTCONFIG_INGAME) != 0;
  3.  
  4. /* full blunt line */
  5. bool editable = _game_mode != GM_NORMAL || (_game_mode == GM_NORMAL && this->slot == OWNER_DEITY && Game::GetInstance()->IsDead()) || (_game_mode == GM_NORMAL && this->slot == OWNER_DEITY && !Game::GetInstance()->IsDead() && (config_item.flags & SCRIPTCONFIG_INGAME) != 0) || (_game_mode == GM_NORMAL && this->slot != OWNER_DEITY && !Company::IsValidID(thi

Paste #pnchdlx6n

  1. bool editable = _game_mode != GM_NORMAL || (_game_mode == GM_NORMAL && this->slot == OWNER_DEITY && Game::GetInstance()->IsDead()) || (_game_mode == GM_NORMAL && this->slot == OWNER_DEITY && !Game::GetInstance()->IsDead() && (config_item.flags & SCRIPTCONFIG_INGAME) != 0) || (_game_mode == GM_NORMAL && this->slot != OWNER_DEITY && !Company::IsValidID(this->slot)) || (_game_mode == GM_NORMAL && this->slot != OWNER_DEITY && Company::IsValidAiID(this->slot) && Company::Get(this->slot)->ai_instance->IsDead()) || (_game_mode == GM_NORMAL && this->slot != OWNER_DEITY && Company::IsValidAiID(this->slot) && !Company::Get(this->slot)->ai_instance->IsDead() && (config_item.flags &

Paste #pudxpqhgr

  1. bool editable = _game_mode != GM_NORMAL || (_game_mode == GM_NORMAL && this->slot == OWNER_DEITY && Game::GetInstance()->IsDead()) || (_game_mode == GM_NORMAL && this->slot == OWNER_DEITY && !Game::GetInstance()->IsDead() && (config_item.flags & SCRIPTCONFIG_INGAME) != 0) || (_game_mode == GM_NORMAL && this->slot != OWNER_DEITY && !Company::IsValidID(this->slot)) || (_game_mode == GM_NORMAL && this->slot != OWNER_DEITY && Company::IsValidAiID(this->slot) && Company::Get(this->slot)->ai_instance->IsDead()) || (_game_mode == GM_NORMAL && this->slot != OWNER_DEITY && Company::IsValidAiID(this->slot) && !Company::Get(this->slot)->ai_instance->IsDead() && (config_item.flags &

Paste #p7c0lr2u8

  1. /* Find out which parameters are editable */
  2. _game_mode != GM_NORMAL // not in a game, and thus, editable
  3. _game_mode == GM_NORMAL // in a game, orange, red and green have parameters, check if they're AI or GS
  4.  
  5. this->slot != OWNER_DEITY // it's an AI slot, check if it's orange, red or green