Darkvater
17f8534e5a
(svn r3320) - Fix: FS#22 - Exiting with double size enabled saves wrong window size. Reset the window size to its true size upon exiting when double-size is active. Is set in ClientSizeChanged.
2005-12-19 00:19:12 +00:00
Darkvater
abc7e5e659
(svn r3319) - Fix (regression): "Unnamed Competitors". A result of revision r3224 which allowed AI's for multiplayer. Old AI's didn't function correctly anymore. The update of last-built tile is moved back, but to a slightly different place so it is only executed when the command is actually successfully executed. This code shouldn't be neccessary, but alas, the old AI doesn't use DoCommandDP() functions.
2005-12-18 22:48:45 +00:00
Darkvater
b6d5ebc629
(svn r3318) - Codechange: [FS#27] MSVC projectfile & documentation update (bociusz)
2005-12-18 20:48:22 +00:00
miham
319ff8685c
(svn r3317) [Translations] Updated to 2005-12-18
2005-12-18 17:04:02 +00:00
peter1138
0fbb9815ba
(svn r3316) - NewGRF: Unload engine names before loading grf files. This fixes names in climates where the engines don't get loaded. Renamed function to reflect its purpose.
2005-12-18 14:03:28 +00:00
tron
e62c3e6f39
(svn r3314) Add 2 times static
2005-12-18 12:17:53 +00:00
tron
d5aa95b87e
(svn r3313) Remove GPMI related changes from trunk
...
Revisions in detail: 2542, 3226 (partial), 3229, 3231, 3232, 3238, 3242-3245, 3251, 3253, 3260, 3263, 3265, 3266, 3269, 3277, 3278, 3279, 3283 (partial), 3304, 3305, 3306
2005-12-18 12:10:46 +00:00
tron
7dc1e23845
(svn r3311) Remove the unnecessary global variable _grffile_count: It's just the scroll count of a list and furthermore only used in one file
2005-12-18 08:01:05 +00:00
tron
8e43cdd0c0
(svn r3310) Fix a couple of warnings: Initialise all struct members, disambiguate cascaded if/else, remove an unused variable, use (void) for empty parameter lists
2005-12-17 14:26:43 +00:00
peter1138
32d75fd922
(svn r3309) Cygwin doesn't define _MSC_VER; check it exists before basing decisions on its value.
2005-12-16 22:01:38 +00:00
tron
49f0691c1a
(svn r3308) BAD
...
foo.h: int bar;
GOOD
foo.h: extern int bar;
foo.c: int bar;
2005-12-15 17:55:59 +00:00
tron
41c83a2efd
(svn r3307) A file shall include its own header
2005-12-14 20:45:12 +00:00
truelight
e88942f490
(svn r3306) -Fix: forgot sometimes to switch to the right current_player for AIs
2005-12-14 19:21:56 +00:00
truelight
6ca528ec82
(svn r3305) -Rename: Changed all instances of ottd_ related to the AI to ttai_
2005-12-14 15:54:23 +00:00
truelight
607e518ab8
(svn r3304) -Add: allow AI-events to see the UID of the command
...
-Fix: improved the logic of the UID code for AIs
2005-12-14 14:38:23 +00:00
peter1138
c5adf63d77
(svn r3303) Change #if PF_BENCHMARK to #ifdef PF_BENCHMARK
2005-12-14 09:15:06 +00:00
peter1138
db78ce622d
(svn r3302) - Fix: split drawing of text buttons and the closebox, so the closebox symbol can be centred.
2005-12-14 08:05:36 +00:00
tron
82542799e2
(svn r3301) One more static
2005-12-14 06:51:19 +00:00
tron
28b8b7e269
(svn r3300) Remove unreachable code - in this case some duplicate breaks
2005-12-14 06:49:54 +00:00
tron
bd2eba11b7
(svn r3299) Remove the unimplemented -l option, which should select the language
2005-12-14 06:32:06 +00:00
tron
a2533d5ee6
(svn r3298) Remove unused and write-only variables
2005-12-14 06:28:48 +00:00
tron
9822b4d755
(svn r3297) Staticise
2005-12-14 06:20:23 +00:00
tron
ae624ee690
(svn r3296) Warn about testing an undefined macro with #if - should most probably be #ifdef
2005-12-14 06:16:34 +00:00
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.
2005-12-13 22:28:44 +00:00
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.
2005-12-13 21:21:57 +00:00
Darkvater
acf8bba4f6
(svn r3293) - Miscellaneous: add peter1138 as developer
2005-12-13 20:20:44 +00:00
peter1138
fc9c1c0f4e
(svn r3292) - Autoreplace: Disallow replacing to an engine type that already has a replacement set up; this stops loops being set up.
2005-12-13 12:31:48 +00:00
peter1138
219a63238c
(svn r3291) - Codechange, Autoreplace: Replace int with EngineID and -1 with INVALID_ENGINE, as appropriate.
2005-12-13 09:57:07 +00:00
peter1138
ea2d440827
(svn r3290) - Fix: "[ 1360054 ] Rename Sign, Cause Game Crash, nightly version r3213": Added filter to test for valid character input.
2005-12-13 07:32:06 +00:00
tron
17aab1797b
(svn r3289) 32 times static
2005-12-11 10:36:48 +00:00
peter1138
a7730d4a09
(svn r3288) Set svn properties on cocoa related files, and add Id tag.
...
Add extern to cocoa sound driver.
2005-12-11 10:25:27 +00:00
tron
0d1c598833
(svn r3287) Turn the winres.o: openttd.rc special case into a normal %.o: %.rc rule
2005-12-11 07:36:49 +00:00
bjarni
1adc1738f7
(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
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* :)
2005-12-10 18:50:07 +00:00
truelight
af1531db4a
(svn r3284) -Fix: DoCommand always cleans up _cmd_text (tnx to Tron)
2005-12-10 18:47:40 +00:00
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
2005-12-10 18:43:49 +00:00
peter1138
80986fcd32
(svn r3282) - Codechange: Replace tests against CMD_ERROR with CmdFailed()
2005-12-10 12:05:39 +00:00
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
2005-12-10 11:16:45 +00:00
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
2005-12-10 07:29:31 +00:00
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
2005-12-09 19:29:11 +00:00
truelight
0941c039ab
(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
e9e5f2a235
(svn r3277) -Fix: lets use the right DoCommand for testing a build (tnx to Igor2Code)
2005-12-09 17:42:56 +00:00
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
2005-12-09 13:17:31 +00:00
bjarni
073aae307e
(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
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
2005-12-09 12:15:52 +00:00
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)
2005-12-09 11:08:24 +00:00
bjarni
e486e56050
(svn r3272) -Fix: [AI] fixed issue in AI that prevented compilation without network support
2005-12-08 21:12:15 +00:00
hackykid
c50ef5bc07
(svn r3271) Remove some debug statements of mine which somehow got into svn.
2005-12-08 09:12:25 +00:00
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.
2005-12-07 15:48:52 +00:00
truelight
ef36eaad4a
(svn r3269) -Fix: return CMD_ERROR instead of -1 if AI_DoCommandChecked fails
2005-12-07 14:56:42 +00:00