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
#base robot_giant.pop | |
#base robot_standard.pop | |
#base robot_gatebot.pop | |
population | |
{ | |
StartingCurrency 900 | |
RespawnWaveTime 5 | |
CanBotsAttackWhileInSpawnRoom no | |
FixedRespawnWaveTime Yes |
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
#base robot_giant.pop | |
#base robot_standard.pop | |
population | |
{ | |
Templates | |
{ | |
T_TFGateBot_Pyro_Flare_Spammer | |
{ | |
Class Pyro |
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
#base robot_giant.pop | |
#base robot_standard.pop | |
population | |
{ | |
StartingCurrency 1200 | |
RespawnWaveTime 7 | |
CanBotsAttackWhileInSpawnRoom no | |
Advanced 1 |
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
local modname = ... | |
local index = package.modtable(modname) | |
local ffi = require('ffi') | |
local databuffer = require('databuffer') | |
local filestorage = require('rsbin.filestorage') | |
local fileopenmode = require('rsbin.fileopenmode') | |
local storagestream = require('rsbin.storagestream') | |
local pngreader = require('rsbin.pngreader') | |
local pngwriter = require('rsbin.pngwriter') | |
local bitmapformat = require('rsbin.bitmapformat') |
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
#include "controller.hpp" | |
#include "modelfilter.hpp" | |
namespace controller | |
{ | |
vector< quantity, 2 > targetpos = { 0.0_m, 0.0_m }; | |
void update() | |
{ | |
vector< quantity, 2 > posdiff = targetpos - modelfilter::ballpos; |
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
/*****************************************************************************\ | |
* * | |
* windows.h - Windows functions, types, and definitions * | |
* * | |
* Version 3.10 * | |
* * | |
* Copyright (c) 1985-1992, Microsoft Corp. All rights reserved. * | |
* * | |
******************************************************************************* | |
* |
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
module STList ( | |
STList, | |
STListPtr, | |
new, | |
prepend, | |
append, | |
mark, | |
pop, | |
popUntil, | |
foldr, |
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
#include <stdio.h> | |
#include <stdint.h> | |
#include <time.h> | |
template<typename Fn> | |
void measure(Fn fn) { | |
clock_t c1 = clock(); | |
fn(); | |
clock_t c2 = clock(); | |
printf("time: %7.3lf\n", (c2 - c1) / (double)CLOCKS_PER_SEC); |
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
local png = {} | |
local ffi = require('ffi') | |
local libpng = ffi.load('libpng16.dll') | |
ffi.cdef[[ | |
typedef struct png_control *png_controlp; | |
typedef struct | |
{ |
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
require('protectenv')() | |
local ffi = require('ffi') | |
local complex = require('complex') | |
local png = require('png') | |
local wlen = 4 | |
local wnum = 2*math.pi / wlen | |
local map = ffi.new('complex_t[512][512]') |
OlderNewer