frosch
9db3cde73a
(svn r19914) -Codechange: Wrap a helper class around temporary assignments of _current_company to ensure proper restoration.
15 years ago
rubidium
1a5d7b34d8
(svn r19801) -Add [FS#3691]: custom naming of depots. Based on work by sbr
15 years ago
rubidium
afffced76d
(svn r19794) -Fix: missing header in MSVC project files
15 years ago
rubidium
21883a84d7
(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
15 years ago
yexo
38f4cb6469
(svn r19457) -Codechange: introduce AirportOverrideManager to keep track of airports if a newgrf can't be found
15 years ago
terkhen
07c373d60a
(svn r19339) -Codechange: Move acceleration functions to GroundVehicle.
15 years ago
terkhen
f428102092
(svn r19337) -Codechange: Create the GroundVehicle class.
15 years ago
yexo
dd7c2b2f9d
(svn r19205) -Codechange: move AirportSpec to newgrf_airport.h/cpp
15 years ago
yexo
40f6e69ae9
(svn r19191) -Codechange: move AirportTileSpec to newgrf_airporttiles.h
15 years ago
rubidium
036d204f4b
(svn r19092) -Fix (r19081): MSVC couldn't quite compile OpenTTD
15 years ago
terkhen
2329eacfe8
(svn r19076) -Codechange: Move graph functions to their own header.
15 years ago
terkhen
b9f06f3f29
(svn r19062) -Codechange: Move smallmap related functions to their own header.
15 years ago
michi_cc
0bad75d079
(svn r19059) -Fix (r19056): Regenerate MSVC project files.
15 years ago
alberth
05388c953a
(svn r19038) -Codechange: Move TileArea methods to their own file.
15 years ago
rubidium
2db44fc18e
(svn r18994) -Change: content mirroring support (based on work by TrueBrain).
15 years ago
yexo
de3c92dd06
(svn r18910) -Codechange: move the enum with airporttile names to table/airporttile_ids.h
15 years ago
yexo
830af8ee77
(svn r18845) -Codechange: introduce AirportTileSpec and use it for animation
15 years ago
frosch
d27999e446
(svn r18837) -Codechange: Rename DrawStationTileSeq() to DrawCommonTileSeq() and move it to separate file.
15 years ago
yexo
d669801f1d
(svn r18807) -Codechange: introduce AirportSpec and move several non-statemachine-related variables to there
15 years ago
rubidium
ca167791b6
(svn r18805) -Codechange: move airport_movement.h to table/
15 years ago
rubidium
6a047d2316
(svn r18782) -Codechange: move the content of callback_table.cpp to network_command.cpp; it's only ever used there.
15 years ago
rubidium
3ca0937c1c
(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.
15 years ago
frosch
1ed599f5cf
(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.
15 years ago
rubidium
8b88bb0c9b
(svn r18714) -Codechange: move the TileArea struct to it's own header
15 years ago
rubidium
a8d6d18b22
(svn r18608) -Change: add the concept of music sets
15 years ago
smatz
061de2b2df
(svn r18555) -Fix (r15027): fake definitions of squirrel types were wrong for eg. 64bit systems, don't use them
15 years ago
rubidium
6c6f2272b0
(svn r18426) -Fix: sort the names in source.list according to Microsoft's sorting rules
15 years ago
rubidium
ad6d8c1f46
(svn r18420) -Codechange: split YAPF's track follower from the actual YAPF code
15 years ago
rubidium
9426f2b173
(svn r18379) -Codechange: move the cache updating function to its own header to reduce the include 'pathfinder' dependencies
15 years ago
rubidium
76fe20cdcc
(svn r18367) -Codechange: unify the ship pathfinder 'calls'
15 years ago
rubidium
48d74751ac
(svn r18293) -Codechange: add a window to set the date. Based on work by PhilSophus and Maedhros.
15 years ago
smatz
bfedac1166
(svn r17822) -Codechange: move 'extra viewport' code from smallmap_gui.cpp to viewport_gui.cpp
15 years ago
rubidium
6032f406ad
(svn r17621) -Document [FS#3216]: most of the functions an AI can/must use in their instantiation of AIInfo.
15 years ago
frosch
e261d8d9a0
(svn r17616) -Codechange [FS#3222]: Enumerize properties used in callback 0x36. Based on Terkhen's work.
15 years ago
smatz
1da745c9ad
(svn r17612) -Feature: possibility to choose (randomise or enter custom) town name before its creation (original patch by Terkhen)
15 years ago
smatz
662ef3173b
(svn r17597) -Codechange: rename namegen* to townname*
15 years ago
yexo
ca6c4ee98a
(svn r17498) -Add [NoAI]: Enable the squirrel std math library
15 years ago
rubidium
5a86ba8469
(svn r17459) -Change: remove unused defines from MSVC project files
15 years ago
rubidium
2b144e2ea6
(svn r17450) -Codechange: refactor the windows crash logger so parts of it can be reused by other crash logger implementations
15 years ago
rubidium
b92143b53e
(svn r17409) -Codechange: split the crash log and other windows 'glue' code
15 years ago
rubidium
07d2af338e
(svn r17339) -Codechange: move thread related files to their own directory (like done for video, music, sound, etc)
15 years ago
rubidium
bc8e66c202
(svn r17336) -Codechange: move some os specific files into src/os/
15 years ago
smatz
c94b9973e6
(svn r17315) -Codechange: move code related to industry types to separate file
15 years ago
rubidium
60a3bc9034
(svn r17247) -Change: move '3rd party' MD5 implementation also to the 3rdparty directory.
15 years ago
yexo
94198e09ce
(svn r17219) -Cleanup: remove a lot of unused string code
15 years ago
rubidium
d4adee0b1d
(svn r17216) -Update: MiniLZO from 1.08 to 2.03.
15 years ago
rubidium
82105604c3
(svn r17212) -Change: move minilzo to its 'own' 3rdparty directory as it belongs there
15 years ago
rubidium
9ee2a66c86
(svn r17139) -Change: add the concept of sound sets
15 years ago
rubidium
f118932643
(svn r17133) -Codechange: generalise the code that searches for base graphics
15 years ago
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
15 years ago
frosch
a6cbf0d419
(svn r17036) -Codechange: Split price bases from economy.cpp to table/pricebase.h.
15 years ago
yexo
b4abe942cb
(svn r17019) -Doc: add AI API changelog
15 years ago
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
15 years ago
michi_cc
216ac43583
(svn r16980) -Fix (r16976): source.list and project files were not updated.
15 years ago
rubidium
6e3d999dce
(svn r16914) -Codechange: split Station and BaseStation into different files
15 years ago
rubidium
cb0409fe52
(svn r16912) -Codechange: split waypoint.h in waypoint_base.h and waypoint_func.h
15 years ago
smatz
76a50ce94d
(svn r16714) -Codechange: use pool-like accessors for Subsidy
15 years ago
alberth
8fba82c99b
(svn r16684) -Codechange: Add maxdim function for Dimension struct.
15 years ago
rubidium
18bc39d00b
(svn r16683) -Codechange: move the cargo payment handling to a seperate class. Based on ideas of fonso/fonsinchen.
15 years ago
smatz
e6a165881c
(svn r16664) -Codechange: move house-related stuff from town.h and town_type.h to separate files
15 years ago
smatz
0045096403
(svn r16640) -Codechange: move roadstop stuff to separate files
16 years ago
glx
b88443f035
(svn r16589) -Fix (r16588): defautl stack size was set to 1KB instead 1MB
16 years ago
glx
fcf75cdcc7
(svn r16588) -Fix [FS#2978]: set default stack size to 1MB to prevent _chstk crash (MSVC)
16 years ago
yexo
d09d3566dd
(svn r16585) -Add [NoAI]: AIBuoyList to get a list of all buoys
16 years ago
yexo
f92feb2a95
(svn r16562) -Revert (r16561)
16 years ago
yexo
176e55a8a3
(svn r16561) -Fix [NoAI]: AIMarine::AreWaterTilesConnected didn't return true for bridge head<>neighbouring water tile
16 years ago
smatz
b2aed51f8e
(svn r16403) -Codechange: move code related to subsidies to separate file
16 years ago
yexo
0b243d25cb
(svn r16400) -Add [NoAI]: add AISignList that can be used to get a list of valid signs. This makes AISign::GetMaxSignID obsolete.
16 years ago
smatz
56a7b70591
(svn r16380) -Codechange: rename pool.hpp to pool_type.hpp
16 years ago
smatz
62a7948af0
(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved
16 years ago
rubidium
1f25d9126f
(svn r16123) -Fix: forgot to add table/strgen.h to the project files + a typo
16 years ago
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.
16 years ago
peter1138
3abddfe705
(svn r15799) -Codechange: Save rail type label list to savegame and perform mapping on load if necessary.
16 years ago
yexo
0f7b9af9fa
(svn r15795) -Codechange: Move the settings table from settings.cpp to table/settings.h. Patch breaking time :)
16 years ago
rubidium
3ef8a09e20
(svn r15777) -Add: helper functions to get the least common multiple and the greatest common divisor (Alberth)
16 years ago
yexo
384599ef2c
(svn r15743) -Codechange: move the definitions of some fake squirrel types to their own file.
16 years ago
yexo
ce4744e1d6
(svn r15736) -Codechange: Split AIScanner/AIFileInfo to the more generic classes ScriptScanner/ScriptFileInfo.
16 years ago
belugas
42d9816ce3
(svn r15703) -Codechange: split Cmd* from waypoint.cpp to waypoint_cmd.cpp.
16 years ago
rubidium
e6353a1a22
(svn r15700) -Codechange: split Cmd* from signs.cpp to signs_cmd.cpp.
16 years ago
rubidium
070320f25b
(svn r15699) -Codechange: split Cmd* from vehicle.cpp to vehicle_cmd.cpp.
16 years ago
yexo
c0e7ddeb9e
(svn r15519) -Add [NoAI]: support for waypoints by adding AIRail::Build/Remove RailWaypoint, AIWaypoint and AIWaypointList.
16 years ago
rubidium
9907742a0f
(svn r15423) -Codechange: split widget related types to their own header and add a bit of type strictness.
16 years ago
glx
cabedf173d
(svn r15331) -Fix (r15330): remove extra semicolons
16 years ago
rubidium
1c30c8c801
(svn r15330) -Fix [FS#2597]: leaking of Squirrel when using circular references (by enabling the GC).
16 years ago
smatz
5ad1cd32b2
(svn r15324) -Codechange: unify the class used for comparing of strings for std::map
16 years ago
rubidium
6df312cd54
(svn r15300) -Cleanup: remove an unused icon and remove the references to swedish forgotten in r6358.
16 years ago
smatz
6dffd8ae82
(svn r15216) -Feature: native support for Transport Tycoon (Original) savegames. Based on SVXConverter's source code and documentation by Roman Vetter
16 years ago
smatz
49c5c71348
(svn r15174) -Codechange: split oldloader.cpp
16 years ago
Yexo
4091989752
(svn r15165) -Fix (r15163): The MSVC project files were not regenerated.
16 years ago
glx
f92fbaa548
(svn r15132) -Change: move console_gui.cpp and highscore_gui.cpp to 'GUI Source Code' section (MSVC)
16 years ago
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.
16 years ago
rubidium
e18c24cdb5
(svn r15079) -Codechange: split tcp 'backend' and in-game handling like it is for UDP.
16 years ago
smatz
4a5044e61a
(svn r15037) -Cleanup: remove unused file src/table/ai_rail.h
16 years ago
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
16 years ago
glx
e99335c085
(svn r15008) -Revert (r12706): remove fibers
16 years ago
belugas
ece7d9a16f
(svn r14951) -Revert: partly what has been done on r14950. That would teach me to update repos before
16 years ago
belugas
7f97d40080
(svn r14950) -Codechange: MSVC projects and source list update
16 years ago
rubidium
d4b6cc997d
(svn r14910) -Codechange: merge the command queue handling into a single location
16 years ago
glx
828675bf0e
(svn r14882) -Change: move widgets related files to their own category (MSVC)
16 years ago
glx
a446a2366c
(svn r14854) -Change: speedup compilation with MSVC on 'multi-processor' systems (khh)
16 years ago
smatz
7368c740a6
(svn r14828) -Codechange: move most of save/load-specific code to separate files
16 years ago
smatz
e9484cff12
(svn r14818) -Fix (r14723): add network_base.h to source.list and project files
16 years ago
smatz
09cd9a8017
(svn r14815) -Codechange: separate 'highscore' code from 'company' code
16 years ago
smatz
2e2086f3f8
(svn r14742) -Codechange: use SmallMap in two cases to reduce compilation time and binary size
16 years ago
rubidium
614e724dd4
(svn r14629) -Fix: strgen/strgen.h missing from MSVC project files
...
-Fix: welsh missing from MSVC project files
16 years ago
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.
16 years ago
rubidium
b650a86e58
(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.
16 years ago
frosch
856157b6da
(svn r14313) -Codechange: Move functions dealing with the EngineRenew pool to their own file.
16 years ago
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.
16 years ago
rubidium
ae32d158cb
(svn r14153) -Codechange: split ini file reading/saving from settings.cpp.
16 years ago
belugas
80ca96d469
(svn r14108) -Fix(r14104): Give a more consistent naming of the new gui file
16 years ago
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.
16 years ago
belugas
03f260059a
(svn r14077) -Fix: MSVC projects re-ordering
16 years ago
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.
16 years ago
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).
16 years ago
rubidium
c88cb1daa0
(svn r13988) -Codechange: move the to IP resolving functions to a separate file.
16 years ago
rubidium
2bb8825538
(svn r13928) -Add [YAPP]: Function for getting the path reservation state of any tile. (michi_cc)
16 years ago
smatz
fee2adb299
(svn r13618) -Codechange: move tar-specific declarations to separate file
...
Removes indirect dependency on <string> and <map> for over 40 files
17 years ago
skidd13
bf826eb06e
(svn r13577) -Change: group core files in source.list together
17 years ago
skidd13
2f65d35ead
(svn r13575) -Codechange: Move small vector to core since it fits better in there
...
-Codechange: convert smallvector from struct to class
17 years ago
smatz
9da745b381
(svn r13552) -Codechange: use TTD_ENDIAN comparations instead of tests if TTD_[BIG/LITTLE]_ENDIAN is defined
17 years ago
skidd13
96fc91baf3
(svn r13516) -Codechange: Move MemCpyT to a fitting core header
...
-Codechange: Split the sorting code from the sortlist to an appropriate header
17 years ago
smatz
c7a9637834
(svn r13375) -Add: logging of actions that could possibly cause desyncs and crashes to simplify debugging. See readme.txt for details
17 years ago
rubidium
2f3b88ef9a
(svn r13343) -Codechange: reorder/move variable/functions in the network headers so that nothing from the network directory needs to include basically all network headers.
17 years ago
peter1138
9e863e1dbb
(svn r13308) -Fix (r13307): projects/generate...
17 years ago
peter1138
f7a9c4f522
(svn r13287) -Codechange: move engine list gui code away from engine.cpp (and its headers) to engine_gui.cpp
17 years ago
rubidium
5a0fb3ca97
(svn r13264) -Fix: yapf_settings.h was not removed from the project files.
17 years ago
rubidium
68bb5a08c5
(svn r13231) -Codechange: split the core console code and the console GUI.
17 years ago
rubidium
6c20f77330
(svn r13228) -Codechange: split console.h.
17 years ago
rubidium
87015f5b63
(svn r13140) -Codechange: move the gui-list-sorting out of window_gui.h so window_gui.h only needs to be included in *_gui.cpp.
17 years ago
rubidium
7491b792e2
(svn r13114) -Codechange: use InvalidateData instead of direct window access to modify the state of the statusbar from outside the statusbar.
17 years ago
glx
044f385f9c
(svn r13085) -Fix (r12980): wrong syntax in source.list causing unneeded file additions by generate.vbs
17 years ago
glx
1118e389e9
(svn r13084) -Fix (r13042): forgot to add querystring_gui.h to source.list and project files
17 years ago
smatz
386a3f1d20
(svn r13016) -Codechange: unify the detection if rail catenary should be drawn
17 years ago
rubidium
cd3dda5c0c
(svn r13010) -Codechange: move the tree building GUI out of misc_gui.cpp.
17 years ago
rubidium
f7b6a02b1e
(svn r13007) -Fix: some files in source.list where in the wrong category.
17 years ago
smatz
3445b8054c
(svn r12995) -Codechange: use std::vector for EngineList instead of C/C++ wrapper for CBlobT
17 years ago
rubidium
cd7c99452f
(svn r12989) -Codechange: move ViewportSign to viewport_type.h.
17 years ago
rubidium
7ccda80b0b
(svn r12986) -Codechange: move the landscape and transport related types from openttd.h to their own headers.
17 years ago
rubidium
fb1db90cc6
(svn r12969) -Codechange: remove a completely pointless file.
17 years ago
smatz
297f99e100
(svn r12944) -Codechange: use rev.h instead of externs at many places
17 years ago
peter1138
a00371c8db
(svn r12924) -Feature: Introducing the so called 'engine pool' which primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.
17 years ago
rubidium
dce1b33196
(svn r12857) -Fix [FS#1948]: remove the last uses of AutoPtr in the station code.
17 years ago
rubidium
b139756e2b
(svn r12804) -Codechange: move the effect vehicle handling out of vehicle.cpp
17 years ago
rubidium
8c2c7c27ea
(svn r12768) -Codechange: move the statusbar GUI to it's own file.
17 years ago
rubidium
8fa715e43b
(svn r12763) -Fix: some headers were missing/still included in the MSVC project files.
17 years ago
rubidium
b1d1a4ac66
(svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location.
17 years ago
peter1138
7957bdde13
(svn r12737) -Codechange: Replace vector with a cut down class to allocate space as necessary. This avoids copying data around for vector's push_back() function.
17 years ago
rubidium
12188e7a5d
(svn r12706) -Merge: the thread rewrite from NoAI. The rewrite makes the threading we have better extendable.
17 years ago
smatz
6af1fb2bdd
(svn r12599) -Codechange: force AllocateSafeRaw() to be linked to simplify compiler's decisions about inlining
17 years ago