Home
last modified time | relevance | path

Searched refs:pk_offset (Results 1 – 8 of 8) sorted by relevance

/dports/games/bomberclone/bomberclone-0.11.9/src/
H A Dplayerinput.c39 int pk_offset; // offset for the player keys in playerinput_keyb_loop() local
45 pk_offset = 0; in playerinput_keyb_loop()
47 pk_offset = BCPK_max; in playerinput_keyb_loop()
49 pk_offset = 2*BCPK_max; in playerinput_keyb_loop()
54 playerinput_keyb_read (pk_offset, pl_nr); in playerinput_keyb_loop()
59 if (keyb_gamekeys.state[pk_offset + BCPK_up]) { in playerinput_keyb_read()
64 if (keyb_gamekeys.state[pk_offset + BCPK_down]) { in playerinput_keyb_read()
69 if (keyb_gamekeys.state[pk_offset + BCPK_right]) { in playerinput_keyb_read()
74 if (keyb_gamekeys.state[pk_offset + BCPK_left]) { in playerinput_keyb_read()
79 if (keyb_gamekeys.state[pk_offset + BCPK_drop] && !keyb_gamekeys.old[pk_offset + BCPK_drop]) in playerinput_keyb_read()
[all …]
/dports/editors/poke/poke-1.0/poke/
H A Dpk-mi-json.c566 pk_mi_offset_to_json (pk_val pk_offset, char **errmsg) in pk_mi_offset_to_json() argument
574 assert (pk_type_code (pk_typeof (pk_offset)) == PK_OFFSET); in pk_mi_offset_to_json()
580 magnitude_object = pk_mi_int_to_json (pk_offset_magnitude (pk_offset), errmsg); in pk_mi_offset_to_json()
590 off_unit = pk_offset_unit (pk_offset); in pk_mi_offset_to_json()
978 pk_mi_json_to_offset (pk_val *pk_offset, json_object *offset_obj, in pk_mi_json_to_offset() argument
1006 *pk_offset = pk_make_offset (magnitude, unit); in pk_mi_json_to_offset()
1007 PK_MI_CHECK(errmsg, *pk_offset != PK_NULL, "pk_make_offset failed"); in pk_mi_json_to_offset()
/dports/editors/poke/poke-1.0/testsuite/poke.mi-json/
H A Dmi-json.c181 test_json_pk_offset (json_object *pk_offset_obj, pk_val pk_offset) in test_json_pk_offset() argument
204 pk_magnitude = pk_offset_magnitude (pk_offset); in test_json_pk_offset()
216 pk_unit = pk_offset_unit (pk_offset); in test_json_pk_offset()
/dports/games/bomberclone/bomberclone-0.11.9/include/
H A Dplayer.h171 extern inline void playerinput_keyb_read (int pk_offset, int pl_nr);
/dports/databases/py-pony/pony-0.7.14/pony/orm/
H A Dcore.py2045 if attr.is_pk: attr.pk_offset = 0
2046 else: attr.pk_offset = None
2106 if attr.pk_offset is not None and attr.lazy:
2287 if attr.pk_offset is not None: return attr.get(obj)
2311 if attr.pk_offset is not None:
2315 if new_val == pkval[attr.pk_offset]: return
2392 assert attr.pk_offset is None
4620 if attr.pk_offset is not None: continue
4740 if attr.pk_offset is not None: continue
4925 assert attr.pk_offset is None
[all …]
H A Dsqltranslation.py1330 parent_pk_only = attr.pk_offset is not None or attr.is_collection
1345 if attr.pk_offset is not None:
2170 pk_only = attr.pk_offset is not None
3170 pk_only = attr.reverse or attr.pk_offset is not None
/dports/editors/poke/poke-1.0/testsuite/
H A DMakefile.am1896 poke.mi-json/pk_offset.json \
H A DMakefile.in3794 poke.mi-json/pk_offset.json \