mirror of
https://github.com/chocolate-doom/research.git
synced 2024-11-25 13:31:29 +00:00
deabee4bcb
list of "good" (replaceable) strings. Subversion-branch: /research Subversion-revision: 1889
18 lines
275 B
Ruby
Executable file
18 lines
275 B
Ruby
Executable file
#!/usr/bin/env ruby
|
|
|
|
require "common"
|
|
|
|
config = find_config(ARGV[1])
|
|
strings = find_strings(ARGV[0], config)
|
|
|
|
for string in strings
|
|
|
|
string_text = string[1].to_json
|
|
|
|
if string[1] == nil
|
|
string_text = "NULL"
|
|
end
|
|
|
|
printf " { %6i, %s },\n", string[0], string_text
|
|
end
|
|
|