11 Commits
Author SHA1 Message Date
loki 7444a45dd9 ALG: Bugfixes for Graphics, script bugfix for SP 2026-03-01 13:20:13 +01:00
Eugene Sandulenko 77156aa1b9 ALG: Fix new/delete mismatch 2025-05-28 23:34:06 +02:00
D G Turner 8b6b4f7a48 ALG: Fix Memory Leak in Graphics Surface Allocation
Indicated by running under Valgrind using leakcheck. Have tested and
this still runs Johnny Rock fine with this fix.

Have added note for other major leak, though some issues with surface
allocation in script calls remain.
2025-05-28 01:38:59 +01:00
Filippos Karapetis b6da843f16 ALG: Cleanup
- Use C++11 style for loops
- Use const references for Common::String parameters
- Add missing initializers
- Use boolean keywords for boolean parameters
- Remove superfluous initializers to base classes
2025-04-16 09:40:18 +03:00
loki 3e03257b2b ALG: Video and graphics refactoring 2025-04-10 22:50:44 +02:00
loki a6366061c3 ALG: refactoring from PR feedback 2025-04-10 22:50:44 +02:00
loki ec6926052e ALG: Refactoring, feedback implemented, bug fixes 2025-04-10 22:50:44 +02:00
loki a8205c964d ALG: Graphics: fix unnecessary copying of surfaces on load 2025-04-10 22:50:44 +02:00
loki c6740e1c36 ALG: formatting, code style, implement feedback 2025-04-10 22:50:44 +02:00
loki 1ea02c3bbd ALG: fix MSVC errors and warnings 2025-04-10 22:50:44 +02:00
loki 7e9dc7a2e0 ALG: Initial version 2025-04-10 22:50:44 +02:00