Commit Graph

97 Commits

Author SHA1 Message Date
0a74ebc81b merged with paul, work in progress 2024-07-13 16:18:45 -04:00
cd388b1531 merged paul 2024-07-13 16:14:31 -04:00
5f3565fa86 work in progress, can be branched/merged 2024-07-13 16:13:20 -04:00
8fad4d262f work in progress 2024-07-13 16:12:09 -04:00
db354d232a Merge branch 'paul' into AL/races-potions 2024-07-13 16:04:17 -04:00
ccf6dd0582 corrected colors 2024-07-13 15:43:21 -04:00
3ae82841f4 removed room.* (unused) 2024-07-13 14:22:06 -04:00
9fdbf141d3 TODO: modify other races constructors
did some reworking
2024-07-13 14:02:30 -04:00
f2d2f6f72d changes to characters and potions, work in progress 2024-07-13 00:59:52 -04:00
afc2b9fa12 finished random map generation 2024-07-12 22:43:06 -04:00
606429a6ed finished random room generation 2024-07-12 20:11:56 -04:00
f5daea0b18 unfinished work on random map gen 2024-07-12 17:10:16 -04:00
50f058e7ea format 2024-07-12 16:41:42 -04:00
e7865b0c57 - 0 2024-07-12 16:41:25 -04:00
de22f4c1aa -impl all potions, and race: drow 2024-07-12 14:42:20 -04:00
83b05b0f89 Unfinished: rand map gen 2024-07-12 12:07:38 -04:00
922b88a4a2 removed some unnecessary comments 2024-07-12 10:00:48 -04:00
c9e96b5e6e changed unique_ptr access to using raw pointers to denote non-ownership
added new flag -e for extra stuff (potions/races)
IMPORTANT: main.cc is undergoing rework
2024-07-12 09:58:30 -04:00
b3300b8e7c WORK IN PROGRESS
TODO: implement random level generation
moved exclude from list to position.h
distinguished level and map
2024-07-12 00:16:08 -04:00
c68330b3e3 changed all non-owned unique_ptr access to reference to the object itself 2024-07-11 22:15:15 -04:00
6d3e8229df changed all unique_ptr that doesn't have ownership to a const reference 2024-07-11 21:57:13 -04:00
60f775b640 removed layer and objects design
fixed bug in restore_health
2024-07-11 21:50:10 -04:00
0312986dce added potion and restore_health 2024-07-11 21:32:23 -04:00
ae5cd1e0c6 added fractions and RNG::trial 2024-07-11 17:28:04 -04:00
6e822ba60a Merge branch 'paul' of peisongxiao.com:~/cs246/a5 into paul 2024-07-11 17:02:13 -04:00
3d55df5f79 added astyle to tools 2024-07-11 13:16:48 -04:00
c5f8bd7845 moved shade into a seperate file 2024-07-11 13:06:05 -04:00
3be70e1212 merged AL-races 2024-07-11 12:32:12 -04:00
2c4d0070da ready to merge some races 2024-07-11 12:29:44 -04:00
6f0573dff8 started working on map and potions 2024-07-09 23:27:49 -04:00
9c582805a4 - arg: seed 2024-07-09 22:05:20 -04:00
68065c0ff2 - handle seed in args 2024-07-09 21:56:05 -04:00
6f998d8523 changed naming scheme 2024-07-07 20:10:31 -04:00
d85f375fbe fixed ncurses output attributes 2024-07-07 20:08:13 -04:00
3d7484351f added new line to file/console_output::render 2024-07-06 22:00:34 -04:00
84bc342eff fixed issue with persistent formatting 2024-07-06 21:40:05 -04:00
c8b8597e39 fixed issue with color in console_output::get_code 2024-07-06 21:31:40 -04:00
4300ae614c try fix for console_output::get_code 2024-07-06 21:04:03 -04:00
1fbd22c101 fixed: issue with file/console output 2024-07-06 20:39:04 -04:00
a4c5220019 added clear screen to console_output::render 2024-07-06 20:00:22 -04:00
f252ffc59b made copies of Makefile so that you can also use it in both bin and src 2024-07-06 02:03:52 -04:00
255a49111d minor adjustments to Makefile 2024-07-06 01:59:20 -04:00
eb773405a6 added: cmdline args handling 2024-07-06 01:39:39 -04:00
116d068765 adapted Makefile to ncurses 2024-07-05 22:15:54 -04:00
4769e3618b fixed issue with input.h 2024-07-05 22:13:29 -04:00
36c53f22d7 added display and its subclasses 2024-07-05 21:57:27 -04:00
9495f11c16 fixed issue panic in console/file input 2024-07-05 21:28:45 -04:00
d6503579c4 fixed issue for file/console input u and a 2024-07-05 21:18:50 -04:00
713743b698 fixed issue with a and u commands 2024-07-05 20:55:48 -04:00
b792b0a8e7 fixed: all ready for input-testing 2024-07-05 19:31:09 -04:00