労働者の行動はここら辺かな・・・
CvGameUtils.py 104行目・・・
def canBuild(self,argsList):
iX, iY, iBuild, iPlayer = argsList
return -1 # Returning -1 means ignore; 0 means Build cannot be performed; 1 or greater means it can
------------------------------------------------
load_module CvEventManager
Traceback (most recent call last):
File "<string>", line 1, in ?
File "<string>", line 52, in load_module
File "CvEventInterface", line 13, in ?
File "<string>", line 52, in load_module
File "CvCustomEventManager", line 24, in ?
File "<string>", line 35, in load_module
File "<string>", line 13, in _get_code
File "CvEventManager", line 1035
for iLoopPlayer in range(gc.getMAX_CIV_PLAYERS()):
^
SyntaxError: invalid syntax
-------------------------------------------------
load_module SettlersEventManager
Traceback (most recent call last):
File "<string>", line 1, in ?
File "<string>", line 52, in load_module
File "CvEventInterface", line 13, in ?
File "<string>", line 52, in load_module
File "CvCustomEventManager", line 28, in ?
NameError: name 'CvConfigParser' is not defined
0.040:耶紗阻幗乞疏議鏡蒙trait・酎李。壓廓偏音醐凋、涙羽酎、宗慎葎屎議秤趨和・25%議叱楕竃・weLoveTheKing並周・糞縞丼惚埃葎週詰15%恣嘔廓偏略擦継
俐個SDK・繍CvCity::isWeLoveTheKingDay()才CvCity::setWeLoveTheKingDay()議俊笥戻工公Python
繍sanguocitynaming嶄議曾倖劔云恫炎comment out
3.selectionListMoveメソッドを追加したらコンパイルエラー発生
'CyPlot' : class has no constructors
'CyPlot' no destructor called
CyPlotクラスのコンストラクタとデストラクタ
(オブジェクト指向言語を学ぶなら覚えておくべき用語ですが
そうでないなら余り気にしないように)が実装されていない模様
CyPlot.hとCyPlot.cppをGoldのものと比較
特に問題なさそう
しばらく悩みましたが
CvGame.cppをGoldのものと比較すると
CyPlot.hを#includeしてないことが発覚
CvGame.cppに
#include "CyPlot.h"の記述を追加