任务单 #48245

Inline tileset_tile_width() and friends

开放日期: 2023-06-15 13:39 最后更新: 2024-02-09 15:31

报告人:
属主:
(无)
类型:
状态:
开启
组件:
里程碑:
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
文件:

Details

Client constantly (the values are not even passed on function calls, but each called function does this on their own) uses simple getters tileset_tile_width() and tileset_tile_height(). We ought to avoid function call overhead with those.

任务单历史 (3/5 Histories)

2023-06-15 13:39 Updated by: cazfi
  • New Ticket "Inline tileset_tile_width() and friends" created
2023-06-15 17:54 Updated by: cazfi
2023-10-07 23:20 Updated by: cazfi
评论

struct tileset is defined only inside tilespec.c, so cannot access its members in inline functions on tilespec.h.

2023-11-10 14:28 Updated by: cazfi
2024-02-09 15:31 Updated by: cazfi

Attachment File List

No attachments

编辑

Please login to add comment to this ticket » 登录名