summaryrefslogtreecommitdiff
path: root/src/ai
AgeCommit message (Collapse)Author
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
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-10-04(svn r17692) -Codechange: minor coding style fixessmatz
2009-09-30(svn r17674) -Codechange: replace SetDirty + OnInvalidateData with ↵rubidium
InvalidateData (which does the same). Also call InvalidateData in a few cases where that was actually meant.
2009-09-23(svn r17627) -Document [FS#3216]: The remaining functions in info.nutyexo
2009-09-23(svn r17621) -Document [FS#3216]: most of the functions an AI can/must use ↵rubidium
in their instantiation of AIInfo.
2009-09-22(svn r17609) -Fix: the dummy AI had no API version set, causing the 'API ↵yexo
compatibility script not found' error to be printed when loading it
2009-09-20(svn r17593) -Fix (r17591): as always after a noai commit ...yexo
2009-09-20(svn r17591) -Add [NoAI] [FS#3212]: ↵yexo
AIAirport::IsAirportInformationAvailable. Also update several preconditions so it's now possible to get information on airports types that can no longer be build (small airport after 1960)
2009-09-19(svn r17572) -Codechange: Use the Window::GetWidget() function to access ↵alberth
nested widgets through the nested_array.
2009-09-19(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, ↵rubidium
which were sometimes missing and sometimes just typos
2009-09-18(svn r17566) -Fix: ai_basestation.hpp.sq linked to the wrong header; it did ↵rubidium
work though
2009-09-15(svn r17545) -Fix [FS#3202]: [NoAI] AIs had 'infinite' time when running ↵rubidium
code from the global scope
2009-09-15(svn r17544) -Fix [FS#3202]: [NoAI] Crash when doing commands in the ↵rubidium
'global' scope
2009-09-13(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty ↵frosch
for more consistency and distinguishability.