Loading

Paste #pr2xjzcwr

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

Paste #peaytjfok

  1. Index: src/ai/ai_gui.cpp
  2. ===================================================================
  3. --- src/ai/ai_gui.cpp   (revision 27553)
  4. +++ src/ai/ai_gui.cpp   (working copy)
  5. @@ -675,8 +675,7 @@

Paste #pquxtgg4d

  1. Index: src/ai/ai_gui.cpp
  2. ===================================================================
  3. --- src/ai/ai_gui.cpp   (revision 27553)
  4. +++ src/ai/ai_gui.cpp   (working copy)
  5. @@ -675,8 +675,7 @@

Paste #p3ijo1zqa

  1. 1>------ Rebuild All started: Project: strgen, Configuration: Debug Win32 ------
  2. 2>------ Rebuild All started: Project: settingsgen, Configuration: Debug Win32 ------
  3. 3>------ Rebuild All started: Project: version, Configuration: Debug Win32 ------
  4. 4>------ Skipped Rebuild All: Project: generate, Configuration: Debug Win32 ------
  5. 4>Project not selected to build for this solution configuration

Paste #pw76e1mhk

  1. dbg: [net] [core] starting network...
  2. dbg: [net] [core] loading windows socket library
  3. dbg: [net] [udp] initializing listeners
  4. dbg: [net] [core] network online, multiplayer available
  5. dbg: [net] Detected broadcast addresses:

Paste #ppwusiqlh

  1. template template_train20px(x,y){
  2.     //left_x, upper_y, width, height, offset_x, offset_y
  3.     [ x,        y,       8,     17,      -3,       -9]
  4.     [ x+10,     y,       15,    15,     -8,        -8]
  5.     [ x+27,     y,       20,    12,     -5,        -7]

Paste #p0fa4wfj6

  1. Index: langs_vs100.vcxproj
  2. ===================================================================
  3. --- langs_vs100.vcxproj (revision 27553)
  4. +++ langs_vs100.vcxproj (working copy)
  5. @@ -317,6 +317,12 @@

Paste #pubtbpno1

  1. # Use glob syntax:
  2. syntax: glob
  3.  
  4. # The local makefile should be ignored:
  5. Makefile.local

Paste #pqvhmf0bu

  1. English.txt:
  2. # AI configuration window
  3. STR_AI_CONFIG_CAPTION                                           :{WHITE}AI/Game Script {STRING}
  4. STR_AI_CONFIG_CAPTION_CONFIGURATION                             :Configuration
  5. STR_AI_CONFIG_CAPTION_SETTINGS                                  :Settings

Paste #pcutdxwf1

  1. /**
  2. * Check whether a script, be it AI or GS, is dead in this slot.
  3. * @note Also returns dead for AI slots which are currently occupied
  4. *       by Human Companies or when the AI didn't start.
  5. * @note Also returns dead when no GS was set up.

Paste #pna6tfy4s

  1. /* old code */
  2. static bool IsDead(CompanyID slot)
  3. {
  4.     if (slot == OWNER_DEITY) {
  5.         return Game::GetInstance() == NULL || Game::GetInstance()->IsDead();

Paste #pkbvssddy

  1. /**
  2. * Check whether a Game Script is not running, or if it is running, if it is dead.
  3. * Check whether an AI slot is not started, or if it is started, it is not an AI, or if it is an AI, if it is dead.
  4. * @param slot The slot that is checked.
  5. * @return true if the slot that is checked is dead.

Paste #pkxkubyo7

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

Paste #plqlru8ut

  1. /** My Code, I want IsDead compatible with the 3 structs */
  2. static bool IsDead(CompanyID slot)
  3. {
  4.     if (slot == OWNER_DEITY) {
  5.         return Game::GetInstance()->IsDead();

Paste #powbjkea0

  1. /**
  2.  * Window to configure which AIs will start.
  3.  */
  4. struct AIConfigWindow : public Window {
  5.     CompanyID selected_slot; ///< The currently selected AI slot or \c INVALID_COMPANY.