the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 21 lines 439 B view raw
1#pragma once 2 3#include "Buffer.h" 4 5class IntBuffer : public Buffer 6{ 7private: 8 int *buffer; 9 10public: 11 IntBuffer(unsigned int capacity); 12 IntBuffer( unsigned int capacity, int *backingArray ); 13 virtual ~IntBuffer(); 14 15 virtual IntBuffer *flip(); 16 int get(unsigned int index); 17 int *getBuffer(); 18 IntBuffer *put(intArray *inputArray, unsigned int offset, unsigned int length); 19 IntBuffer *put(intArray inputArray); 20 IntBuffer *put(int i); 21};