Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add morn, eve, and night DB16-based palettes. | P. J. McDermott | 2013-11-14 | 4 | -240/+295 |
| | |||||
* | tools/mkpals.c: New file. | P. J. McDermott | 2013-11-14 | 1 | -0/+86 |
| | | | | This is the program that generated the palettes in commit d417067. | ||||
* | data/palettes/palette.txt: New file. | P. J. McDermott | 2013-11-14 | 1 | -0/+58 |
| | | | | These are the 58 colors in the Lostgarden wilderness tileset. | ||||
* | Makefile.am: Add copyright and license notice. | P. J. McDermott | 2013-11-12 | 1 | -0/+18 |
| | |||||
* | configure.ac: Add copyright and license notice. | P. J. McDermott | 2013-11-12 | 1 | -0/+18 |
| | |||||
* | data/palettes/local.mk: New file. | P. J. McDermott | 2013-11-12 | 3 | -0/+17 |
| | |||||
* | data/tilesets/local.mk: Really dist tilesets. | P. J. McDermott | 2013-11-12 | 1 | -1/+1 |
| | | | | | $(dist_tilesets_sources) was mistakenly added to DISTCLEANFILES in commit 3e54392. Move it to EXTRA_DIST. | ||||
* | src/resources/local.mk: Add header files. | P. J. McDermott | 2013-11-12 | 1 | -1/+5 |
| | |||||
* | src/local.mk: Add header files. | P. J. McDermott | 2013-11-12 | 1 | -1/+9 |
| | |||||
* | src/resources/local.mk: Sort source file names. | P. J. McDermott | 2013-11-12 | 1 | -2/+2 |
| | |||||
* | src/local.mk: Sort source file names. | P. J. McDermott | 2013-11-12 | 1 | -6/+6 |
| | |||||
* | src/area.c: Change color of demo "sprite". | P. J. McDermott | 2013-11-12 | 1 | -1/+1 |
| | |||||
* | src/main.c: Demo new map. | P. J. McDermott | 2013-11-12 | 1 | -15/+19 |
| | |||||
* | data/maps/db16-route.tmx: New file. | P. J. McDermott | 2013-11-12 | 1 | -0/+39 |
| | |||||
* | data/tilesets/db16-forest.xcf: New file. | P. J. McDermott | 2013-11-10 | 3 | -1/+28 |
| | |||||
* | data/palettes/main.gpl: New file. | P. J. McDermott | 2013-11-10 | 1 | -0/+76 |
| | |||||
* | configure.ac: Add more Automake options. | P. J. McDermott | 2013-11-02 | 1 | -1/+1 |
| | |||||
* | data/tilesets/local.mk: Distribute tilesets. | P. J. McDermott | 2013-11-02 | 1 | -0/+1 |
| | |||||
* | .gitignore: Update. | P. J. McDermott | 2013-11-02 | 1 | -10/+13 |
| | |||||
* | Makefile.am: Add really-clean. | P. J. McDermott | 2013-11-02 | 1 | -0/+7 |
| | |||||
* | AUTHORS: Add self. | P. J. McDermott | 2013-11-02 | 1 | -0/+1 |
| | |||||
* | ChangeLog: Remove from repository. | P. J. McDermott | 2013-11-02 | 1 | -0/+0 |
| | |||||
* | Generate ChangeLog. | P. J. McDermott | 2013-11-02 | 2 | -0/+11 |
| | |||||
* | Makefile.am: Add uninstall-hook. | P. J. McDermott | 2013-11-02 | 1 | -0/+7 |
| | |||||
* | Centralize *dir stuff into Makefile.am. | P. J. McDermott | 2013-11-02 | 3 | -9/+6 |
| | |||||
* | Fix data/tilesets/$(am__dirstamp) stuff. | P. J. McDermott | 2013-11-02 | 3 | -9/+6 |
| | |||||
* | data/tilesets/local.mk: Clean up a bit. | P. J. McDermott | 2013-11-02 | 3 | -10/+7 |
| | |||||
* | Makefile.am: Set CLEANFILES. | P. J. McDermott | 2013-11-02 | 1 | -0/+2 |
| | |||||
* | Makefile.am: Distribute autogen.sh. | P. J. McDermott | 2013-11-02 | 1 | -0/+3 |
| | |||||
* | data/tilesets/local.mk: Move tilesetsdir stuff. | P. J. McDermott | 2013-11-02 | 1 | -4/+4 |
| | |||||
* | Move .xcf.png rule to Makefile.am. | P. J. McDermott | 2013-11-02 | 2 | -3/+3 |
| | |||||
* | Makefile.am: Move GCC_CFLAGS to sdlex_CFLAGS. | P. J. McDermott | 2013-11-02 | 1 | -1/+3 |
| | |||||
* | Makefile.am: Adjust indentation. | P. J. McDermott | 2013-11-02 | 1 | -9/+11 |
| | |||||
* | Makefile.am: Clear sdlex_SOURCES, move includes. | P. J. McDermott | 2013-11-02 | 1 | -4/+4 |
| | |||||
* | Use sdlex_CPPFLAGS. | P. J. McDermott | 2013-11-02 | 3 | -5/+3 |
| | | | | This is instead of AM_CPPFLAGS and sdlex_CFLAGS. | ||||
* | Use sdlex_SOURCES in makefile fragments. | P. J. McDermott | 2013-11-02 | 2 | -4/+3 |
| | |||||
* | src/resources/local.mk: Adjust indentation. | P. J. McDermott | 2013-11-02 | 1 | -4/+4 |
| | |||||
* | src/local.mk: Adjust indentation. | P. J. McDermott | 2013-11-02 | 1 | -10/+10 |
| | |||||
* | src/resources/local.mk: Remove .h files. | P. J. McDermott | 2013-11-02 | 1 | -4/+4 |
| | |||||
* | src/local.mk: Remove .h files. | P. J. McDermott | 2013-11-02 | 1 | -8/+8 |
| | |||||
* | Rename Makefile.am files to local.mk. | P. J. McDermott | 2013-11-02 | 6 | -5/+5 |
| | |||||
* | Add copyright and license headers. | P. J. McDermott | 2013-11-01 | 25 | -0/+450 |
| | |||||
* | Add LGPL (GPL + exception) license text. | P. J. McDermott | 2013-11-01 | 2 | -0/+839 |
| | |||||
* | autogen.sh: chmod a+x. | P. J. McDermott | 2013-11-01 | 1 | -0/+0 |
| | |||||
* | autogen.sh: New file. | P. J. McDermott | 2013-11-01 | 1 | -0/+16 |
| | |||||
* | Add Lostgarden wilderness tileset. | P. J. McDermott | 2013-11-01 | 2 | -0/+54 |
| | |||||
* | src/main.c: It's summer somewhere... | P. J. McDermott | 2013-03-05 | 1 | -5/+19 |
| | |||||
* | Change the viewport size. | P. J. McDermott | 2013-03-05 | 2 | -3/+3 |
| | |||||
* | src/main.c: Make demo day length less hardcoded. | P. J. McDermott | 2013-03-04 | 1 | -5/+7 |
| | |||||
* | src/area.c: Disable RLE on area layers. | P. J. McDermott | 2013-03-04 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This mostly fixes the performance regression introduced by merging the palette cycling and map movement demos. I removed the 10-ms delay between frames in the demo and tested the framerates: Test Framerate with RLE (fps) Framerate without RLE (fps) 1 160.306202859 1730.255164034 2 142.599639495 1758.024691358 3 167.588560668 1797.97979798 4 162.279202279 1764.560099133 5 157.278550917 1625.570776256 avg 158.010431244 1735.278105752 I then restored the delay and watched the CPU usage: CPU usage with RLE CPU usage without RLE ~9.00% ~1.00% This is happening because we're now cycling palettes each frame and, as a result, SDL needs to decode and encode the surfaces each frame to map palettes (though I'm not sure why it needs a decoded surface just to map palettes). (Normally, we probably wouldn't cycle palettes /each frame/, so this is something of an extreme case.) See for example the SDL_UnRLESurface() call at line 551 of src/video/SDL_pixels.c in SDL 1.2.15. |