Age | Commit message (Collapse) | Author |
|
|
|
the command proc.
When finished, this will allow each command handler to take individually
different parameters, obliviating the need for bit-packing.
|
|
|
|
Basically, modal windows had their own thread-locking for what
drawing was possible. This is a bit nonsense now we have a
game-thread. And it makes much more sense to do things like
NewGRFScan and GenerateWorld in the game-thread, and not in a
thread next to the game-thread.
This commit changes that: it removes the threads for NewGRFScan
and GenerateWorld, and just runs the code in the game-thread.
On regular intervals it allows the draw-thread to do a tick,
which gives a much smoother look and feel.
It does slow down NewGRFScan and GenerateWorld ever so slightly
as it spends more time on drawing. But the slowdown is not
measureable on my machines (with 700+ NewGRFs / 4kx4k map and
a Debug build).
Running without a game-thread means NewGRFScan and GenerateWorld
are now blocking.
|
|
|
|
|
|
|
|
or sea/coast. (patch by frosch123) #4754 (#7015)
|
|
function with the newer one. This time to make rough land appear more random.
|
|
to enable the second rocky tile set.
|
|
graphics.
|
|
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
|
|
GetFonce/SetFence for all directions that take an extra direction parameter (cirdan, LordAro)
|
|
(cirdan, LordAro)
|
|
information for situations when we only want to know if a tile is flat or not (cirdan, LordAro)
|
|
Eagle_rainbow)
|
|
|
|
enabled to a header file allowing compilers to inline that check
|
|
|
|
|
|
|
|
functions use int z as well
|
|
|
|
TILE_HEIGHT
|
|
TILE_HEIGHT for the snow line code
|
|
functions if they return the Z in pixels (like TilePixelHeight)
|
|
|
|
|
|
|
|
missed :)
|
|
logical place and with a more descriptive name
|
|
|
|
|
|
fence to draw
|
|
if a header require a header make it include that header
|
|
|
|
it's covered by snow, this allows rocky tiles under snow if you have a variable snowline
|
|
foundations as DrawGroundSprite() does, and use this for drawing one-way-road-signs and clear-land-fences.
|
|
in larger steps than one tile.
|
|
|
|
|
|
|
|
table/clear_land.h and change some names
|
|
|
|
relatives
|
|
and change its behaviour accordingly
|
|
|
|
and change its behaviour accordingly
-Codechange: remove dummy GetAcceptedCargo_*() handlers
|
|
|
|
this ID' from 'some' strings and replace the string name with something more sensible.
|