ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/Client.xs
(Generate patch)

Comparing deliantra/Deliantra-Client/Client.xs (file contents):
Revision 1.110 by root, Sat Jun 10 02:22:33 2006 UTC vs.
Revision 1.111 by root, Mon Jun 12 13:26:14 2006 UTC

10#include "XSUB.h" 10#include "XSUB.h"
11 11
12#include <math.h> 12#include <math.h>
13#include <string.h> 13#include <string.h>
14#include <stdio.h> 14#include <stdio.h>
15#include <stdlib.h>
15 16
16#include <SDL.h> 17#include <SDL.h>
17#include <SDL_endian.h> 18#include <SDL_endian.h>
18#include <SDL_image.h> 19#include <SDL_image.h>
19#include <SDL_mixer.h> 20#include <SDL_mixer.h>
703 CODE: 704 CODE:
704 fprintf (stderr, "FATAL: %s\n", message); 705 fprintf (stderr, "FATAL: %s\n", message);
705#ifdef _WIN32 706#ifdef _WIN32
706 MessageBox (0, message, "Crossfire+ Fatal Error", MB_OK | MB_ICONERROR); 707 MessageBox (0, message, "Crossfire+ Fatal Error", MB_OK | MB_ICONERROR);
707#endif 708#endif
708 exit (1); 709 _Exit (1);
710
711void
712_exit (int retval)
713 CODE:
714 _Exit (retval);
709 715
710MODULE = CFClient PACKAGE = CFClient::Font 716MODULE = CFClient PACKAGE = CFClient::Font
711 717
712CFClient::Font 718CFClient::Font
713new_from_file (SV *class, char *path, int id = 0) 719new_from_file (SV *class, char *path, int id = 0)
1053DESTROY (CFClient::Map self) 1059DESTROY (CFClient::Map self)
1054 CODE: 1060 CODE:
1055{ 1061{
1056 map_clear (self); 1062 map_clear (self);
1057 Safefree (self->face); 1063 Safefree (self->face);
1064 Safefree (self->tex);
1058 Safefree (self); 1065 Safefree (self);
1059} 1066}
1060 1067
1061void 1068void
1062clear (CFClient::Map self) 1069clear (CFClient::Map self)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines