From 994263eaf99a1cf2a436ce86b1047e8ca320e68a Mon Sep 17 00:00:00 2001 From: couriersud Date: Sat, 27 May 2017 14:28:40 +0200 Subject: Add rand() function to pfunction expression parser. Use this to simulate E-B noise in Cheeky Mouse and fix the "cheese" choose. [Couriersud] --- src/lib/netlist/plib/pfunction.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib/netlist/plib/pfunction.h') diff --git a/src/lib/netlist/plib/pfunction.h b/src/lib/netlist/plib/pfunction.h index 0e24a633f3b..50e279cf034 100644 --- a/src/lib/netlist/plib/pfunction.h +++ b/src/lib/netlist/plib/pfunction.h @@ -32,6 +32,7 @@ namespace plib { POW, SIN, COS, + RAND, /* random number between 0 and 1 */ PUSH_CONST, PUSH_INPUT }; -- cgit v1.2.3