Commit Graph

  • 51d852601d Remove passing around pointer to gameScreen from KeyPoll::Poll() Misa 2020-06-13 11:44:22 -07:00
  • 30bcc08bec Move gameScreen off of the stack and onto the heap Misa 2020-06-13 11:44:01 -07:00
  • 60a2e100fc Fix 'if (key.resetWindow)' indentation Misa 2020-06-13 11:38:07 -07:00
  • a15d01ad80 Fix fullscreen focus behavior Ethan Lee 2020-06-13 10:35:05 -04:00
  • 506628cef1 Revert "Fix unfocusing the game while in fullscreen mode" Ethan Lee 2020-06-13 10:23:52 -04:00
  • 884035fd2e Add unsigned char static_cast to argument of std::isdigit() Misa 2020-06-12 10:48:41 -07:00
  • fdb44cc209 Add <cctype> include Misa 2020-06-12 10:46:11 -07:00
  • 14afae1a40 Add bounds checks to script commands that didn't have them Misa 2020-06-12 21:55:41 -07:00
  • fdce412680 Guard all cases obj.getcompanion() is used unchecked Misa 2020-06-12 20:43:19 -07:00
  • beab344267 Guard all cases obj.getplayer() is used unchecked Misa 2020-06-12 20:36:08 -07:00
  • 08e47e839f Guard all cases obj.getteleporter() is used unchecked Misa 2020-06-12 19:31:08 -07:00
  • 3b76713441 Only add editor ghosts if the editor exists AllyTally 2020-06-12 19:30:17 -03:00
  • 5c80a4c25e Remove another header initialization AllyTally 2020-06-12 19:27:21 -03:00
  • d740205138 Don't initialize game.gametimer in the header file AllyTally 2020-06-12 19:23:16 -03:00
  • 805992a1e1 Fix mixed indentation AllyTally 2020-06-12 19:20:39 -03:00
  • 1b0b1d32e8 Remove accidental whitespace AllyTally 2020-06-12 19:11:21 -03:00
  • eb52657c23 Add a player trail to the editor (ghosts) AllyTally 2020-06-12 19:04:35 -03:00
  • b2f842376b Avoid calling music.init on startup, reloadresources does this Ethan Lee 2020-06-12 16:24:21 -04:00
  • 8d652dc256 Like the thing I did but the opposite Ethan Lee 2020-06-12 16:21:45 -04:00
  • f815b1ee62 Replace mkdir with PHYSFS_mkdir Ethan Lee 2020-06-12 16:20:18 -04:00
  • c2c0644453 Fix loading levels saved with 2.2 or earlier Misa 2020-06-12 12:55:02 -07:00
  • 3f4df82583 Remove TinyXML-1 Misa 2020-06-03 19:37:01 -07:00
  • c397c898fc Convert Game::loadcustomlevelstats() to TinyXML2 Misa 2020-06-03 19:34:03 -07:00
  • 683dc1f97d Convert Game::savecustomlevelstats() to TinyXML2 Misa 2020-06-03 19:32:18 -07:00
  • 142241fd74 Convert Game::Game() to TinyXML2 Misa 2020-06-03 19:29:44 -07:00
  • 45e864315e Convert Game::loadsummary() to TinyXML2 Misa 2020-06-03 19:26:54 -07:00
  • 89a8623a46 Convert editorclass::save() to TinyXML2 Misa 2020-06-03 18:12:12 -07:00
  • cfacc7a2dc Convert editorclass::load() to TinyXML2 Misa 2020-06-03 18:03:00 -07:00
  • 2f2f04c76b Convert custom quicksave loading attempt to TinyXML2 Misa 2020-06-03 17:39:21 -07:00
  • 677dd424ec Convert Game::customsavequick() to TinyXML2 Misa 2020-06-03 17:36:27 -07:00
  • c03fdc6c01 Convert Game::customloadquick() to TinyXML2 Misa 2020-06-03 17:34:05 -07:00
  • c62bfad19d Convert Game::savequick() to TinyXML2 Misa 2020-06-03 17:29:42 -07:00
  • 3419f9fa15 Convert Game::loadquick() to TinyXML2 Misa 2020-06-03 17:24:31 -07:00
  • 6706197741 Convert Game::savetele() to TinyXML2 Misa 2020-06-03 11:39:33 -07:00
  • 9348bf5b24 Convert Game::loadtele() to TinyXML2 Misa 2020-06-03 11:04:36 -07:00
  • 6274707777 Convert Game::savestats() to TinyXML2 Misa 2020-06-03 10:59:49 -07:00
  • f2709731e2 Convert Game::loadstats() to TinyXML2 Misa 2020-06-03 10:11:37 -07:00
  • b17e96df7d Add FILESYSTEM_loadTiXml2Document() Misa 2020-06-03 10:00:53 -07:00
  • 45ad048756 Add FILESYSTEM_saveTiXml2Document() Misa 2020-06-03 09:54:05 -07:00
  • b67ac8a43b Add TinyXML2 Misa 2020-06-03 09:42:42 -07:00
  • 628eb7b7bf Fix mixed indentation in editor.h Misa 2020-06-11 17:57:04 -07:00
  • e7b39757a4 Remove a trailing whitespace from Graphics.h Misa 2020-06-11 17:56:12 -07:00
  • 55b2a3aac2 Indent Graphics::reloadresources() with tabs Misa 2020-06-11 17:55:27 -07:00
  • 2967e308ae Remove include guards from Scripts.cpp and TerminalScripts.cpp Misa 2020-06-11 17:51:42 -07:00
  • eb5fb3dff5 Refactor customstring calculation in scriptclass::load() Misa 2020-06-11 17:41:51 -07:00
  • 7150c9ef2d Unindent scriptclass::loadcustom() from previous commit Misa 2020-06-11 17:38:43 -07:00
  • 6e0119d753 Invert contents check in scriptclass::loadcustom() Misa 2020-06-11 17:37:46 -07:00
  • 8edf2f0ac6 Refactor custom scripts to not be stored in one giant vector of lines Misa 2020-06-11 17:31:57 -07:00
  • dd5c50c94c Fix some leaks leo60228 2020-06-07 16:29:48 -04:00
  • 887c1fbf96 Don't leak flipbfont leo60228 2020-06-07 16:11:55 -04:00
  • abbf6bafb9 Don't leak sounds/music leo60228 2020-06-07 16:11:48 -04:00
  • f3b26904ec Don't leak binaryBlob leo60228 2020-06-07 16:11:35 -04:00
  • 9b91047bba Find SDL_mixer.h instead of assuming it's in the same location as SDL.h leo60228 2020-06-07 16:11:12 -04:00
  • 8f06915c60 Unstub ~GraphicsResources leo60228 2020-01-30 10:04:03 -05:00
  • d193caac98 Revert "Add destructor for SoundTrack/MusicTrack (and explicitly define move constructor to prevent double-free)" leo60228 2020-06-07 15:49:18 -04:00
  • 098fb77611 Set C++ standard to C++98 leo60228 2020-06-07 15:48:07 -04:00
  • d22d08af87 Add C++98/C++03 standards declaration to CMakeFiles.txt Misa 2020-06-07 12:57:18 -07:00
  • e71f47f1c9 Clear soundTracks and musicTracks on musicclass::init leo60228 2020-01-30 09:50:19 -05:00
  • 2f760af439 Add destructor for SoundTrack/MusicTrack (and explicitly define move constructor to prevent double-free) leo60228 2020-01-30 09:49:34 -05:00
  • c561cd9740 Fix custom assets being unmounted in scriptclass::hardreset() Misa 2020-06-03 17:49:48 -07:00
  • b7a2cc1c22 Removed another stray line Fussmatte 2020-06-03 14:19:02 -04:00
  • e67d6d49c3 Fixed a few vector initialisation errors Fussmatte 2020-06-03 14:14:58 -04:00
  • aaa25c7b47 Fixed some custom asset bugs, added .zip level loading Main game would retain custom level assets, now fixed. Also, custom fonts load properly. Finally, levels can be stored as a zip and placed in the levels folder, with the .vvvvvv file at the root of the zip and custom asset folders (graphics, sounds etc) also at the root. Fussmatte 2020-06-03 14:05:09 -04:00
  • 3bb4eefaff Fix editor unexpectedly quitting after failed save-and-quit Dav999-v 2020-06-02 15:10:23 +02:00
  • ae45391ec0 Add editor saving/loading error messages Dav999-v 2020-06-02 12:59:54 +02:00
  • 2ef6a056aa Allow for conditional building of Steam and GOG APIs Misa 2020-06-01 09:23:07 -07:00
  • 58df371c3e Changed my name from Stelpjo to my current name, Fußmatte I also left a note for the in-game credits list to change the "ss" to an eszett when the Unicode font is implemented. Fussmatte 2020-05-31 20:03:07 -04:00
  • 43f1204407 Whitespace consistency for FileSystemUtils Ethan Lee 2020-05-31 19:43:10 -04:00
  • 21b6c22195 Minor visual cleanup of reloadresources Ethan Lee 2020-05-31 19:42:41 -04:00
  • f422d02dcd Minor visual cleanup of endsWith Ethan Lee 2020-05-31 19:42:12 -04:00
  • b217fec3aa Per-level custom asset loading functionality (#262) Matt Aaldenberg 2020-05-31 19:31:02 -04:00
  • cfcfccf58b Fix segfault if say/reply/text asks for more lines than there are Misa 2020-05-27 00:40:24 -07:00
  • ff6cc1a777 De-duplicate say/reply line adding code Misa 2020-05-27 00:03:02 -07:00
  • 79d55baf6d Remove unnecessary references to global self in loadcustom() Misa 2020-05-26 23:53:42 -07:00
  • 50798d5add Fix build with CUSTOM_LEVEL_SUPPORT=disabled Matt Penny 2020-05-30 16:17:52 -04:00
  • 67a6ab3704 Statically allocate Prize for the Reckless tilemap Misa 2020-05-29 13:25:11 -07:00
  • 726a79c568 Statically allocate built-in scripts as well Misa 2020-05-29 09:42:12 -07:00
  • d27ffa51b6 Statically allocate level arrays Matt Penny 2020-05-28 23:25:59 -04:00
  • a623190b09 Fix using speak/speak_active without a text beforehand Misa 2020-05-23 12:47:56 -07:00
  • 46559bbe0a De-duplicate speak_active/speak code Misa 2020-05-23 12:24:54 -07:00
  • e9ffa1863f Refactor TerminalScripts.cpp to not store strings in function parameters Misa 2020-05-18 10:43:57 -07:00
  • 815a48c025 Refactor Scripts.cpp to no longer hold strings in function args Misa 2020-05-18 10:37:00 -07:00
  • 9205421090 Clean up editorclass externs into one location Misa 2020-05-18 10:14:12 -07:00
  • 3a5dd5a616 Clean up all scriptclass externs into one location Misa 2020-05-18 10:12:11 -07:00
  • 7afe206a0d Fix indentation of scriptclass::loadcustom() Misa 2020-05-18 10:09:57 -07:00
  • fcea247c43 Move custom script parser to its own function Misa 2020-05-18 10:08:34 -07:00
  • 4301a70f2d Remove unnecessary middleman ed.swapmap Misa 2020-05-21 19:23:21 -07:00
  • 6913abb171 Refactor superpatrons/patrons/githubfriends to not push_back(string) Misa 2020-05-20 23:30:52 -07:00
  • b5a009f2e2 Reset game.activeactivity and game.act_fade in scriptclass::hardreset() Misa 2020-05-19 21:32:53 -07:00
  • a10265787d Merge pull request #143 from InfoTeddy/general-bug-fixes Terry Cavanagh 2020-05-20 13:13:56 +10:30
  • 4d0e1549a5 Allow crewmate to be cyan when initially placing it down Misa 2020-05-19 18:18:01 -07:00
  • 99562075c5 Don't draw "Game paused" when in blackout mode Misa 2020-05-19 18:09:47 -07:00
  • 4034c22833 Add bounds checks to roomdeaths and roomdeathsfinal Misa 2020-05-19 17:20:46 -07:00
  • e795fbb511 Simplify inits/resets in entityclass/mapclass Misa 2020-05-19 16:41:29 -07:00
  • 291d358b7e Add and draw one more row to all rooms with roomnames Info Teddy 2020-02-03 13:24:30 -08:00
  • de82918efd Fix 7 extra zeroes on the 21st row of Philadelphia Experiment Misa 2020-05-19 11:08:01 -07:00
  • 3178aec5d2 Only flash and shake screen when enabling Flip Mode Misa 2020-05-18 18:09:12 -07:00
  • 7bd2f92f03 Make all gamemode starts play a Viridan squeak Misa 2020-05-18 18:03:18 -07:00
  • 14af88695f Select "continue" if returning from new game when having had a save Misa 2020-05-18 17:49:35 -07:00
  • a33c460d40 Re-create menu if returntomenu() is given current menu Misa 2020-05-18 15:19:56 -07:00