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.168 by root, Sat Dec 9 21:26:45 2006 UTC vs.
Revision 1.170 by root, Sun Mar 4 19:36:08 2007 UTC

1#ifdef _WIN32 1#ifdef _WIN32
2# define WIN32_LEAN_AND_MEAN 2# define WIN32_LEAN_AND_MEAN
3# define _WIN32_WINNT 0x0500 // needed to get win2000 api calls 3# define NTDDI_VERSION NTDDI_WIN2K // needed to get win2000 api calls
4# include <malloc.h> 4# include <malloc.h>
5# include <windows.h> 5# include <windows.h>
6# include <wininet.h> 6# include <wininet.h>
7# pragma warning(disable:4244) 7# pragma warning(disable:4244)
8# pragma warning(disable:4761) 8# pragma warning(disable:4761)
1412 cell->stat_width = 1; 1412 cell->stat_width = 1;
1413 cell->stat_hp = *data++; 1413 cell->stat_hp = *data++;
1414 } 1414 }
1415 else if (cmd == 6) // monster width 1415 else if (cmd == 6) // monster width
1416 cell->stat_width = *data++ + 1; 1416 cell->stat_width = *data++ + 1;
1417 else if (cmd == 0x47) // monster width 1417 else if (cmd == 0x47)
1418 { 1418 {
1419 if (*data == 4) 1419 if (*data == 8)
1420 ; // decode player tag 1420 ; // decode player uuid
1421 1421
1422 data += *data + 1; 1422 data += *data + 1;
1423 } 1423 }
1424 else if (cmd == 8) // cell flags 1424 else if (cmd == 8) // cell flags
1425 cell->flags = *data++; 1425 cell->flags = *data++;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines