Commit Graph

314 Commits (99c1f8af97b654a30eef9ac5845e00be040862cb)

Author SHA1 Message Date
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 d916400521 (svn r17453) -Add: crash logger for all Unixy OSes; should work for all, but I don't have all exotic machines so it might break compilation on the more exotic configurations 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 15 years ago
yexo d09d3566dd (svn r16585) -Add [NoAI]: AIBuoyList to get a list of all buoys 15 years ago
smatz b2aed51f8e (svn r16403) -Codechange: move code related to subsidies to separate file 15 years ago
yexo 8d072585ae (svn r16401) -Fix (r16400): forgot to commit the changes to source.list (thanks SmatZ) 15 years ago
smatz 56a7b70591 (svn r16380) -Codechange: rename pool.hpp to pool_type.hpp 15 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 15 years ago
rubidium 1f25d9126f (svn r16123) -Fix: forgot to add table/strgen.h to the project files + a typo 15 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. 15 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
smatz 5ad1cd32b2 (svn r15324) -Codechange: unify the class used for comparing of strings for std::map 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
rubidium 28a641066e (svn r15163) -Change/Fix: use a non-blocking method to resolve the hostname and connect to game servers. 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 a5c47a2da8 (svn r15034) -Fix (r15027): NoAI framework no longer needs threads, so don't make source.list believe it does 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
peter1138 5a430c3e6b (svn r14913) -Codechange: (Well, Buildchange:) Don't include unnecessary blitters or drivers when built as dedicated-only. 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
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 a614dd7174 (svn r14636) -Add: DOS port of OpenTTD, without network support though. 16 years ago
rubidium 34ddda1009 (svn r14632) -Add: support Allegro as midi backend. 16 years ago
rubidium 72124862f0 (svn r14631) -Add: support for Allegro as sound backend. 16 years ago
rubidium 3aacd0a3d5 (svn r14630) -Add: support Allegro as video backend. 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 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 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
16 years ago
skidd13 bf826eb06e (svn r13577) -Change: group core files in source.list together 16 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
16 years ago
smatz 9da745b381 (svn r13552) -Codechange: use TTD_ENDIAN comparations instead of tests if TTD_[BIG/LITTLE]_ENDIAN is defined 16 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
16 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 16 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. 16 years ago
peter1138 f9fc53f98a (svn r13307) -Codechange: Separate VehicleList and its two functions so only the 3 users include it, reducing dependencies on misc/smallvec.h 16 years ago
peter1138 f7a9c4f522 (svn r13287) -Codechange: move engine list gui code away from engine.cpp (and its headers) to engine_gui.cpp 16 years ago
rubidium 5a0fb3ca97 (svn r13264) -Fix: yapf_settings.h was not removed from the project files. 16 years ago
rubidium 68bb5a08c5 (svn r13231) -Codechange: split the core console code and the console GUI. 16 years ago
rubidium 6c20f77330 (svn r13228) -Codechange: split console.h. 16 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. 16 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. 16 years ago
glx 044f385f9c (svn r13085) -Fix (r12980): wrong syntax in source.list causing unneeded file additions by generate.vbs 16 years ago
glx 1118e389e9 (svn r13084) -Fix (r13042): forgot to add querystring_gui.h to source.list and project files 16 years ago
smatz 386a3f1d20 (svn r13016) -Codechange: unify the detection if rail catenary should be drawn 16 years ago
rubidium cd3dda5c0c (svn r13010) -Codechange: move the tree building GUI out of misc_gui.cpp. 16 years ago
rubidium f7b6a02b1e (svn r13007) -Fix: some files in source.list where in the wrong category. 16 years ago
smatz 3445b8054c (svn r12995) -Codechange: use std::vector for EngineList instead of C/C++ wrapper for CBlobT 16 years ago
rubidium cd7c99452f (svn r12989) -Codechange: move ViewportSign to viewport_type.h. 16 years ago
rubidium 7ccda80b0b (svn r12986) -Codechange: move the landscape and transport related types from openttd.h to their own headers. 16 years ago
rubidium 3b9e4f6d17 (svn r12980) -Fix: MorphOS threading support. Patch by Fabien Coeurjoly. 16 years ago
rubidium fb1db90cc6 (svn r12969) -Codechange: remove a completely pointless file. 16 years ago
smatz 297f99e100 (svn r12944) -Codechange: use rev.h instead of externs at many places 16 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. 16 years ago
rubidium dce1b33196 (svn r12857) -Fix [FS#1948]: remove the last uses of AutoPtr in the station code. 16 years ago
rubidium b139756e2b (svn r12804) -Codechange: move the effect vehicle handling out of vehicle.cpp 16 years ago
rubidium 12ae3a2194 (svn r12802) -Fix (r12800): do not commit from the src directory when you want to commit source.list too. 16 years ago
rubidium 8c2c7c27ea (svn r12768) -Codechange: move the statusbar GUI to it's own file. 16 years ago
rubidium 8fa715e43b (svn r12763) -Fix: some headers were missing/still included in the MSVC project files. 16 years ago
rubidium b1d1a4ac66 (svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location. 16 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. 16 years ago
rubidium 12188e7a5d (svn r12706) -Merge: the thread rewrite from NoAI. The rewrite makes the threading we have better extendable. 16 years ago
rubidium 9a73b698d4 (svn r12695) -Codechange: only allocate window structs when needed. Based on a patch by Alberth. 16 years ago
smatz 6af1fb2bdd (svn r12599) -Codechange: force AllocateSafeRaw() to be linked to simplify compiler's decisions about inlining 16 years ago
rubidium a0895d57fa (svn r12501) -Codechange: split signs.h. 16 years ago
rubidium b1e1c13420 (svn r12499) -Codechange: some coding style tweaks for network_internal.h. 16 years ago
rubidium 93d59fe448 (svn r12476) -Codechange: split type engine related types from engine.h (and openttd.h) to engine_type.h. 16 years ago
rubidium f4d48f0e5b (svn r12474) -Codechange: split type related stuff from waypoints from waypoint.h (and openttd.h) to waypoint_type.h. 16 years ago
rubidium 4c63dd074e (svn r12470) -Codechange: split order related types from order.h (and openttd.h) to order_type.h. 16 years ago
rubidium 878489e38d (svn r12469) -Codechange: split type related stuff from group.h (and openttd.h) to group_type.h. 16 years ago
rubidium 58e6e75320 (svn r12468) -Codechange: move some type related stuff from station.h (and openttd.h) to station_type.h. 16 years ago
rubidium 7f139373aa (svn r12467) -Codechange: move DepotID to a more logical location. 16 years ago
rubidium 0d30619425 (svn r12461) -Change: add (quite) some missing headers to the MSVC project files. 16 years ago
belugas 79f033c78f (svn r12457) -Codechange: Move signal enums on their own header. 16 years ago
rubidium 327e870962 (svn r12425) -Feature [FS#1846]: On Screen Keyboard for input fields so someone without a keyboard can enter text too. Patch by Dominik. 17 years ago
rubidium 65c7ef9629 (svn r12398) -Codechange [FS#1770]: Move toolbar related code to it's own little neighbourhood. Based on a patch by Dominik. 17 years ago
frosch 35fd0dfd4e (svn r12313) -Fix: YAPF and NTP did not apply penalty for uphill tracks on steep slopes. 17 years ago
KUDr e41df385d7 (svn r12252) -Fix [FS#1801]: Broken FollowTrack_t related functions (thanks michi_cc).
-Fixed by removing FollowTrack_t structure and all related functions. Their purpose was to allow to call track followers from C code. They were:
  1. never used
  2. obsoleted by switching to C++
17 years ago
peter1138 4d0c443953 (svn r12122) -Codechange: Add framework for generic feature callbacks, along with some parts for AI use. 17 years ago
glx 42b305661b (svn r12116) -Fix (r12083): little typos in source.list 17 years ago
smatz f19eca0905 (svn r12115) -Codechange: move malloc/realloc error messages to separate file to spare 4-8kB of binary size 17 years ago
belugas 9343ad44fd (svn r12089) -Cleanup: re-order, yet another time, the files in msvc projects 17 years ago
belugas bf15bc9c57 (svn r12083) -Cleanup: Adding some more files in MSVC projects 17 years ago
belugas 30a8c150d0 (svn r12082) -Cleanup: MSVC projects do not care about the directory of the file while sorting. Only the "Absolute" name matters 17 years ago
belugas 034150c199 (svn r12081) -Codechange: Rename table/roadveh.h to table/roadveh_movment.h
It is more descriptive name and it will not upset the generate script anymore
17 years ago
belugas 431c3ce3c1 (svn r12078) -Cleanup: Add missing headers on project files 17 years ago
belugas 8a3f6830a3 (svn r12077) -Cleanup: Remove files not used anymore from project files 17 years ago
smatz 5a7c903770 (svn r11968) -Codechange: remove redundant FindLengthOfTunnel(), use GetTunnelBridgeLength() and/or GetOtherTunnelEnd() instead 17 years ago
peter1138 ea808b2bfa (svn r11850) -Fix (r11848): forgot to update vc project files 17 years ago
peter1138 e4c05f8d78 (svn r11848) -Codechange: New class-based drop down list functionality. Lists are now dynamically generated, and can include parameters, or be extended however needed. 17 years ago
smatz f44a9a5d5b (svn r11802) -Fix [FS#716]: do not crash trains when leaving depot to a very long track
-Codechange: use dedicated pathfinder for signal updating, resulting in better performance and possible future improvements
17 years ago
rubidium b0ac283aec (svn r11774) -Change: do not include variables.h in a header when it is not needed. 17 years ago
skidd13 6cb68b9144 (svn r11699) -Cleanup: Remove some headers from the project files which aren't there anymore 17 years ago
rubidium 5b49e75453 (svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.h 17 years ago
smatz 3cee0abdba (svn r11644) -Codechange: merge some functions from tunnel_map.h and bridge_map.h into tunnelbridge_map.h 17 years ago
smatz eda5921284 (svn r11576) -Codechange: enumerize and comment station GUI 17 years ago
skidd13 71c10f7df7 (svn r11527) -Codechange: Split the bitmath functions of to their own files 17 years ago
egladil 2ebf50e421 (svn r11498) -Add [FS#1411]: [OSX] Added support for using Quartz instead of Quickdraw in windowed mode on OS X 10.4 and higher. Based on a patch by blackis. 17 years ago
egladil 3ad488e98f (svn r11492) -Codechange: [OSX] Split the cocoa video driver into several files. The reason for this is that the fullscreen and windowed mode api are separate from each other in OS X and thus the driver actual is two drivers in one. This split is to make the code more readable and to prepare for replacing the Quickdraw windowed mode code which uses apis deprecated as of OS X 10.5 (and maybe earlier). 17 years ago
skidd13 737aec4db6 (svn r11490) -Codechange: Split the math functions to their own header
-Codechange: Replace the rest of the math macros with functions
17 years ago