This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function spairs3(t, cmp) | |
-- collect the keys | |
local keys = {} | |
for k,v in pairs(job_distributions) do | |
keys[#keys+1] = k | |
--print(k) | |
end | |
utils.sort_vector(keys, nil, cmp) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using uint32 = unsigned __int32; | |
#define regionWidth 4 | |
#define regionHeight 4 | |
class Region_Tile | |
{ | |
private: | |
uint32* Region; | |
uint32 bitmask; | |
__int8 bit_position; |
NewerOlder