Commit graph

  • 4e0a168533 Move the MSVC6 hacks to WindowsWrapper.h Clownacy 2020-03-14 12:55:22 +00:00
  • 05fb5cf106 Fix build error with MinGW Clownacy 2020-03-13 22:01:02 +00:00
  • 406ff18909 Add CMakeLists.txt and Visual Studio 6 support Clownacy 2020-03-13 21:35:51 +00:00
  • 39c1d92947 CMakeLists.txt - Wrap paths in "" Clownacy 2020-03-05 15:16:17 +00:00
  • 27d82e9762 Set STB_IMAGE_STATIC Clownacy 2020-03-05 00:04:47 +00:00
  • d57850d937 Fix Windows miniaudio build... again Clownacy 2020-03-04 21:51:22 +00:00
  • 9af25f7c67 Hopefully fixed miniaudio backend on Windows Clownacy 2020-03-04 21:02:17 +00:00
  • 156c01e672 Rename RENDERER and AUDIO_BACKEND Clownacy 2020-02-29 18:33:32 +00:00
  • 72672e142d Makefile/CMakeLists.txt fixes Clownacy 2020-02-29 18:11:50 +00:00
  • 15bf7e095a Add AUDIO_BACKEND option to readme Clownacy 2020-02-29 18:11:27 +00:00
  • af24d010a5 Clean-up miniaudio backend a little Clownacy 2020-02-29 18:07:34 +00:00
  • a943e80b1a Add miniaudio audio backend to Makefile Clownacy 2020-02-29 18:03:31 +00:00
  • 14735caac3 Mark CMake target thingies as private Clownacy 2020-02-29 17:52:00 +00:00
  • 8ec8a8d990 Added unfinished miniaudio audio backend Clownacy 2020-02-29 11:46:11 +00:00
  • 934054806e Merge branch 'accurate' into portable Clownacy 2020-02-25 17:56:17 +00:00
  • e4a20a983e
    Similar fixes Clownacy 2020-02-20 15:59:04 +00:00
  • ed97e374f8
    Fix screen centering in wide/tallscreen Clownacy 2020-02-20 13:11:39 +00:00
  • b238bcee03 Remove random lines mistakenly added by merge Gabriel Ravier 2020-02-14 08:27:07 +01:00
  • d59df30005 Removed OpenMP stuff Gabriel Ravier 2020-02-13 19:54:06 +01:00
  • 5bd70eb2db Removed ATTRIBUTE_OPTIMIZE from MakePixelWaveData Gabriel Ravier 2020-02-04 10:50:40 +01:00
  • 5d61641415 Added ATTRIBUTE_HOT to Backend_ColourFill Gabriel Ravier 2020-01-31 18:47:44 +01:00
  • f43bd4f876 Removed bad omp (it doesn't actually improve anything, i did my measurements wrong) Gabriel Ravier 2020-01-31 12:48:00 +01:00
  • 2adfef0035 Got Backend_Blit to go from 17% CPU usage to 11% : - used __builtin_expect to get a 8.5% performance improvement - used #pragma omp for to get a 30% performance improvement Gabriel Ravier 2020-01-31 12:27:29 +01:00
  • e8ec6a8ffb Optimize Backend_Blit a bit Gabriel Ravier 2020-01-31 07:43:51 +01:00
  • 6ccfe063ce Made MakePixelWaveData use ffast-math Gabriel Ravier 2020-01-30 15:48:47 +01:00
  • 65db12baaa Started trying to optimize MakePixelWaveData Gabriel Ravier 2020-01-30 14:25:34 +01:00
  • a7f1d80a06 Fix compilation with modern Visual Studio Clownacy 2020-02-13 18:14:30 +00:00
  • a767c16d83 Un-un-const a few things Clownacy 2020-02-09 18:55:41 +00:00
  • f82a53d336 Prevent errors encountered by MSVC Clownacy 2020-02-09 18:47:50 +00:00
  • d4004fe99a Store glyph pixels as chars, not floats Clownacy 2020-02-09 13:56:45 +00:00
  • bb11cd567d Software renderer cleanup Clownacy 2020-02-09 13:44:02 +00:00
  • 60d3cc2ed6 Update cute_spritebatch.h Clownacy 2020-02-09 12:40:35 +00:00
  • 8edca4fb2e Style tweak Clownacy 2020-02-09 12:35:38 +00:00
  • 81d672e158 Fixed a bunch of npc->cond = 0 bugs Gabriel Ravier 2020-02-06 11:52:49 +01:00
  • f0206600b1 Travis: Exclude macOS Make OpenGLES2 build too Clownacy 2020-02-06 09:21:45 +00:00
  • 0902b9e35d Merge branch 'accurate' into portable Clownacy 2020-02-05 21:07:34 +00:00
  • fd19806eaf Travis: Add FIX_BUGS and JAPANESE to matrix Clownacy 2020-02-05 21:05:20 +00:00
  • 2b2965721f Group jobs by build system Clownacy 2020-02-05 21:01:07 +00:00
  • 4737a7cbca Travis: Only create release builds Clownacy 2020-02-05 20:59:08 +00:00
  • 6bbe0c977f Explain the macOS OpenGL job exclusion Clownacy 2020-02-05 20:52:30 +00:00
  • 1478d2510b Shut up a Travis warning Clownacy 2020-02-05 20:45:44 +00:00
  • fe5291bce5 Uhh... now? Clownacy 2020-02-05 20:41:11 +00:00
  • 1575fbf908 Er... does this make it work? Clownacy 2020-02-05 20:37:18 +00:00
  • f06b78bd38 Exclude macOS OpenGL3 Make builds from Travis Clownacy 2020-02-05 19:06:37 +00:00
  • 425051a3cf Make Travis build every rendering backend Clownacy 2020-02-05 16:02:44 +00:00
  • 59a8c2617f Tweak some variable naming Clownacy 2020-02-05 15:52:43 +00:00
  • d9e7ebac38 Correct a typo Clownacy 2020-02-05 15:47:26 +00:00
  • 2af6a043ef Clean-up the OpenGL renderers a little Clownacy 2020-02-04 16:35:42 +00:00
  • 1140ab0916 Clean-up renderer backend initialisation Clownacy 2020-02-04 15:51:19 +00:00
  • ba6d711d3a Tick cute_spritebatch once per frame Clownacy 2020-02-04 14:55:01 +00:00
  • 2e5e1994c2 Enable debug console prints in non-debug builds Clownacy 2020-02-03 16:44:52 +00:00
  • 53c0e8470f Add an optimisation to the OpenGL renderers Clownacy 2020-02-03 15:53:59 +00:00
  • dfacd62662 Fix text-flickering in the OpenGL renderers Clownacy 2020-02-03 15:44:09 +00:00
  • b894543f3b Shut up a C++11 error from the enhanced branch Clownacy 2020-02-03 14:43:02 +00:00
  • 4190493fd8 More documentation Clownacy 2020-02-02 00:34:03 +00:00
  • 514d9f8739 Document the OpenGL renderer a bit more Clownacy 2020-02-02 00:21:28 +00:00
  • d84f64a5a9 Tweak cute_spritebatch settings Clownacy 2020-02-02 00:10:01 +00:00
  • eb6ab89b85 Fixes and improvements Clownacy 2020-02-02 00:01:45 +00:00
  • 1b2d4fdb4d Fix the other rendering backends Clownacy 2020-02-01 22:57:07 +00:00
  • eeed719c16 Get the SDLTexture renderer working again Clownacy 2020-02-01 22:47:13 +00:00
  • 15cfad01af Disable sub-pixel rendering in local FreeType Clownacy 2020-02-01 22:40:21 +00:00
  • e3cd7ce353 Add glyph-batching to OpenGL renderer Clownacy 2020-02-01 22:37:59 +00:00
  • eaf2de05b6 Add glyph-batching to the SDLTexture backend Clownacy 2020-02-01 17:49:26 +00:00
  • 639039ce3a Added Backend_PrepareToDrawGlyphs Clownacy 2020-02-01 16:40:23 +00:00
  • fa8ab56e93 Merge branch 'accurate' into portable Clownacy 2020-02-01 12:48:14 +00:00
  • debaeaad17
    Merge pull request #99 from GabrielRavier/fixPortableBugs Clownacy 2020-02-01 12:46:33 +00:00
  • a762f28837 Note some out-of-bounds array accesses Clownacy 2020-02-01 12:45:32 +00:00
  • e3db7749ba Add verbose error-reporting to backends Clownacy 2020-02-01 12:22:44 +00:00
  • 49d32a98c5 Merge branch 'accurate' into portable Clownacy 2020-02-01 11:52:59 +00:00
  • c204ba140e Update PHILOSOPHY.md Clownacy 2020-02-01 11:49:18 +00:00
  • 8042ab2c9b Fixed more crashes in Caret Gabriel Ravier 2020-02-01 07:52:31 +01:00
  • aad200801c Removed UB in PutArmsEnergy Gabriel Ravier 2020-01-31 23:55:59 +01:00
  • 02939dfa31
    Merge pull request #97 from GabrielRavier/fixPortableOpenGL Clownacy 2020-01-31 18:56:02 +00:00
  • 88a554784b Fix the build on portable Gabriel Ravier 2020-01-31 06:50:20 +01:00
  • 3597addf51 Add PHILOSOPHY.md Clownacy 2020-01-30 17:30:37 +00:00
  • 70f4f6fad5 Capitalise a few things in bin2h differently Clownacy 2020-01-30 01:21:04 +00:00
  • f1740a2c5e Add native-optimisations and LTO to DoConfig and bin2h Clownacy 2020-01-30 01:19:45 +00:00
  • ed1ff2f275 Tweak MIN/MAX macros in software renderer Clownacy 2020-01-29 23:45:22 +00:00
  • 788697dc5d Fix a possible hang in the audio mixer Clownacy 2020-01-29 23:18:47 +00:00
  • e599d02fb1 Added NATIVE_OPTIMIZATIONS option to Makefile Clownacy 2020-01-29 22:19:47 +00:00
  • e4394aea1f Whoops, forgot to remove this #include Clownacy 2020-01-29 22:16:21 +00:00
  • d0defa4a7b This cast shouldn't be necessary Clownacy 2020-01-29 22:15:53 +00:00
  • 638e96be11 Move and rename attrHot Clownacy 2020-01-29 22:14:35 +00:00
  • 9bd21cca12
    Merge pull request #95 from GabrielRavier/improvePerformance Clownacy 2020-01-29 22:12:49 +00:00
  • 5e6658847c Re-add missing "(double)" Gabriel Ravier 2020-01-29 23:04:17 +01:00
  • ebb238ebdc Added ICC checks for native optimizations Gabriel Ravier 2020-01-29 22:45:29 +01:00
  • 88a8362f23 Reverted fmodf stuff and tried to make it so C++ compilers would go for the float version in appropriate circumstances (fmodf directly is unavailable due to not being in C89) Gabriel Ravier 2020-01-29 22:30:57 +01:00
  • d88db09752 Added CMake option for native optimizations (-march=native) Gabriel Ravier 2020-01-29 19:30:18 +01:00
  • 1442299924 Made MixSounds be marked as hot Gabriel Ravier 2020-01-29 17:59:56 +01:00
  • c15ecbf728 Used fmodf instead of fmod for a 0.5% performance increase in MixSounds Gabriel Ravier 2020-01-29 12:47:02 +01:00
  • bd876e9309 Change icon resource IDs Clownacy 2020-01-28 21:26:28 +00:00
  • f127010848 Use stb_image's file API Clownacy 2020-01-27 15:07:08 +00:00
  • 30dda63671 Freetype -> FreeType Clownacy 2020-01-27 01:04:19 +00:00
  • 1cffacb72e Added DecodeBitmapFromFile Clownacy 2020-01-27 00:30:54 +00:00
  • 2ef48bea8a Change DecodeBitmap to use unsigned ints Clownacy 2020-01-26 23:59:04 +00:00
  • 4f7bd116f6 Add missing SDL.h #includes Clownacy 2020-01-26 23:57:09 +00:00
  • 8dd1b05790 Fix compilation with the Makefile Clownacy 2020-01-26 23:55:17 +00:00
  • cccef2b089 Fix memory leaks Clownacy 2020-01-26 23:54:20 +00:00
  • 5e60c15b1d Add missing sanity check Clownacy 2020-01-26 23:53:40 +00:00
  • 1e21b32dec Remove SDL.h #include from Draw.h Clownacy 2020-01-26 20:17:40 +00:00