Ama-Bitmaps · bei.pm
Amafomethi edokhumenti achazwe kule ndawo asuselwa ekuhlaziyweni kwezobuchwepheshe kobunikazi bokwakha be-Dynamix, Inc. kanye ne-Sierra Entertainment.
Ubunikazi bokwakha manje sebuye ingxenye ye-Activision Publishing, Inc.- / Activision Blizzard, Inc. futhi manje kuphathwa yi-Microsoft Corp..
Ulwazi luqoqwe ngokuqhuba Reverse Engineering kanye Datenanalyse ngenhloso yokugcinwa futhi kuhlanganyela nedatha yomlando.
Amazwibela okwakha angama-proprietary noma afihlekile awasetshenziswanga.
Umdlalo manje ungathengwa ku-gog.com njengokulanda.
I-Adr | x0 | x1 | x2 | x3 | x4 | x5 | x6 | x7 | x8 | x9 | xA | xB | xC | xD | xE | xF | ubcharacter | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0000 | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . |
0x0010 | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . |
I-Offset | Uhlobo lwedatha | Igama leDatha | Incazelo |
---|---|---|---|
0x0000 | uint(32) | Ububanzi obuqondile | Ikhomba ububanzi bemigqa ye-pixel data ngama-byte - njengoba le migqa ihlale ihambisana nemingcele ye-4-byte. Kanjalo, kulula ukufinyelela emigqeni ethile yezithombe. Kungani le mvalue igcinwa ngokwehlukana, nakuba ingabala, akucacile. |
0x0004 | uint(32) | Ukuphambuka | Ikhombisa i-offset yomugqa wokuqala ku-bitmap |
0x0008 | uint(32) | Ukuphakama | Ikhombisa ukuphakama kwesithombe nge-pixel |
0x000c | uint(32) | Ububanzi | Inika ububanzi besithombe ngama-pixel |
0x0010 | uint(16) | Uhlobo | Khombisa uhlobo lwezithombe. Kulokhu kubonakala sengathi kuyisithombe se-bitmask:
|
0x0012 | uint(16) | Iphunga | Kuchaza ukuthi iyiphi iphalethi okufanele isetshenziswe kusuka kufayela le-PRT |
Lolu hlelo lwedatha lwefayela le-PRT lukhombisa ukuthi ama-Bitmaps asetshenziswa ku-Sprites akhiwe kanjani. Lezi zindawo ze-Bitmaps zisebenza ngokuthi zingxenye eziyodwa, eziningi zixhunywe ndawonye ukuze zenze ifreyimu ye-animethishini ye-Sprite.
Idatha ethile yezithombe ibhiddena kumafayela
op2_art.BMP emgqeni womdlalo.
Kungani leli fayela le-Bitmap line (ngokuvamile eliqondile) i-RIFF-Bitmapheader,
akucaci. Kungenzeka ukuthi u-Outpost 2 usebenzisa ama-API ezinhlelo ukuze alandele izithombe,
njengoba le header ithathwa ngezikhathi ezithile futhi izigaba ezihambisanayo, ezihlukile zibhidlikiswa.
Idatha ye-Pixel itholakala kwi-BMP-file endaweni ye Offset + uint32-Offset, etholakala kwi-BMP-file ku-adresi 0x000A (i-RIFF-Bitmap-dataoffset), - futhi iphinde ihambisane nohlelo lwezintambo ukusuka phezulu kwesokunxele ukuya phansi kwesokudla.
Izithombe ze-monochrome ezingu-1bpp zingadwetshwa njengoba umbala 0 unokuhlanzeka okuphelele, kanti umbala 1 uwumbala omnyama/grey ophakathi kokuhlanzeka, njengoba izithombe ze-monochrome zivame ukusetshenziswa ukuze zihlabe umoya ezithombeni zezimoto nemikhakha emidlalweni.
Ngakho-ke ungakwazi ukuhlanganisa izithombe eziningi.