Mercurial > mplayer.hg
annotate loader/loader.h @ 36679:36cbede21428
Fix bug with unicode font loading for font.desc files.
Unicode glyphs might not get loaded even if they are requested and
available.
Fix it by checking the font encoding rather than the subtitle encoding
when loading the font.
author | ib |
---|---|
date | Sat, 01 Feb 2014 16:57:50 +0000 |
parents | db0bb7511440 |
children |
rev | line source |
---|---|
1 | 1 /******************************************************** |
2 | |
3 Win32 binary loader interface | |
128 | 4 Copyright 2000 Eugene Kuznetsov (divx@euro.ru) |
1 | 5 Shamelessly stolen from Wine project |
6 | |
7 *********************************************************/ | |
8 | |
15166
f5537cc95b02
Mark modified imported files as such to comply with GPL ¡ø2a.
diego
parents:
7386
diff
changeset
|
9 /* |
18783 | 10 * Modified for use with MPlayer, detailed changelog at |
11 * http://svn.mplayerhq.hu/mplayer/trunk/ | |
15166
f5537cc95b02
Mark modified imported files as such to comply with GPL ¡ø2a.
diego
parents:
7386
diff
changeset
|
12 */ |
f5537cc95b02
Mark modified imported files as such to comply with GPL ¡ø2a.
diego
parents:
7386
diff
changeset
|
13 |
26045 | 14 #ifndef MPLAYER_LOADER_H |
15 #define MPLAYER_LOADER_H | |
7386 | 16 |
17 #include "wine/windef.h" | |
18 #include "wine/driver.h" | |
19 #include "wine/mmreg.h" | |
20 #include "wine/vfw.h" | |
21 #include "wine/msacm.h" | |
32077
db0bb7511440
Move local_wm extern variable declaration to loader.h, which is better suited.
diego
parents:
30496
diff
changeset
|
22 #include "wine/module.h" |
db0bb7511440
Move local_wm extern variable declaration to loader.h, which is better suited.
diego
parents:
30496
diff
changeset
|
23 |
db0bb7511440
Move local_wm extern variable declaration to loader.h, which is better suited.
diego
parents:
30496
diff
changeset
|
24 |
db0bb7511440
Move local_wm extern variable declaration to loader.h, which is better suited.
diego
parents:
30496
diff
changeset
|
25 extern modref_list* local_wm; |
1494 | 26 |
25794
2c8cdb9123b8
Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
diego
parents:
24422
diff
changeset
|
27 unsigned int GetPrivateProfileIntA_(const char* appname, const char* keyname, int default_value, const char* filename); |
2c8cdb9123b8
Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
diego
parents:
24422
diff
changeset
|
28 int GetPrivateProfileStringA_(const char* appname, const char* keyname, |
1 | 29 const char* def_val, char* dest, unsigned int len, const char* filename); |
25794
2c8cdb9123b8
Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
diego
parents:
24422
diff
changeset
|
30 int WritePrivateProfileStringA_(const char* appname, const char* keyname, |
1 | 31 const char* string, const char* filename); |
32 | |
1307
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
128
diff
changeset
|
33 INT WINAPI LoadStringA( HINSTANCE instance, UINT resource_id, |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
128
diff
changeset
|
34 LPSTR buffer, INT buflen ); |
128 | 35 |
26045 | 36 #endif /* MPLAYER_LOADER_H */ |