Commit Graph

  • efbaeeffde Clean up all leftover resources in cleanup() Misa 2021-02-15 18:43:35 -08:00
  • 39e316828e Add NULL guards to Game::savestats() and savesettings() Misa 2021-02-15 18:38:42 -08:00
  • 1f1b39a77a Free base tilesheet image after processing it Misa 2021-02-15 18:07:33 -08:00
  • 6077015fdc Guard PHYSFS_deinit() with PHYSFS_isInit() Misa 2021-02-15 18:03:52 -08:00
  • 951e1653a6 Move cleanup code to separate function Misa 2021-02-15 17:52:41 -08:00
  • de26596d54 Fix FIXME comments with outdated referents in Screen.cpp Misa 2021-02-15 17:47:48 -08:00
  • a3ad7b73f3 Add Screen::destroy() Misa 2021-02-15 17:47:11 -08:00
  • 7f3ebda8ea Clear musicWriteBlob after writing BinaryMusic.vvv Misa 2021-02-15 17:44:19 -08:00
  • 77748f29f9 Separate musicReadBlob into mmmmmm_blob and pppppp_blob Misa 2021-02-15 16:42:58 -08:00
  • f39174b3e3 Refactor TRACK_NAMES to take in a blob parameter Misa 2021-02-15 16:38:10 -08:00
  • 0ea1a0e28e Move musicclass cleanup to separate function musicclass::destroy() Misa 2021-02-15 16:24:21 -08:00
  • b3679ce1e5 Fix brace style of Graphics::font_idx() Misa 2021-02-15 16:21:27 -08:00
  • a505059719 Move Graphics buffer creation to new func create_buffers() Misa 2021-02-15 16:18:45 -08:00
  • 5595bb0964 Add Graphics::destroy_buffers() Misa 2021-02-15 16:16:52 -08:00
  • 3fe1870b32 Move Graphics cleanup to new function Graphics::destroy() Misa 2021-02-15 16:13:18 -08:00
  • c955ce4380 Remove making new GraphicsResources object in reloadresources() Misa 2021-02-15 15:58:06 -08:00
  • 1140f3cae3 Fix brace style of Graphics::reloadresources() Misa 2021-02-15 15:38:41 -08:00
  • 7ffafc8f4d Remove grphx.init() from Graphics::init() Misa 2021-02-14 17:59:20 -08:00
  • 70b9ffe6a5 Tidy up binaryBlob initialization to use SDL_zeroa() Misa 2021-02-13 17:24:20 -08:00
  • bd97378862 Unconditionally free and zero in binaryBlob::clear() Misa 2021-02-13 17:20:48 -08:00
  • 47df6c9d66 Ignore resize events for unfocused windows Ethan Lee 2021-02-14 22:51:07 -05:00
  • 39abcfa8d9 Fix unreachable code warnings Misa 2021-02-14 12:53:47 -08:00
  • a2ba37a1a4 Fix out-of-bounds indexing with malformed XML entities in find_tag() Misa 2021-02-11 16:07:25 -08:00
  • 5de7c180ea Give static storage duration to radix in ss_toi() Misa 2021-02-07 21:17:57 -08:00
  • 09841ef3a5 Don't mutate the decimal place in ss_toi() Misa 2021-02-07 21:13:40 -08:00
  • adbae16666 Clean up script header check in editorclass::load() Misa 2021-02-07 13:19:33 -08:00
  • 4728f64e3a Remove commented-out "version 1" code from editorclass::load() Misa 2021-02-07 13:18:39 -08:00
  • 06cc5afe27 Pass input of UtilityClass::GCString() by const reference Misa 2021-02-07 13:17:22 -08:00
  • 46b0257cf1 Refactor ss_toi() to not use stringstreams Misa 2021-02-07 13:09:47 -08:00
  • e1ae25b29b Use case-switch inside GCChar() instead of if-else tree Misa 2021-02-07 13:05:24 -08:00
  • eea37046ef Add constness to GCChar() input and switch position of asterisk Misa 2021-02-07 13:03:33 -08:00
  • 3cd18b337a Remove comment from GCChar() Misa 2021-02-07 12:57:00 -08:00
  • f9fa56a08a Remove unused cctype #include from UtilityClass.cpp Misa 2021-02-07 12:45:23 -08:00
  • ef4418a7cb Remove commented-out code in Game::gameclock() Misa 2021-02-07 12:44:28 -08:00
  • 3bc3b59378 Re-fix glitchy y-position when spawning onto a conveyor Misa 2021-02-01 16:16:04 -08:00
  • a406b99f4b Revert "Fix glitchy y-position when colliding with a conveyor" Misa 2021-02-01 16:09:13 -08:00
  • b5ef10cae5 Consistently use Screen::GetWindowSize leo60228 2020-12-31 21:12:30 -05:00
  • 46d8599f62 Use SDL_GetRendererOutputSize instead of SDL_GetWindowSize leo60228 2020-12-31 21:00:20 -05:00
  • d9fff2a8c3 Set SDL window as DPI-aware leo60228 2020-12-31 20:55:57 -05:00
  • a32fc4a307 Improve support for retextured checkpoints and terminals in the editor Misa 2021-01-11 17:19:20 -08:00
  • afba320083 Remove duplicate graphics.Makebfont() in main() Misa 2021-01-13 22:35:41 -08:00
  • adbab6355b Free data upon failure in LoadImage() Misa 2021-01-13 22:56:19 -08:00
  • 626aac59fb Fix No Death Mode results being reset before being shown Misa 2021-01-07 16:18:07 -08:00
  • 4d7baa9e9e Fix Time Trial results being reset before being shown Misa 2021-01-07 16:02:45 -08:00
  • ee0ba8a723 Clean up all exit paths to the menu to use common code Misa 2021-01-07 14:20:37 -08:00
  • 07cc5f68ac Remove commented-out code from gamestates 3101 and 3500 Misa 2021-01-05 19:40:29 -08:00
  • f06701ff90 Fix wrong function being used for musicclass::play() check Misa 2021-01-16 10:09:16 -08:00
  • 74740c5a21 Remove LODEPNG_NO_COMPILE_ZLIB Misa 2021-01-13 22:50:49 -08:00
  • 9c9433d21a Disable MSVC warnings about implicit conversion Misa 2021-01-13 19:18:29 -08:00
  • fad3bab2d0 Initialize bcol and bcol2 in Graphics::drawbackground() Misa 2021-01-13 19:39:50 -08:00
  • 2a781083e9 Disable unneeded LodePNG features Misa 2021-01-13 19:12:58 -08:00
  • 769f99f590 Reduce dependency on libc functions Misa 2021-01-11 16:17:45 -08:00
  • b944d2d847 Fix editor tool menu inconsistencies Misa 2021-01-10 21:10:03 -08:00
  • 89886e6c52 Run CI on CentOS 7 (#574) leo60228 2021-01-11 00:30:15 -05:00
  • b1558f574c Remove game.savemystats Misa 2021-01-10 19:39:19 -08:00
  • 17d06f06be Remove map.finalx/y and map.customx/y Misa 2021-01-10 19:58:36 -08:00
  • b571fa0919 Add F9 "reload resources" hotkey to list of hotkeys in Shift menu Misa 2021-01-10 20:26:21 -08:00
  • e9c62ea9a3 Clean up unnecessary exports and add static keywords Misa 2021-01-10 09:14:37 -08:00
  • fdee4007f7 Move gamerenderfixed() in between gameinput() and gamelogic() Misa 2021-01-09 17:04:43 -08:00
  • 979c5e3aa4 Fix attempts to place enemy/plat bounds & scripts with bad corner order Misa 2021-01-09 00:27:53 -08:00
  • 261e898267 Merge pull request #547 from InfoTeddy/general-bug-fixes Terry Cavanagh 2021-01-09 19:02:25 +10:30
  • d271907f8c Fix Secret Lab Time Trial trophies having wrong colors Misa 2020-11-14 15:43:22 -08:00
  • 952a130595 Fix Shift+F1 from Space Station tileset not switching to Ship Misa 2021-01-08 15:02:17 -08:00
  • 3dd1dcc131 Move mapclass r/g/b variables off onto TowerBG Misa 2021-01-07 17:37:38 -08:00
  • 6b18e3875d Move title screen color initialization to main() Misa 2021-01-05 17:18:00 -08:00
  • 5e557ffd1a Fix regression with playing the same track after it fades out Misa 2021-01-03 23:04:20 -08:00
  • d5763640a8 Revert hardcoded check for track 6 when quitting to menu Misa 2021-01-03 22:17:31 -08:00
  • 8e5714439a Unindent musicclass::play() from previous two commits Misa 2021-01-03 23:26:05 -08:00
  • f64cf4f831 Invert t comparison with -1 and un-nest rest of function Misa 2021-01-03 23:23:46 -08:00
  • fe5bacfdc2 Invert currentsong check and un-nest rest of function Misa 2021-01-03 23:22:00 -08:00
  • 96c479a11f Fix whitespace inconsistency in musicclass::play() Misa 2021-01-03 23:20:35 -08:00
  • ff3e390352 Remove unused function editorclass::warpzonematch() Misa 2021-01-02 00:26:29 -08:00
  • a5e5c19913 Remove unused function editorclass::warpzoneedgetile() Misa 2021-01-02 00:26:05 -08:00
  • 54ff36da97 Remove unused function Graphics::textboxmove() Misa 2021-01-02 00:25:34 -08:00
  • ca904a4d7c Remove unused function Graphics::textboxcenter() Misa 2021-01-02 00:24:49 -08:00
  • b3305e4820 Remove unused function SoundSystem::playMusic() Misa 2021-01-02 00:23:45 -08:00
  • 945961c1fb Remove unused function editorclass::placetile() Misa 2021-01-02 00:22:18 -08:00
  • 916a19c09c Remove unused function KeyPoll::isUp() Misa 2021-01-02 00:21:47 -08:00
  • ad34e95128 Remove unused function entityclass::fixfriction() Misa 2021-01-02 00:21:24 -08:00
  • a656f4c4d8 Remove unused function edentclear() Misa 2021-01-02 00:21:02 -08:00
  • 9b3bf69491 Remove unused function Graphics::drawentcolours() Misa 2021-01-02 00:19:51 -08:00
  • 6261fa51e9 Remove unused function Graphics::RPrint() Misa 2021-01-02 00:19:27 -08:00
  • 42106cb59a Remove unused function Graphics::PrintOff() Misa 2021-01-02 00:18:17 -08:00
  • 0e0f5c47a5 Remove unused function FlipSurfaceHorizontal() Misa 2021-01-02 00:09:13 -08:00
  • 6795856431 Use SDL_fabsf where std::abs was previously used leo60228 2021-01-01 21:38:55 -05:00
  • 91c3e6cbc5 Revert "Document SDL_abs vs. SDL_fabs" leo60228 2021-01-01 21:37:54 -05:00
  • 8c472ed73d Document SDL_abs vs. SDL_fabs leo60228 2021-01-01 21:03:17 -05:00
  • c4893a133f Use SDL_abs instead of std::abs leo60228 2021-01-01 16:38:33 -05:00
  • 775ac4c40c Fix bringing up map menu during gamemode(teleporter) Misa 2020-12-28 15:36:32 -08:00
  • 0eddd2d015 De-duplicate menu animation code when bringing up map screen Misa 2020-12-28 14:23:35 -08:00
  • c52a274a7a Reset invis and lifeseq when loading in, in mapclass::resetplayer() Misa 2020-12-28 13:23:42 -08:00
  • 385f9d244e Fix player being invisible upon loading into game again Misa 2020-12-28 13:16:16 -08:00
  • eb7b540346 Fix no-draw frames when exiting a level with custom assets Misa 2020-12-28 12:33:54 -08:00
  • 11302b600a Consistently set lifeseq to 0 when startgamemode() is called Misa 2020-12-27 23:26:01 -08:00
  • 054c24a7c2 Add official, M&P, no custom levels, and no editor builds to CI Misa 2020-12-26 23:40:28 -08:00
  • 3eb3c30817 Use SDL_arraysize() - 1 to take length of INTERIM_COMMIT Misa 2020-12-25 21:45:24 -08:00
  • e6238849cb Update commit hash every time it changes, not just when CMake is re-ran Misa 2020-12-25 20:24:14 -08:00
  • 02a45f9cbc Don't recompile all files when the commit hash is changed Misa 2020-12-25 15:24:48 -08:00
  • a6c3b3432c Fix kludge_ingametemp being assigned after menu creation Misa 2020-12-25 14:02:00 -08:00
  • e3aa768034 De-duplicate script.running checks Misa 2020-12-23 20:20:18 -08:00