Commit Graph

306 Commits

Author SHA1 Message Date
rubidium
9fd2afb147 (svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :) 2010-07-19 17:28:27 +00:00
yexo
02fbc6dfdd (svn r20054) -Add: framework to check for hotkeys 2010-07-03 13:27:32 +00:00
michi_cc
065e2f027c (svn r20024) -Codechange: Remove the need to link with dxguid.lib for windows. 2010-06-27 00:19:28 +00:00
frosch
d1a0e04139 (svn r19918) -Fix (r19917): Project files. 2010-06-03 11:12:42 +00:00
frosch
ee53807e51 (svn r19914) -Codechange: Wrap a helper class around temporary assignments of _current_company to ensure proper restoration. 2010-05-31 20:22:57 +00:00
rubidium
63865a5ed7 (svn r19801) -Add [FS#3691]: custom naming of depots. Based on work by sbr 2010-05-12 20:50:10 +00:00
rubidium
113a6362f0 (svn r19794) -Fix: missing header in MSVC project files 2010-05-12 13:15:36 +00:00
rubidium
ab8562f71c (svn r19708) -Add: NewGRF "debugging" window and data tables; should be a useful tool for NewGRF developers to get some insights into the value of some variables 2010-04-24 13:36:29 +00:00
yexo
cc23ebd446 (svn r19457) -Codechange: introduce AirportOverrideManager to keep track of airports if a newgrf can't be found 2010-03-18 23:12:38 +00:00
terkhen
78dd849452 (svn r19339) -Codechange: Move acceleration functions to GroundVehicle. 2010-03-06 12:44:30 +00:00
terkhen
bd9205bdf2 (svn r19337) -Codechange: Create the GroundVehicle class. 2010-03-06 12:41:18 +00:00
yexo
63e056c043 (svn r19205) -Codechange: move AirportSpec to newgrf_airport.h/cpp 2010-02-22 16:09:26 +00:00
yexo
028b7925ea (svn r19191) -Codechange: move AirportTileSpec to newgrf_airporttiles.h 2010-02-22 14:09:30 +00:00
rubidium
2d14c62900 (svn r19092) -Fix (r19081): MSVC couldn't quite compile OpenTTD 2010-02-10 22:38:30 +00:00
terkhen
01f8bc2578 (svn r19076) -Codechange: Move graph functions to their own header. 2010-02-10 15:24:48 +00:00
terkhen
c39a4b22aa (svn r19062) -Codechange: Move smallmap related functions to their own header. 2010-02-08 21:19:41 +00:00
michi_cc
0373a3cca3 (svn r19059) -Fix (r19056): Regenerate MSVC project files. 2010-02-08 01:31:10 +00:00
alberth
830c42c3b5 (svn r19038) -Codechange: Move TileArea methods to their own file. 2010-02-06 12:56:13 +00:00
rubidium
57996b7cd5 (svn r18994) -Change: content mirroring support (based on work by TrueBrain). 2010-02-03 18:42:23 +00:00
yexo
43a8d3dc89 (svn r18910) -Codechange: move the enum with airporttile names to table/airporttile_ids.h 2010-01-24 20:17:18 +00:00
yexo
bfb2635c58 (svn r18845) -Codechange: introduce AirportTileSpec and use it for animation 2010-01-17 14:22:07 +00:00
frosch
119de3a5fe (svn r18837) -Codechange: Rename DrawStationTileSeq() to DrawCommonTileSeq() and move it to separate file. 2010-01-16 22:25:44 +00:00
yexo
84cd40a483 (svn r18807) -Codechange: introduce AirportSpec and move several non-statemachine-related variables to there 2010-01-15 12:08:08 +00:00
rubidium
80702e8b87 (svn r18805) -Codechange: move airport_movement.h to table/ 2010-01-15 10:55:43 +00:00
rubidium
89443276b1 (svn r18782) -Codechange: move the content of callback_table.cpp to network_command.cpp; it's only ever used there. 2010-01-11 20:00:14 +00:00
rubidium
36df94ddb0 (svn r18769) -Codechange: replace MiniLZO with the real library. If you're using MSVC update openttd-useful, otherwise make sure you've got liblzo2 and it's development files installed. 2010-01-10 13:12:34 +00:00
frosch
9e3c107ffe (svn r18725) -Add: [NoAI] AIWaypoint::WaypointType and AIWaypoint::HasWaypointType().
-Change: [NoAI] Constructor of AIWaypoint now takes a WaypointType to also handle buoys.
-Remove: [NoAI] AIBuoyList.
2010-01-04 19:42:29 +00:00
rubidium
82a96c3e35 (svn r18714) -Codechange: move the TileArea struct to it's own header 2010-01-04 18:05:14 +00:00
rubidium
42d7f30dcc (svn r18608) -Change: add the concept of music sets 2009-12-22 21:40:29 +00:00
smatz
a5e8465a4a (svn r18555) -Fix (r15027): fake definitions of squirrel types were wrong for eg. 64bit systems, don't use them 2009-12-19 23:46:15 +00:00
rubidium
bce27d8c11 (svn r18426) -Fix: sort the names in source.list according to Microsoft's sorting rules 2009-12-07 20:17:31 +00:00
rubidium
5e2a1a46ed (svn r18420) -Codechange: split YAPF's track follower from the actual YAPF code 2009-12-07 08:41:18 +00:00
rubidium
4ddbe1793e (svn r18379) -Codechange: move the cache updating function to its own header to reduce the include 'pathfinder' dependencies 2009-12-02 16:48:55 +00:00
rubidium
2341c2e283 (svn r18367) -Codechange: unify the ship pathfinder 'calls' 2009-12-01 23:56:04 +00:00
rubidium
04b2a002ff (svn r18293) -Codechange: add a window to set the date. Based on work by PhilSophus and Maedhros. 2009-11-25 23:38:59 +00:00
smatz
bcc7da4aa1 (svn r17822) -Codechange: move 'extra viewport' code from smallmap_gui.cpp to viewport_gui.cpp 2009-10-20 18:38:38 +00:00
rubidium
e1f7aef52a (svn r17621) -Document [FS#3216]: most of the functions an AI can/must use in their instantiation of AIInfo. 2009-09-23 16:07:17 +00:00
frosch
b6156da5e9 (svn r17616) -Codechange [FS#3222]: Enumerize properties used in callback 0x36. Based on Terkhen's work. 2009-09-22 19:28:57 +00:00
smatz
ad2c641bca (svn r17612) -Feature: possibility to choose (randomise or enter custom) town name before its creation (original patch by Terkhen) 2009-09-22 13:54:54 +00:00
smatz
a9d0dde464 (svn r17597) -Codechange: rename namegen* to townname* 2009-09-21 11:01:16 +00:00
yexo
f922a7ca8e (svn r17498) -Add [NoAI]: Enable the squirrel std math library 2009-09-10 20:19:12 +00:00
rubidium
db3d06fdfb (svn r17459) -Change: remove unused defines from MSVC project files 2009-09-07 18:34:07 +00:00
rubidium
1d7619fdb5 (svn r17450) -Codechange: refactor the windows crash logger so parts of it can be reused by other crash logger implementations 2009-09-07 11:10:49 +00:00
rubidium
22192d96c2 (svn r17409) -Codechange: split the crash log and other windows 'glue' code 2009-09-03 21:56:29 +00:00
rubidium
533e3da493 (svn r17339) -Codechange: move thread related files to their own directory (like done for video, music, sound, etc) 2009-09-01 10:07:22 +00:00
rubidium
19b83eb5aa (svn r17336) -Codechange: move some os specific files into src/os/ 2009-08-31 22:38:37 +00:00
smatz
1889ebff85 (svn r17315) -Codechange: move code related to industry types to separate file 2009-08-30 11:40:01 +00:00
rubidium
be9033295e (svn r17247) -Change: move '3rd party' MD5 implementation also to the 3rdparty directory. 2009-08-21 20:15:17 +00:00
yexo
c463176a9c (svn r17219) -Cleanup: remove a lot of unused string code 2009-08-19 13:13:32 +00:00
rubidium
5e40d05c51 (svn r17216) -Update: MiniLZO from 1.08 to 2.03. 2009-08-18 22:26:38 +00:00
rubidium
48e1a54c58 (svn r17212) -Change: move minilzo to its 'own' 3rdparty directory as it belongs there 2009-08-18 17:49:28 +00:00
rubidium
93493827b6 (svn r17139) -Change: add the concept of sound sets 2009-08-09 19:50:44 +00:00
rubidium
cdb969e164 (svn r17133) -Codechange: generalise the code that searches for base graphics 2009-08-09 16:54:03 +00:00
smatz
0502a6df42 (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
8b50754b19 (svn r17036) -Codechange: Split price bases from economy.cpp to table/pricebase.h. 2009-08-02 12:34:26 +00:00
yexo
a8794fd833 (svn r17019) -Doc: add AI API changelog 2009-08-01 10:48:22 +00:00
yexo
86b89fda98 (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
dc4705de76 (svn r16980) -Fix (r16976): source.list and project files were not updated. 2009-07-29 14:46:08 +00:00
rubidium
d361ecd8f0 (svn r16914) -Codechange: split Station and BaseStation into different files 2009-07-22 11:35:35 +00:00
rubidium
6435dc89fe (svn r16912) -Codechange: split waypoint.h in waypoint_base.h and waypoint_func.h 2009-07-22 10:18:19 +00:00
smatz
93557ba4e9 (svn r16714) -Codechange: use pool-like accessors for Subsidy 2009-07-01 18:45:05 +00:00
alberth
ae9cd9b700 (svn r16684) -Codechange: Add maxdim function for Dimension struct. 2009-06-28 15:16:57 +00:00
rubidium
2c478d1b6d (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
d39c08fd9d (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
61a42f42c1 (svn r16640) -Codechange: move roadstop stuff to separate files 2009-06-23 21:44:48 +00:00
glx
56bc056e59 (svn r16589) -Fix (r16588): defautl stack size was set to 1KB instead 1MB 2009-06-17 19:18:29 +00:00
glx
b9ac38cd6a (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
4c227b6b78 (svn r16585) -Add [NoAI]: AIBuoyList to get a list of all buoys 2009-06-17 13:12:08 +00:00
smatz
1eb48cdded (svn r16403) -Codechange: move code related to subsidies to separate file 2009-05-23 15:46:00 +00:00
yexo
2d8609080f (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
3793b966c3 (svn r16380) -Codechange: rename pool.hpp to pool_type.hpp 2009-05-22 15:39:22 +00:00
smatz
50624d5c0f (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
79df89e5ec (svn r16123) -Fix: forgot to add table/strgen.h to the project files + a typo 2009-04-23 14:06:57 +00:00
yexo
70396d586b (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
b23d16d76f (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
790af95126 (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
4eea5c9669 (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
cd73406b9c (svn r15743) -Codechange: move the definitions of some fake squirrel types to their own file. 2009-03-16 17:30:49 +00:00
yexo
d02548b204 (svn r15736) -Codechange: Split AIScanner/AIFileInfo to the more generic classes ScriptScanner/ScriptFileInfo. 2009-03-15 22:41:57 +00:00
belugas
c540d40be1 (svn r15703) -Codechange: split Cmd* from waypoint.cpp to waypoint_cmd.cpp. 2009-03-13 21:49:24 +00:00
rubidium
0bbb7dfd38 (svn r15700) -Codechange: split Cmd* from signs.cpp to signs_cmd.cpp. 2009-03-13 20:29:35 +00:00
rubidium
473c210368 (svn r15699) -Codechange: split Cmd* from vehicle.cpp to vehicle_cmd.cpp. 2009-03-13 20:09:35 +00:00
yexo
69df9f2787 (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
66cb1fe1ff (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
6c1394121f (svn r15331) -Fix (r15330): remove extra semicolons 2009-02-03 23:30:23 +00:00
rubidium
2eebb52592 (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
16d1904e70 (svn r15324) -Codechange: unify the class used for comparing of strings for std::map 2009-02-03 18:08:07 +00:00
rubidium
faeafbef5e (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
f0ff90d71c (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
8d3f0dee85 (svn r15174) -Codechange: split oldloader.cpp 2009-01-20 16:47:42 +00:00
Yexo
5df58e414e (svn r15165) -Fix (r15163): The MSVC project files were not regenerated. 2009-01-20 12:40:34 +00:00
glx
f27e683492 (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
72b0341ed0 (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
850a2735cc (svn r15079) -Codechange: split tcp 'backend' and in-game handling like it is for UDP. 2009-01-14 12:50:13 +00:00
smatz
96529b2f0c (svn r15037) -Cleanup: remove unused file src/table/ai_rail.h 2009-01-12 19:26:21 +00:00
truebrain
c2406cd42d (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
cc7a0939e0 (svn r15008) -Revert (r12706): remove fibers 2009-01-12 14:45:20 +00:00
belugas
5f53496e54 (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
aa5ee77480 (svn r14950) -Codechange: MSVC projects and source list update 2009-01-10 03:04:43 +00:00
rubidium
4df86694a7 (svn r14910) -Codechange: merge the command queue handling into a single location 2009-01-08 13:57:50 +00:00