bjarni
42d8e8410b
(svn r3286) -Fix: [OSX] 10.2 works again and universal binaries got 10.2 as target by default
2005-12-10 23:03:59 +00:00
truelight
be65f908c8
(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* :)
2005-12-10 18:50:07 +00:00
truelight
0de260182b
(svn r3284) -Fix: DoCommand always cleans up _cmd_text (tnx to Tron)
2005-12-10 18:47:40 +00:00
truelight
ba7cc8e190
(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
2005-12-10 18:43:49 +00:00
peter1138
809b03c81a
(svn r3282) - Codechange: Replace tests against CMD_ERROR with CmdFailed()
2005-12-10 12:05:39 +00:00
bjarni
6a6e145010
(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
2005-12-10 11:16:45 +00:00
tron
f1877b3fe9
(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
2005-12-10 07:29:31 +00:00
truelight
b6ca90e021
(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
2005-12-09 19:29:11 +00:00
truelight
c872ac4eb4
(svn r3278) -Fix: lets update the tail-pointer if we add a new item, else the linkedlist never grows ;)
2005-12-09 19:12:11 +00:00
truelight
e9e1c4de53
(svn r3277) -Fix: lets use the right DoCommand for testing a build (tnx to Igor2Code)
2005-12-09 17:42:56 +00:00
bjarni
26a5e120e8
(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
2005-12-09 13:17:31 +00:00
bjarni
6cfdfcc4ba
(svn r3275) -Fix: [OSX] removed libpng support and error dialogs from jaguar crosscompiles to fix crash
2005-12-09 13:07:21 +00:00
bjarni
111e5ef0fd
(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
2005-12-09 12:15:52 +00:00
bjarni
578883266f
(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)
2005-12-09 11:08:24 +00:00
bjarni
05fbf0ada5
(svn r3272) -Fix: [AI] fixed issue in AI that prevented compilation without network support
2005-12-08 21:12:15 +00:00
hackykid
2148e1fa89
(svn r3271) Remove some debug statements of mine which somehow got into svn.
2005-12-08 09:12:25 +00:00
peter1138
1c57091230
(svn r3270) Correct all (mis)uses of WWT_CLOSEBOX / WWT_TEXTBTN to reflect their actual use, and add "Close Window" tooltip where missing.
2005-12-07 15:48:52 +00:00
truelight
54cb542e1d
(svn r3269) -Fix: return CMD_ERROR instead of -1 if AI_DoCommandChecked fails
2005-12-07 14:56:42 +00:00
bjarni
bfc8b30325
(svn r3268) moved lithuanian.txt to unfinished as it is broken and haven't been updated for a few months
2005-12-06 23:37:44 +00:00
bjarni
4bc7265b03
(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
2005-12-06 22:09:28 +00:00
truelight
4f9bb11846
(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 :)
2005-12-06 17:12:19 +00:00
truelight
af87b2916a
(svn r3265) -Fix: partly reverted back r3263, because MSVC, who else, doesn't support variadic macros............
2005-12-06 17:05:14 +00:00
bjarni
686da2f4e1
(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
2005-12-06 14:35:10 +00:00
truelight
a3d142ed57
(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 :)
2005-12-06 11:36:46 +00:00
bjarni
1a93bcb5bb
(svn r3262) -Fix: [OSX] universal binaries can now include the dynamic SDL lib into the bundle
2005-12-06 09:27:42 +00:00
peter1138
414481cdd8
(svn r3261) - Autoreplace: If a replaced vehicle had a custom name, transfer it to the new vehicle. Fixes "[ 1370039 ] Autoreplaced vehicles lose their names"
2005-12-05 16:48:07 +00:00
truelight
0f2a0df165
(svn r3260) -Add: add events for AIs to check if a command execution failed or succeeded
2005-12-05 12:27:58 +00:00
bjarni
2946f3c1f9
(svn r3259) -Fix: [OSX] fixed that universal binaries did not make a bundle
2005-12-04 22:43:40 +00:00
bjarni
961b71f434
(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
2005-12-04 17:36:19 +00:00
bjarni
8277a0651e
(svn r3257) -Codechange: [OSX] removed the dynamic lib in bundle option (introduced in rev 3230)
...
it caused way more problems than it solved
2005-12-03 13:43:54 +00:00
bjarni
b860d1194d
(svn r3256) -Fix: [OSX] fixed issue where building the bundle could take place before linking if -j 2 was used
2005-12-03 10:36:23 +00:00
Darkvater
bfeddf1db1
(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).
2005-12-02 19:41:35 +00:00
truelight
214ed794a1
(svn r3253) -Add: add BuildRoad event for AIs
2005-12-02 19:21:38 +00:00
peter1138
7460ecd42a
(svn r3252) - NewGRF: Map new train subtypes to old types for rail vehicles.
2005-12-02 14:55:23 +00:00
truelight
ea9cb3ee5b
(svn r3251) -Fix: report errors from GPMI in a more detailed way (Igor2Code)
2005-12-01 09:34:40 +00:00
truelight
480b1575fe
(svn r3250) -Fix: AIs weren't uninitialized when a new game was loaded
2005-11-30 16:10:19 +00:00
peter1138
6ed22fb3d4
(svn r3249) Fix for issue introduced in r3228. The original code was good for raising, then for lowering, now for both.
2005-11-30 07:31:54 +00:00
peter1138
fde99748c0
(svn r3248) - Codechange: Change interface of CanRefitTo() to supply the engine type directly instead of getting it from a vehicle. This allows the function to be used before vehicles are involved.
2005-11-29 22:29:59 +00:00
peter1138
4191adb92c
(svn r3247) - Fix: "[ 1335580 ] sticky windows not sticky anymore"
...
Determine clicked status of sticky icon from window flags rather than the widget click state. This keeps the status in one place where it can't get out of sync.
2005-11-29 22:04:02 +00:00
truelight
44c70c24d3
(svn r3246) -Fix: small glitch in ai_network_client code (network_client.c)
...
-Fix: make sure this glitch can never happen again (ai.c)
2005-11-29 16:06:06 +00:00
truelight
c963c59b67
(svn r3245) -Add: allow OpenTTD to give his GPMI-params to the GPMI modules
2005-11-29 15:53:15 +00:00
truelight
2eb1c8a215
(svn r3244) -Fix: [GPMI] Even more GPMI based AI-code cleanup, bug fixes, and you can now control the AI that is going to boot
2005-11-28 14:02:36 +00:00
truelight
4b4d171ca5
(svn r3243) -Fix: IncreaseLoan and DecreaseLoan were inconsistent for AIs
2005-11-28 11:30:12 +00:00
truelight
a2ae8a707c
(svn r3242) -Fix: small glitch in AllowAI control
2005-11-27 16:45:45 +00:00
peter1138
87f54ebf92
(svn r3239) - Codechange: Introduce and use helper functions for engine replacement code.
2005-11-26 16:41:14 +00:00
truelight
9a381f4d5d
(svn r3238) -Fix: always save if you want GPMI-based AIs, this on request by
...
Darkvater, so we can, in the future, save patch options in savegames
without any problems.
2005-11-26 16:18:15 +00:00
Darkvater
10ce514f59
(svn r3237) - CodeChange: remove silencing of some warnings. MSVC6 once again has some issues with enums, and other things as usual, so silence those still.
2005-11-26 13:23:16 +00:00
Darkvater
728aba9d7c
(svn r3236) - Fix: warnings about 'CDECL must be used with ...' on VS6
2005-11-26 12:57:42 +00:00
Darkvater
a090886073
(svn r3235) - Fix: fix two crashes, one with making a screenshot in the main menu without any game loaded, another when failing to load a scenario in 'New Game'
2005-11-26 12:45:53 +00:00
miham
732e71228b
(svn r3234) [Translations] Estonian is still unfinished
2005-11-23 21:47:01 +00:00