mirror of https://github.com/OpenTTD/OpenTTD
(svn r2909) Game would hang where the autosave_on_exit was activated.
- Updated VS.NET and VS6 project files changed AI filesrelease/0.4.5
parent
92270500e9
commit
828e7ed3e7
|
@ -553,6 +553,7 @@ static inline ThreadMsg OTTD_PollThreadEvent(void) {return _message;}
|
||||||
* It will stall as long as the mutex is not freed (handled) by the game */
|
* It will stall as long as the mutex is not freed (handled) by the game */
|
||||||
void OTTD_SendThreadMessage(ThreadMsg msg)
|
void OTTD_SendThreadMessage(ThreadMsg msg)
|
||||||
{
|
{
|
||||||
|
if (_exit_game) return;
|
||||||
while (_message != 0) CSleep(10);
|
while (_message != 0) CSleep(10);
|
||||||
|
|
||||||
_message = msg;
|
_message = msg;
|
||||||
|
|
12
openttd.dsp
12
openttd.dsp
|
@ -91,23 +91,23 @@ LINK32=link.exe
|
||||||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
|
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\ai_build.c
|
SOURCE=.\ai\trolly\build.c
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\ai_new.c
|
SOURCE=.\ai\trolly\trolly.c.c
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\ai_old.c
|
SOURCE=.\ai\default.c
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\ai_pathfinder.c
|
SOURCE=.\ai\trolly\pathfinder.c
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\ai_shared.c
|
SOURCE=.\ai\trolly\shared.c
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
@ -494,7 +494,7 @@ SOURCE=.\window.c
|
||||||
# PROP Default_Filter "h;hpp;hxx;hm;inl"
|
# PROP Default_Filter "h;hpp;hxx;hm;inl"
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\ai_new.h
|
SOURCE=.\ai\trolly\trolly.h
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
|
|
@ -161,9 +161,6 @@
|
||||||
<Filter
|
<Filter
|
||||||
Name="Source Files"
|
Name="Source Files"
|
||||||
Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat">
|
Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat">
|
||||||
<File
|
|
||||||
RelativePath="ai_old.c">
|
|
||||||
</File>
|
|
||||||
<File
|
<File
|
||||||
RelativePath=".\airport.c">
|
RelativePath=".\airport.c">
|
||||||
</File>
|
</File>
|
||||||
|
@ -890,20 +887,27 @@
|
||||||
Name="AI Files"
|
Name="AI Files"
|
||||||
Filter="">
|
Filter="">
|
||||||
<File
|
<File
|
||||||
RelativePath=".\ai_build.c">
|
RelativePath=".\ai\default\default.c">
|
||||||
</File>
|
|
||||||
<File
|
|
||||||
RelativePath=".\ai_new.c">
|
|
||||||
</File>
|
|
||||||
<File
|
|
||||||
RelativePath=".\ai_new.h">
|
|
||||||
</File>
|
|
||||||
<File
|
|
||||||
RelativePath=".\ai_pathfinder.c">
|
|
||||||
</File>
|
|
||||||
<File
|
|
||||||
RelativePath=".\ai_shared.c">
|
|
||||||
</File>
|
</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>
|
</Filter>
|
||||||
<File
|
<File
|
||||||
RelativePath="icon1.ico">
|
RelativePath="icon1.ico">
|
||||||
|
|
Loading…
Reference in New Issue