JMcKiern
04f659e768
Fix: Some typos found using codespell
5 years ago
Henry Wilson
7c8e7c6b6e
Codechange: Use null pointer literal instead of the NULL macro
5 years ago
SamuXarick
4adb91202d
Fix: Remove desert around lakes upon generation
5 years ago
Gabda
37bb2c9308
Codechange: Make the style of MakeVoid calls uniform ( #7192 )
5 years ago
J0an Josep
19be1f4ace
Codechange: [NPF] Add some consts.
5 years ago
Johannes E. Krause
c33596fe4a
Codechange: Unify tile height model in all functions (Patch by adf88, #6583 )
6 years ago
Johannes E. Krause
f744dea0ff
Fix: jumping effect when scrolling viewport over bottom edge of the map (Patch by adf88, #6583 )
6 years ago
Johannes E. Krause
f0290d5de7
Codechange: Add InverseRemapCoords2 function for remapping viewport coordinates to underlying tile coordinates (Patch by adf88, #6583 )
6 years ago
Niels Martin Hansen
2a868b9f3b
Feature: Framerate display window ( #6822 )
...
Frame rate and various game loop/graphics timing measurements and graphs. Accessible via the Help menu, and can print some stats in the console via the fps command.
6 years ago
Charles Pigott
5f86e1a390
Codechange: Silence -Wclass-memaccess warnings with GCC8
6 years ago
alberth
597380e099
(svn r27650) -Codechange: Replace SaveOrLoadMode by FileOperation and DetailedFileType.
8 years ago
alberth
9135f7130e
(svn r27635) -Codechange: Move FileType and FileToSaveLoad structure definitions.
8 years ago
rubidium
8d90e86c2c
(svn r27009) -Add: extra level of general map heightness (ChillCore)
10 years ago
rubidium
cfe08b86c9
(svn r26883) -Change: make maximum desert height scale with the maximum configured height
10 years ago
rubidium
0463dbdc9e
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
10 years ago
fonsinchen
e4c7c8876b
(svn r26323) -Fix: update some constants related to map size.
11 years ago
rubidium
f99d380583
(svn r26309) -Codechange: instead of memsetting a byte array with zero, use a set for marking the flow area of a river
11 years ago
fonsinchen
dda4ffab5e
(svn r26290) -Codechange: Use nicer orthogonal tile iterator constructor and simplify calculation of explosion points when clearing.
11 years ago
zuu
dfb5663313
(svn r25849) -Codechange: Introduce IsTileFlat to not compute full slope information for situations when we only want to know if a tile is flat or not (cirdan, LordAro)
11 years ago
zuu
d908897918
(svn r25847) -Fix: Comment for GetFoundationSlope was wrong (cirdan, LordAro)
11 years ago
fonsinchen
c32eea02dd
(svn r25354) -Add: link graph schedule and typedefs for LinkGraph and related classes
11 years ago
michi_cc
6f9668330e
(svn r24132) -Change [FS#4713]: Improve randomness of tile order in the tile loop. (monoid)
12 years ago
michi_cc
02d07e68d8
(svn r23885) -Codechange: Use the GRF sprite loader for then mapgen sprites as well.
13 years ago
rubidium
6d6be50ae0
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
13 years ago
rubidium
19eabdba2c
(svn r23106) -Codechange: pass int* to GetTileSlope and friends
13 years ago
rubidium
f01b3e2721
(svn r23104) -Codechange: prepare the vehicle/sign z for some further changes to reduce casting
13 years ago
rubidium
0b6dbaf664
(svn r23099) -Codechange: remove pointless multiplications by TILE_HEIGHT for the water/river code
13 years ago
rubidium
69162621d8
(svn r23096) -Codechange: remove useless divisions and multiplications by TILE_HEIGHT for the snow line code
13 years ago
rubidium
2ed0f93bfb
(svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and use it
13 years ago
rubidium
a36551dbb4
(svn r23092) -Codechange: create a non-pixel version of some of the Get*PixelZ functions, and let Get*PixelZ wrap around the new function (multiplying the Z by TILE_HEIGHT) just like TileHeight and TilePixelHeight
13 years ago
rubidium
7757a2ed40
(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight)
13 years ago
rubidium
47203dbeb5
(svn r23090) -Codechange: use map accessors instead of directly accessing the map (mhl)
13 years ago
rubidium
47c5d30b5d
(svn r23084) -Codechange: get rid of a redundant variable
13 years ago
rubidium
9023de2c1f
(svn r22808) -Change [FS#4740]: make it less likely that a one tile wide lake is created
13 years ago
michi_cc
4261e8fdfd
(svn r22773) -Add: Some grass around rivers in desert areas.
13 years ago
rubidium
11a4e402c6
(svn r22768) -Add: progress bar updates for river building
13 years ago
rubidium
0041408e4f
(svn r22767) -Add: river generation
13 years ago
frosch
718e0090b2
(svn r22670) -Change: Do not spawn explosion effects when bulldozing in paused mode. They block the view.
13 years ago
rubidium
bc3ce1e53b
(svn r22018) -Cleanup: remove some (now) unneeded includes of functions.h
14 years ago
rubidium
7e6ccf3a0a
(svn r21767) -Fix [FS#4397]: don't limit tile clearing during bankruptcy
14 years ago
rubidium
eab47d2227
(svn r21728) -Fix/Feature [FS#4331]: (configurably) limit amount of tiles that can be cleared/terraformed by a company
14 years ago
rubidium
73d26d3831
(svn r21714) -Codechange: unduplicate a bit of code path
14 years ago
rubidium
6892cc8a60
(svn r21500) -Feature [FS#730]: diagonal tile clearing and terraforming. Based on patch by fonsinchen
14 years ago
rubidium
67e6ad2a4b
(svn r21482) -Codechange: make landscape clearing make use of TILE_AREA_LOOP as well
14 years ago
frosch
5910bde583
(svn r21476) -Fix [FS#4299]: DC_FORCE_CLEAR_TILE should only add extra cost for clearing water for stuff which results in water after clearing.
14 years ago
frosch
d5360390d0
(svn r21288) -Codechange: Add helper function to find entries in _cleared_object_areas.
14 years ago
terkhen
725cf7d8bb
(svn r21080) -Fix: Do not allow to use a custom water level with the original map generator.
14 years ago
alberth
7e48d85104
(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)
14 years ago
yexo
6b4d2f5ae6
(svn r20821) -Fix [FS#4129]: terraforming the land under objects could leave sloped or elevated sea tiles
14 years ago
yexo
0e250f2bdf
(svn r20748) -Fix: overbuilding an object tile with sea under it with a canal didn't take the cost for clearing the sea into account
14 years ago
frosch
42a996ec23
(svn r20743) -Fix: Make testruns of clearing an object tile not influence repeated testruns resp. the exec run.
14 years ago
yexo
0decc3e094
(svn r20731) -Fix (r20739): SmallVector did not have an assignment operator, causing invalid memory reads / double free
14 years ago
yexo
a45b598bfc
(svn r20729) -Fix [FS#4107]: assert when overbuilding object
14 years ago
rubidium
2d10b0f11d
(svn r20669) -Codechange: trigger the whole object every 256 ticks instead of every 250 ticks
14 years ago
rubidium
60fe27db50
(svn r20662) -Codechange: implement object animation
14 years ago
frosch
67c21f7e01
(svn r20419) -Codechange: Rename dummy_land.cpp to void_cmd.cpp
14 years ago
rubidium
3da3d131c6
(svn r20411) -Codechange: rename unmovables as quite a lot of them are actually movable; e.g. HQ and owned land are pretty movable.
14 years ago
frosch
4bd32799f1
(svn r20286) -Codechange: Unify end of doxygen comments.
14 years ago
frosch
ed4f806f1d
(svn r20283) -Codechange: Unify start of doygen comments.
14 years ago
rubidium
e356cb9405
(svn r20281) -Codechange: unify case scope closure + break coding style
14 years ago
alberth
be6c058424
(svn r20211) -Codechange: Indented code should have curly braces around it.
14 years ago
rubidium
b8487afe54
(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :)
14 years ago
rubidium
5a836cdec7
(svn r20187) -Codechange: move _tileh_to_sprite into a function in a more logical place and with a more descriptive name
14 years ago
frosch
5b77a63ecf
(svn r19769) -Fix [FS#3820]: MV_VOID tiles shall have no tropic zone.
14 years ago
frosch
77486ee8d2
(svn r19658) -Fix: One could turn transport companies into credit banks.
14 years ago
smatz
0ef33548c2
(svn r19614) -Codechange: "it's" => "its" where appropriate
14 years ago
alberth
66a2a84035
(svn r19492) -Codechange: Keep track of last error in CmdClearArea().
14 years ago
rubidium
4d93b704d9
(svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions
15 years ago
smatz
11e3a00a23
(svn r18853) -Codechange: apply coding style to GenWorld's enums, structs and typedefs
15 years ago
smatz
2469752559
(svn r18851) -Codechange: enumify number of steps needed to generate landscape
15 years ago
smatz
3850b5912f
(svn r18850) -Fix [FS#3540]: don't allow screen redraw when the landscape contains broken slopes
15 years ago
rubidium
82fc28f77f
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
15 years ago
peter1138
5ab64809fe
(svn r18708) -Feature: [NewGRF] Add support for custom station foundation graphics.
15 years ago
rubidium
c2221885f4
(svn r18027) -Codechange: make some unneededly global variables static and remove some unused variables
15 years ago
rubidium
d6cded5380
(svn r17693) -Cleanup: remove some unneeded includes
15 years ago
rubidium
04d5b67eb6
(svn r17567) -Fix: some doxygen warnings
15 years ago
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
smatz
9c25f1bdb7
(svn r17084) -Codechange: _age_cargo_skip_counter is common to all vehicle types
15 years ago
rubidium
927c4a0fe8
(svn r16709) -Fix [FS#2994]: the list of animated tiles could have duplicates (only for old savegames) and tiles that weren't animated
15 years ago
smatz
c0ac230e3e
(svn r16660) -Codechange: get rid of more dummy tile_type_procs
15 years ago
smatz
c30a87758f
(svn r16659) -Codechange: rename GetAcceptedCargo() to AddAcceptedCargo() and change its behaviour accordingly
...
-Codechange: remove dummy GetAcceptedCargo_*() handlers
15 years ago
smatz
6afce484bb
(svn r16373) -Codechange: use () instead of (void) for functions without parameters
15 years ago
rubidium
14f52cf29e
(svn r15895) -Fix (r15685): fixing the slopes was done a bit more often than intended making map generation with the original generator horribly slow
15 years ago
rubidium
b25a4f8231
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
16 years ago
rubidium
3d780608a2
(svn r15685) -Fix [FS#2720]: do not crash when someone substitutes the "map generation" sprites with garbage.
16 years ago
frosch
c5684e56ec
(svn r15583) -Fix: Do not use TILE_MASK when you do not want to wrap around them map.
16 years ago
frosch
c7e324bb40
(svn r15582) -Cleanup: Remove unused function AdjustTileCoordRandomly(). Btw. it would also cause desyncs and wrap around the map.
16 years ago
frosch
a987c7299b
(svn r15559) -Feature: Show required/already-delivered cargo needed for town-growth in town-view-window. (and only if it is really needed)
16 years ago
yexo
e5d6f3ef2e
(svn r15511) -Fix [FS#2641] (r15190): Generating a map with the original map generator with freeform edges on resulted in an assert.
16 years ago
rubidium
d846eef0b6
(svn r15434) -Codechange: bit of type safety for the DC_xxx flags.
16 years ago
smatz
0d3f5e6e74
(svn r15299) -Cleanup: remove many redundant includes
16 years ago
Yexo
db3ee34b44
(svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map.
16 years ago
rubidium
11da45ee55
(svn r14949) -Cleanup: pointer coding style
16 years ago
rubidium
1357b0a4c2
(svn r14789) -Feature: allow scrolling with the left mouse button pressed (if enabled). Primarily useful for systems with touch screen (aapo)
16 years ago
rubidium
87e5a8b52b
(svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter.
16 years ago
frosch
f8ed412b40
(svn r14556) -Fix (r14533): Bounding box with height > TILE_HEIGHT could cause circular dependencies with surrounding bridges.
16 years ago
frosch
7df85e8a45
(svn r14533) -Fix: ...hopefully most glitches wrt. inclined foundations.
16 years ago
rubidium
d832626bb9
(svn r14491) -Documentation: updates/additions of doxygen docs (Alberth)
16 years ago
rubidium
f1f5b248c2
(svn r14461) -Document: add some doxygen comments (Albert)
16 years ago
rubidium
3b798599b6
(svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
16 years ago