aboutsummaryrefslogtreecommitdiffstats
path: root/include/pacman/game.hpp
Commit message (Expand)AuthorAgeFilesLines
* Add 2p mode: Enable 2nd player controlling Blinky when chasing, scattering or...Sven Gothel2022-04-021-0/+10
* ghost_t::[dir_ -> current_dir]Sven Gothel2022-04-021-2/+2
* 'R' reset: Restart at chosen start_level and clear scoreSven Gothel2022-04-021-0/+1
* Cleanup mode change (set_mode) and mode tick, remove complexity.Sven Gothel2022-04-021-7/+5
* Minor edits: Add mode_duration_t::FREEZE, ghost_t::set_next_dir(): log_moves(...Sven Gothel2022-04-021-0/+1
* Add ghost_t max time to spend at home while no pellets are eaten; Move 'pelle...Sven Gothel2022-04-011-0/+9
* Use original look-ahead position 'one tile ahead of an intersection' and have...Sven Gothel2022-04-011-0/+17
* Add Elroy 1+2 modes; show_modes will also show speed changes; Have ghosts and...Sven Gothel2022-03-311-2/+4
* Fix fruit/bonus: Draw centered, pellet counter is on taken/eaten pellets not ...Sven Gothel2022-03-311-1/+1
* Refine audio handling a littleSven Gothel2022-03-311-3/+4
* ghost, pacman: Expose own color, ghost also its personality_t; Use player's c...Sven Gothel2022-03-301-1/+9
* Fix ghost_t::set_next_dir()'s dir_pos[U] evaluation, typos and prepare for al...Sven Gothel2022-03-301-0/+7
* Add fruits/bonus: Appear for 9-10s after 70 and 170 pellets got eaten per lev...Sven Gothel2022-03-301-1/+17
* move game related globals to game.hppSven Gothel2022-03-301-0/+66
* Freeze pacman only for 3 frames after eating power pelletSven Gothel2022-03-301-0/+1
* ghost_t: Have defined home_pos for each and must return to their spot (phanto...Sven Gothel2022-03-301-0/+1
* ghost_t: Use random_engine_t<> and its random_engine_mode_t::PUCKMAN operatio...Sven Gothel2022-03-301-0/+21
* Show ghost score for 900ms using ttf font, freezing tick and keep freezing_bo...Sven Gothel2022-03-291-8/+13
* maze_t: Add tunnel + red_zone and respect in ghost_t impl; Read globals via f...Sven Gothel2022-03-291-0/+2
* Reorder game_level_spec_t for manual reviewSven Gothel2022-03-281-5/+5
* Incorperate ghost_wave_t scatter/chase duration in game_level_spec_t; Use std...Sven Gothel2022-03-281-2/+14
* Add ghost_t::atex_scared_flash and use it if time_left is below flash_count *...Sven Gothel2022-03-281-0/+2
* Add 'Level Specification' table from 'The Pac-Man Dossier', defining all leve...Sven Gothel2022-03-281-9/+30
* ghost_t: Use global mode for group/wave SCATTER, CHASE or SCARED switches (fi...Sven Gothel2022-03-281-20/+26
* Refine global logging commandline switchesSven Gothel2022-03-281-8/+0
* ghost_t: Add random direction_t in SCARED modeSven Gothel2022-03-281-0/+2
* Level starts at 1; Complete to_string(tile_t tile); ORANGE -> PEACH; Add leve...Sven Gothel2022-03-281-1/+3
* Initial implementation of 'Home Sweet Home', i.e. the ghost's local and globa...Sven Gothel2022-03-271-0/+13
* Introduce mode_t::LEVEL_START and global level counterSven Gothel2022-03-271-2/+7
* Fix proper ghosts order (in enum order)Sven Gothel2022-03-271-4/+4
* Fix pacman/ghost HOME and LEAVE_HOME transitionSven Gothel2022-03-271-5/+5
* Bring back workaround next_empty_field_frame_cntr for empty field check as en...Sven Gothel2022-03-271-2/+1
* pacman_t::tick(): Operate on entered_tile for 'tile action', remove workaroun...Sven Gothel2022-03-271-1/+1
* Fix and move [keyframei_t->acoord_t]::field_entered(), adding acoord_t::stats...Sven Gothel2022-03-271-0/+1
* keyframei_t: Chose nearset frames_per_field per default and always the fastes...Sven Gothel2022-03-261-3/+3
* Orig puck-man speed is 11 fields_per_sec for 100%Sven Gothel2022-03-261-2/+2
* Complete countdown_t and use it for pacman_t and ghost_tSven Gothel2022-03-241-6/+4
* Cleanup: Use noexcept, constexpr; Remove 'get_'<what>() prefix from 'getter' ...Sven Gothel2022-03-231-59/+57
* pacman: Remove auto_dir, place perf statistic reset ops into reset_stats()Sven Gothel2022-03-211-7/+6
* ghost/pacman: Use keyframei_t::get_sync_frame_count() for perfect speed sync,...Sven Gothel2022-03-211-5/+6
* Fix ghost_t::set_next_dir(..) safeguard: Proceed if had collision (new) or if...Sven Gothel2022-03-201-1/+1
* ghost: Add 'next_field_frame_cntr' to safeguard potentially failing `pos.is_c...Sven Gothel2022-03-201-1/+2
* Fix press 'R' to restart: Pacman HOME -> set_dir and fetch atex; Remove unuse...Sven Gothel2022-03-201-2/+2
* Impl actual player's speed/keyframe sync by tick skipping each n frame, valid...Sven Gothel2022-03-201-2/+8
* Adding keyframei_t, player speed change, fix moving, adding debug gfx, ...Sven Gothel2022-03-201-6/+14
* ghost_t rename get_personal_target() -> set_next_target() for clarification (...Sven Gothel2022-03-181-3/+2
* Add collisiontest_simple_t, since mostly used; Pacman fix audio munch stop(),...Sven Gothel2022-03-181-0/+1
* Add Inky's target positionSven Gothel2022-03-181-5/+8
* Add audio_sample_t (using SDL_mixer) for game sound; Add 'proper' game_mode_t...Sven Gothel2022-03-181-2/+0
* Initial commit with working status and prelim ghost algorithmv0.0.1Sven Gothel2022-03-171-0/+312