Skip to content

Commit a69efbb

Browse files
committed
Update libtcod to 2.3.2
1 parent 7179d5f commit a69efbb

3 files changed

Lines changed: 52 additions & 48 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ This project adheres to [Semantic Versioning](https://semver.org/) since version
66

77
## [Unreleased]
88

9+
### Changed
10+
11+
- Updated libtcod to 2.3.2
12+
913
## [21.2.3] - 2026-11-09
1014

1115
### Changed

‎tcod/_libtcod.pyi‎

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -5629,8 +5629,8 @@ class _lib:
56295629
"""void TCOD_console_map_string_to_font_utf(const wchar_t *s, int fontCharX, int fontCharY)"""
56305630

56315631
@staticmethod
5632-
def TCOD_console_new(w: int, h: int, /) -> Any:
5633-
"""TCOD_Console *TCOD_console_new(int w, int h)"""
5632+
def TCOD_console_new(width: int, height: int, /) -> Any:
5633+
"""TCOD_Console *TCOD_console_new(int width, int height)"""
56345634

56355635
@staticmethod
56365636
def TCOD_console_print(con: Any, x: int, y: int, fmt: Any, /, *__args: Any) -> None:
@@ -6453,100 +6453,100 @@ class _lib:
64536453
"""bool TCOD_line_step_mt(int *xCur, int *yCur, TCOD_bresenham_data_t *data)"""
64546454

64556455
@staticmethod
6456-
def TCOD_list_add_all(l: Any, l2: Any, /) -> None:
6457-
"""void TCOD_list_add_all(TCOD_List *l, TCOD_List *l2)"""
6456+
def TCOD_list_add_all(lst: Any, extend: Any, /) -> None:
6457+
"""void TCOD_list_add_all(TCOD_List *lst, TCOD_List *extend)"""
64586458

64596459
@staticmethod
64606460
def TCOD_list_allocate(nb_elements: int, /) -> Any:
64616461
"""TCOD_List *TCOD_list_allocate(int nb_elements)"""
64626462

64636463
@staticmethod
6464-
def TCOD_list_begin(l: Any, /) -> Any:
6465-
"""void **TCOD_list_begin(TCOD_List *l)"""
6464+
def TCOD_list_begin(lst: Any, /) -> Any:
6465+
"""void **TCOD_list_begin(TCOD_List *lst)"""
64666466

64676467
@staticmethod
6468-
def TCOD_list_clear(l: Any, /) -> None:
6469-
"""void TCOD_list_clear(TCOD_List *l)"""
6468+
def TCOD_list_clear(lst: Any, /) -> None:
6469+
"""void TCOD_list_clear(TCOD_List *lst)"""
64706470

64716471
@staticmethod
6472-
def TCOD_list_clear_and_delete(l: Any, /) -> None:
6473-
"""void TCOD_list_clear_and_delete(TCOD_List *l)"""
6472+
def TCOD_list_clear_and_delete(lst: Any, /) -> None:
6473+
"""void TCOD_list_clear_and_delete(TCOD_List *lst)"""
64746474

64756475
@staticmethod
6476-
def TCOD_list_contains(l: Any, elt: Any, /) -> bool:
6477-
"""bool TCOD_list_contains(TCOD_List *l, const void *elt)"""
6476+
def TCOD_list_contains(lst: Any, element: Any, /) -> bool:
6477+
"""bool TCOD_list_contains(TCOD_List *lst, const void *element)"""
64786478

64796479
@staticmethod
6480-
def TCOD_list_delete(l: Any, /) -> None:
6481-
"""void TCOD_list_delete(TCOD_List *l)"""
6480+
def TCOD_list_delete(lst: Any, /) -> None:
6481+
"""void TCOD_list_delete(TCOD_List *lst)"""
64826482

64836483
@staticmethod
6484-
def TCOD_list_duplicate(l: Any, /) -> Any:
6485-
"""TCOD_List *TCOD_list_duplicate(TCOD_List *l)"""
6484+
def TCOD_list_duplicate(lst: Any, /) -> Any:
6485+
"""TCOD_List *TCOD_list_duplicate(TCOD_List *lst)"""
64866486

64876487
@staticmethod
6488-
def TCOD_list_end(l: Any, /) -> Any:
6489-
"""void **TCOD_list_end(TCOD_List *l)"""
6488+
def TCOD_list_end(lst: Any, /) -> Any:
6489+
"""void **TCOD_list_end(TCOD_List *lst)"""
64906490

64916491
@staticmethod
6492-
def TCOD_list_get(l: Any, idx: int, /) -> Any:
6493-
"""void *TCOD_list_get(TCOD_List *l, int idx)"""
6492+
def TCOD_list_get(lst: Any, index: int, /) -> Any:
6493+
"""void *TCOD_list_get(TCOD_List *lst, int index)"""
64946494

64956495
@staticmethod
6496-
def TCOD_list_insert_before(l: Any, elt: Any, before: int, /) -> Any:
6497-
"""void **TCOD_list_insert_before(TCOD_List *l, const void *elt, int before)"""
6496+
def TCOD_list_insert_before(lst: Any, element: Any, index: int, /) -> Any:
6497+
"""void **TCOD_list_insert_before(TCOD_List *lst, const void *element, int index)"""
64986498

64996499
@staticmethod
6500-
def TCOD_list_is_empty(l: Any, /) -> bool:
6501-
"""bool TCOD_list_is_empty(TCOD_List *l)"""
6500+
def TCOD_list_is_empty(lst: Any, /) -> bool:
6501+
"""bool TCOD_list_is_empty(TCOD_List *lst)"""
65026502

65036503
@staticmethod
65046504
def TCOD_list_new() -> Any:
65056505
"""TCOD_List *TCOD_list_new(void)"""
65066506

65076507
@staticmethod
6508-
def TCOD_list_peek(l: Any, /) -> Any:
6509-
"""void *TCOD_list_peek(TCOD_List *l)"""
6508+
def TCOD_list_peek(lst: Any, /) -> Any:
6509+
"""void *TCOD_list_peek(TCOD_List *lst)"""
65106510

65116511
@staticmethod
6512-
def TCOD_list_pop(l: Any, /) -> Any:
6513-
"""void *TCOD_list_pop(TCOD_List *l)"""
6512+
def TCOD_list_pop(lst: Any, /) -> Any:
6513+
"""void *TCOD_list_pop(TCOD_List *lst)"""
65146514

65156515
@staticmethod
6516-
def TCOD_list_push(l: Any, elt: Any, /) -> None:
6517-
"""void TCOD_list_push(TCOD_List *l, const void *elt)"""
6516+
def TCOD_list_push(lst: Any, element: Any, /) -> None:
6517+
"""void TCOD_list_push(TCOD_List *lst, const void *element)"""
65186518

65196519
@staticmethod
6520-
def TCOD_list_remove(l: Any, elt: Any, /) -> None:
6521-
"""void TCOD_list_remove(TCOD_List *l, const void *elt)"""
6520+
def TCOD_list_remove(lst: Any, element: Any, /) -> None:
6521+
"""void TCOD_list_remove(TCOD_List *lst, const void *element)"""
65226522

65236523
@staticmethod
6524-
def TCOD_list_remove_fast(l: Any, elt: Any, /) -> None:
6525-
"""void TCOD_list_remove_fast(TCOD_List *l, const void *elt)"""
6524+
def TCOD_list_remove_fast(lst: Any, element: Any, /) -> None:
6525+
"""void TCOD_list_remove_fast(TCOD_List *lst, const void *element)"""
65266526

65276527
@staticmethod
6528-
def TCOD_list_remove_iterator(l: Any, elt: Any, /) -> Any:
6529-
"""void **TCOD_list_remove_iterator(TCOD_List *l, void **elt)"""
6528+
def TCOD_list_remove_iterator(lst: Any, iter_element: Any, /) -> Any:
6529+
"""void **TCOD_list_remove_iterator(TCOD_List *lst, void **iter_element)"""
65306530

65316531
@staticmethod
6532-
def TCOD_list_remove_iterator_fast(l: Any, elt: Any, /) -> Any:
6533-
"""void **TCOD_list_remove_iterator_fast(TCOD_List *l, void **elt)"""
6532+
def TCOD_list_remove_iterator_fast(lst: Any, iter_element: Any, /) -> Any:
6533+
"""void **TCOD_list_remove_iterator_fast(TCOD_List *lst, void **iter_element)"""
65346534

65356535
@staticmethod
6536-
def TCOD_list_reverse(l: Any, /) -> None:
6537-
"""void TCOD_list_reverse(TCOD_List *l)"""
6536+
def TCOD_list_reverse(lst: Any, /) -> None:
6537+
"""void TCOD_list_reverse(TCOD_List *lst)"""
65386538

65396539
@staticmethod
6540-
def TCOD_list_set(l: Any, elt: Any, idx: int, /) -> None:
6541-
"""void TCOD_list_set(TCOD_List *l, const void *elt, int idx)"""
6540+
def TCOD_list_set(lst: Any, element: Any, index: int, /) -> None:
6541+
"""void TCOD_list_set(TCOD_List *lst, const void *element, int index)"""
65426542

65436543
@staticmethod
6544-
def TCOD_list_set_size(l: Any, size: int, /) -> None:
6545-
"""void TCOD_list_set_size(TCOD_list_t l, int size)"""
6544+
def TCOD_list_set_size(lst: Any, size: int, /) -> None:
6545+
"""void TCOD_list_set_size(TCOD_list_t lst, int size)"""
65466546

65476547
@staticmethod
6548-
def TCOD_list_size(l: Any, /) -> int:
6549-
"""int TCOD_list_size(TCOD_List *l)"""
6548+
def TCOD_list_size(lst: Any, /) -> int:
6549+
"""int TCOD_list_size(TCOD_List *lst)"""
65506550

65516551
@staticmethod
65526552
def TCOD_load_bdf(path: Any, /) -> Any:
@@ -9734,7 +9734,7 @@ class _lib:
97349734
TCOD_NOISE_PERLIN: Final[Literal[1]] = 1
97359735
TCOD_NOISE_SIMPLEX: Final[Literal[2]] = 2
97369736
TCOD_NOISE_WAVELET: Final[Literal[4]] = 4
9737-
TCOD_PATCHLEVEL: Final[Literal[0]] = 0
9737+
TCOD_PATCHLEVEL: Final[Literal[2]] = 2
97389738
TCOD_PATHFINDER_MAX_DIMENSIONS: Final[Literal[4]] = 4
97399739
TCOD_RENDERER_GLSL: Final[int]
97409740
TCOD_RENDERER_OPENGL2: Final[int]

0 commit comments

Comments
 (0)