215 Commits

Author SHA1 Message Date
93f68e3969 bug: enemie movement sometimes deref nullptr when calling get_pos()
fixed level gen
2024-07-15 00:23:12 -04:00
6768d73d16 full implementation!
bug: level generation will generate nullptrs
2024-07-15 00:09:14 -04:00
c3b974c83c removed .orig files (astyle backups) 2024-07-14 21:38:45 -04:00
af8bc4112c finished the bulk of game 2024-07-14 21:32:41 -04:00
b3475b7530 merged DT/add-troll-char 2024-07-14 10:52:47 -04:00
dc56b73809 merged AL-races 2024-07-14 09:26:17 -04:00
a521c860df added troll class, cleaned up shade, vampire, and goblin classes 2024-07-14 02:03:20 -04:00
b183fcec7f moved uml.md to docs/archive/ 2024-07-14 01:27:57 -04:00
82762e8701 moved old uml.md to archive folder 2024-07-14 01:16:51 -04:00
f0aa564e08 HALTED: major overhaul for character 2024-07-13 22:05:17 -04:00
ca3481028e astylerc automated formatting 2024-07-13 19:24:54 -04:00
39d3447593 work in progress 2024-07-13 18:22:15 -04:00
8da12f5360 New attack function for single character in characters.h, need implementation (example in shade.h) 2024-07-13 17:13:10 -04:00
df9e2d31df merged with potion ideas 2024-07-13 16:28:19 -04:00
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
1e0d141b8a finished potion ideas doc 2024-07-12 17:48:44 -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
8b663bcd4f updated gitignore to hide astylerc 2024-07-12 16:35:52 -04:00
2480fed080 automated formatting 2024-07-12 16:32:38 -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
7752933594 added astyle to tools 2024-07-11 13:17:24 -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