- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

# C:/Documents and Settings/jegan/Desktop/projectX/textureAdd.cpp File Reference

`#include <stdio.h>`
`#include <stdlib.h>`
`#include <string>`
`#include <io.h>`
`#include <set>`
`#include <map>`
`#include <iostream>`
`#include "SDL.h"`
`#include "SDL_image.h"`

Go to the source code of this file.

## Functions
void | stripExtension (string &filename)
void | readFiles (set< string > &textures, set< string > &pixels, string extension)
void | checkCollisions (map< Uint32, string > &colors, set< string > &pixels, string extension, SDL_PixelFormat *&fmt)
int | main (int argc, char *argv[])

## Function Documentation

void checkCollisions | ( | map< Uint32, string > & | colors,
|  | set< string > & | pixels,
|  | string | extension,
|  | SDL_PixelFormat *& | fmt
| ) |

| Definition at line 46 of file textureAdd.cpp. Referenced by main().

int main | ( | int | argc,
|  | char * | argv[]
| ) |

| Definition at line 69 of file textureAdd.cpp. References checkCollisions(), and readFiles().

void readFiles | ( | set< string > & | textures,
|  | set< string > & | pixels,
|  | string | extension
| ) |

| Definition at line 22 of file textureAdd.cpp. References stripExtension(). Referenced by main().

void stripExtension | ( | string & | filename | ) |

| Definition at line 14 of file textureAdd.cpp. Referenced by readFiles().