OpenTTD/src/video
Peter Nelson 5e689ce25e
Codechange: Store cursor sprites in vector. (#12564)
Combine two separate fixed length arrays to allow simpler iteration.

No need to check that arrays are all the same length.
No need to separately store the number of sprites to draw.
Removes the upper limit of the number of sprites that can be drawn.

Removes lengthof and array indices.
2024-04-24 21:26:07 +01:00
..
cocoa Codechange: Pass std::string_view from drivers instead of char *. 2024-04-10 22:02:04 +01:00
CMakeLists.txt Codechange: [SDL2] Split driver in base-part and default backend 2021-02-22 22:16:07 +01:00
allegro_v.cpp Codechange: Pass std::string_view from drivers instead of char *. 2024-04-10 22:02:04 +01:00
allegro_v.h Codechange: Pass std::string_view from drivers instead of char *. 2024-04-10 22:02:04 +01:00
dedicated_v.cpp Codechange: use infinite-fast-forward when rerunning command-log (#12519) 2024-04-17 20:01:58 +00:00
dedicated_v.h Codechange: Pass std::string_view from drivers instead of char *. 2024-04-10 22:02:04 +01:00
null_v.cpp Codechange: Pass std::string_view from drivers instead of char *. 2024-04-10 22:02:04 +01:00
null_v.h Codechange: Pass std::string_view from drivers instead of char *. 2024-04-10 22:02:04 +01:00
opengl.cpp Codechange: Store cursor sprites in vector. (#12564) 2024-04-24 21:26:07 +01:00
opengl.h Codechange: Store cursor sprites in vector. (#12564) 2024-04-24 21:26:07 +01:00
sdl2_default_v.cpp Codechange: replace error/usererror printf variant with fmt variant and rename 2023-04-25 17:55:09 +02:00
sdl2_default_v.h Codechange: Pass std::string_view from drivers instead of char *. 2024-04-10 22:02:04 +01:00
sdl2_opengl_v.cpp Codechange: Pass std::string_view from drivers instead of char *. 2024-04-10 22:02:04 +01:00
sdl2_opengl_v.h Codechange: Pass std::string_view from drivers instead of char *. 2024-04-10 22:02:04 +01:00
sdl2_v.cpp Codechange: Pass std::string_view from drivers instead of char *. 2024-04-10 22:02:04 +01:00
sdl2_v.h Codechange: Pass std::string_view from drivers instead of char *. 2024-04-10 22:02:04 +01:00
sdl_v.cpp Codechange: range based for loops instead of C-style for loops 2024-04-11 07:05:04 +02:00
sdl_v.h Codechange: Pass std::string_view from drivers instead of char *. 2024-04-10 22:02:04 +01:00
video_driver.cpp Fix #10079: don't render at 1000fps if HW acceleration + vsync is requested but not active (#12067) 2024-02-12 21:39:23 +00:00
video_driver.hpp Codechange: use infinite-fast-forward when rerunning command-log (#12519) 2024-04-17 20:01:58 +00:00
win32_v.cpp Codechange: Pass std::string_view from drivers instead of char *. 2024-04-10 22:02:04 +01:00
win32_v.h Codechange: Pass std::string_view from drivers instead of char *. 2024-04-10 22:02:04 +01:00