os2.c
changeset 1390 e7cdf3ce0fb6
parent 1346 07c882aeb90c
child 1482 80e315adc3bd
equal deleted inserted replaced
1389:fe967eec43d1 1390:e7cdf3ce0fb6
     1 #include "stdafx.h"
     1 #include "stdafx.h"
     2 #include "ttd.h"
     2 #include "ttd.h"
       
     3 #include "window.h"
     3 #include "string.h"
     4 #include "string.h"
     4 #include "table/strings.h"
     5 #include "table/strings.h"
     5 #include "hal.h"
     6 #include "hal.h"
     6 
     7 
     7 #include <direct.h>
     8 #include <direct.h>
   527 
   528 
   528 
   529 
   529 	return ttd_main(argc, argv);
   530 	return ttd_main(argc, argv);
   530 }
   531 }
   531 
   532 
   532 void DeterminePaths()
   533 void DeterminePaths(void)
   533 {
   534 {
   534 	char *s;
   535 	char *s;
   535 
   536 
   536 	_path.game_data_dir = malloc( MAX_PATH );
   537 	_path.game_data_dir = malloc( MAX_PATH );
   537 	ttd_strlcpy(_path.game_data_dir, GAME_DATA_DIR, MAX_PATH);
   538 	ttd_strlcpy(_path.game_data_dir, GAME_DATA_DIR, MAX_PATH);
   676 	OS2MidiStopSong,
   677 	OS2MidiStopSong,
   677 	OS2MidiIsSongPlaying,
   678 	OS2MidiIsSongPlaying,
   678 	OS2MidiSetVolume,
   679 	OS2MidiSetVolume,
   679 };
   680 };
   680 
   681 
   681 
   682 bool InsertTextBufferClipboard(Textbuf *tb) {return false;}