Skip to content
Snippets Groups Projects
  • toaster's avatar
    f3baf608
    Revamp of addons menu search! · f3baf608
    toaster authored
    * Instead of iterating through the folder every time you change the search query by one letter, iterate through the "coredirmenu" (the game's interpretation of the folder) instead. MUCH, much less likely to lag to fuck and back.
    * Hide a bit of complexity in filesrch.c instead of having the entire thing exposed to mess with. For example, closefilemenu() instead of manually freeing the struct each time.
    * Refactor some stuff.
    f3baf608
    History
    Revamp of addons menu search!
    toaster authored
    * Instead of iterating through the folder every time you change the search query by one letter, iterate through the "coredirmenu" (the game's interpretation of the folder) instead. MUCH, much less likely to lag to fuck and back.
    * Hide a bit of complexity in filesrch.c instead of having the entire thing exposed to mess with. For example, closefilemenu() instead of manually freeing the struct each time.
    * Refactor some stuff.