| 1920 | }; |
| 1921 | |
| 1922 | static void defsparser(FScanner& sc) |
| 1923 | { |
| 1924 | int iter = 0; |
| 1925 | |
| 1926 | sc.SetNoFatalErrors(true); |
| 1927 | sc.SetNoOctals(true); |
| 1928 | while (1) |
| 1929 | { |
| 1930 | if (++iter >= 50) |
| 1931 | { |
| 1932 | Printf("."); |
| 1933 | iter = 0; |
| 1934 | } |
| 1935 | FScriptPosition pos = sc; |
| 1936 | if (!sc.GetString()) return; |
| 1937 | int index = sc.MustMatchString(&basetokens[0].text, sizeof(basetokens[0])); |
| 1938 | if (index != -1) basetokens[index].handler(sc, pos); |
| 1939 | } |
| 1940 | } |
| 1941 | |
| 1942 | void loaddefinitionsfile(TilesetBuildInfo& info, const char* fn, bool cumulative, bool maingame) |
| 1943 | { |
no test coverage detected