From DoomWiki.org Warning: You are not logged in. Your IP address will be recorded in this page's edit history. Anti-spam check. Do not fill this in! === Specifics === This is what I found out looking at DoomLegacy. (the page formatter is mangling this, it reads like the original when in EDIT). {{c|******* Doom Large Images}} If this cannot do more than one line, it is pretty useless. <pre> ******* Doom Large Images *** From doom.wad Graphics TITLEPIC, HELP1, INTERPIC patch WIMAP0, WIMAP1, WIMAP2 patch M_DOOM patch END sequence patch ENDPIC, PFUB1 PFUB2, VICTORY2 patch Patches SKY1, SKY2, SKY3, SKY4 patch Sprites - all monster, weapon, object patches *** From doom2.wad Graphics TITLEPIC, BOSSBACK, CREDIT, HELP, INTERPIC patch M_DOOM patch - several menu labels patch - map names patch Patches RSKY1, RSKY2, RSKY3 patch - all wall texture patches Sprites - all monster, weapon, object patches Textures texture lump *** From heretic.wad Graphics M_HTIC patch MAPE1, MAPE2, MAPE3 patch Lumps CREDIT, TITLE, E2END raw FINAL1, FINAL2 raw HELP1, HELP2 raw Patches SKY1, SKY2, SKY3 patch *** From legacy.wad CREDIT patch RSKY1, RSKY2, RSKY3 patch - several menu labels patch RANKINGS patch Lumps SBOHEALT lmp pic_t SBOARMOR lmp pic_t SBOEMPTY lmp pic_t SBOFRAGS lmp pic_t *** Function calling * Doom HELP1, HELP2 -> V_DrawScalePatch * Doom2 HELP, CREDIT -> V_DrawScalePatch * Heretic HELP1, HELP2 -> V_DrawRawScreen_Num * Doom status bar overlay - draws status bar images that are lumps stored in pic_t format - DoomLegacy feature, lumps are from legacy.wad - status bar health SBOHEALT - status bar armor SBOARMOR - status bar frags SBOFRAGS -> V_DrawScalePic_Num -> W_CachePicNum -> V_BlitScalePic * Functions Func D_PageDrawer () { // Draws whole screen patches. // Fills the borders by repeating a flat. // Used for TITLEPIC, HELP1, HELP2, ORDER, CREDIT, FINAL1, FINAL2, E2END } Func V_DrawScalePic_Num () { // Used for Legacy overlay graphics -> W_CachePicNum -> V_BlitScalePic } Func V_DrawRawScreen () { // Used for Legacy credits. // Used for heretic: TITLE, HELP1, HELP2, ORDER, CREDIT, FINAL1, FINAL2, E2END -> W_CacheRawAsPic -> V_BlitScalePic } Func W_CacheRawAsPic () { // convert raw heretic picture to legacy pic_t format // Used for heretic: TITLE, HELP1, HELP2, ORDER, CREDIT, FINAL1, FINAL2, E2END } Func W_CachePicName, W_CachePicNum () { - reads a lump that is in pic_t format } Func V_BlitScalePic () { - renders images that are in pic_t format - can only draw pic mode = PALETTE - the usual pic are sized for 320x200 } *** pic_t format <<code>> // This is the Doom PIC format (not the Pictor PIC format). typedef enum { PALETTE = 0, // 1 byte is the index in the doom palette (as usual) INTENSITY = 1, // 1 byte intensity INTENSITY_ALPHA = 2, // 2 byte : alpha then intensity RGB24 = 3, // 24 bit rgb RGBA32 = 4, // 32 bit rgba } pic_mode_t; pic_t image format { uint16_t width; byte zero; // set to 0 allow autodetection of pic_t // mode instead of patch or raw byte mode; // see pic_mode_t above uint16_t height; uint16_t reserved1; // set to 0 byte data[0]; } <</code>> In spite of the mode definition above, all actual Doom pic seem to be mode 0. *** Flats - stored as a raw image without a header - original was 64x64 raw image - DoomLegacy will accept other square sizes, upto 256x256 - drawn horizontally (by rows) func R_GetFlat // just reads a lump into a cache </pre> {{unsigned|Wesleyjohnson}} Summary: All contributions to DoomWiki.org are considered to be released under the CC BY-SA 4.0 International (see Doom Wiki:Copyrights for details). By contributing, you agree to be bound by the Terms of Use. Your changes will be visible immediately. Please enter a summary of your changes above. Do not submit copyrighted images or text without permission! This includes text taken from in-game codices or logbooks, or from official instruction manuals, strategy guides, and other such books. This project is not affiliated with id Software, Raven Software, ZeniMax Media, Bethesda SoftWorks, or any other commercial software developer or publisher. Use of trademarked logos and other protected intellectual property is solely for the purpose of analysis and critical commentary on the identified products and associated fan community activity, and does not imply any endorsement by any of these organizations or their employees, past or present. Upload images to the wiki. Don't forget to categorize pages! For testing, please use a sandbox. View this template Cancel | Editing help (opens in new window)