Commit Graph

  • 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
  • cbf3da312f Fix segfault when settings.vvv or unlock.vvv is missing Misa 2020-12-21 16:40:46 -08:00
  • 55163e90d5 Allow Game::savestats() to accept a pointer to ScreenSettings Misa 2020-12-21 16:34:16 -08:00
  • b62908f0f4 Refactor Game::savestats() to not use a default argument Misa 2020-12-21 16:03:19 -08:00
  • 98effeee58 Merge pull request #554 from InfoTeddy/general-improvements Terry Cavanagh 2020-12-22 00:01:42 +10:30
  • 96d397060c Allow pressing ACTION to skip fake loading screen Misa 2020-12-20 15:19:22 -08:00
  • 04da8085a3 Simplify lua-esque assignment Dav999-v 2020-11-22 21:18:11 +01:00
  • 09986c90f7 Make indentation in settings saving error consistent with rest of cases Dav999-v 2020-11-22 04:14:52 +01:00
  • 444074a931 Add error messages for failed writes to disk of settings Dav999-v 2020-11-22 03:10:26 +01:00
  • d910c5118d Move all fixed-timestep render updates to new file RenderFixed.cpp Misa 2020-11-07 15:47:49 -08:00
  • 634a41d80d Maintain game.swnmode until all gravitron squares are offscreen Misa 2020-11-19 15:16:54 -08:00
  • db0c38711c Visually remove all other tabs in SAVE-only enter screen Dav999-v 2020-11-16 03:12:28 +01:00
  • 679b590da5 Restrict the ENTER menu to saving while in a cutscene Dav999-v 2020-11-16 00:32:44 +01:00
  • fb19787489 Remove duplicate game.controllerSensitivity proxy Misa 2020-11-12 17:16:18 -08:00
  • bc9dff8c2a Remove game.gameframerate as duplicate of game.slowdown Misa 2020-11-12 17:05:18 -08:00
  • ee44f81d4c Remove duplicate using-MMMMMM variable from Game Misa 2020-11-12 16:48:39 -08:00
  • 40b7ddda05 Remove duplicate screen configuration variables Misa 2020-11-12 16:45:51 -08:00
  • af11f6936a Factor out screen settings to ScreenSettings struct Misa 2020-11-12 16:29:11 -08:00
  • 9f5f697dda Update License exceptions.md Terry Cavanagh 2020-11-23 16:33:54 +10:30
  • ce203812ad Don't hardcode offset of interim commit print Misa 2020-11-20 19:13:28 -08:00
  • 3f76f5164b Replace release mode conditional with OFFICIAL_BUILD Misa 2020-11-20 18:15:25 -08:00
  • ebe074e308 Add commit hash and date to title screen Misa 2020-11-20 17:58:28 -08:00
  • 2b6d8b8090 Include math.h instead of cmath leo60228 2020-11-17 11:31:51 -05:00
  • c646360961 Include SDL2 as system header leo60228 2020-11-17 11:31:40 -05:00