Commit Graph

2758 Commits (db78ce622dac046f015e13cb47c8a6bd07b520b8)
 

Author SHA1 Message Date
peter1138 db78ce622d (svn r3302) - Fix: split drawing of text buttons and the closebox, so the closebox symbol can be centred. 19 years ago
tron 82542799e2 (svn r3301) One more static 19 years ago
tron 28b8b7e269 (svn r3300) Remove unreachable code - in this case some duplicate breaks 19 years ago
tron bd2eba11b7 (svn r3299) Remove the unimplemented -l option, which should select the language 19 years ago
tron a2533d5ee6 (svn r3298) Remove unused and write-only variables 19 years ago
tron 9822b4d755 (svn r3297) Staticise 19 years ago
tron ae624ee690 (svn r3296) Warn about testing an undefined macro with #if - should most probably be #ifdef 19 years ago
Darkvater 9b43afecf1 (svn r3295) - Regressionfix: scrolling with mousewheel no longer worked in saveload dialogs because of restriction that scroller is only active for widget + next widget is scrollbar. Yes, we need a better window system. 19 years ago
Darkvater 573ce05eb8 (svn r3294) - Fix: use INVALID_STRING_ID instead of -1.
- Fix: savegames only give back one message, show this by ignoring the first argument. Perhaps make the message more verbose in the future by adding STR_ equivalents next to the already existing debug messages.
19 years ago
Darkvater acf8bba4f6 (svn r3293) - Miscellaneous: add peter1138 as developer 19 years ago
peter1138 fc9c1c0f4e (svn r3292) - Autoreplace: Disallow replacing to an engine type that already has a replacement set up; this stops loops being set up. 19 years ago
peter1138 219a63238c (svn r3291) - Codechange, Autoreplace: Replace int with EngineID and -1 with INVALID_ENGINE, as appropriate. 19 years ago
peter1138 ea2d440827 (svn r3290) - Fix: "[ 1360054 ] Rename Sign, Cause Game Crash, nightly version r3213": Added filter to test for valid character input. 19 years ago
tron 17aab1797b (svn r3289) 32 times static 19 years ago
peter1138 a7730d4a09 (svn r3288) Set svn properties on cocoa related files, and add Id tag.
Add extern to cocoa sound driver.
19 years ago
tron 0d1c598833 (svn r3287) Turn the winres.o: openttd.rc special case into a normal %.o: %.rc rule 19 years ago
bjarni 1adc1738f7 (svn r3286) -Fix: [OSX] 10.2 works again and universal binaries got 10.2 as target by default 19 years ago
truelight ad756fff55 (svn r3285) -Codechange: Tron was confused by a name, so let's make him happy,
prefixed it with 'tmp', so now we know it is a temp char* :)
19 years ago
truelight af1531db4a (svn r3284) -Fix: DoCommand always cleans up _cmd_text (tnx to Tron) 19 years ago
truelight d8721d33e6 (svn r3283) -Fix: decode_parameters was still used, while _cmd_text is the way
-Fix: _cmd_text is cleared after a command, so we need to store it 
  temporaray in order to first test the command, before executing
19 years ago
peter1138 80986fcd32 (svn r3282) - Codechange: Replace tests against CMD_ERROR with CmdFailed() 19 years ago
bjarni 50a1e16943 (svn r3281) -Feature: [OSX] added native cocoa sound and video drivers (egladil)
you can still use SDL drivers if you like and you have to run "make upgradeconf" to start using the cocoa drivers (or manually write WITH_COCOA:=1)
	since SDL breaks the cocoa drivers, you can't compile with both SDL and cocoa support
	Using cocoa drivers makes it easier to make universal binaries and it solves:
	-FS#18 [OSX] SDL is weird in universal binaries
	-FS#2  [OSX] lazy pointer crash on exit
	-FS#10 [OSX] linking error when linking statically to SDL 1.2.8 (needless to explain this, but it means it should be able to compile statically with the default settings now)
	-[ 1215073 ] Switching to large size out of fullscreen crashes
	Using SDL drivers will still have those issues though
19 years ago
tron c0218be57a (svn r3280) Merge the seperate (C|CXX|OBJC)_SOURCES variables into a single variable SRCS
Now adding a new file to compile is just adding a line like SRCS += $(FIILE), regardless of type
19 years ago
truelight b450e0228b (svn r3279) -Fix: do not try to execute something that is not set to execute
-Fix: do not increase an uid number if it isn't returned
19 years ago
truelight 0941c039ab (svn r3278) -Fix: lets update the tail-pointer if we add a new item, else the linkedlist never grows ;) 19 years ago
truelight e9e5f2a235 (svn r3277) -Fix: lets use the right DoCommand for testing a build (tnx to Igor2Code) 19 years ago
bjarni 3923eab424 (svn r3276) reverted the last two commits. OSX 10.2 kept finding new stuff to prevent it from running OpenTTD, so now it's not supported anymore 19 years ago
bjarni 073aae307e (svn r3275) -Fix: [OSX] removed libpng support and error dialogs from jaguar crosscompiles to fix crash 19 years ago
bjarni 98ef748715 (svn r3274) -Fix: [OSX] added JAGUAR flag to crosscompile for OSX 10.2 (codenamed jaguar)
JAGUAR and FAT_BINARY can't be used at the same time
	JAGUAR will disable network support due to missing libs in 10.2
