Commit Graph

136 Commits

Author SHA1 Message Date
smatz 2a430d981f (svn r17113) -Change [FS#265][FS#2094][FS#2589]: apply the subsidy when subsidy's destination is in station's catchment area and cargo packets originate from subsidy's source
-Change [FS#1134]: subsidies aren't bound to stations after awarding anymore, they still apply to town or industry, no matter what station is used for loading and unloading. Awarded subsidies from older savegames are lost
-Change [NoAI]: due to these changes, AISubsidy::GetSource and AISubsidy::GetDestination now return STATION_INVALID for awarded subsidies
2009-08-08 16:42:55 +00:00
frosch a6cbf0d419 (svn r17036) -Codechange: Split price bases from economy.cpp to table/pricebase.h. 2009-08-02 12:34:26 +00:00
yexo b4abe942cb (svn r17019) -Doc: add AI API changelog 2009-08-01 10:48:22 +00:00
yexo 8c05194c02 (svn r17011) -Change [NoAI]: Add AIBaseStation as a parentclass for AIStation and AIWaypoint, and move GetName, SetName and GetLocation to AIBaseStation
Remove (nearly) all references to WaypointID and replace them with StationID
2009-07-31 22:30:54 +00:00
michi_cc 216ac43583 (svn r16980) -Fix (r16976): source.list and project files were not updated. 2009-07-29 14:46:08 +00:00
rubidium 6e3d999dce (svn r16914) -Codechange: split Station and BaseStation into different files 2009-07-22 11:35:35 +00:00
rubidium cb0409fe52 (svn r16912) -Codechange: split waypoint.h in waypoint_base.h and waypoint_func.h 2009-07-22 10:18:19 +00:00
smatz 76a50ce94d (svn r16714) -Codechange: use pool-like accessors for Subsidy 2009-07-01 18:45:05 +00:00
alberth 8fba82c99b (svn r16684) -Codechange: Add maxdim function for Dimension struct. 2009-06-28 15:16:57 +00:00
rubidium 18bc39d00b (svn r16683) -Codechange: move the cargo payment handling to a seperate class. Based on ideas of fonso/fonsinchen. 2009-06-28 15:12:59 +00:00
smatz e6a165881c (svn r16664) -Codechange: move house-related stuff from town.h and town_type.h to separate files 2009-06-26 13:44:14 +00:00
smatz 0045096403 (svn r16640) -Codechange: move roadstop stuff to separate files 2009-06-23 21:44:48 +00:00
glx b88443f035 (svn r16589) -Fix (r16588): defautl stack size was set to 1KB instead 1MB 2009-06-17 19:18:29 +00:00
glx fcf75cdcc7 (svn r16588) -Fix [FS#2978]: set default stack size to 1MB to prevent _chstk crash (MSVC) 2009-06-17 17:43:33 +00:00
yexo d09d3566dd (svn r16585) -Add [NoAI]: AIBuoyList to get a list of all buoys 2009-06-17 13:12:08 +00:00
yexo f92feb2a95 (svn r16562) -Revert (r16561) 2009-06-11 14:17:26 +00:00
yexo 176e55a8a3 (svn r16561) -Fix [NoAI]: AIMarine::AreWaterTilesConnected didn't return true for bridge head<>neighbouring water tile 2009-06-11 14:15:18 +00:00
smatz b2aed51f8e (svn r16403) -Codechange: move code related to subsidies to separate file 2009-05-23 15:46:00 +00:00
yexo 0b243d25cb (svn r16400) -Add [NoAI]: add AISignList that can be used to get a list of valid signs. This makes AISign::GetMaxSignID obsolete. 2009-05-23 14:54:55 +00:00
smatz 56a7b70591 (svn r16380) -Codechange: rename pool.hpp to pool_type.hpp 2009-05-22 15:39:22 +00:00
smatz 62a7948af0 (svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved 2009-05-22 15:13:50 +00:00
rubidium 1f25d9126f (svn r16123) -Fix: forgot to add table/strgen.h to the project files + a typo 2009-04-23 14:06:57 +00:00
yexo 9eff54febe (svn r15887) -Fix: Reorder dmusic.cpp / null_m.cpp in source.list so msvc doesn't reorder them in the generated project files. 2009-03-29 11:03:15 +00:00
peter1138 3abddfe705 (svn r15799) -Codechange: Save rail type label list to savegame and perform mapping on load if necessary. 2009-03-21 23:58:20 +00:00
yexo 0f7b9af9fa (svn r15795) -Codechange: Move the settings table from settings.cpp to table/settings.h. Patch breaking time :) 2009-03-21 23:16:09 +00:00
rubidium 3ef8a09e20 (svn r15777) -Add: helper functions to get the least common multiple and the greatest common divisor (Alberth) 2009-03-21 01:34:31 +00:00
yexo 384599ef2c (svn r15743) -Codechange: move the definitions of some fake squirrel types to their own file. 2009-03-16 17:30:49 +00:00
yexo ce4744e1d6 (svn r15736) -Codechange: Split AIScanner/AIFileInfo to the more generic classes ScriptScanner/ScriptFileInfo. 2009-03-15 22:41:57 +00:00
belugas 42d9816ce3 (svn r15703) -Codechange: split Cmd* from waypoint.cpp to waypoint_cmd.cpp. 2009-03-13 21:49:24 +00:00
rubidium e6353a1a22 (svn r15700) -Codechange: split Cmd* from signs.cpp to signs_cmd.cpp. 2009-03-13 20:29:35 +00:00
rubidium 070320f25b (svn r15699) -Codechange: split Cmd* from vehicle.cpp to vehicle_cmd.cpp. 2009-03-13 20:09:35 +00:00
yexo c0e7ddeb9e (svn r15519) -Add [NoAI]: support for waypoints by adding AIRail::Build/Remove RailWaypoint, AIWaypoint and AIWaypointList. 2009-02-19 07:40:08 +00:00
rubidium 9907742a0f (svn r15423) -Codechange: split widget related types to their own header and add a bit of type strictness. 2009-02-09 01:06:23 +00:00
glx cabedf173d (svn r15331) -Fix (r15330): remove extra semicolons 2009-02-03 23:30:23 +00:00
rubidium 1c30c8c801 (svn r15330) -Fix [FS#2597]: leaking of Squirrel when using circular references (by enabling the GC). 2009-02-03 22:42:42 +00:00
smatz 5ad1cd32b2 (svn r15324) -Codechange: unify the class used for comparing of strings for std::map 2009-02-03 18:08:07 +00:00
rubidium 6df312cd54 (svn r15300) -Cleanup: remove an unused icon and remove the references to swedish forgotten in r6358. 2009-01-31 21:01:16 +00:00
smatz 6dffd8ae82 (svn r15216) -Feature: native support for Transport Tycoon (Original) savegames. Based on SVXConverter's source code and documentation by Roman Vetter 2009-01-23 02:35:17 +00:00
smatz 49c5c71348 (svn r15174) -Codechange: split oldloader.cpp 2009-01-20 16:47:42 +00:00
Yexo 4091989752 (svn r15165) -Fix (r15163): The MSVC project files were not regenerated. 2009-01-20 12:40:34 +00:00
glx f92fbaa548 (svn r15132) -Change: move console_gui.cpp and highscore_gui.cpp to 'GUI Source Code' section (MSVC) 2009-01-17 21:03:54 +00:00
rubidium 3a13b75e37 (svn r15126) -Feature: downloading content from a central server (content.openttd.org) where authors can upload they NewGRFS/AI etc. This should make joining servers that use only NewGRFs that are distributed via this system easier as the players can download the NewGRFs from in the game. It should also make it easier to see whether there are updates for NewGRFs and make the necessary updates. 2009-01-17 16:53:32 +00:00
rubidium e18c24cdb5 (svn r15079) -Codechange: split tcp 'backend' and in-game handling like it is for UDP. 2009-01-14 12:50:13 +00:00
smatz 4a5044e61a (svn r15037) -Cleanup: remove unused file src/table/ai_rail.h 2009-01-12 19:26:21 +00:00
truebrain a3dd7506d3 (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see.
NoAI is an API (a framework) to build your own AIs in. See:
   http://wiki.openttd.org/wiki/index.php/AI:Main_Page
 With many thanks to:
  - glx and Rubidium for their syncing, feedback and hard work
  - Yexo for his feedback, patches, and AIs which tested the system very deep
  - Morloth for his feedback and patches
  - TJIP for hosting a challenge which kept NoAI on track
  - All AI authors for testing our AI API, and all other people who helped in one way or another
-Remove: all old AIs and their cheats/hacks
2009-01-12 17:11:45 +00:00
glx e99335c085 (svn r15008) -Revert (r12706): remove fibers 2009-01-12 14:45:20 +00:00
belugas ece7d9a16f (svn r14951) -Revert: partly what has been done on r14950. That would teach me to update repos before 2009-01-10 03:14:52 +00:00
belugas 7f97d40080 (svn r14950) -Codechange: MSVC projects and source list update 2009-01-10 03:04:43 +00:00
rubidium d4b6cc997d (svn r14910) -Codechange: merge the command queue handling into a single location 2009-01-08 13:57:50 +00:00
glx 828675bf0e (svn r14882) -Change: move widgets related files to their own category (MSVC) 2009-01-06 23:48:19 +00:00