summary refs log tree commit diff stats
path: root/src/renderer.h
Commit message (Collapse)AuthorAgeFilesLines
* Added submenusStar Rauchenberger2021-03-131-1/+2
| | | | #7
* Rendered pause menu during animationStar Rauchenberger2021-03-131-0/+10
| | | | Also, the game is not rendered at all if the pause menu is totally open, which makes sense because why are we going to the effort to render it and then just colour over it.
* Generalized upper/lower layer map renderingKelly Rauchenberger2021-02-221-3/+3
| | | | | | Map layers can have a flag on them that specifies that they should be rendered as part of the upper set (rendered above the normal sprite layer but below the above sprite layer). Also added map connections between hallucination_interior and hallucination_cliff. And named the layers in the map files bc why not.
* Added a debug consoleKelly Rauchenberger2021-02-211-0/+6
| | | | | | | | Open it by pressing backtick, close it by hitting escape. Pressing backtick does not open it in release builds. Current shortcomings: opening it for the first time also types a backtick for some reason, but not on subsequent times. Also, it doesn't create a coroutine, so any script function that yields is going to fail. This also added a "is gameplay paused" flag to Game, which will be useful for adding a pause menu.
* Added map fadeoutsKelly Rauchenberger2021-02-141-0/+1
| | | | Screen fadeouts and map fadeouts are now handled by the effect system.
* Added lightning sprite to mailbox eventKelly Rauchenberger2021-02-131-0/+4
| | | | | | | | Sprites can be destroyed now, which really just means that their index is removed from the list of active sprites. The actual memory is not freed until all sprites are deleted on map change. Sprite layers are introduced. All sprites by default are on layer 0 (Normal) which renders them in between the lower and upper map layers. There is also a layer 1 (Above) that renders above the upper map layer, and the sprite for the lightning strike uses this layer in order to not be hidden by the trees. Fixed a bug where waiting for the end of a non-looping animation would trip the flag immediately upon the final frame activating, instead of waiting the length of the last frame.
* Got correct sprites for message arrowsKelly Rauchenberger2021-02-121-0/+1
|
* Map changing!Kelly Rauchenberger2021-02-091-0/+3
| | | | Also removed some dependencies on the Renderer. More changes need to be made. Fading to black before the change would be good. And making sure the characters are facing the right direction. Maybe that code shouldn't live in Game, either. Later we also want to combine the tilesets for these two maps (and any others that are on Tanetane).
* Prevented multiple loading of the same image filesKelly Rauchenberger2021-02-051-2/+3
|
* Added little bobbing "next message" arrowKelly Rauchenberger2021-02-051-0/+1
|
* Added speaker headerKelly Rauchenberger2021-02-051-4/+11
|
* Added text boxesKelly Rauchenberger2021-02-041-0/+11
| | | | | | Text now reveals itself and scrolls! Yay! It even plays speaker beeps. TODO: the arror indicating an A press is needed. Bullets on lines that need bullets. The header that says who the speaker is, if relevant.
* Added "bumping into something while running" sfxKelly Rauchenberger2021-02-021-1/+1
|
* Using tmxlite instead of TilesonKelly Rauchenberger2021-02-021-3/+2
|
* Map rendering Works but I don't want to use Tileson so I'm gonna change thatKelly Rauchenberger2021-02-021-0/+6
| | | | Mainly bc Tileson requires std::filesystem, which my clang is too old for apparently, and while I can use gcc instead I just want to not, I suppose. Also Tileson's API is very weird RE const correctness? Idk. And also being able to parse the tmx files rather than exporting to json would be preferable.
* Game now renders an image of LucasKelly Rauchenberger2021-01-301-1/+7
|
* Imported renderer stuff from EtherKelly Rauchenberger2021-01-301-0/+126