Commit Graph

  • 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
  • 72ddd9bdb4 Fix <hardestroom> having atoi() called on it when loading quicksave Misa 2020-05-18 14:16:23 -07:00
  • 9b3853bf94 Fix indentation with ifdefs and FILESYSTEM_delete() Misa 2020-05-18 14:07:52 -07:00
  • bf21c13f80 Handle return values from fread() and fwrite() in PLATFORM_copyFile() Misa 2020-05-18 14:03:14 -07:00
  • 664bf8ca6c Remove now-unused function mapclass::fillareamap() Misa 2020-05-17 17:07:08 -07:00
  • e938bfdb57 Refactor areamap initialization to not use strings Misa 2020-05-17 17:05:07 -07:00
  • 86516bb284 Remove now-unused fillbackground/fillcontents/fillminitower from Tower Misa 2020-05-17 17:02:01 -07:00
  • aae07336eb Refactor Tower.cpp to no longer use strings for tilemaps Misa 2020-05-17 17:00:34 -07:00
  • aed7b220c7 Remove now-unused function mapclass::fillcontent() Misa 2020-05-17 16:45:57 -07:00
  • ec72031cfd Refactor Otherlevel.cpp to not use strings for tilemaps Misa 2020-05-17 16:43:32 -07:00
  • 8a573af273 Refactor Spacestation2.cpp to not use strings for tilemaps Misa 2020-05-17 15:55:20 -07:00
  • 781aa38e1f Refactor Finalclass.cpp to not use strings for tilemaps Misa 2020-05-17 14:42:38 -07:00
  • 5126c4dbc4 Refactor WarpClass.cpp to not use strings for tilemaps Misa 2020-05-17 14:21:52 -07:00
  • cc0d5d1d79 Refactor Labclass.cpp to not use strings for tilemaps Misa 2020-05-17 13:48:07 -07:00
  • f617b6d695 Fix FILESYSTEM_openDirectory command used on Haiku and *BSD Misa 2020-05-14 13:46:57 -07:00
  • e69cc964ab Don't duplicate activity zone handling code in playtesting Misa 2020-05-14 12:39:29 -07:00
  • 610768658e Remove graphics.drawgui() from maprender() Misa 2020-05-14 11:03:04 -07:00
  • be2d2e1e2a Fix 1x1 quicksand collision optimization not working Misa 2020-05-13 01:15:34 -07:00
  • 2d07090a6b Move returning to editor to end of frame Misa 2020-05-09 12:52:58 -07:00
  • 51971fa84c Abstract returning-to-editor code to Game::returntoeditor() Misa 2020-05-09 12:35:17 -07:00
  • 915100b370 Reset vvvvvvman size in mapclass::resetplayer() Misa 2020-05-09 12:04:07 -07:00
  • 269ad18b86 Call game.savestats() when setting new Super Gravitron record Misa 2020-05-09 11:53:41 -07:00