Commit Graph

995 Commits (f5212b27e4dfb44e1aad65b33e22b1f441fe88b1)

Author SHA1 Message Date
frosch e0f59fb049 (svn r24726) -Codechange: Move editbox mouseloop handling to Window class. 12 years ago
frosch e95b757c11 (svn r24724) -Codechange: Move drawing of editboxes to the widget drawing code. 12 years ago
frosch c54f982a62 (svn r24723) -Fix: AI debug GUI crashed when using disabled buttons via hotkeys. 12 years ago
frosch 3b06409153 (svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default. 12 years ago
frosch d4bb40383e (svn r24699) -Codechange: Proper usage of push and toggle buttons in mapgen and script debug GUI. 12 years ago
zuu 1363b5700e (svn r24554) -Add: Hotkeys for widgets in AI Debug window 12 years ago
zuu ac3d609377 (svn r24552) -Fix (r24537): Unpause do no longer continue scripts 12 years ago
zuu d0fdd1f8b5 (svn r24537) -Feature: Scripts can be suspended even if the game is still progressing, thus break-on-log now works also for Game Scripts. 12 years ago
zuu fa7ec4685a (svn r24505) -Add: Select the GS tab if all AI tabs are unselectable in the AI debug window. 12 years ago
zuu cce930b6c7 (svn r24489) -Feature [FS#5230]: Display GS dead state in AI debug window. 12 years ago
yexo 4d1d6332fb (svn r24487) -Codechange [FS#5236]: make several DoesContentExist return the path instead of a boolean (LordAro) 12 years ago
yexo e1351773a0 (svn r24468) -Add [FS#5219]: API compatibility scripts for Goal Scripts (Hirundo) 12 years ago
yexo 5951be7ca7 (svn r24467) -Codechange [FS#5236]: make textfile window class slightly more general (LordAro) 12 years ago
frosch 59ddedf33f (svn r24342) -Feature: Also use the new multi-word filtering for script breakpoints. 12 years ago
frosch 9b196d0fb4 (svn r24324) -Codechange: Turn functions dealing with Textbufs into member functions. 12 years ago
frosch deda762b8f (svn r24317) -Feature: Add dropdowns to AI configurations, if all values have labels. 12 years ago
frosch 8a54a253bb (svn r24315) -Fix: Make the AI settings window behave more like the other settings window by closing the query window whenever selecting a different row. 12 years ago
frosch 7162c556f4 (svn r24313) -Fix: Some obiwans wrt. clicking on setting buttons. 12 years ago
frosch 4dd9176cc5 (svn r24312) -Change: Center the settings buttons in the AI and NewGRF config windows. 12 years ago
frosch 23ad97e755 (svn r24310) -Codechange: Add named constants for the dimensions of settings buttons, and generally make their usage more consistent. 12 years ago
frosch 70d3206320 (svn r24309) -Codechange: Split some functions from gui.h to settings_gui.h 12 years ago
frosch 1008ceddb8 (svn r24291) -Add: [Script] ScriptEventRoadReconstruction. 12 years ago
frosch 4e074cdbf7 (svn r24290) -Add: [Script] ScriptEventExclusiveTransportRights. 12 years ago
frosch 8824063087 (svn r24289) -Add: [Script] Base class for script events involving a company and a town. 12 years ago
frosch 70c1e3d21f (svn r24268) -Fix: Use the same colour scheme for the script selection window as in other comparable windows. 12 years ago
frosch 7343268e8a (svn r24108) -Fix [FS#5142]: When starting GS or AI, always use the settings of the game, not the new-game settings. 12 years ago
rubidium e8d9ab4dd5 (svn r23969) -Codechange: trunk heads to 1.3 now 13 years ago
rubidium 35415e1a3f (svn r23936) -Feature [FS#5047]: readme/licence/changelog viewer for AI and game scripts (LordAro) 13 years ago
rubidium 67bab7a441 (svn r23930) -Fix [FS#4944]: [Script] Do not close the parameter window when a script starts 13 years ago
frosch b986a1133c (svn r23757) -Codechange: Unify the drawing of toggle buttons for boolean settings. 13 years ago
truebrain a130703073 (svn r23746) -Fix: also set 'info' to NULL if 'instance' dies (for both AI and GS); avoids invalid memory reads 13 years ago
rubidium d5eeab43b7 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
rubidium 0cfe86cead (svn r23735) -Codechange: remove ~50 includes from headers that weren't needed 13 years ago
rubidium d242f154f9 (svn r23720) -Fix/Feature [FS#4935]: show the script debug window also when the game script crashes 13 years ago
rubidium 761223bcdf (svn r23718) -Fix [FS#4936]: rescanai caused crash when the AI settings of an AI was opened 13 years ago
alberth 06597e684c (svn r23704) -Doc: Doxygen comment fixes and additions. 13 years ago
truebrain 400b40a11d (svn r23678) -Fix: close the editbox of settings when changing an AI, to avoid invalid memory read/write (reported by SmatZ) 13 years ago
truebrain 3f6725d1d4 (svn r23677) -Fix [FS#4909]: invalidate AI Parameters window when changing AI 13 years ago
smatz e5a8e94492 (svn r23668) -Fix: the 'Configure' button in the 'AI / Game Configuration' window didn't get enabled when activating a GameScript 13 years ago
truebrain ec691c26b5 (svn r23653) -Fix: also show GameScripts when you click Check Online Content (SubVersion does not allow translated commit messages, I am sorry) in AI / Game Settings 13 years ago
truebrain af7958f5c4 (svn r23652) -Fix: don't include/document ScriptText for AIs. It is not usable 13 years ago
truebrain 8ac2d13c79 (svn r23636) -Add: introduce ScriptText in parameters where it can be used 13 years ago
truebrain 95b199e313 (svn r23632) -Add: GSCompanyMode, to change company in GameScripts 13 years ago
truebrain f5478b62d1 (svn r23607) -Add: wire GameScript in all the GUIs 13 years ago
truebrain c74ccfff1b (svn r23601) -Fix: fix the conflict in window number 13 years ago
frosch 4e689cc5cd (svn r23589) -Codechange: Make the AI-start-delay setting translateable. 13 years ago
truebrain 000ff60e25 (svn r23531) -Codechange: document and rename widgets to be consistent and understandable 13 years ago
truebrain 49e88dcbf0 (svn r23528) -Codechange: move widget enums to widgets/NNN_type.h 13 years ago
truebrain df0f8f8422 (svn r23524) -Codechange: move the name of the scanner to a level deeper 13 years ago
michi_cc f27995568e (svn r23506) -Add: [NoAI] Support for dealing with aircraft range. 13 years ago
rubidium 9aab2dc861 (svn r23474) -Codechange: move the declaration error related functions to error.h 13 years ago
michi_cc 351da038eb (svn r23416) -Add: [NoAI] API for querying infrastructure costs. 13 years ago
truebrain 36ca7fea79 (svn r23399) -Fix (r23362): a randomizer should return a random value, not always the first 13 years ago
truebrain ac0f5398c2 (svn r23386) -Fix: debug script related events to 'script' (removes 'ai') 13 years ago
truebrain bf803e40cc (svn r23384) -Remove: no longer allow a binary to be without AI support; the parts some compilers failed at, are integrated in other parts of the code now too 13 years ago
rubidium cb8eef45c9 (svn r23377) -Fix: compilation failure when networking is disabled 13 years ago
truebrain 0c83901a2b (svn r23374) -Add: Doxygen files for the NoAI API (Yexo) 13 years ago
truebrain bef1451f18 (svn r23373) -Add: move the AI API to script/api/ai, and move the Squirrel C++ glue templates to script/api/template 13 years ago
truebrain 6ba935b347 (svn r23372) -Move: move squirrel export script to script/api/ 13 years ago
truebrain 967d3baf04 (svn r23371) -Change: rename the DOXYGEN_AI_DOCS tag to DOXYGEN_API 13 years ago
truebrain 8d2df694a1 (svn r23370) -Add: support @api tag in API header files, to select which API should receive the defined classes and functions 13 years ago
truebrain 275670b55d (svn r23368) -Codechange: move FindLibrary down a few layers, so there is no layer violation anymore 13 years ago
truebrain fe41ceb477 (svn r23367) -Codechange: refactor GetSetting to ScriptInstance, to avoid global variable in script_controller 13 years ago
truebrain bfbadccf69 (svn r23366) -Codechange: move most of the Dummy code to script/, unifying it 13 years ago
truebrain 7050650354 (svn r23365) -Codechange: move constants to a single place, to avoid duplication (and in time, different values) 13 years ago
truebrain e7c77353ce (svn r23364) -Codechange: refactor AIConfig, moving it mostly to Scriptconfig 13 years ago
truebrain 906045c457 (svn r23362) -Codechange: refactor AIScanner, splitting it in AIScannerInfo and AIScannerLibrary 13 years ago
truebrain ff5775638c (svn r23361) -Codechange: move multiplayer DoCommand callback code so other script users can call their own 13 years ago
truebrain a3768b109b (svn r23360) -Codechange: move AIInstance to ScriptInstance, making it reusable by other script API instances 13 years ago
truebrain 6f874962cd (svn r23359) -Codechange: move AI_VMSuspend to Script_Suspend (and to its own file) 13 years ago
truebrain 1e13fa3dee (svn r23358) -Codechange: move AI_FatalError to Script_FatalError (and to its own file) 13 years ago
truebrain b4112dcf8e (svn r23357) -Codechange: move AIStorage to ScriptStorage 13 years ago
truebrain af1b3cc070 (svn r23355) -Codechange: rename all AI* to Script* (Rubidium) 13 years ago
truebrain eab012ec8b (svn r23354) -Codechange: move all src/ai/api/ai_*.[hc]pp files to src/script/api/script_* (Rubidium) 13 years ago
truebrain da6a9704cf (svn r23353) -Fix (r23350): somehow one file slipped through as unmodified 13 years ago
truebrain 1ced96bb3c (svn r23352) -Add: support dynamically adding an API prefix when returning a C++ class to Squirrel 13 years ago
truebrain cb76833b6c (svn r23351) -Add: generate the correct API type when creating Squirrel glue (Rubidium) 13 years ago
truebrain d413dcabbf (svn r23350) -Add: support different ScriptTypes in the helper functions for GetClassName (Rubidium) 13 years ago
truebrain 32c53a6812 (svn r23349) -Fix (r23210): one remaining unneeded GetClassName 13 years ago
truebrain a6551698c3 (svn r23307) -Revert (r23306): committed one file too many :s 13 years ago
truebrain 5af7516425 (svn r23306) -Fix (r23302): forgot to mention AITownEffectList in the Changelog 13 years ago
rubidium 7df6a9217a (svn r23305) -Fix (r23298): warning about comparing different enums 13 years ago
truebrain ad5830e42d (svn r23302) -Add: [NoAI] AITown::GetCargoGoal and AITown::GetGrowthRate to query statistics about a town regarding its growing 13 years ago
truebrain 3d80ed07cc (svn r23299) -Codechange: remove silly comments from AI documentation 13 years ago
truebrain 19791d3189 (svn r23298) -Add: track statistics of all incoming and outgoing goods. Incoming based on TownEffect, outgoing based on CargoType (based on patch by Terkhen) 13 years ago
truebrain 2e731592c4 (svn r23295) -Codechange: put ImportLibrary in AIController (and document the parameters for NoAI docs) 13 years ago
truebrain 7700e274de (svn r23293) -Codechange: make LoadScript/LoadFile non-static 13 years ago
truebrain b2ae274a5d (svn r23262) -Fix: one annoying typo in a squirrel_export marker line 13 years ago
truebrain c1f0332015 (svn r23261) -Codechange: Squirrel glue templates were not inline (tnx to michi_cc) 13 years ago
michi_cc 56a592dcbd (svn r23233) -Codechange: Refactor maximum and actually transported cargo amount of towns into a reusable struct. 13 years ago
rubidium 023d530ead (svn r23222) -Codechange: reduce tar scanning calls to the bare minimum 13 years ago
rubidium 9bf2cb0e86 (svn r23216) -Codechange: introduce the concept of having different tar lists 13 years ago
rubidium 4e91548f71 (svn r23210) -Codechange: generate the GetClassName function for the AI classes programmatically 13 years ago
truebrain cbe453eab0 (svn r23209) -Codechange: track the current active script instance directly, instead of assuming the current company points you to the right one. 13 years ago
truebrain e35a1d7843 (svn r23208) -Codechange: mark function with /* static */ in the source file, which are defined static in the header file 13 years ago
truebrain 5e7bae46f8 (svn r23207) -Codechange: make functions private/protected/public depending on their current usage (and reorder functions a bit) 13 years ago
rubidium ca22f6be80 (svn r23204) -Fix (r23201): if you rename a constant, then also rename it in the helper scripts that use it 13 years ago
yexo 7229e955fa (svn r23201) -Doc: [NoAI] Hide all contents of AIObject from the API documentation as AIs were never able to use it anyway 13 years ago
rubidium 33d71b45fe (svn r23198) -Codechange: introduce a free that takes const pointers so we don't need to cast to void/non-const before being able to free 13 years ago
rubidium 215452b911 (svn r23195) -Codechange: if we really need to cast away constness, use const_cast 13 years ago