Age | Commit message (Collapse) | Author |
|
always have a stderr visible/available
|
|
-Codechange: Move the railtype from EngineInfo to RailVehicleInfo, because having a railtype for non-rail vehicles isn't that useful
|
|
can be negative,
so don't put them in an unsigned variable before drawing them in the various
graphs. Although the code didn't change, this only seems to have broken since
we started compiling it as C++.
|
|
|
|
-Fix: WinCE doesn't know GetKeyboardState
-Fix: made a replacement of GetCurrentDirectory, where CurDir is assumed to be the dir the executable is located (esoftinteractive.com)
-Fix: the GCC compiler is more happy if the WinMain is called that
-Fix: a really old typo (missing ')') ;)
-Fix: GdiFlush() isn't supported on WinCE
|
|
FileExists as it was in pre-r5764 for Win32 (tnx Darkvater)
|
|
later.
|
|
alternative where possible
|
|
Above that, wince-gcc gave "unused variable" on every file which included airport.h... pretty annoying ;)
|
|
in ShowVehicleListWindowLocal()
|
|
graph_gui.cpp to a file of its own: signs_gui.cpp.
|
|
include that
instead of using externs. Also move DrawPlayerIcon from graph_gui.cpp to
players.cpp.
|
|
Remove unreachable code
|
|
uint16
-Fix: CmdMassStartStopVehicle() tried to put a TileIndex into an uint16
Those two bugs were unrelated to each other and unrelated to r8295, even though that commit touched the code in question
|
|
depot_airport_index for GenerateVehicleSortList() and BuildVehicleList() into one uint16 argument
It turned out that all 3 arguments were the same at all the places those functions are called, so there was no point in having more than one
|
|
fail to reset prev_shared and next_shared
-As a result, vehicles in the game could end up having prev/next pointers to vehicles, that was no longer in the game
|
|
all types of vehicle lists (depending on arguments)
- Also removed some unneeded arguments
- this also allows removing an if-else cascade in ShowVehicleListWindowLocal()
|
|
brazilian_portuguese - 69 changed by fukumori (69)
frisian - 48 fixed by ikkejw (48)
russian - 57 changed by DarkFenX (57)
ukrainian - 5 changed by znikoz (5)
|
|
for simplified chinese (Fishingsnow) and japanese (ickoonite)
|
|
-This is once again an obj-C vs C++ issue. I need to make a nice and permanent solution soon, but I need the debugger right now
|
|
|
|
|
|
|
|
bitshuffling occurred. Also update with other station drawing changes (code duplication,
eh?)
|
|
brazilian_portuguese - 2 fixed, 49 changed by fukumori (51)
bulgarian - 1 fixed by kokobongo (1)
|
|
string ID.
|
|
circumstances (not the proper bits of p1/p2 were set to trackbits). Moved trackbits back to bits 0..2, ctrl to 3, semaphore to 4. Also lower the decision of the ctrl-override of signal/semaphore from the GUI into the cmd function since we are passing the ctrl-bit anyways. Bug(s) found by Frostregen; thanks
|
|
static variable of type Station (inside ComposeWaypointStation) replaced by byte array so no destructor is called for it on exit.
|
|
Change the signature of Swap() to be less error prone, i.e. pass the variables to be swapped by reference instead of passing pointers to the variables.
Just do Swap(x, y) instead of Swap(&x, &y). This prevents accidents when the variables are pointers.
|
|
Factor common data tables and use a bit more sensible names
|
|
inside the CMD_ functions where they are supposed to be. Achieve this by adding a seperate bit to p1/p2 to hold the CTRL-modifier. While here, use proper types, and 'unify' the parameter bit-meanings. 0 - ctrl-pressed, 1 - signal/semaphore, 2-4 - trackbits, 5 - remove (internal), 24-31 - drag density.
|
|
|
|
(signed) and was byte so test for PlayerID validity needed to be updated (Darkvater)
|
|
of the russian language
|
|
afrikaans - 26 fixed, 63 changed by TrueTenacity (89)
dutch - 1 fixed by habell (1)
esperanto - 1 fixed by LaPingvino (1)
russian - 26 changed by DarkFenX (26)
turkish - 1 fixed by jnmbk (1)
ukrainian - 6 changed by znikoz (6)
|
|
ensures an updated changelog, readme, et.
|
|
any languages not having the mandatory ##name, ##ownname and ##isocode pragma's.
|
|
resulting in a clean
start of openttd being in russian instead of in english.
|
|
(through ShowInfo)
|
|
|
|
constructor. This was wrong because station constructor is called also when loading savegame and when player tries to build station when it is not sure that it will succeed (thanks Rubidium)
|
|
improve performance when using (lots of) grf files. You can change it yourself easily with the SPRITE_CACHE_SIZE compile flag. (peter1138).
|
|
Remember the
whole thing when turning off FF for autosave. This stops FF getting stuck on
if the FF key is released during the save.
|
|
Remove the unnecessary attribute RoadStop::used. The same information can be derived from RoadStop::xy
|
|
colour map
selection.
|
|
Remove the write-only attribute RoadStop::station
|
|
back to UTF8 characters
|
|
since ALL language changes done today are garbage due to a quick bugfix in WT2 which introduced another, much more serious bug: put an utf8_to_htmlcode() call to a wrong place
I will fix the affected language files soon (20-30 minutes)
Please excuse me for this whole problem :-(
|
|
Use initialisers, reduce variable scope, remove spurious whitespace, fix format string to make it readable
|
|
|