Difference between revisions of "PSX/TIM format"

From QhimmWiki
Jump to navigation Jump to search
Qhimm>Qhimm
Qhimm>Qhimm
(No difference)

Revision as of 15:34, 3 March 2005

A TIM file is a standard image file format for the Sony PlayStation. The file structure closely mimics the way textures are managed in the frame buffer by the GPU. <cpp> // C++ code:

  1. include <stdio.h>
  2. include "tim.h"

class TIMFile { public:

   TIMFile() { return; }
   ~TIMFile() { return; }

/* Multi line comment */

protected:

   int m_data;

}; </cpp>