|
Adventurer #11
31 июля 2000 |
|
Presentation - FLN Package v1.0: utility for PC graphics.

(C) Research / Volgasoft
FLN Package v1.0
... Powerpuff utilities in the world
a lot of useful little ...
Contents
1. Why and what can
2. Circuits
3. Supplied
4. Conclusion
5. Appendix
1. For what
I needed a series of programs for such tasks as:
a) Ripane graphics from PCs and other
Platforms
b) Uzhimanie mask in 2 (4) times for
save memory (and the corresponding
respectively for unclamping and after
blowing edit)
c) into the linear format (and
back) graphics for better parameter
forged
e) removing Negemorroynogo Series
Sprites from the block
e) Transfer to GRF format and back
Therefore, was written by a package of 4
Programs:
BMP2F - a program to convert 1-bit
GOVERNMENTAL BMP of any size
to file spraytmastera;
FLN UTITIES - utility with the same name
package (see below);
F2GRF - FLN file converter spraytmas
tera in the GRF file;
GRF2F - converter GRF file in the FLN file
spraytmastera;
FLN utilities (own program)
can be used for:
a) Conversion of arbitrary files
SpriteMaster 'and in a format FLN (con
turns immediately after loading, but
lneyshaya work is carried out only has
NGOs with this format);
b) Removal of extra sprites
of the FLN file SpriteMaster 'a;
c) Conversion of sprites
linear format (in columns, then
Graphics is better packed) and vice versa;
d) Compression of sprites on the vertical
Kali, a factor of 2 (2 methods OR and AND);
e) expanding group of sprites along the vertical
ticked (the inverse transformation
pp.g);
e) Increasing the size of the vertical
group of sprites on a familiarity
(Select byte fill
# 00 / # FF);
2. Circuits
All the stuff broke, so the piece here
letters from me to the Elf / CPU:
------------------ Begin ----------------- on 18/02/2000
I'm happy as a child: FLN UTILITIES
beta now with a linearizer, and he
sense there (about 12-20% When packing line and conventional
block diagrams). But It was night, but right now I slyapal
Gamma version of the function Y + + (increased height sprite
per unit), and then spraytmaster ship as a bummer. (If you do
not understand - is to mask the height to make even the odd,
and then flatten, not then polznakomesta lost).
It seems like we ought to write a manual, but oblomno!
(Such as sprites, you can delete button DEL, sprites height one
character is better not to crush, but not all delete, etc.)
on 19/02/2000 00:55 night
Bevis came, tried to persuade me
throw subverted with FLN and utilities
reduce all monsters to the jar
climbed (POS, as I demanded it
Huffman compressor). Since it did delta version (added y + +
Fill, to how to change the fill byte add
line: to mask 255, for sprites -0).
As revealed glyuchechek had
make epsilon version (in the delta, he
is, and in earlier versions do not).
------------------ End -------------------
I should add that I've shoveled a lot of
graphics using of this program, therefore, found the current
one drawback - the program sometimes resets ... The moral -
unsubscribe wanted.
And even when you load the file
spraytmastera, the program takes off himself
bank, so the POS out of the SPM file
All settings are changed to the old! The second moral - mood,
then play).
3. Supplied
BMP2F.E - executable for pisyuka;
F2GRF.B - converter in the GRF;
GRF2F.B - converter in F;
FLN EPS.B - utility with the same name
Service;
4. Conclusion
I know that many of these utilities, but
convertible BMRshki arbitrary size
pisyuka with nothing. Remove sprites spraytmastere long time,
and for uzhimaniya masks artstudii I'm not ready yet.
Y converters in F and GRF interface
No, but he is not really needed, messages, too, by the way
there. The result of You can view the catalog.
And still advise reading aid
to PV1.18, the account name in the file spraytmastera.
One thing is clear: to write a black and white toy has
become a little easier.
5. Appendix
(FLN = FLOAT LINE NO_ATR)
File Format FLN Sprite Master:
{F_HEADER} {FLNSprite1 #}...{ FLNSprite # N}
(Header file) (sprayt1 )...( spraytN)
F_HEADER
{
FSIZE DW?; The length of the file byte -9
TYPE db?
AtrType db?; 0-NoAtr, 1-Symbol, 2-Graph
BMPtype db?; 0-Symbol, 1-Line
ySize db?; any value
xSize db?; any value
COUNTER db?; All sprites in the file
(Zero)
}
FLNSprite
{
Length dw dy * dx * 8 +4; length sprite
cap
dy db?; height of familiarity
dx db?; width of familiarity
Body ds dy * dx * 8; body sprite
}
GRF file format:
This formatets certainly more convenient than the FLN for
the removal of the screen and very simple:
org. c000
COUNTER db?; All sprites (1)
{; Cap sprites
dx1 db?; width of familiarity
dy1 db?; height of familiarity
ptr1 dw body1; address sprite
}, And the whole structure repeats
; Xia runoff
; Lope sprites
; Caps run out, start
; Body
;
{
body1 ds dx1 * dy1 * 8; body sprite
}; And bodies respectively runoff
; Lope spelled out in the COUNTER
Other articles:
Similar articles:
В этот день... 3 November