00001 // Filename: xFileTemplates.cxx 00002 // Created by: drose (21Jun01) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved 00008 // 00009 // All use of this software is subject to the terms of the Panda 3d 00010 // Software license. You should have received a copy of this license 00011 // along with this source code; you will also find a current copy of 00012 // the license at http://www.panda3d.org/license.txt . 00013 // 00014 // To contact the maintainers of this program write to 00015 // panda3d@yahoogroups.com . 00016 // 00017 //////////////////////////////////////////////////////////////////// 00018 00019 #include "xFileTemplates.h" 00020 00021 // This must be included only in exactly one .cxx file, since 00022 // including defines the structure! 00023 #include <rmxftmpl.h> 00024 00025 const int d3drm_xtemplates_length = D3DRM_XTEMPLATE_BYTES; 00026 00027 // I don't know what the official Windows way to declare this thing 00028 // is. This is my way. What a strange coding environment this is. 00029 #define DECLARE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ 00030 const GUID name \ 00031 = { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } } 00032 00033 DECLARE_GUID(mydef_TID_D3DRMHeader, 00034 0x3d82ab43, 0x62da, 0x11cf, 0xab, 0x39, 0x0, 0x20, 0xaf, 0x71, 0xe4, 0x33);