Commit Graph

1815 Commits (f38ea388dd912fdfefa0a6cc12ea7f2aa9a91525)

Author SHA1 Message Date
rubidium d751ce56cb (svn r10760) -Codechange: make the order struct use the pool item class as super class. 17 years ago
rubidium e4149482ec (svn r10759) -Codechange: make the industry struct use the pool item class as super class. 17 years ago
rubidium 549450d31a (svn r10758) -Codechange: make the depot struct use the pool item class as super class. 17 years ago
rubidium 5016f5497c (svn r10757) -Codechange: make the engine renew struct use the pool item class as super class. 17 years ago
rubidium b15c0efaa9 (svn r10756) -Codechange: use vehicle->IsValid in favour of IsValidVehicle(vehicle). 17 years ago
rubidium db374f600c (svn r10755) -Codechange: make the town struct use the pool item class as super class. 17 years ago
rubidium 472749af66 (svn r10754) -Fix: MorphOS does not like sizeof in the templated pool item class, so use the item size that is set in the pool. 17 years ago
rubidium 60a4da9913 (svn r10753) -Codechange: make the sign struct use the pool item class as super class. 17 years ago
rubidium 7ecd937e74 (svn r10752) -Fix: apparantly const on function pointers is ignored. 17 years ago
rubidium 87ad3df284 (svn r10751) -Codechange: make the group struct use the pool item class as super class. 17 years ago
rubidium dd666a80d5 (svn r10750) -Codechange: make the waypoint struct use the new poolitem class as super class. 17 years ago
rubidium cab6275511 (svn r10749) -Codechange: use the generic pool item class as super class for cargo packets, which results in a nice reduction of code duplication. 17 years ago
rubidium fc12fc0140 (svn r10748) -Codechange: call the pool cleanup functions for stations directly instead of using the wrapper functions. 17 years ago
rubidium 9009f0aa20 (svn r10747) -Codechange: add a variable that points to some index in the pool that is not beyond the first free pool item. It does not necessarily point to the first free item, but it reduces allocation time as it does not have to start at the first item in the pool to find the first free item. 17 years ago
rubidium 9378e5fd38 (svn r10746) -Codechange: add a generic superclass for almost all pool items so we do not have to duplicate code for each of the pool item classes and use it for the station and roadstop classes. 17 years ago
rubidium aa78685c99 (svn r10745) -Codechange: generalize the pool cleanup/initialize functions for stations (in such a manner that they can be used for other pools too). 17 years ago
rubidium 4e96ce3dfe (svn r10744) -Codechange: make the pool a little more OO, so it can be easier in other places. 17 years ago
rubidium 435d39f8fb (svn r10743) -Fix: some typos introduces by copy-pasting. 17 years ago
miham c693a57499 (svn r10737) -Update: WebTranslator2 update to 2007-07-30 19:33:14
catalan    - 51 changed by arnaullv (51)
german     - 3 changed by chu (3)
polish     - 5 fixed by meush (5)
17 years ago
peter1138 06986b7744 (svn r10736) -Fix: Correct all mispellings of 'successful'. 17 years ago
peter1138 92061aba4e (svn r10734) -Fix [FS#1030]: Revert r10513) and add special cases for collision detection on bridges/tunnels. 17 years ago
rubidium 7fb3f54584 (svn r10733) -Codechange: change MP_STREET into MP_ROAD as we use the word "road" everywhere except in the tile type. 17 years ago
rubidium d4666b51ee (svn r10732) -Codechange: lower the minimum size for the extra viewport window. 17 years ago
rubidium c4613280d1 (svn r10731) -Codechange: allow smaller initial "build <vehicle type>" windows. 17 years ago
rubidium cffc67aae8 (svn r10730) -Codechange: allow (some) arbitrary data to be send to the WE_CREATE event. 17 years ago
rubidium 809238e634 (svn r10729) -Fix: some hardware (PS(P|3)) seems to loose the non-blocking state of UDP sockets. 17 years ago
rubidium d17ae2f363 (svn r10728) -Documentation [FS#1088]: of tile.h. Based on a patch by Progman. 17 years ago
rubidium 1ff82506a0 (svn r10727) -Codechange: when a window would fall outside of the screen (on the right) when opening it, move it to the left so it stays inside the screen. 17 years ago
rubidium dd0fac984b (svn r10726) -Codechange: make it possible that the chat window is less than 640 pixels. 17 years ago
rubidium 59ff947471 (svn r10725) -Codechange: move some window related code out of gfx.cpp to windows.cpp 17 years ago
peter1138 279ed3a9c1 (svn r10724) -Fix (r10723): Toolbar spacing was off-by-one 17 years ago
rubidium 26c62dc5c0 (svn r10723) -Codechange: dynamically sized (width) main toolbars and status bar for when the window becomes less than 640 pixels in width. 17 years ago
rubidium ab37af1da5 (svn r10722) -Codechange: unhardcode the positions of strings in the status bar. 17 years ago
peter1138 64ad100db4 (svn r10721) -Fix [FS#1084]: Skip articulated parts of road vehicles during unique name check. 17 years ago
rubidium 8ccb6c2d17 (svn r10720) -Codechange: unhardcode the positions of the player toolbar menus. 17 years ago
rubidium a4898699c5 (svn r10719) -Codechange: since DParams are now 64 bits we should make NUM and COMMA handle writing 64 bit integers to the strings. 17 years ago
rubidium b0f2653eb8 (svn r10718) -Fix (r10698): when having a road corner on a slope removing the road bit perpendicular on the slope made the foundation disappear. 17 years ago
rubidium aeb992ce90 (svn r10717) -Fix: in-game console had a "transparent" part when opened in a game, while it did not in the menu. 17 years ago
rubidium b6c3a127af (svn r10716) -Codechange: not all windows' minimum size is actually their minimum size, so take the size of the window after WE_CREATE has been called as bare minimum size. 17 years ago
truelight 3a45534e4e (svn r10715) -Fix: limited-fs code was broken 17 years ago
glx 94fa0ec289 (svn r10714) -Fix r10696: MSVC performance warning 17 years ago
KUDr 5eb4036eb2 (svn r10713) -Cleanup (r10711): too long string buffers, unsafe sprintf used (Darkvater) 17 years ago
KUDr 51b26f96d2 (svn r10712) -Fix (r10711): \0 at the end of string constant (glx) 17 years ago
KUDr f9411f30c4 (svn r10711) -Fix [Win32]: take default language from current user's locale on Windows (In-) 17 years ago
rubidium 1c4b953f06 (svn r10710) -Codechange: allow automatic downsizing of the group window. Same as idea as for the previous commits, i.e. you could already do so but the button would be out of reach. 17 years ago
rubidium b54b275ee4 (svn r10709) -Codechange: allow automatic downsizing of the load game/save game windows. These windows also already supported downsizing, but again the resize button would be unreachable. 17 years ago
rubidium db0a4153a6 (svn r10708) -Codechange: allow automatic downsizing of the smallmap window in case of low resolutions; one could already make the window smaller, but the resize button was unreachable. 17 years ago
rubidium e68a3e9777 (svn r10707) -Codechange: account for the main toolbar and status bar when determining the maximum height for a window. 17 years ago
rubidium 705696f736 (svn r10706) -Codechange: allow resizing the multiplayer server list window. 17 years ago
rubidium 8b5961d5e0 (svn r10705) -Fix (r10704): some windows were not correctly initialized as they resized the window themselves and that should be interfered by making sure the window is resized in the right "step" size.
-Fix (r10704): call the WE_RESIZE when resizing during initialization of the windows.
17 years ago
rubidium c03cb2c8db (svn r10704) -Codechange: provide an infrastructure to have resizable windows that are smaller than the default window size. 17 years ago
miham f01f2c3a66 (svn r10703) -Update: WebTranslator2 update to 2007-07-27 10:33:19
croatian   - 1 fixed, 6 changed by knovak (7)
17 years ago
rubidium e8acc3d35d (svn r10702) -Fix: "Can't build ..." instead of "Can't remove ..." message shown for road stops for trucks/cargo trams. 17 years ago
belugas 3f7a7261d6 (svn r10701) -Codechange: Make sure to not use an out of bound index when the index is specified by a grf file. It has a different meaning then. 17 years ago
belugas 8ad3a6f8fd (svn r10700) -Codechange: Enable to jump (by default) to the overriding industry tile spec of the one been queried.
Only on certain very specific circumstances do we need the original spec
17 years ago
rubidium 205e700b26 (svn r10699) -Fix (r10698): bridge middle parts were drawn too high if the southern bridge head has a foundation. 17 years ago
rubidium d624f66c79 (svn r10698) -Codechange [FS#1082]: simplify the code related to foundations. Primarily removal of (duplicated|magic) code and introduction of few helper functions to ease foundation determination. Patch by frosch. 17 years ago
rubidium 5bd241eb5b (svn r10697) -Codechange: give a more sensible names to some of the unkX variables. 17 years ago
rubidium 02ab86631e (svn r10696) -Codechange: remove duplication of the "make sprite transparent" code. 17 years ago
rubidium d031da78d8 (svn r10695) -Fix [FS#1079]: building single pieces of road over tramtrack or vice versa on slopes did not work as expected. 17 years ago
rubidium fda75ae603 (svn r10694) -Codechange: update the server information in the game list every once in a while so the information stays fairly up-to-date when you are looking through the servers. 17 years ago
rubidium 715c5566a3 (svn r10692) -Fix (r10691): those good old days that LT_NORMAL was still called LT_NORMAL :) 17 years ago
rubidium aa36c607b4 (svn r10691) -Codechange [FS#509]: simplify GetTransportedGoodsIncome to make it more obvious and less hidden what actually happens. Based on a patch by rfalke. 17 years ago
rubidium 9e3ee0e689 (svn r10690) -Codechange: use the enum that describes all callback IDs in favor of "just" using an untyped integer. 17 years ago
rubidium 77b0e30b76 (svn r10689) -Documentation [FS#1057]: lots of function documentation written by Progman. 17 years ago
rubidium 5833ceb5a2 (svn r10688) -Cleanup: coding style cleanups missed in the last few cleanups. 17 years ago
rubidium 669f879632 (svn r10687) -Fix (r10686): subversion does not like it when you change code when you are typing the commit message. 17 years ago
rubidium 8131ce7e21 (svn r10686) -Fix [FS#1058]: determining whether there is a tunnel going under the lowered area is only needed in two directions instead of all four, so take the directions (one for each axis) to the nearest border (along the given axis). Furthermore GetTileZ did much more than absolutely necessary. 17 years ago
rubidium 122ce21f32 (svn r10685) -Fix [FS#1076]: graphical glitches when the "link landscape toolbar" patch is turned on when opening one of the construction toolbars. 17 years ago
rubidium b290268645 (svn r10684) -Codechange: some more coding style related changes. Primarily moving { to a new line. 17 years ago
rubidium e640900e8a (svn r10681) -Codechange: do not determine whether a tile is a hangar based on the graphics index to be drawn on the given tile, but do it based on the specification of the location of hangars of the airport. 17 years ago
rubidium fe8e297995 (svn r10675) -Codechange: unhardcode the industry types used in several locations of the source code. 17 years ago
rubidium 5d3f058b65 (svn r10673) -Cleanup: some assorted style cleanups. Primarily type* var -> type *var. 17 years ago
rubidium 0d9a51de6d (svn r10672) -Codechange: typify some parameters/variables. 17 years ago
truelight 01d08680e1 (svn r10671) -Codechange: don't mix both lookup and temp-variable-with-value-of-lookup (skidd13) 17 years ago
belugas d87359a827 (svn r10670) -Fix: Use proper initialization for grf_prop override member 17 years ago
belugas 7da7523caa (svn r10669) -Codechange: Removed redundant comment
-Codechange: Add placeholder for yet another industry "variable" to code
17 years ago
truelight b0d618c66b (svn r10665) -Codechange: replace magic 15 with MAX_TILE_HEIGHT (bilbo)
-Codechange: replace magic 13 with MAX_SNOWLINE_HEIGHT (bilbo)
-Codechange: assure _map_height_bits is always of correct size (Rubidium)
17 years ago
truelight 33d78635ef (svn r10664) -Codechange: simplify a small piece of code (skidd13) 17 years ago
truelight 155b912ebb (svn r10663) -Fix r10662: bad me, didn't comply with coding style, as penalty I updated the surrounding code to comply with coding style too; I will never do it again (I hope :p) 17 years ago
truelight ef0be0e1dc (svn r10662) -Add: added 'V' as new shortcut for new viewport (bilbo)
-Add: added 'M' as new shortcut for smallmap (bilbo)
-Add: added '+' and '-' as shortcuts to zoom in the mainview (bilbo)
-Add: added support for other keycodes to be possible used in the future (bilbo)
17 years ago
truelight 4c1912f881 (svn r10661) -Documentation: documented slope.h (Progman) 17 years ago
truelight 2f0448ddba (svn r10660) -Codechange: simplified tunnel cost algorithm (bilbo) 17 years ago
truelight 98b23edeb3 (svn r10659) -Codechange: updated documentation around RAIL_GROUND_FENCE_VERT[12] (frosch)
-Codechange: added documentation and SPR_ enums for track fences (frosch)
17 years ago
glx 8367e16809 (svn r10658) -Add: support for autosave_on_exit in the console, so dedicated servers can use it 17 years ago
truelight 045a51ce62 (svn r10657) -Fix r10655: commit didn't comply with coding style (tnx glx :)) 17 years ago
truelight 3ce600a644 (svn r10656) -Fix [FS#1068]: GetPartialZ returned wrong value for SLOPE_STEEP_E (frosch) 17 years ago
truelight c4e47c07c9 (svn r10655) -Fix [FS#1070]: Trolly AI didn't know about steep slopes, and used wrong tileh in some cases (frosch) 17 years ago
orudge 6196ff1263 (svn r10651) -Fix: Fix chdir problem with open/save dialog on OS/2 (Paul Smedley) 17 years ago
peter1138 724ac18d1e (svn r10649) -Fix (r9962): autoscroll (pointer near screen edge) didn't work 17 years ago
miham 251a445438 (svn r10648) -Update: WebTranslator2 update to 2007-07-21 20:34:31
croatian   - 44 fixed, 143 changed by knovak (187)
17 years ago
KUDr d3c20d65bd (svn r10647) -Fix: AutoPtrT::operator =() didn't delete old object 17 years ago
KUDr 43ddd64817 (svn r10646) -Cleanup: AutoPtrT<>::Release() renamed to Detach()
-better describes what it does
 -was inconsistent with CCountedPtr<>::Release()
17 years ago
KUDr af39f3a084 (svn r10645) -Fix (r10644): file contents seems to be 3x there 17 years ago
rubidium 5083f22d1d (svn r10644) -Merge (from NoAI): framework for reference counted objects (pointers). 17 years ago
rubidium 3f983ff1f2 (svn r10643) -Merge (from NoAI): properly counting the amount of signs instead of using the size of the sign pool. 17 years ago
belugas b9b59ec169 (svn r10641) -Fix(r10638): Forgotten Son... err...include 17 years ago
belugas fabd64e1e6 (svn r10640) -Fix(r10638): little typo... 17 years ago
belugas f9d3463af1 (svn r10639) -Codechange: Give meaninfull name to a magic number 17 years ago
belugas d847b30c98 (svn r10638) -Codechange: Save the mapping of the industries and tiles, making them persistent. 17 years ago