19 years ago
bjarni 79b76e2397 (svn r3273) -Fix: [OSX] PPC part of universal binaries now target 10.3 instead of 10.4
10.2 support appears to be broken right now
	Changed BUILD_UNIVERSAL_BINARY into FAT_BINARY (I got tired of typing)
19 years ago
bjarni e486e56050 (svn r3272) -Fix: [AI] fixed issue in AI that prevented compilation without network support 19 years ago
hackykid c50ef5bc07 (svn r3271) Remove some debug statements of mine which somehow got into svn. 19 years ago
peter1138 5f3dc36983 (svn r3270) Correct all (mis)uses of WWT_CLOSEBOX / WWT_TEXTBTN to reflect their actual use, and add "Close Window" tooltip where missing. 19 years ago
truelight ef36eaad4a (svn r3269) -Fix: return CMD_ERROR instead of -1 if AI_DoCommandChecked fails 19 years ago
bjarni 9d39c0312e (svn r3268) moved lithuanian.txt to unfinished as it is broken and haven't been updated for a few months 19 years ago
bjarni 967abb24e4 (svn r3267) -Codechange: [OSX] universal binary makefile code cleanup
now PPC code is always compiled before x86 code
	strgen and lng files are only compiled once, which results in shorter building time
	the makefile now assigns default values to undefined values so much less needs to be set up
	the code is now easier to maintain
19 years ago
truelight bab6f56967 (svn r3266) -Codechange: added comments for why the revert of r3625 inside the code.
Also, I forgot to tnx GraphiteNL for his help with this problem. Tnx GraphiteNL :)
19 years ago
truelight e5fa92384d (svn r3265) -Fix: partly reverted back r3263, because MSVC, who else, doesn't support variadic macros............ 19 years ago
bjarni 20e20000f2 (svn r3264) -Codechange: [OSX] OSX targets will now always use the preprocessor to determine endianess
this means that ENDIAN_FORCE is obsolite since it's always overwritten with PREPROCESSOR
	Since the preprocessor should never be able to pick wrong, it's easier this way
	specially when compiling universal binaries as they got both endianess
19 years ago
truelight 2390595d3b (svn r3263) -Fix: use () around 'variables' in macros, gives less crashes ;)
-Fix: va-args in macros are supported via __VA_ARGS__ in C99, so changed
       to that; now GCC 2.95 likes it too :)
19 years ago
bjarni c2153e7419 (svn r3262) -Fix: [OSX] universal binaries can now include the dynamic SDL lib into the bundle 19 years ago
peter1138 6023d6bfbe (svn r3261) - Autoreplace: If a replaced vehicle had a custom name, transfer it to the new vehicle. Fixes "[ 1370039 ] Autoreplaced vehicles lose their names" 19 years ago
truelight a7a5a3a8e8 (svn r3260) -Add: add events for AIs to check if a command execution failed or succeeded 19 years ago
bjarni cfc4753ba6 (svn r3259) -Fix: [OSX] fixed that universal binaries did not make a bundle 19 years ago
bjarni e273fe2f33 (svn r3258) -Feature: [OSX] added support for universal binaries
it needs both PPC and x86 libs to compile
	due to this fact, compilation with libPNG or SDL is not tested (dedicated servers only)
	only PPC part is tested as I don't have x86 OSX
19 years ago
bjarni 4550c2361d (svn r3257) -Codechange: [OSX] removed the dynamic lib in bundle option (introduced in rev 3230)
it caused way more problems than it solved
19 years ago
bjarni 16625f4db1 (svn r3256) -Fix: [OSX] fixed issue where building the bundle could take place before linking if -j 2 was used 19 years ago
Darkvater d85b9bde49 (svn r3254) - Fix: graphical glitch with autorail tool on a certain tile-type.
- CodeChange: adhere the global variables in autorail.h to the coding style (eg. start with underscore).
19 years ago
truelight d90e3118ed (svn r3253) -Add: add BuildRoad event for AIs 19 years ago
peter1138 e426787c14 (svn r3252) - NewGRF: Map new train subtypes to old types for rail vehicles. 19 years ago