ChangeLog + I forgot to commit xbm2lbm
This commit is contained in:
+10
-2
@@ -1,12 +1,20 @@
|
||||
******************************************
|
||||
CHANGELOG: 02-03-2012 BSS
|
||||
MAX changed to HALF (idea from er9x)
|
||||
CHANGELOG: 04-03-2012 BSS
|
||||
New EEPROM format 205
|
||||
Introduction of differential in Mixers
|
||||
Introduction of Switches as Mixer Source (FULL now removed)
|
||||
Negative curves in Mixers
|
||||
Optimizations in Mixer
|
||||
Extended chars for localization
|
||||
Swedish translations
|
||||
Beep length updated
|
||||
|
||||
******************************************
|
||||
CHANGELOG: 01-03-2012 BSS
|
||||
Feature "Use THR trim as a slider" now finished
|
||||
[FrSky] Jitter (2us) introduced by last optimization removed
|
||||
Trim parameter in Mixer is OFF if the source is not a stick
|
||||
GPS distance fixed
|
||||
|
||||
******************************************
|
||||
|
||||
|
||||
+5
-6
@@ -1,11 +1,8 @@
|
||||
#! /usr/bin/env ruby
|
||||
|
||||
|
||||
require 'pp'
|
||||
|
||||
|
||||
|
||||
def main(xbm)
|
||||
def main(header, xbm)
|
||||
base=xbm.sub(/\.xbm/,"")
|
||||
cols,rows=1,1
|
||||
if base.sub! /_(\d+)x(\d+)/,""
|
||||
@@ -35,7 +32,9 @@ def main(xbm)
|
||||
|
||||
File.open("#{base}.lbm","w"){|f|
|
||||
col=0
|
||||
f.printf("%d,%d,\n",w/cols,h/rows)
|
||||
if header == "yes"
|
||||
f.printf("%d,%d,\n",w/cols,h/rows)
|
||||
end
|
||||
rows.times{|row|
|
||||
(hb/rows).times{|yb| yb
|
||||
w.times{|xp|
|
||||
@@ -48,4 +47,4 @@ def main(xbm)
|
||||
end
|
||||
|
||||
|
||||
main(ARGV[0])
|
||||
main(ARGV[0], ARGV[1])
|
||||
|
||||
Reference in New Issue
Block a user