summaryrefslogtreecommitdiff
path: root/src/ai
AgeCommit message (Collapse)Author
2009-12-20(svn r18580) -Codechange: Use widget information only for setting scrollbar ↵alberth
capacity.
2009-12-20(svn r18562) -Document: improve clarity of the AIAccounting classrubidium
2009-12-20(svn r18558) -Cleanup (r18557): no need to document TILE_INVALID twicesmatz
2009-12-19(svn r18557) -Fix: (most of) gcc errors when using lto caused by some ↵smatz
structs having different definition in different object files
2009-12-19(svn r18556) -Fix (r17005): squirrel export didn't accept negative constantssmatz
2009-12-19(svn r18555) -Fix (r15027): fake definitions of squirrel types were wrong ↵smatz
for eg. 64bit systems, don't use them
2009-12-16(svn r18518) -Add [NoAI]: AIOrder::AIOF_GOTO_NEAREST_DEPOT for goto nearest ↵yexo
depot orders
2009-12-16(svn r18516) -Feature [FS#3359]: moving of AIs in the AI configuration ↵rubidium
window. Based on a patch by Zuu.
2009-12-15(svn r18507) -Change [FS#3340]: move the 'check online content' button from ↵yexo
the AI list window to the AI configuration window
2009-12-14(svn r18504) -Remove [NoAI]: AIVehicle::SkipToVehicleOrder as it was a ↵yexo
duplicate or AIOrder.SkipToOrder
2009-12-14(svn r18502) -Fix: the dummy AI would could a NOT_REACHED if the translated ↵rubidium
error message contained a quote
2009-12-12(svn r18471) -Codechange/Fix: [NoAI] Deduplicate code betweeen ↵frosch
AIVehicle::SkipToVehicleOrder and AIOrder::SkipToOrder. They are the same. Also ORDER_CURRENT was not allowed for the latter, but well...
2009-12-09(svn r18437) -Fix (r16557): background of disabled button in AI GUI wasn't ↵smatz
set back to grey after AI bankrupt
2009-12-08(svn r18436) -Fix [FS#3357]: unselect an AI in the AI Settings window when ↵rubidium
it falls out of the range of active AIs
2009-12-06(svn r18418) -Fix [FS#3298]: under some circumstances a pointer could be ↵rubidium
left untouched and then freed. Make sure this doesn't happen by ensuring it starts out as NULL instead of 'garbage'.
2009-11-29(svn r18332) -Fix: the MSVC compile warningsrubidium
2009-11-28(svn r18330) -Cleanup: remove some unneeded includesrubidium
2009-11-28(svn r18324) -Codechange: there's no need for a default size when the window ↵rubidium
isn't resizable
2009-11-28(svn r18322) -Codechange: remove the WDP duplication; no need to tell the ↵rubidium
same twice.
2009-11-26(svn r18299) -Update: the ai changelog documentrubidium
2009-11-24(svn r18277) -Codechange: remove unneeded widget indices for close, resize ↵rubidium
and sticky boxes and for window captions
2009-11-24(svn r18276) -Fix: [NoAI] Make AIIndustryType::GetConstructionCost() return ↵frosch
-1, if the industry is neither buildable nor prospectable.
2009-11-24(svn r18274) -Codechange: remove the unused WDF flagsrubidium
2009-11-22(svn r18248) -Codechange: remove magic numbers from the AI debug window, ↵rubidium
making it big font aware in the process
2009-11-22(svn r18247) -Codechange: make the AI settings window big font awarerubidium
2009-11-22(svn r18239) -Codechange: make the AI 'selection' list window big font awarerubidium
2009-11-22(svn r18230) -Codechange: Allow fill stepsize to be set from ↵alberth
Window::UpdateWidgetSize().
2009-11-22(svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool.alberth
2009-11-22(svn r18220) -Codechange: Reduce number of nested widget dynamic casts.alberth
2009-11-22(svn r18214) -Codechange: make the AI config window big font awarerubidium
2009-11-22(svn r18212) -Codechange: remove unneeded 'parameters' for WWT_CAPTION, ↵rubidium
WWT_CLOSEBOX and WWT_STICKYBOX in the nested widget arrays
2009-11-20(svn r18198) -Codechange: make the AI configuration window RTL awarerubidium
2009-11-19(svn r18194) -Codechange: make the AI 'config' window RTL awarerubidium
2009-11-17(svn r18152) -Codechange: remove the 'minimum window size' from the ↵rubidium
WindowDesc; it's determined from the (nested) widgets
2009-11-16(svn r18126) -Codechange: remove duplicate (since r18119) scrollbar ↵rubidium
capacity/matrix initialisation
2009-11-15(svn r18101) -Fix (r15188): AI settings window used window-relative pixel ↵peter1138
positions
2009-11-15(svn r18086) -Codechange: remove 'widget' from WindowDescrubidium
2009-11-09(svn r18028) -Codechange: unglobalise some functionsrubidium
2009-11-07(svn r18005) -Codechange: Convert the Prices struct into an array and an enum.frosch
2009-11-05(svn r17976) -Codechange: Move CargoClass to cargotype.h and clean up ↵frosch
including of newgrf_cargo.h
2009-10-31(svn r17928) -Codechange: ShowErrorMessage() now takes the summary string ↵alberth
before the details string. Gentlemen, swap your string parameters.
2009-10-28(svn r17898) -Fix: [NoAI] Improve behaviour of ↵frosch
(AIEngine|AIEventEnginePreview)::GetCargoType() and AIEngine::CanRefitCargo() wrt. articulated vehicles.
2009-10-24(svn r17853) -Codechange: remove the 'delta' parameter from OnResize; it was ↵rubidium
used in ways that aren't always wanted, causing bugs and the like. Also with nested widgets most reasons for handling OnResize have gone.
2009-10-17(svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with ↵rubidium
wrong 'size') upon reiniting windows
2009-10-06(svn r17728) -Cleanup: Remove some more unneeded/unused parameters.frosch
2009-10-05(svn r17719) -Change: [NoAI] Make AIEngine:CanRefitCargo() not report ↵frosch
refittability to Mail by default for aircraft. It is not necessarily true, and the special case of carrying both passenger&mail is better handled by AIs themself than by the API.
2009-10-04(svn r17701) -Codechange: don't start line with a space if it's not inside ↵smatz
comment
2009-10-04(svn r17700) -Codechange: Integrate ShipVehicleInfo::refittable into ↵frosch
EngineInfo::refit_mask during initialisation.
2009-10-04(svn r17697) -Codechange: coding style in the automatically generated ↵rubidium
squirrel wrapper code
2009-10-04(svn r17694) -Codechange: don't break $ to two lines in squirrel_export.awksmatz