aboutsummaryrefslogtreecommitdiff
path: root/gamemode/shared/lockbox/padding.lua
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2017-01-04 23:27:36 -0500
committerAlexander Pickering <alexandermpickering@gmail.com>2017-01-04 23:27:36 -0500
commit4879eb1d78520ce0ac9b0bb0ef5244cf65ad7c99 (patch)
treeac47724191a8959c19b2408d4da384d64b6098ec /gamemode/shared/lockbox/padding.lua
parent2c4329e2b6e19182a441f79a5c3010011f8ae767 (diff)
downloadartery-4879eb1d78520ce0ac9b0bb0ef5244cf65ad7c99.tar.gz
artery-4879eb1d78520ce0ac9b0bb0ef5244cf65ad7c99.tar.bz2
artery-4879eb1d78520ce0ac9b0bb0ef5244cf65ad7c99.zip
Started refactoring item and inventory system
Diffstat (limited to 'gamemode/shared/lockbox/padding.lua')
-rw-r--r--gamemode/shared/lockbox/padding.lua21
1 files changed, 0 insertions, 21 deletions
diff --git a/gamemode/shared/lockbox/padding.lua b/gamemode/shared/lockbox/padding.lua
deleted file mode 100644
index 72be077..0000000
--- a/gamemode/shared/lockbox/padding.lua
+++ /dev/null
@@ -1,21 +0,0 @@
-local Stream = include("stream.lua");
-
-local ZeroPadding = function(blockSize,byteCount)
-
- local paddingCount = blockSize - ((byteCount -1) % blockSize) + 1;
- local bytesLeft = paddingCount;
-
- local stream = function()
- if bytesLeft > 0 then
- bytesLeft = bytesLeft - 1;
- return 0x00;
- else
- return nil;
- end
- end
-
- return stream;
-
-end
-
-return ZeroPadding;