- gods in df -> moved to word doc
- figure out book interactions, give some fun stuff to random books (e.g. paralysis)
-
finish unit creation script- mostly done, needs some minor fixesdo it in c++ - site creation done, could use some more love.
- finish the lua-scripted reactions (including the god worshiping mini-mod, altars (with statue req) and mini altars with figurines?) done- eventful
- genetic engineering by adding generated creature raws
- jobs in adv mode (esp. build/dig) - almost done advfort
- anti-quantum stockpile mod
- Df achievements and stats(longest toss, most hurt unit, cheapest artifact). Per world and could be added to fortmode/advmode/legends menu
- maybe it's possible to add rust (new material that sometimes adds wear to item and a layer of rust/patina, maybe it inhibits later additions)
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
#pragma once | |
// This provides a library for stubbing and mocking C++ code as is. It works by requiring | |
// explicit hooks to be inserted into the code that is to be mocked. In a regular build, | |
// these hooks will do nothing. In a testing build, they will expand to calls into the | |
// framework here to allow the code being executed to be hijacked from outside. | |
// | |
// NOTE: Thread-safety! Arranging fakes must be done on a single thread. Using fakes can | |
// be done from multiple threads concurrently. | |
// |
- Items:
- incrementRotTimer
- addImprovementFromJob
- moveToGround
- categorize
- addWear/incWearTimer/setWear
- addContaminant/removeContaminant/removeContaminantByIdx
- contaminateWound
- coverWithContaminant
- becomePaste/becomePressed
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
Right now I can do this in Markdeep source: | |
------------------ | |
Just a test paragraph, move along... | |
<div class="note"> | |
Just a note. Don't mind me. | |
</div> | |
<div class="warn"> |
Using data and code from: https://graphics.geometrian.com/research/spectral-primaries.html
See their reference implementation for details (MIT license): https://github.com/geometrian/simple-spectral
This converts sRGB triplet into spectral reflectance, then combines two curves with weighted geometric mean to produce a "mixed" colour.
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
layer_height = 0.2; | |
model_height = 1; | |
union() { | |
for (i=[0:layer_height:model_height]) { | |
translate([0,0,i]) | |
linear_extrude(layer_height) | |
offset(-i*0.6) | |
resize([10,10,layer_height]) | |
import("Symbol.svg", center = true); |
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
$fn=10; | |
union() { | |
difference() { | |
cylinder(h=4, r=12.5, center=false); | |
cylinder(h=1, r=10.5, center=false); | |
translate([0,0,3]) | |
cylinder(h=1, r=10.5, center=false); | |
} |
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
// "star torus" by davey | |
int[][] result; | |
float t, c; | |
float ease(float p) { | |
return 3*p*p - 2*p*p*p; | |
} | |
float ease(float p, float g) { |
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
data:text/html, <style type="text/css">#e{position:absolute;top:0;right:0;bottom:0;left:0;}</style><div id="e"></div><script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script><script>var e=ace.edit("e");e.setTheme("ace/theme/monokai");e.getSession().setMode("ace/mode/ruby");</script> |
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
extern "C" | |
{ | |
int _fltused; | |
#ifdef _M_IX86 // following functions are needed only for 32-bit architecture | |
__declspec(naked) void _ftol2() | |
{ | |
__asm | |
{ |
OlderNewer