mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
7a4e5612de
Mostly done using the following Ruby script: (Dir.glob('**/*.cpp') + Dir.glob('**/*.h')).each do |file| s = File.read(file, encoding: 'iso8859-1') t = s.gsub(/(([\w_.\[\]]+)\s*=\s*new\s+\S+?\[[^\]]+?\](?!\())([^\{\}]*?)\n\s+memset\(\s*\2\s*,\s*0\s*,[^;]*;/m, '\1()\3') if t != s File.open(file, 'w') { |io| io.write(t) } end end |
||
---|---|---|
.. | ||
indeo | ||
bmp_raw.cpp | ||
bmp_raw.h | ||
cdtoons.cpp | ||
cdtoons.h | ||
cinepak_tables.h | ||
cinepak.cpp | ||
cinepak.h | ||
codec.cpp | ||
codec.h | ||
hlz.cpp | ||
hlz.h | ||
indeo3.cpp | ||
indeo3.h | ||
indeo4.cpp | ||
indeo4.h | ||
indeo5.cpp | ||
indeo5.h | ||
jyv1.cpp | ||
jyv1.h | ||
mjpeg.cpp | ||
mjpeg.h | ||
mpeg.cpp | ||
mpeg.h | ||
msrle4.cpp | ||
msrle4.h | ||
msrle.cpp | ||
msrle.h | ||
msvideo1.cpp | ||
msvideo1.h | ||
qtrle.cpp | ||
qtrle.h | ||
rpza.cpp | ||
rpza.h | ||
smc.cpp | ||
smc.h | ||
svq1_cb.h | ||
svq1_vlc.h | ||
svq1.cpp | ||
svq1.h | ||
truemotion1.cpp | ||
truemotion1.h | ||
truemotion1data.h | ||
xan.cpp | ||
xan.h |