Commit Graph

318 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
yexo ffa0c7d29d (svn r16975) -Change [MSVC]: Make all language files depend on english.txt 2009-07-28 18:54:24 +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
translators 05e5f80ebd (svn r16587) -Update: WebTranslator2 update to 2009-06-17 17:39:59
estonian   - 16 changed by lible (16)
russian    - 10 changed by Lone Wolf (10)
slovenian  - 27 fixed by Necrolyte (27)
2009-06-17 17:40:41 +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 bf6d1242bc (svn r16564) -Revert (r16561, r16562): english_rev doesn't belong in trunk (and certainly not twice) 2009-06-11 14:39:03 +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 a34d5bb6ab (svn r16318) -Change: use !! instead of @@ in src/*.in too.
-Change: use @ instead of ~ in configure/Makefiles so Debian's build system(s) can also build RC binaries.
2009-05-16 12:36:33 +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
frosch bbb28d210a (svn r15715) -Fix (r15714): Project files. (Thanks michi_cc) 2009-03-14 20:43:37 +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 5c40b7235c (svn r15693) -Fix (r15691): The msvc project files weren't updated to include luxembourgish. 2009-03-12 19:57:51 +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
michi_cc 15a7b6094b (svn r15040) -Fix (r15027): Don't disable support for Win64 in the VS2005 project file. 2009-01-12 21:11:56 +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
glx a446a2366c (svn r14854) -Change: speedup compilation with MSVC on 'multi-processor' systems (khh) 2009-01-05 21:53:59 +00:00
smatz 7368c740a6 (svn r14828) -Codechange: move most of save/load-specific code to separate files 2009-01-04 15:32:25 +00:00
smatz e9484cff12 (svn r14818) -Fix (r14723): add network_base.h to source.list and project files 2009-01-03 22:21:29 +00:00
smatz 09cd9a8017 (svn r14815) -Codechange: separate 'highscore' code from 'company' code 2009-01-03 18:44:20 +00:00
glx bf16032308 (svn r14780) -Fix (r14777): of course VBS evaluates all parts of a boolean expression 2009-01-01 18:18:17 +00:00
glx 88e3ff5413 (svn r14777) -Fix: be sure to update ottdres.rc and rev.cpp when their .in changes (MSVC) 2008-12-31 16:53:43 +00:00
smatz 2e2086f3f8 (svn r14742) -Codechange: use SmallMap in two cases to reduce compilation time and binary size 2008-12-26 13:50:46 +00:00
translators b2c7e521d0 (svn r14686) -Update: WebTranslator2 update to 2008-12-17 18:01:03
arabic_egypt - 200 fixed, 28 changed by Azoo4oozi (228)
czech      - 3 changed by Hadez (3)
indonesian - 1 fixed, 4 changed by fanioz (5)
korean     - 1 changed by leejaeuk5 (1)
latvian    - 299 fixed, 3 changed by marismols (302)
lithuanian - 79 fixed by Zogg (79)
serbian    - 25 fixed by Jenraux (25)
2008-12-17 18:01:19 +00:00
glx 5305759fb0 (svn r14685) -Change: don't popup cmd windows when determining version (MSVC) 2008-12-17 00:48:18 +00:00
glx 29b73896b4 (svn r14684) -Codechange: use SubWCRev object to get version info instead SubWCRev.exe for tortoiseSVN (Darkvater) 2008-12-16 23:02:22 +00:00
translators 014eb8fcf9 (svn r14681) -Update: WebTranslator2 update to 2008-12-16 18:42:42
arabic_egypt - 208 fixed, 18 changed by khaloofah (188), Azoo4oozi (38)
indonesian - 9 fixed by Gonrong (9)
norwegian_bokmal - 2 fixed by Thor (2)
portuguese - 2 fixed by rmrebelo (2)
serbian    - 19 fixed by Jenraux (19)
thai       - 20 fixed by vetbook (20)
2008-12-16 18:43:02 +00:00
translators 9edc4e8030 (svn r14677) -Update: WebTranslator2 update to 2008-12-15 11:38:07
arabic_egypt - 343 fixed, 3 changed by Azoo4oozi (153), khaloofah (193)
indonesian - 123 changed by adjayanto (95), fanioz (28)
macedonian - 74 fixed, 4 changed by sashozs (78)
simplified_chinese - 8 fixed by ww9980 (8)
traditional_chinese - 6 fixed by ww9980 (6)
2008-12-15 11:39:23 +00:00
rubidium e4edaa78ae (svn r14651) -Fix [FS#2437] (r14636): extmidi wasn't compiled/linked anymore. 2008-12-03 00:19:06 +00:00
rubidium 3aacd0a3d5 (svn r14630) -Add: support Allegro as video backend. 2008-11-25 19:32:12 +00:00
rubidium 614e724dd4 (svn r14629) -Fix: strgen/strgen.h missing from MSVC project files
-Fix: welsh missing from MSVC project files
2008-11-25 19:27:30 +00:00
rubidium c4cd912048 (svn r14628) -Fix: projects/generate doesn't handle tabs in sources.list properly when determining whether a header is missing. 2008-11-25 19:26:31 +00:00
glx 78502d9fe0 (svn r14532) -Fix (r14522): one 'M' is enough to show modified version 2008-10-25 16:45:01 +00:00
glx f9221778cc (svn r14522) -Fix: apply r14519 to determineversion.vbs. Also properly set 'modified' for hg and git (was always 1). 2008-10-23 02:52:11 +00:00
rubidium 2cc1d00bab (svn r14489) -Change: let MSVC use ICU (for right-to-left text rendering) from the new openttd-useful.zip. So... MSVC users: update your openttd-useful.zip or compilation will fail. 2008-10-19 00:57:59 +00:00
smatz 14d8689e66 (svn r14467) -Fix [FS#2350](r14443): use '~' instead of '#' as sed separator, it could be understood in a wrong way by shell 2008-10-14 19:47:28 +00:00
rubidium b650a86e58 (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. 2008-09-30 20:51:04 +00:00
glx a9d2b4b73c (svn r14355) -Fix: latest svn revision detection from hg log always gave the latest relative to tip revision, not to the current working revision 2008-09-17 16:06:05 +00:00
glx 9d3eb490c7 (svn r14354) -Fix (r14253): also fix hg revision detection for MSVC 2008-09-17 15:04:52 +00:00
frosch 856157b6da (svn r14313) -Codechange: Move functions dealing with the EngineRenew pool to their own file. 2008-09-13 15:49:29 +00:00
glx 199a53c4ca (svn r14242) -Fix: removed some possible infinite loop in version determination (again). 2008-09-04 15:27:21 +00:00
rubidium ea1f180a55 (svn r14199) -Codechange: split fileio.h into fileio_type.h and fileio_func.h so not everything that includes saveload.h needs to include everything else too. 2008-08-31 10:50:05 +00:00
glx bb92a7ab08 (svn r14194) -Fix: don't use hardcoded character offsets to get hg revision. This make it similar to svn and git (ie without the ':'). 2008-08-30 13:15:36 +00:00
rubidium ae32d158cb (svn r14153) -Codechange: split ini file reading/saving from settings.cpp. 2008-08-24 13:50:31 +00:00
belugas e89e6b1361 (svn r14136) -Fix(r14135): MSVC project was not supposed to be on previous commit 2008-08-23 02:24:14 +00:00
belugas 7dc212edeb (svn r14135) -Codechange: Add owner to waypoints. Previously, it was guessed from rail underneath it. 2008-08-23 02:15:46 +00:00
glx c428ce6277 (svn r14128) -Fix: first run of determineversion.vbs in a fresh clean hg checkout always detected the sources as modified 2008-08-22 15:15:11 +00:00
belugas 80ca96d469 (svn r14108) -Fix(r14104): Give a more consistent naming of the new gui file 2008-08-20 15:27:22 +00:00
belugas 77ee099212 (svn r14104) -Feature: Add a window for waypoints, allowing to view all the trains having the selected waypoint in their orders.
Changing its name is also supported from the same new window.
Gui based on work done by Satyap, on FS#2025.
2008-08-20 01:29:05 +00:00
belugas 03f260059a (svn r14077) -Fix: MSVC projects re-ordering 2008-08-15 15:38:41 +00:00
rubidium d0c1a989a4 (svn r14047) -Codechange: move chatmessage handling to the network directory as that's the only case chat messages are used. Furthermore remove any trace of chatmessages when compiling without network support. 2008-08-11 22:45:11 +00:00
rubidium 8025cd1d2c (svn r13998) -Fix [FS#2004]: MSVC can't handle changed files in the prebuild event, so make the version determination a separate subproject (michi_cc). 2008-08-04 21:51:52 +00:00
rubidium c88cb1daa0 (svn r13988) -Codechange: move the to IP resolving functions to a separate file. 2008-08-04 12:56:38 +00:00
rubidium 2bb8825538 (svn r13928) -Add [YAPP]: Function for getting the path reservation state of any tile. (michi_cc) 2008-08-02 22:47:48 +00:00
glx ea570c8160 (svn r13924) -Fix (r11531): determineversion.vbs could fail to find the right version with hg 2008-08-02 19:48:54 +00:00
smatz fee2adb299 (svn r13618) -Codechange: move tar-specific declarations to separate file
Removes indirect dependency on <string> and <map> for over 40 files
2008-06-24 09:05:24 +00:00
skidd13 bf826eb06e (svn r13577) -Change: group core files in source.list together 2008-06-19 10:40:19 +00:00
skidd13 2f65d35ead (svn r13575) -Codechange: Move small vector to core since it fits better in there
-Codechange: convert smallvector from struct to class
2008-06-19 10:19:02 +00:00
smatz 9da745b381 (svn r13552) -Codechange: use TTD_ENDIAN comparations instead of tests if TTD_[BIG/LITTLE]_ENDIAN is defined 2008-06-17 19:38:00 +00:00