Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
12
Src/replicant/foundation/mkncc.h
Normal file
12
Src/replicant/foundation/mkncc.h
Normal file
|
@ -0,0 +1,12 @@
|
|||
#ifndef WASABI2_FOUNDATION_MKNCC_H
|
||||
#define WASABI2_FOUNDATION_MKNCC_H
|
||||
#pragma once
|
||||
|
||||
// note: this is endian-incompatible with win32's MAKEFOURCC
|
||||
// otoh, it shows up nicely in a debug register ;)
|
||||
|
||||
#define MK4CC(a, b, c, d) ( (((unsigned long)a)<<24)|(((unsigned long)b)<<16)|(((unsigned long)c)<<8)|((unsigned long)d) )
|
||||
#define MK3CC(b, c, d) ( (((unsigned long)b)<<16)|(((unsigned long)c)<<8)|((unsigned long)d) )
|
||||
#define MK2CC(c, d) ( (((unsigned long)c)<<8)|((unsigned long)d) )
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue