Changeset - r2383:93b29a25a287
[Not reviewed]
master
0 3 0
Darkvater - 19 years ago 2005-09-03 11:33:55
darkvater@openttd.org
(svn r2909) Game would hang where the autosave_on_exit was activated.
- Updated VS.NET and VS6 project files changed AI files
3 files changed with 27 insertions and 22 deletions:
0 comments (0 inline, 0 general)
openttd.c
Show inline comments
 
@@ -550,12 +550,13 @@ static inline void OTTD_ReleaseMutex(voi
 
static inline ThreadMsg OTTD_PollThreadEvent(void) {return _message;}
 

	
 
/** Called by running thread to execute some action in the main game.
 
 * It will stall as long as the mutex is not freed (handled) by the game */
 
void OTTD_SendThreadMessage(ThreadMsg msg)
 
{
 
	if (_exit_game) return;
 
	while (_message != 0) CSleep(10);
 

	
 
	_message = msg;
 
}
 

	
 

	
openttd.dsp
Show inline comments
 
@@ -88,29 +88,29 @@ LINK32=link.exe
 
# Name "openttd - Win32 Debug"
 
# Begin Group "Source Files"
 

	
 
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
 
# Begin Source File
 

	
 
SOURCE=.\ai_build.c
 
SOURCE=.\ai\trolly\build.c
 
# End Source File
 
# Begin Source File
 

	
 
SOURCE=.\ai_new.c
 
SOURCE=.\ai\trolly\trolly.c.c
 
# End Source File
 
# Begin Source File
 

	
 
SOURCE=.\ai_old.c
 
SOURCE=.\ai\default.c
 
# End Source File
 
# Begin Source File
 

	
 
SOURCE=.\ai_pathfinder.c
 
SOURCE=.\ai\trolly\pathfinder.c
 
# End Source File
 
# Begin Source File
 

	
 
SOURCE=.\ai_shared.c
 
SOURCE=.\ai\trolly\shared.c
 
# End Source File
 
# Begin Source File
 

	
 
SOURCE=.\airport.c
 
# End Source File
 
# Begin Source File
 
@@ -491,13 +491,13 @@ SOURCE=.\window.c
 
# End Group
 
# Begin Group "Header Files"
 

	
 
# PROP Default_Filter "h;hpp;hxx;hm;inl"
 
# Begin Source File
 

	
 
SOURCE=.\ai_new.h
 
SOURCE=.\ai\trolly\trolly.h
 
# End Source File
 
# Begin Source File
 

	
 
SOURCE=.\aystar.h
 
# End Source File
 
# Begin Source File
openttd.vcproj
Show inline comments
 
@@ -159,15 +159,12 @@
 
	</References>
 
	<Files>
 
		<Filter
 
			Name="Source Files"
 
			Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat">
 
			<File
 
				RelativePath="ai_old.c">
 
			</File>
 
			<File
 
				RelativePath=".\airport.c">
 
			</File>
 
			<File
 
				RelativePath=".\aystar.c">
 
			</File>
 
			<File
 
@@ -887,26 +884,33 @@
 
			</File>
 
		</Filter>
 
		<Filter
 
			Name="AI Files"
 
			Filter="">
 
			<File
 
				RelativePath=".\ai_build.c">
 
			</File>
 
			<File
 
				RelativePath=".\ai_new.c">
 
				RelativePath=".\ai\default\default.c">
 
			</File>
 
			<File
 
				RelativePath=".\ai_new.h">
 
			</File>
 
			<File
 
				RelativePath=".\ai_pathfinder.c">
 
			</File>
 
			<File
 
				RelativePath=".\ai_shared.c">
 
			</File>
 
			<Filter
 
				Name="trolly"
 
				Filter="">
 
				<File
 
					RelativePath=".\ai\trolly\build.c">
 
				</File>
 
				<File
 
					RelativePath=".\ai\trolly\pathfinder.c">
 
				</File>
 
				<File
 
					RelativePath=".\ai\trolly\shared.c">
 
				</File>
 
				<File
 
					RelativePath=".\ai\trolly\trolly.c">
 
				</File>
 
				<File
 
					RelativePath=".\ai\trolly\trolly.h">
 
				</File>
 
			</Filter>
 
		</Filter>
 
		<File
 
			RelativePath="icon1.ico">
 
		</File>
 
		<File
 
			RelativePath="mainicon.ico">
0 comments (0 inline, 0 general)