Age | Commit message (Collapse) | Author |
|
warning in os_timer
|
|
code and proofreading, thanks to peter1138 for another lot of code and ideas.
|
|
Now OSX stores object files in .OSX and instead of making FAT object files, there are one for each architecture
Each architecture got their own targets to make a non-FAT binary and in the end, lipo will merge them into one binary
It's now possible to select which architectures you want to support by defining OTTD_PPC, OTTD_PPC970 (G5) and/or OTTD_i386
All combos are supported. UNIVERSAL_BINARY and TRIPLE_BINARY can still be used even though it's possible to gain the same result by using the new flags
Making a universal build when you already got part of it compiled (say the PPC part), it will reuse it and only compile the i386 part to save time
Note: in some cases when you switch flags, you risk that openttd is not updated. Delete it and try again. The Makefile can't solve this except if it forces linking each time
This fixes: FS#87 universal binary building borked in 0.4.7
Now universal binaries work on OSX 10.3.9 again
Building universal binaries no longer needs to store flags in Makefile.config as the new design makes it possible to figure everything out automatically
|
|
lead to assertions in the airport handling (of international airports)
|
|
when the signed uint32 variable would be negative.
|
|
clean-up a little further
|
|
savegames by an enum is a very bad idea
|
|
definition, Owner instead of byte, remove obsolete member and compare waypoint index with 0 not STR_NULL)
|
|
|
|
variables instead of using the general uint16-type. StationID was added for depots, waypoints and stations where necessary. We probably need to change GetDepot(), IsDepotIndex(), IsStationIndex(), GetWaypoint() and IsWaypointIndex() as well to use StationID.
|
|
instead of using the general uint16-type. We probably need to change GetTown() and IsTownIndex() as well to use TownID.
|
|
bool type.
|
|
variables instead of using the general byte-type.
|
|
|
|
- Replace miles/kilometres game option with a general measuring units option.
- Add {POWER}, {WEIGHT}, {WEIGHT_S} and {VOLUME_S} (_S for short) tags to the language/string system.
- Add SI as option for measuring units.
Language file updates to use the system will come soon.
|
|
something similar on non-i386 architectures to performance-tune (critical) code. Some systems are probably missing, but those can be added later.
|
|
random generator. There was no need for it.
|
|
trunk. This ensures an updated changelog, known-bugs, etc.
|
|
|
|
IsHangar(), too
|
|
hangar _or_ not stopped, not when it's not in a hangar _and_ not stopped
|
|
r4113
|
|
Some work with animated tiles remains. Thanks to Tron for parts of the code and lots of proof-reading and suggesting
|
|
|
|
ICONV is actually used. Thanks for noticing Bjarni
|
|
|
|
iconv_open() failed. Also clarify the message a bit.
|
|
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.
|
|
binary
|
|
1000% now also applies to Intel macs
|
|
create/use helper macro/enum for recoloring scheme
|
|
|
|
different define for the SDL_ACTIVEEVENT SDL_APPMOUSEFOCUS which caused undrawing of the mouse only on losing input-focus. Correctly check for the event state
|
|
VCProject. Remove warning on FindLengthOfTunnel, uint is not DiagDirection
|
|
put and get the status of a level crossing
|
|
|
|
|
|
from a tile
|
|
-added an explanation to why there is a special Jaguar download (people appears to download it even when they should download the other one)
-removed the long outdated README_if_game_crashed_on_OSX.txt
|
|
the window and Draw it again when it enters).
|
|
this bug was introduced in rev 3670, but when undetected for a long time since it was resolution specific
this is likely the issue with x86 OSX in fullscreen, so I removed the really slow workaround and will clean it up once I get positive feedback from a x86 mac
this means that x86 OSX should now get the 1000% video driver speed boost as well
this fix is written by eglandil
|
|
station from a tile
|
|
the industry from a tile
|
|
calling itself. NOTE: Delete Makefile.config to recover.
|
|
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.
|
|
present in the system
if detected, WITH_ICONV will be defined in the C code
WITH_ICONV is also added to Makefile.config
OSX do not use this flag setting in Makefile.config, as it is set at compile time based on target OS version
the actual C code is not changed as the current iconv code is hardcoded for OSX and would break if any other OS got iconv
This detection system is by request of Darkvater
|
|
|
|
leaving a depot or bus stop. Small omission from r4023 (fix by glx)
|
|
while those 2 conflict
|
|
|