… | |
… | |
2010 | CODE: |
2010 | CODE: |
2011 | RETVAL = archetype ? get_archetype (archetype) : object::create (); |
2011 | RETVAL = archetype ? get_archetype (archetype) : object::create (); |
2012 | OUTPUT: |
2012 | OUTPUT: |
2013 | RETVAL |
2013 | RETVAL |
2014 | |
2014 | |
|
|
2015 | object *find_object (U32 tag) |
|
|
2016 | |
2015 | # TODO: nuke |
2017 | # TODO: nuke |
2016 | object *insert_ob_in_map_at (object *ob, maptile *where, object_ornull *orig, int flag, int x, int y) |
2018 | object *insert_ob_in_map_at (object *ob, maptile *where, object_ornull *orig, int flag, int x, int y) |
2017 | PROTOTYPE: $$$$$$ |
2019 | PROTOTYPE: $$$$$$ |
2018 | CODE: |
2020 | CODE: |
2019 | { |
2021 | { |
2020 | int unused_type; |
2022 | int unused_type; |
2021 | RETVAL = (object *)object_insert (&unused_type, ob, 0, where, orig, flag, x, y); |
2023 | RETVAL = (object *)object_insert (&unused_type, ob, 0, where, orig, flag, x, y); |
2022 | } |
2024 | } |
2023 | |
|
|
2024 | player *contr (object *op) |
|
|
2025 | CODE: |
|
|
2026 | RETVAL = op->contr; |
|
|
2027 | OUTPUT: RETVAL |
|
|
2028 | |
2025 | |
2029 | const_utf8_string get_ob_key_value (object *op, utf8_string key) |
2026 | const_utf8_string get_ob_key_value (object *op, utf8_string key) |
2030 | |
2027 | |
2031 | bool set_ob_key_value (object *op, utf8_string key, utf8_string value = 0, int add_key = 1) |
2028 | bool set_ob_key_value (object *op, utf8_string key, utf8_string value = 0, int add_key = 1) |
2032 | |
2029 | |