Killed off RGSS, deleted font installer code

This commit is contained in:
Maruno17
2020-11-22 16:17:46 +00:00
parent 6158e42635
commit f362b7f847
17 changed files with 73 additions and 283 deletions

View File

@@ -668,7 +668,7 @@ module Compiler
if !$INEDITOR && LANGUAGES.length>=2
pbLoadMessages("Data/"+LANGUAGES[$PokemonSystem.language][1])
end
pbSetWindowText(nil) if mkxp?
pbSetWindowText(nil)
end
def main
@@ -730,28 +730,6 @@ module Compiler
pbSaveAllData
mustCompile = true
end
# Check data files and PBS files, and recompile if any PBS file was edited
# more recently than the data files were last created
if !mkxp?
for i in 0...dataFiles.length
begin
File.open("Data/#{dataFiles[i]}") { |file|
latestDataTime = [latestDataTime,file.mtime.to_i].max
}
rescue SystemCallError
mustCompile = true
end
end
for i in 0...textFiles.length
begin
File.open("PBS/#{textFiles[i]}") { |file|
latestTextTime = [latestTextTime,file.mtime.to_i].max
}
rescue SystemCallError
end
end
mustCompile |= (latestTextTime>=latestDataTime)
end
# Should recompile if holding Ctrl
Input.update
mustCompile = true if Input.press?(Input::CTRL)