Age | Commit message (Collapse) | Author |
|
actually only changes win32
since it uses UTF16 for file access. To keep os-specific code to a minimum, OpenTTD
uses UTF8 internally everywhere, converting to OS-type when needed (save/load/screenshot/etc.)
|
|
The last parameter should point to the end of the buffer (eg lastof(buf))
Courtesy of Tron.
|
|
PLAYER_SPECTATOR and
put it into player.h where it belongs (instead of map.h)
|
|
|
|
|
|
ensures PNG is used by default when available. (hylje)
|
|
- 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
|
|
date.[ch]
-Cleanup: fix whitespace related coding style issues in date.[ch]
-Cleanup: make original comments doxygen compatible and remove/change outdated comments
|
|
current_screenshot_type
|
|
more flexible mechanism
Simplification of the handling of the main_gui menus,
Removal of repetitions and Hiding the internals of screenshots.
Thanks to glx, Rubidium and Truelight for pointers
|
|
malloc()ing it
|
|
when making a PCX screenshot, if the palette array is not byte aligned.
|
|
the mess that is makefile can't properly support it at the moment, it is only available for MACOSX. Windows doesn't need FS conversion and I have no idea about OS/2 so it's disabled for them.
- CodeChange: Change the function GetCurrentLocale(). It returns the locale from some default environment-variables, plus a custom one defined as parameter. If all fail, it tries $LANG.
|
|
in 10.3
this have the sideeffect that 10.2.8 will still have the "failure to save with certain chars in the filename bug", but at least it can compile again
|
|
filesystems now got the saving problem again, but now we can compile on all platforms again
|
|
contains german umlauts
now it saves correctly, but the load window still display some chars wrong (fix by ln-)
|
|
|
|
menu without any game loaded, another when failing to load a scenario in 'New Game'
|
|
comments, excess empty lines, minor other changes
nothing spectacular, just some stuff, which piled up
|
|
a power of 2, for exact semantics see the commment in macros.h
|
|
|
|
|
|
|
|
screenshot.[ch]
|
|
|
|
|
|
|
|
|
|
contained garbage, the picture was shifted one to the right, and the last column was dropped
|
|
|
|
|
|
new header (though i think some of these function don't belong into strings.c)
|
|
|
|
loader).
|
|
- reduce to 2 sizes (*DParam64 for 64bit values, *DParam for the rest)
- use inline functions instead of macros
- add assert()s to check for buffer overruns
|
|
This should reduce the compile time after altering english.txt by about 1/3, because "only" 62 instead of 90 .c files must be recompiled.
|
|
r440
Move screenshot function declarations to new file screenshot.h
Clean up screenshot.c a bit, mostly whitespace, alloca() -> malloc() and checking return values
r485
Remove unused field from struct ScreenshotFormat
|
|
Thanks to lvoge
|
|
|
|
-Fix: unable to select other screenshot format in Game Option
|
|
|
|
-Fix change 255/0xFF to OWNER_SPECTATOR for
spectator stuff (TrueLight)
|
|
|