Home
last modified time | relevance | path

Searched refs:Rand_value (Results 1 – 25 of 36) sorted by relevance

12

/dports/games/mangband/mangband-1.5.3/src/common/
H A Dz-rand.c56 u32b Rand_value; variable
118 r = (Rand_value = LCRNG(Rand_value)); in Rand_mod()
174 r = (Rand_value = LCRNG(Rand_value)); in Rand_div()
373 old_rand_value = Rand_value; in Rand_simple()
381 Rand_value = simple_rand_value; in Rand_simple()
386 Rand_value = time(NULL); in Rand_simple()
394 simple_rand_value = Rand_value; in Rand_simple()
398 Rand_value = old_rand_value; in Rand_simple()
H A Dz-rand.h100 extern u32b Rand_value;
/dports/games/zangband/zangband/src/
H A Dz-rand.c64 u32b Rand_value; variable
145 r = (Rand_value = LCRNG(Rand_value)); in Rand_div()
324 old_rand_value = Rand_value; in Rand_simple()
332 Rand_value = simple_rand_value; in Rand_simple()
337 Rand_value = time(NULL); in Rand_simple()
345 simple_rand_value = Rand_value; in Rand_simple()
349 Rand_value = old_rand_value; in Rand_simple()
H A Dz-rand.h107 extern u32b Rand_value;
H A Dwild2.c653 Rand_value = pl_ptr->seed; in create_city()
689 rng_seed_save = Rand_value; in create_city()
797 Rand_value = rng_seed_save; in create_city()
1105 u32b rng_save_seed = Rand_value; in draw_building()
1141 Rand_value = rng_save_seed; in draw_building()
1168 Rand_value = pl_ptr->seed; in draw_city()
1995 Rand_value = pl_ptr->seed; in draw_dungeon()
2979 Rand_value = pl_ptr->seed; in van_town_gen()
H A Dzborg9.c2535 borg_rand_value = Rand_value; in borg_inkey_hack()
2539 Rand_value = borg_rand_local; in borg_inkey_hack()
2549 borg_rand_local = Rand_value; in borg_inkey_hack()
2553 Rand_value = borg_rand_value; in borg_inkey_hack()
H A Dflavor.c494 Rand_value = seed_flavor; in flavor_init()
H A Dbldg.c561 Rand_value = time(NULL); in gamble_init()
H A Dwild3.c1553 Rand_value = wild_seed + x + y * max_wild; in gen_block()
/dports/games/tomenet/tomenet-4.6.0/src/common/
H A Dz-rand.c64 u32b Rand_value; variable
130 r = (Rand_value = LCRNG(Rand_value)); in Rand_mod()
193 r = (Rand_value = LCRNG(Rand_value)); in Rand_div()
H A Dz-rand.h71 extern u32b Rand_value;
H A Dz_pack.pkg107 extern u32b Rand_value;
/dports/games/mangband/mangband-1.5.3/src/server/
H A Dwilderness.c700 tmp_seed = Rand_value; in wild_add_garden()
722 Rand_value = tmp_seed; in wild_add_garden()
735 tmp_seed = Rand_value; in wild_grow_crops()
757 Rand_value = tmp_seed; in wild_grow_crops()
804 u32b old_seed = Rand_value; in wild_furnish_dwelling()
870 Rand_value = old_seed; in wild_furnish_dwelling()
1011 Rand_value = old_seed; in wild_furnish_dwelling()
1442 u32b old_seed = Rand_value; in determine_wilderness_type()
1525 Rand_value = old_seed; in determine_wilderness_type()
2042 int old_seed = Rand_value; in bleed_with_neighbors()
[all …]
H A Dcontrol.c392 u32b randvalue = Rand_value; in console_rng_test()
408 Rand_value = 0; in console_rng_test()
438 Rand_value= randvalue; in console_rng_test()
H A Drandart.c1095 Rand_value = o_ptr->name3; in randart_make()
1356 Rand_value = o_ptr->name3; in randart_name()
H A Dcave.c402 *oldstate = Rand_value; in image_rng_push()
406 Rand_value = (p_ptr->image_seed + (p_ptr->hallu_offset++)); in image_rng_push()
413 Rand_value = oldstate; in image_rng_pop()
/dports/games/angband/Angband-4.2.2/src/
H A Dz-rand.c93 u32b Rand_value; variable
185 r = (Rand_value = LCRNG(Rand_value)); in Rand_div()
H A Dz-rand.h100 extern u32b Rand_value;
H A Drandname.c198 Rand_value = time(NULL); in main()
H A Dobj-util.c161 Rand_value = seed_flavor; in flavor_init()
H A Dsave.c291 wr_u32b(Rand_value); in wr_randomizer()
H A Dload.c397 rd_u32b(&Rand_value); in rd_randomizer()
/dports/games/tomenet/tomenet-4.6.0/src/server/
H A Dwild.c924 tmp_seed = Rand_value; in wild_add_garden()
927 Rand_value = turn; in wild_add_garden()
995 Rand_value = tmp_seed; in wild_add_garden()
1046 u32b old_seed = Rand_value; in wild_furnish_dwelling()
1242 Rand_value = old_seed; in wild_furnish_dwelling()
2071 Rand_value = old_seed;
2262 Rand_value = tmp_seed;
2956 Rand_value = old_seed;
3790 Rand_value = tmp_seed;
4166 Rand_value = seed_town;
[all …]
H A Drandart.c1826 Rand_value = o_ptr->name3; in randart_make()
2215 Rand_value = o_ptr->name3; in randart_name()
2319 Rand_value = o_ptr->name3; in ego_make()
H A Dobject1.c695 Rand_value = seed_flavor; in flavor_init()
1066 u32b tmp_seed = Rand_value; in object_flags()
1070 Rand_value = o_ptr->sseed; in object_flags()
1505 Rand_value = tmp_seed; in object_flags()

12