41 Commits

Author SHA1 Message Date
fusion32
d2eb32efe2 impl some spells and create info.cc 2025-06-02 18:21:54 -03:00
fusion32
3f85ce3cfb use Actor instead of Creature with spell functions 2025-06-02 12:16:51 -03:00
fusion32
189d40706f more work on spell primitives 2025-06-01 22:56:01 -03:00
fusion32
9c74d16896 impl TImpact structs 2025-06-01 13:05:16 -03:00
fusion32
8b118611b6 add a small Go script to generate the Makefile 2025-06-01 10:26:28 -03:00
fusion32
9b49eec185 magic init functions 2025-06-01 01:56:31 -03:00
fusion32
da5672b1e9 changed swap file numbers in map.cc to uintptr
We know swap file numbers are limited to the [1, 99999999] range
which fits a uint32, but using anything but uintptr requires us to
do extra casts to avoid compiler warnings so we only convert back
to uint32 when building the swap file name which should work the
same.
2025-05-31 22:58:43 -03:00
fusion32
c4b06256d9 impl TCreature::Damage + overall improvements 2025-05-31 22:20:44 -03:00
fusion32
d7c11b2716 done with crcombat.cc 2025-05-31 02:25:31 -03:00
fusion32
08780dad53 more work on crcombat.cc 2025-05-30 20:12:36 -03:00
fusion32
dff5e62f6e initial work on crcombat.cc 2025-05-30 10:32:29 -03:00
fusion32
f6c8c67094 finish strings.cc impl 2025-05-29 22:52:10 -03:00
fusion32
e5b60ae075 impl strings.cc 2025-05-29 00:14:32 -03:00
fusion32
565d28e480 rename/create some files
The most annoying thing with C++ classes being in their "own" header
file is that it makes it easy to create cyclic dependencies. We might
end up merging all creature related header files into the original
`cr.hh` that shows up in the original's debug information.
2025-05-28 18:51:06 -03:00
fusion32
02d243c531 impl all remaining containers 2025-05-28 02:56:59 -03:00
fusion32
5505f28c35 finish objects.cc 2025-05-28 00:39:29 -03:00
fusion32
4295920791 impl RefreshSector and PatchSector (WTF) 2025-05-27 02:22:21 -03:00
fusion32
ad1f181454 impl Cron and most map.cc functions 2025-05-26 17:53:28 -03:00
fusion32
fbb392953c more object functions 2025-05-26 01:44:13 -03:00
fusion32
c2f41059c7 impl a couple more util.cc functions 2025-05-25 22:59:27 -03:00
fusion32
ad8213f355 linux Makefile + fix most compilation problems
I wanted to see if the compiler had any problems with the code
so far and added a few stub definitions so that each file would
properly compile. We still fail when linking but we're able to to
find and fix compile time errors.
2025-05-25 22:37:57 -03:00
fusion32
5f883a8017 move string utility to util.cc + small script identifier fix 2025-05-25 00:25:01 -03:00
fusion32
3f557369c7 halfway of map.cc and start of objects.cc 2025-05-24 20:57:24 -03:00
fusion32
b7432b4e74 implement SaveFile 2025-05-22 23:17:54 -03:00
fusion32
4e41f79a50 implement TWriteStream, T(Dynamic)WriteBuffer, and TWriteBinaryFile 2025-05-22 19:03:45 -03:00
fusion32
c595a2c293 implement TReadStream, TReadBuffer, and TReadBinaryFile 2025-05-22 17:09:26 -03:00
fusion32
74f12f3f2b rename main.hh to common.hh 2025-05-22 14:52:20 -03:00
fusion32
3edeaf1f52 implement threading API 2025-05-22 14:44:31 -03:00
fusion32
297e8450d8 implement TWriteScriptFile 2025-05-22 11:40:04 -03:00
fusion32
de848a4131 implement script lexer 2025-05-22 09:59:14 -03:00
fusion32
91d7adad32 implement config.cc 2025-05-20 19:31:35 -03:00
fusion32
42be37f4ad implement main.cc, shm.cc, and time.cc + overall tweeks 2025-05-20 16:41:03 -03:00
fusion32
7fe30185df implement matrix and move containers into their own directory 2025-05-18 18:54:23 -03:00
fusion32
1378f2c7dd remove code from reference files to get an idea of the progress 2025-05-18 18:03:45 -03:00
fusion32
d28c1d4e81 implement priority_queue 2025-05-18 16:13:33 -03:00
fusion32
9b1af981f8 implement vector 2025-05-18 14:28:29 -03:00
fusion32
dc2aa9a98c move skill related structs and functions into their own file 2025-05-18 11:34:28 -03:00
fusion32
d958236526 finish TSkill variants 2025-05-18 11:28:39 -03:00
fusion32
17c2162362 TSkillBase 2025-05-17 17:42:55 -03:00
fusion32
8ef2e0070d TSkillProbe + some structs 2025-05-17 15:21:37 -03:00
fusion32
717f5cd9da initial commit - getting at TSkill structs 2025-05-16 18:46:18 -03:00