smatz
3793b966c3
(svn r16380) -Codechange: rename pool.hpp to pool_type.hpp
15 years ago
smatz
50624d5c0f
(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
79df89e5ec
(svn r16123) -Fix: forgot to add table/strgen.h to the project files + a typo
16 years ago
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.
16 years ago
peter1138
b23d16d76f
(svn r15799) -Codechange: Save rail type label list to savegame and perform mapping on load if necessary.
16 years ago
yexo
790af95126
(svn r15795) -Codechange: Move the settings table from settings.cpp to table/settings.h. Patch breaking time :)
16 years ago
rubidium
4eea5c9669
(svn r15777) -Add: helper functions to get the least common multiple and the greatest common divisor (Alberth)
16 years ago
yexo
cd73406b9c
(svn r15743) -Codechange: move the definitions of some fake squirrel types to their own file.
16 years ago
yexo
d02548b204
(svn r15736) -Codechange: Split AIScanner/AIFileInfo to the more generic classes ScriptScanner/ScriptFileInfo.
16 years ago
belugas
c540d40be1
(svn r15703) -Codechange: split Cmd* from waypoint.cpp to waypoint_cmd.cpp.
16 years ago
rubidium
0bbb7dfd38
(svn r15700) -Codechange: split Cmd* from signs.cpp to signs_cmd.cpp.
16 years ago
rubidium
473c210368
(svn r15699) -Codechange: split Cmd* from vehicle.cpp to vehicle_cmd.cpp.
16 years ago
yexo
69df9f2787
(svn r15519) -Add [NoAI]: support for waypoints by adding AIRail::Build/Remove RailWaypoint, AIWaypoint and AIWaypointList.
16 years ago
rubidium
66cb1fe1ff
(svn r15423) -Codechange: split widget related types to their own header and add a bit of type strictness.
16 years ago
smatz
16d1904e70
(svn r15324) -Codechange: unify the class used for comparing of strings for std::map
16 years ago
smatz
f0ff90d71c
(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
8d3f0dee85
(svn r15174) -Codechange: split oldloader.cpp
16 years ago
rubidium
206841ba5f
(svn r15163) -Change/Fix: use a non-blocking method to resolve the hostname and connect to game servers.
16 years ago
glx
f27e683492
(svn r15132) -Change: move console_gui.cpp and highscore_gui.cpp to 'GUI Source Code' section (MSVC)
16 years ago
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.
16 years ago
rubidium
850a2735cc
(svn r15079) -Codechange: split tcp 'backend' and in-game handling like it is for UDP.
16 years ago
smatz
96529b2f0c
(svn r15037) -Cleanup: remove unused file src/table/ai_rail.h
16 years ago
truebrain
23050b7782
(svn r15034) -Fix (r15027): NoAI framework no longer needs threads, so don't make source.list believe it does
16 years ago
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
16 years ago
glx
cc7a0939e0
(svn r15008) -Revert (r12706): remove fibers
16 years ago
belugas
5f53496e54
(svn r14951) -Revert: partly what has been done on r14950. That would teach me to update repos before
16 years ago
belugas
aa5ee77480
(svn r14950) -Codechange: MSVC projects and source list update
16 years ago
peter1138
8271eae3f6
(svn r14913) -Codechange: (Well, Buildchange:) Don't include unnecessary blitters or drivers when built as dedicated-only.
16 years ago
rubidium
4df86694a7
(svn r14910) -Codechange: merge the command queue handling into a single location
16 years ago
glx
206c5affcb
(svn r14882) -Change: move widgets related files to their own category (MSVC)
16 years ago
smatz
91233ea596
(svn r14828) -Codechange: move most of save/load-specific code to separate files
16 years ago
smatz
24e02fab11
(svn r14818) -Fix (r14723): add network_base.h to source.list and project files
16 years ago
smatz
7869c4ba66
(svn r14815) -Codechange: separate 'highscore' code from 'company' code
16 years ago
smatz
bd92143e7b
(svn r14742) -Codechange: use SmallMap in two cases to reduce compilation time and binary size
16 years ago
rubidium
5dd4735da1
(svn r14636) -Add: DOS port of OpenTTD, without network support though.
16 years ago
rubidium
ba2345808b
(svn r14632) -Add: support Allegro as midi backend.
16 years ago
rubidium
5ebb48fa86
(svn r14631) -Add: support for Allegro as sound backend.
16 years ago
rubidium
285d1846ae
(svn r14630) -Add: support Allegro as video backend.
16 years ago
rubidium
6a431fc089
(svn r14629) -Fix: strgen/strgen.h missing from MSVC project files
...
-Fix: welsh missing from MSVC project files
16 years ago
rubidium
e589c7e580
(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.
16 years ago
frosch
869e90ea86
(svn r14313) -Codechange: Move functions dealing with the EngineRenew pool to their own file.
16 years ago
rubidium
a20b833516
(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
7ceb1252a2
(svn r14153) -Codechange: split ini file reading/saving from settings.cpp.
16 years ago
belugas
2ac0767af5
(svn r14108) -Fix(r14104): Give a more consistent naming of the new gui file
16 years ago
belugas
d096431936
(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
1659719f31
(svn r14077) -Fix: MSVC projects re-ordering
16 years ago
rubidium
31d69a49e8
(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
eb5fb4443a
(svn r13988) -Codechange: move the to IP resolving functions to a separate file.
16 years ago
rubidium
8eb9c27f8d
(svn r13928) -Add [YAPP]: Function for getting the path reservation state of any tile. (michi_cc)
16 years ago
smatz
40d5242f91
(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
a192d5c7a3
(svn r13577) -Change: group core files in source.list together
16 years ago
skidd13
ad9b19b77a
(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
cf489a25b0
(svn r13552) -Codechange: use TTD_ENDIAN comparations instead of tests if TTD_[BIG/LITTLE]_ENDIAN is defined
16 years ago
skidd13
a8bb6177ee
(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
1f55797fe3
(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
bae02e8c67
(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
f731b31eda
(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
1272c55991
(svn r13287) -Codechange: move engine list gui code away from engine.cpp (and its headers) to engine_gui.cpp
16 years ago
rubidium
6e9227828e
(svn r13264) -Fix: yapf_settings.h was not removed from the project files.
16 years ago
rubidium
eb3347e9d8
(svn r13231) -Codechange: split the core console code and the console GUI.
16 years ago
rubidium
bf3b61cfa3
(svn r13228) -Codechange: split console.h.
16 years ago
rubidium
ad6e52080c
(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
083d7e8726
(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
c09737a3e1
(svn r13085) -Fix (r12980): wrong syntax in source.list causing unneeded file additions by generate.vbs
17 years ago
glx
5581d9f744
(svn r13084) -Fix (r13042): forgot to add querystring_gui.h to source.list and project files
17 years ago
smatz
b4968c6bea
(svn r13016) -Codechange: unify the detection if rail catenary should be drawn
17 years ago
rubidium
0c30e46c9c
(svn r13010) -Codechange: move the tree building GUI out of misc_gui.cpp.
17 years ago
rubidium
298ce62338
(svn r13007) -Fix: some files in source.list where in the wrong category.
17 years ago
smatz
8a422e34df
(svn r12995) -Codechange: use std::vector for EngineList instead of C/C++ wrapper for CBlobT
17 years ago
rubidium
e38e1aa631
(svn r12989) -Codechange: move ViewportSign to viewport_type.h.
17 years ago
rubidium
e0e1bf76a2
(svn r12986) -Codechange: move the landscape and transport related types from openttd.h to their own headers.
17 years ago
rubidium
6007500faf
(svn r12980) -Fix: MorphOS threading support. Patch by Fabien Coeurjoly.
17 years ago
rubidium
1ed3ea4705
(svn r12969) -Codechange: remove a completely pointless file.
17 years ago
smatz
89a8dc8cf7
(svn r12944) -Codechange: use rev.h instead of externs at many places
17 years ago
peter1138
45034bc522
(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
2b85217bfe
(svn r12857) -Fix [FS#1948]: remove the last uses of AutoPtr in the station code.
17 years ago
rubidium
8186344628
(svn r12804) -Codechange: move the effect vehicle handling out of vehicle.cpp
17 years ago
rubidium
faa0ba46d0
(svn r12802) -Fix (r12800): do not commit from the src directory when you want to commit source.list too.
17 years ago
rubidium
44128682cf
(svn r12768) -Codechange: move the statusbar GUI to it's own file.
17 years ago
rubidium
6de7106d0f
(svn r12763) -Fix: some headers were missing/still included in the MSVC project files.
17 years ago
rubidium
18e64b28e2
(svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location.
17 years ago
peter1138
efdf8b8c8a
(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
d022d4af3d
(svn r12706) -Merge: the thread rewrite from NoAI. The rewrite makes the threading we have better extendable.
17 years ago
rubidium
8ab49198b9
(svn r12695) -Codechange: only allocate window structs when needed. Based on a patch by Alberth.
17 years ago
smatz
76eaed68a0
(svn r12599) -Codechange: force AllocateSafeRaw() to be linked to simplify compiler's decisions about inlining
17 years ago
rubidium
b488fe1929
(svn r12501) -Codechange: split signs.h.
17 years ago
rubidium
0f1a82a4c2
(svn r12499) -Codechange: some coding style tweaks for network_internal.h.
17 years ago
rubidium
49a040e6ad
(svn r12476) -Codechange: split type engine related types from engine.h (and openttd.h) to engine_type.h.
17 years ago
rubidium
1f870e2bc9
(svn r12474) -Codechange: split type related stuff from waypoints from waypoint.h (and openttd.h) to waypoint_type.h.
17 years ago
rubidium
492d132831
(svn r12470) -Codechange: split order related types from order.h (and openttd.h) to order_type.h.
17 years ago
rubidium
bf54e0ba1c
(svn r12469) -Codechange: split type related stuff from group.h (and openttd.h) to group_type.h.
17 years ago
rubidium
eba67a3b8f
(svn r12468) -Codechange: move some type related stuff from station.h (and openttd.h) to station_type.h.
17 years ago
rubidium
02eddad8d9
(svn r12467) -Codechange: move DepotID to a more logical location.
17 years ago
rubidium
3b7c28f7e0
(svn r12461) -Change: add (quite) some missing headers to the MSVC project files.
17 years ago
belugas
55676e3b6c
(svn r12457) -Codechange: Move signal enums on their own header.
17 years ago
rubidium
a606fe9610
(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
672087ecf6
(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
4ec7f33f8c
(svn r12313) -Fix: YAPF and NTP did not apply penalty for uphill tracks on steep slopes.
17 years ago
KUDr
ff7e789f83
(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
d6670eed6b
(svn r12122) -Codechange: Add framework for generic feature callbacks, along with some parts for AI use.
17 years ago
glx
f20cf510e4
(svn r12116) -Fix (r12083): little typos in source.list
17 years ago
smatz
05169f53be
(svn r12115) -Codechange: move malloc/realloc error messages to separate file to spare 4-8kB of binary size
17 years ago
belugas
806c3e141d
(svn r12089) -Cleanup: re-order, yet another time, the files in msvc projects
17 years ago
belugas
8c32e8ad65
(svn r12083) -Cleanup: Adding some more files in MSVC projects
17 years ago
belugas
bb2dd8beb3
(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
70241f804b
(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
fc940e86b4
(svn r12078) -Cleanup: Add missing headers on project files
17 years ago
belugas
caffe1ddac
(svn r12077) -Cleanup: Remove files not used anymore from project files
17 years ago
smatz
74af65e556
(svn r11968) -Codechange: remove redundant FindLengthOfTunnel(), use GetTunnelBridgeLength() and/or GetOtherTunnelEnd() instead
17 years ago
peter1138
a4ba98af86
(svn r11850) -Fix (r11848): forgot to update vc project files
17 years ago
peter1138
1fa2285327
(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
bc4ed3eafd
(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
444e77d8bc
(svn r11774) -Change: do not include variables.h in a header when it is not needed.
17 years ago
skidd13
df3815b8dd
(svn r11699) -Cleanup: Remove some headers from the project files which aren't there anymore
17 years ago
rubidium
be923601bf
(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.h
17 years ago
smatz
926fe5c9e9
(svn r11644) -Codechange: merge some functions from tunnel_map.h and bridge_map.h into tunnelbridge_map.h
17 years ago
smatz
6ab52ddf89
(svn r11576) -Codechange: enumerize and comment station GUI
17 years ago
skidd13
057ae477b5
(svn r11527) -Codechange: Split the bitmath functions of to their own files
17 years ago
egladil
0fce8dbf1f
(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
d50bf9b7bd
(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
4e12073b27
(svn r11490) -Codechange: Split the math functions to their own header
...
-Codechange: Replace the rest of the math macros with functions
17 years ago
skidd13
039570342d
(svn r11488) -Codechange: Spilt the random functions out to seperate file
...
-Codechange: Make the mersenne twister more readable
-Codechange: Unify the seeding process of random
17 years ago
belugas
f26a591e6c
(svn r11399) -Feature(ette): transparency settings can now be saved and thus remembered.
...
-Codechange: Wrap all transparency settings in accessors, hiding the implementation
-Change: Clicking "transparent building" menu will toggle Houses And Trees only. The other options can be used in the transparency gui.
Initial patch by Smatz (FS#1349), with some rework by BigBB and your humble servant.
17 years ago
rubidium
80a3590bf5
(svn r11172) -Codechange: rewrite of town road building and addition of the possibility to clean up unconnected road bits during the local road reconstructions. Based on a patch by skidd13.
17 years ago
belugas
94ab174776
(svn r11165) -Fix(r11164): an unwelcome change in MSVC projects/openttd_vs80.vcproj, plus a fix in source.list
17 years ago
rubidium
ed96cd2711
(svn r11138) -Codechange: prepare some subsystems for persistent storage for NewGRFs.
17 years ago
rubidium
3055d42fc4
(svn r11107) -Feature: some tool so one can still build tunnels under rails (and other structures) when the owner of the structure built it on foundations and if you have enough "empty" space ofcourse. One could use the tool for some other construction needs too. Patch by frosch.
17 years ago
rubidium
e9924421bf
(svn r11089) -Codechange: add revision detection to MSVC.
17 years ago
truelight
f827093ba7
(svn r11078) -Add: added 32bpp-optimized, which is almost twice as fast as 32bpp-simple (based on the work of frosch)
...
-Add: let 32bpp-anim use 32bpp-optimizeds, so he profits from the speed-up too
17 years ago
rubidium
45b0b7755d
(svn r10601) -Codechange: store (and use) the type of stations instead of hardcoding station types by graphics IDs.
17 years ago
glx
52cba88586
(svn r10590) -Fix: cargo_packet.* were not sorted correctly in project files
17 years ago
peter1138
5e85e8c5e0
(svn r10444) -Codechange: switch to c++ classes and inheritance for sound/music/video drivers, using self-registration based on the blitter-model.
17 years ago
KUDr
ec1e0b8152
(svn r10391) -Add: debug support - structured dump of variables/classes/structures (with anti-recursion repository) into string
17 years ago
KUDr
65ba91d1c9
(svn r10389) -Add: CStrA, CStrCiA, CStrW, CStrCiW - case sensitive/insensitive ANSI/UNICODE string classes that support formatted (sprintf like) output.
17 years ago
rubidium
fc201d4ad8
(svn r10266) -Codechange: keep track of the origin, time of travel and accumulated feeder share (transfers) of individual pieces of cargo. This means that cargo isn't thrown on a big pile when it's put in a station or unloaded at a station, however the GUI does not reflect these changes yet so you will not actually see it.
17 years ago
truelight
73f593f93d
(svn r10264) -Fix: forgot to add texteff.hpp to the project files
17 years ago
maedhros
7fb6e8f11d
(svn r10236) -Feature: Introduce a form of timetabling for vehicles.
17 years ago
glx
168eee00cd
(svn r10231) -Cleanup: MSVC project files
17 years ago
truelight
9efe1d6776
(svn r10227) -Add: added 32bpp-anim blitter, a 32bpp blitter that does palette animation (at the cost of an animation-buffer to keep track of the 'm'-channel of all sprites)
17 years ago
glx
623a848cca
(svn r10211) -Feature: [NewGRF] Add support for action 0F
17 years ago
truelight
79cd3f5db0
(svn r10190) -Codechange: merged renderer and blitter to one single class API: blitter
...
-Codechange: introduced a hierachy of blitters to avoid a lot of code duplication
Note: this allows much easier adding other types of video-drivers, like OpenGL
17 years ago
rubidium
62a4c27829
(svn r10179) -Fix: spritecache wasn't in source.list, thus wasn't in the MSVC project files.
...
-Fix: Pig Latin wasn't in the MSVC project files.
17 years ago
rubidium
e355b1e55a
(svn r10170) -Codechange: remove some duplication of code.
17 years ago
truelight
063c4f7862
(svn r10148) -Fix r10143: make --without-png to compile again
17 years ago
truelight
19513f2604
(svn r10143) -Add: store the filename of the grfs opened and allow easy access to the name
...
-Codechange: store the SpriteID in the spritecache too
-Add: add a PNG loader for graphical files
-Documentation: added a document to explain the PNG format
17 years ago
truelight
f782a311f8
(svn r10132) -Codechange: split out the last direct video-buffer read access to the blitter-layer
...
-Add: added a new renderer and blitter to make room for some optimized bpp
-Fix: fill the alpha channel in the grf-spriteloader
17 years ago
belugas
107c84c3ab
(svn r10127) -Add: Addition of basic structure for industry tiles callbacks (unfinished).
...
-Codechange: ResolverObject receives member gfx, making it compatible for both industries and industry tiles
-Codechange: NewIndustryResolver now has his randombits and triggers (even if not implemented)
17 years ago
truelight
0e53fd6d32
(svn r10121) -Codechange: split renderer from rest of code; no longer any code directly accesses the video-buffer
...
-Add: added NULL blitter and renderer, which are always used for -vnull
-Add: dedicated driver doesn't blit nor render by default. Can be overruled by user. (-D -b 8bpp-optimized)
-Remove: removed CTRL+D from win32, which is incompatible with above
-Add: extended screenshot support for PNG and BMP
-Codechange: remove all hardcoded 8bpp references and replace them with more dynamic ones
-Codechange: minor stuff in blitters
17 years ago
truelight
340d5b43f9
(svn r10101) -Codechange: the class is named 8bppSimple, so name the files like that too
17 years ago
truelight
27febd474c
(svn r10092) -Codechange: code-seperated the spriteloader and blitter from the rest of the code
...
-Add: make it possible to pick your own blitter (-b <blitter>, -h for overview)
-Add: added a new optimized 8bpp blitter (default, caches sprites of all zoom-levels)
-Add: added a debug 8bpp blitter and a very slow normal 8bpp blitter
17 years ago