summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix NullPointerException on MapScene.tileAtCoordinates()Nao Pross2018-12-041-2/+6
|
* Replace old BattleScene code with new impl from WorldSceneNao Pross2018-12-035-303/+43
|
* Start impl of TurnInfo widget to show mission detailsNao Pross2018-12-032-1/+33
|
* Fix anchors, add TerrainInfo widgetNao Pross2018-12-036-24/+98
|
* Update ActorInfoNao Pross2018-12-032-3/+3
|
* Add widget anchors to place widgets in relative positionsNao Pross2018-12-032-1/+36
|
* Update PerfView to show FPS instead of DeltaTimeNao Pross2018-12-032-7/+10
|
* Refractor sleep in Scene rendering loop for better performanceNao Pross2018-12-032-28/+37
| | | | ~10 us improvement
* Update Scene thread pause to use a higher level interfaceNao Pross2018-12-032-18/+12
| | | | | Scene now uses locks from java.util.concurrent.lock instead of the internal Object.{notify(), wait()}
* Connect ActorInfo to mouse events to show info of actor under cursorNao Pross2018-12-025-12/+78
|
* Update makefile to make javac errors more verboseNao Pross2018-12-021-1/+1
|
* Add static class Font, update ActorInfo panelNao Pross2018-12-025-37/+90
|
* Update default window size to 720pNao Pross2018-12-021-1/+1
|
* Add option to not render the grid to MapSceneNao Pross2018-11-272-7/+14
|
* Add unscii-16 as default font in SceneNao Pross2018-11-274-8/+34
| | | | | There is also CamingoCode-Regular.ttf that can be used in the future for dev stuff in the UI.
* Deleted Game.start() content, add check for state changeNao Pross2018-11-261-2/+4
|
* Fix PerfView text colorNao Pross2018-11-261-0/+3
|
* Capitalize actor names in testmap.jsonNao Pross2018-11-261-1/+1
|
* Add WorldScene and ActorInfo widgetNao Pross2018-11-267-19/+101
| | | | | The Scene canvas is now added in MapScene (still a temporary workaround) in a 1x1 GridLayout.
* Remove old MapEditor codeNao Pross2018-11-253-268/+1
|
* Minor makefile correctionNao Pross2018-11-251-1/+1
| | | | It was copying another res folder inside res
* Make Map.get take a path relative to /subconscious/res/mapsNao Pross2018-11-252-2/+8
|
* Add jar recipe in Makefile, move res folder inside packageNao Pross2018-11-255-29/+25
| | | | MapLoader was update accordingly to load maps as resources
* Remove super dangerous pack recipe from makefileNao Pross2018-11-241-16/+2
| | | | | It has some problems and deletes everything on your working directory. Super dangerous.
* Rename MenuScene to MainMenuScene and minor code cleanupNao Pross2018-11-2410-48/+29
|
* Add simple PerfView widget to show the deltaTimeNao Pross2018-11-242-0/+34
|
* Add dynamic widgets (update on every gameloop tick)Nao Pross2018-11-242-3/+27
|
* Enable use of assertionsNao Pross2018-11-242-3/+7
| | | | | Assertions are faster and normally not enabled, so they are a good to debug when things that *should* never happen, happen.
* Call Game.update() on Scene loopNao Pross2018-11-242-1/+8
|
* Add RenderingHints and minor performance improvementsNao Pross2018-11-245-3/+21
|
* Remove Swing dependencyNao Pross2018-11-243-18/+12
| | | | We can build everything on top of AWT
* Update MapScene size members on window resizeNao Pross2018-11-242-1/+15
|
* Add simple widget.Clickable interface with example ButtonNao Pross2018-11-214-3/+44
|
* Start implementation of widgets featureNao Pross2018-11-212-1/+47
|
* Comment out annoying @Deprecated for MapLoaderNao Pross2018-11-211-3/+3
|
* Disable Pause feature, add scene UNIQUE_NAME generatorNao Pross2018-11-217-52/+75
| | | | | There is a bug with the management of the scenes that has to be solved before implementing the pause (and consequently PauseScene)
* Fix InvalidStateException at scene loading, add Scene.requestScene()Nao Pross2018-11-216-87/+138
| | | | | The internal game state management has also been changed for the new scene management in the graphics
* Generalize to use only Scenes, attempt to implement pauseNao Pross2018-11-219-137/+275
| | | | Compiles, but its totally broken
* Add res folder for resourcesNao Pross2018-11-202-1/+1
|
* Refractor MapScene.render() AffineTransformsNao Pross2018-11-203-19/+32
|
* Correct BufferStrategy renderingNao Pross2018-11-201-4/+9
|
* Remove Scene.absoluteRender(), add Scene.build()Nao Pross2018-11-205-21/+34
| | | | | | | | absoluteRender was a useless method since the normal render can be extended by overriding and calling super.render() Scene.build() is a new method which runs once when the scene thread starts, and is meant to be used to initialize the scene.
* Refractor game state change detection / locksNao Pross2018-11-204-27/+53
|
* Update makefile to make jdb always use port 8000Nao Pross2018-11-201-1/+1
|
* Move Map loading into Game (out of graphics)Nao Pross2018-11-204-24/+59
|
* Add currentMap to Game, waitStateChange now returns the new stateNao Pross2018-11-202-3/+10
|
* Refractor MapSceneNao Pross2018-11-204-138/+159
|
* Update MakefileNao Pross2018-11-201-1/+1
|
* Add Game class, fix GameWindow's scene loading / managementNao Pross2018-11-206-61/+229
| | | | | The new Game class contains the state of the game and the main logic to manage maps, actors and scores.
* Update gitignoreNao Pross2018-11-201-0/+2
|