Age | Commit message (Collapse) | Author |
|
- A proper ./configure, so everything needs to be configured only once, not for every make.
- Usage of makedepend when available. This greatly reduces the time needed for generating the dependencies.
- A generator for all project files. There is a single file with sources, which is used to generate Makefiles and the project files for MSVC.
- Proper support for OSX universal binaries.
- Object files for non-MSVC compiles are also placed in separate directories, making is faster to switch between debug and release compiles and it does not touch the directory with the source files.
- Functionality to make a bundle of all needed files for for example a nightly or distribution of a binary with all needed GRFs and language files.
Note: as this merge moves almost all files, it is recommended to make a backup of your working copy before updating your working copy.
|
|
the str pointer for
control characters is at the next character, so take value and THEN increase
pointer, not the other way around. This bug could result in incorrect bb's computed
for strings.
|
|
debugging levels to
use in debug.h. grfmsg() is now used as a specific debug-function for grf.
|
|
driver when one goes to fullscreen and there are no suitable resolutions.
|
|
before newgrf files are loaded, else newgrf glyphs will be cleared out too. (thanks Hadez)
|
|
around a bit. This reduces the number of times the sprites are loaded from 5 to 2, just for the intro game.
|
|
Unicode/UTF-8 and the option for fonts rendered by FreeType. Language changes to come.
|
|
|
|
no whitespace was seen
for the 'current line' of a certain maximum width, the string will be truncated instead
of the old behaviour which just left it alone.
|
|
strecpy and simplification
of order_gui (only disable a single widget if not local player, all others aren't
visible anyways).
|
|
of pixel lines used, and use it for drawing NewGRF additional text (mart3p)
|
|
The last parameter should point to the end of the buffer (eg lastof(buf))
Courtesy of Tron.
|
|
GetStringBoundingBox SETX and
SETXY parameters were wrongly accounted for. The identifier itself was taken
not the amount.
|
|
of course...
|
|
height bounding
box of the string. Therefore rename the function to GetStringBoundingRect()
and have it return a BoundingRect type of width/height
|
|
the string
contained newlines.
|
|
clipping rectangle could become 0, which isn't sensible. This should fix a very rare and hard to trigger assertion in GfxFillRect()
|
|
|
|
|
|
|
|
Sprite::info is never unset
|
|
|
|
(_color_list) which the renderer shouldn't have know about
|
|
parameter of FillDrawPixelInfo() and simplify some expressions
|
|
|
|
|
|
whitespace fixes only except for a few comments to make them uniform for the whole enum/struct.
|
|
balance window instead of centering (about) 'string width' / 2 from the right edge
|
|
- New optional landscape generator (TerraGenesis Perlin)
- Load heightmaps (either BMP or PNG)
- Progress dialog while generating worlds (no longer a 'hanging' screen)
- New dialogs for NewGame, Create Scenario and Play Heightmap
- Easier to configure your landscape
- More things to configure (tree-placer, ..)
- Speedup of world generation
- New console command 'restart': restart the map EXACTLY as it was when you
first started it (needs a game made after or with this commit)
- New console command 'getseed': get the seed of your map and share it with
others (of course only works with generated maps)
- Many new, world generation related, things
- Many internal cleanups and rewrites
Many tnx to those people who helped making this:
Belugas, DaleStan, glx, KUDr, RichK67, Rubidium, and TrueLight (alfabetic)
Many tnx to those who helped testing:
Arnau, Bjarni, and tokai (alfabetic)
And to all other people who helped testing and sending comments / bugs
Stats: 673 lines changed, 3534 new lines, 79 new strings
|
|
|
|
numbers with a FontSize enum, using the numbers (which are SpriteIDs) in only the places needed.
|
|
with a call to SpriteExists(), when building the character width cache.
|
|
it again when it enters. Added both for WIN32 and SDL. Since Win95 has troubles with TrackMouseEvent(), this function was just simply rewritten which was the easiest. Based on a patch by DmitryKo.
|
|
missing glyphs for the big font.
|
|
alignment issues (thanks Tron for the help)
|
|
|
|
|
|
struct WorldSprite
|
|
where it somewhat makes sense and wrap them in #ifdef _DEBUG
|
|
false; else return true; is confusing
|
|
-Indentation
-Whitespace
-DeMorgan's Law
-Test with NULL or 0 for non-booleans
-'\0' instead of 0 for chars
-Remove redundantly redundant comments (like DoFoo(); // Do foo)
-Join multiple short lines with a single statement
-Split single lines with multiple statements
-Avoid assignments in if
|
|
|
|
|
|
Also align short cases nicely
|
|
comments, excess empty lines, minor other changes
nothing spectacular, just some stuff, which piled up
|
|
functions that don't change their pointer parameters
- change a lot of byte player types to PlayerID
- beautify header files, same "#endif /* filename */" ending
|
|
(custom) (win32)
|
|
|
|
|
|
a power of 2, for exact semantics see the commment in macros.h
|