cleaned up unecessary files

This commit is contained in:
Allen Webster 2016-02-23 08:28:28 -05:00
parent 6e661f6a98
commit a77861ccfd
3 changed files with 1 additions and 42 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
vc120.pdb

View File

@ -1,34 +0,0 @@
/*
* Mr. 4th Dimention - Allen Webster
*
* 20.10.2015
*
* Code compression for 4coder
*
*/
// TOP
internal i32
compress_code(u8 *data, i32 size, void *dest){
*(i32*)dest = size;
dest = (i32*)dest + 1;
memcpy(dest, data, size);
return size + 4;
}
internal i32
decompress_code_size(void *compressed){
i32 size = *(i32*)compressed;
return size;
}
internal void
decompress_code(void *compressed, u8 *data, i32 size){
Assert(size == *(i32*)compressed);
compressed = (i32*)compressed + 1;
memcpy(data, compressed, size);
}
// BOTTOM

View File

@ -1,8 +0,0 @@
/*
* Mr. 4th Dimention - Allen Webster
*
* 12.12.2014
*
* Win32 layer for project codename "4ed"
*
*/