aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Expand)AuthorAgeFilesLines
* Add snapshot and recording of bmp files per frame w/ conversion script to videoSven Gothel2022-03-302-7/+41
* ghost_t::get_tex(): Scared texture in global SCARED mode only for at_home() -...Sven Gothel2022-03-301-1/+1
* Add cmdline '-pixqual <int>'Sven Gothel2022-03-301-5/+10
* Freeze pacman only for 3 frames after eating power pelletSven Gothel2022-03-301-0/+5
* ghost_t: Have defined home_pos for each and must return to their spot (phanto...Sven Gothel2022-03-301-27/+28
* Adjust debug gfx colors for tunnel and red-zones, less shiny and differenciat...Sven Gothel2022-03-301-4/+4
* ghost_t: Use random_engine_t<> and its random_engine_mode_t::PUCKMAN operatio...Sven Gothel2022-03-301-3/+21
* ghost_t::set_next_dir(): not_up red-zone test not to be performed in_house()Sven Gothel2022-03-291-2/+2
* Fix ghost_t::set_next_dir(): full one step to measure distance for SCARED ran...Sven Gothel2022-03-291-7/+7
* Cleanup redundant set_next_target() calls in ghost_t::set_mode()Sven Gothel2022-03-291-3/+0
* Use tile coord (int) squared distance for ghost_t::set_next_dir()Sven Gothel2022-03-292-4/+16
* Fix scatter target tiles and include them in show_debug_gfx()Sven Gothel2022-03-293-16/+23
* Access global ghost_t instances via functionsSven Gothel2022-03-293-27/+41
* Show ghost score for 900ms using ttf font, freezing tick and keep freezing_bo...Sven Gothel2022-03-294-131/+182
* Fix tick PHANTOM -> LEAVE_HOME: test ghost_home_int box; Use intersection_i()...Sven Gothel2022-03-292-4/+13
* Fix ghost_t::set_next_dir(): full step to measure distance, higher inversion ...Sven Gothel2022-03-292-62/+59
* maze_t: Add tunnel + red_zone and respect in ghost_t impl; Read globals via f...Sven Gothel2022-03-295-129/+203
* acoord_t: Add float ctor, distance_manhatten() and toIntShort()Sven Gothel2022-03-291-0/+17
* ghost_t: ghost prefers directions in this order: up, left, down, rightSven Gothel2022-03-281-27/+63
* Reorder game_level_spec_t for manual reviewSven Gothel2022-03-281-31/+37
* Incorperate ghost_wave_t scatter/chase duration in game_level_spec_t; Use std...Sven Gothel2022-03-282-39/+37
* Add ghost_t::atex_scared_flash and use it if time_left is below flash_count *...Sven Gothel2022-03-281-2/+6
* Add '-level <int>' command line arg; Move command line usage and variable dum...Sven Gothel2022-03-281-13/+19
* Fix LEVEL_SPEC_COUNT type: bool -> int (typo)Sven Gothel2022-03-281-3/+3
* Add 'Level Specification' table from 'The Pac-Man Dossier', defining all leve...Sven Gothel2022-03-283-31/+78
* ghost_t: Use global mode for group/wave SCATTER, CHASE or SCARED switches (fi...Sven Gothel2022-03-283-123/+251
* Refine global logging commandline switchesSven Gothel2022-03-283-32/+51
* game.cpp: Add game_mode_t::NEXT_LEVEL; Draw bottom line (levels + lives)Sven Gothel2022-03-281-15/+56
* ghost_t: Add random direction_t in SCARED modeSven Gothel2022-03-281-74/+108
* Level starts at 1; Complete to_string(tile_t tile); ORANGE -> PEACH; Add leve...Sven Gothel2022-03-282-5/+31
* Add CLYDE's targetSven Gothel2022-03-271-9/+8
* ghost.cpp: Reorder methods per functionality for reviewSven Gothel2022-03-271-209/+224
* Initial implementation of 'Home Sweet Home', i.e. the ghost's local and globa...Sven Gothel2022-03-272-2/+137
* Introduce mode_t::LEVEL_START and global level counterSven Gothel2022-03-273-25/+48
* Fix proper ghosts order (in enum order)Sven Gothel2022-03-272-20/+21
* I can't help it, but 100% speed feels more similar to original @ 10 fields pe...Sven Gothel2022-03-271-1/+1
* Fix pacman/ghost HOME and LEAVE_HOME transitionSven Gothel2022-03-273-29/+29
* ghosts_t: Fix SCATTER targetSven Gothel2022-03-271-5/+4
* Bring back workaround next_empty_field_frame_cntr for empty field check as en...Sven Gothel2022-03-272-8/+8
* pacman_t: Set aligned start position, read from float position (center betwee...Sven Gothel2022-03-272-13/+36
* pacman_t::tick(): Operate on entered_tile for 'tile action', remove workaroun...Sven Gothel2022-03-271-9/+6
* Use acoord_t::set_aligned_dir() after set_speed()'s keyframei_t::reset() to o...Sven Gothel2022-03-273-2/+27
* Fix and move [keyframei_t->acoord_t]::field_entered(), adding acoord_t::stats...Sven Gothel2022-03-273-60/+73
* Remove redundant keyframei_t::is_center_dir()Sven Gothel2022-03-264-30/+10
* keyframei_t: Chose nearset frames_per_field per default and always the fastes...Sven Gothel2022-03-264-73/+68
* Orig puck-man speed is 11 fields_per_sec for 100%Sven Gothel2022-03-261-1/+1
* Complete countdown_t and use it for pacman_t and ghost_tSven Gothel2022-03-243-37/+40
* Cleanup: Use noexcept, constexpr; Remove 'get_'<what>() prefix from 'getter' ...Sven Gothel2022-03-236-505/+505
* Move reusable generic code to utils.*: math, direction_t, keyframei_t and box_tSven Gothel2022-03-222-204/+204
* Fix SDL keyinput SDL_KEYUP async issue: Only release set_dir if KEYUP matches...Sven Gothel2022-03-211-7/+34