Commit Graph

2972 Commits (500a7e6627c130d3ec8bae00384dafe18e86da7e)
 

Author SHA1 Message Date
Darkvater a7793e97a5 (svn r3318) - Codechange: [FS#27] MSVC projectfile & documentation update (bociusz) 19 years ago
miham e66db9c6d4 (svn r3317) [Translations] Updated to 2005-12-18 19 years ago
peter1138 3532b91eef (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. 19 years ago
tron 3561a3068e (svn r3314) Add 2 times static 19 years ago
tron b06b3e2ca2 (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
19 years ago
tron 2956b119b2 (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 19 years ago
tron bd909b0952 (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 19 years ago
peter1138 592aee1e27 (svn r3309) Cygwin doesn't define _MSC_VER; check it exists before basing decisions on its value. 19 years ago
tron 28fe368b7f (svn r3308) BAD
foo.h: int bar;

GOOD
foo.h: extern int bar;
foo.c: int bar;
19 years ago
tron ca52ec33b2 (svn r3307) A file shall include its own header 19 years ago
truelight 6884453b66 (svn r3306) -Fix: forgot sometimes to switch to the right current_player for AIs 19 years ago
truelight 531073bea0 (svn r3305) -Rename: Changed all instances of ottd_ related to the AI to ttai_ 19 years ago
truelight f94da63a8d (svn r3304) -Add: allow AI-events to see the UID of the command
-Fix: improved the logic of the UID code for AIs
19 years ago
peter1138 f6330faead (svn r3303) Change #if PF_BENCHMARK to #ifdef PF_BENCHMARK 19 years ago
peter1138 ec274769b9 (svn r3302) - Fix: split drawing of text buttons and the closebox, so the closebox symbol can be centred. 19 years ago
tron 560e92aa4a (svn r3301) One more static 19 years ago
tron cc2b51320f (svn r3300) Remove unreachable code - in this case some duplicate breaks 19 years ago
tron 4634243110 (svn r3299) Remove the unimplemented -l option, which should select the language 19 years ago
tron bf98086de8 (svn r3298) Remove unused and write-only variables 19 years ago
tron 23bfc03054 (svn r3297) Staticise 19 years ago
tron ce94c90a7b (svn r3296) Warn about testing an undefined macro with #if - should most probably be #ifdef 19 years ago
Darkvater d8727d7fcd (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 56998926e7 (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 2a60262c99 (svn r3293) - Miscellaneous: add peter1138 as developer 19 years ago
peter1138 560a4a9c4a (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 04f39ef749 (svn r3291) - Codechange, Autoreplace: Replace int with EngineID and -1 with INVALID_ENGINE, as appropriate. 19 years ago
peter1138 07c3abfe92 (svn r3290) - Fix: "[ 1360054 ] Rename Sign, Cause Game Crash, nightly version r3213": Added filter to test for valid character input. 19 years ago
tron 2dc8e0c3d9 (svn r3289) 32 times static 19 years ago
peter1138 f4e1f18a15 (svn r3288) Set svn properties on cocoa related files, and add Id tag.
Add extern to cocoa sound driver.
19 years ago
tron ec2675c2c5 (svn r3287) Turn the winres.o: openttd.rc special case into a normal %.o: %.rc rule 19 years ago
bjarni 42d8e8410b (svn r3286) -Fix: [OSX] 10.2 works again and universal binaries got 10.2 as target by default 19 years ago
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* :)
19 years ago
truelight 0de260182b (svn r3284) -Fix: DoCommand always cleans up _cmd_text (tnx to Tron) 19 years ago
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
19 years ago
peter1138 809b03c81a (svn r3282) - Codechange: Replace tests against CMD_ERROR with CmdFailed() 19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
truelight c872ac4eb4 (svn r3278) -Fix: lets update the tail-pointer if we add a new item, else the linkedlist never grows ;) 19 years ago
truelight e9e1c4de53 (svn r3277) -Fix: lets use the right DoCommand for testing a build (tnx to Igor2Code) 19 years ago
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 19 years ago
bjarni 6cfdfcc4ba (svn r3275) -Fix: [OSX] removed libpng support and error dialogs from jaguar crosscompiles to fix crash 19 years ago
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
19 years ago
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)
19 years ago
bjarni 05fbf0ada5 (svn r3272) -Fix: [AI] fixed issue in AI that prevented compilation without network support 19 years ago
hackykid 2148e1fa89 (svn r3271) Remove some debug statements of mine which somehow got into svn. 19 years ago
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. 19 years ago
truelight 54cb542e1d (svn r3269) -Fix: return CMD_ERROR instead of -1 if AI_DoCommandChecked fails 19 years ago
bjarni bfc8b30325 (svn r3268) moved lithuanian.txt to unfinished as it is broken and haven't been updated for a few months 19 years ago
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
19 years ago