2f938a35d9
s/(\(float\|\(unsigned \)\?\(int\|long\)\|double\|short\|unsigned\))\s*(/static_cast<\1>(/g
31 lines
786 B
C
31 lines
786 B
C
/*
|
|
* This file is part of the DXX-Rebirth project <http://www.dxx-rebirth.com/>.
|
|
* It is copyright by its individual contributors, as recorded in the
|
|
* project's Git history. See COPYING.txt at the top level for license
|
|
* terms and a link to the Git history.
|
|
*/
|
|
/*
|
|
* $Source: /cvsroot/dxx-rebirth/d2x-rebirth/include/makesig.h,v $
|
|
* $Revision: 1.1.1.1 $
|
|
* $Author: zicodxx $
|
|
* $Date: 2006/03/17 20:01:26 $
|
|
*
|
|
* Macro to make file signatures
|
|
*
|
|
* $Log: makesig.h,v $
|
|
* Revision 1.1.1.1 2006/03/17 20:01:26 zicodxx
|
|
* initial import
|
|
*
|
|
* Revision 1.1 2001/11/11 23:39:22 bradleyb
|
|
* Created header for MAKE_SIG macro
|
|
*
|
|
*
|
|
*/
|
|
|
|
#ifndef _MAKESIG_H
|
|
#define _MAKESIG_H
|
|
|
|
#define MAKE_SIG(a,b,c,d) ((static_cast<long>(a)<<24)+(static_cast<long>(b)<<16)+((c)<<8)+(d))
|
|
|
|
#endif
|