Guys, he's talking about GoldSrc. @OP: AFAIK, HL SDK didn't have any native support for other image types than TGA. Maybe you could derive your own class from BitmapTGA/Bitmap/Image and override the proper functions so you load the JPG, convert it to raw RGBA and upload it to the VRAM.
2010/1/31 Matt Lima Faiotto <[email protected]> > They are probably using Images converted onto a VTF. > > -------------------------------------------------- > From: "Saint Thoth (hotmail)" <[email protected]> > Sent: Saturday, January 30, 2010 6:31 PM > To: <[email protected]> > Subject: [hlcoders] HTML/JPG/GIF display in HL1 Goldsrc > > > HTML/JPG/GIF display in HL1 Goldsrc > > > > I've seen mods that can display HTML content on panels in-game. > Presumably > > that includes JPG and/or GIF image display capability. > > > > Has anyone seen the source code for this capability? > > > > We have a mod that can display TGA images on panels, and want to use them > > to > > make lore books, however, TGA images are FAR too large, disk-space-wise, > > for > > this purpose. JPG or GIF would certainly be more acceptable. > > > > It maybe this ability is the result of an AMX plugin or such, in which > > case, > > I should likely go searching at the ModX forums. >_> > > > > Thanks in advance, > > > > > > _______________________________________________ > > To unsubscribe, edit your list preferences, or view the list archives, > > please visit: > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

