Forum Replies Created
-
AuthorPosts
-
Weird. Not everyone has to change the clocks so I can see that being very problematic
I’m kind of surprised that no one has fixed that with an OBSE plugin yet. There are plugins that fix most of the other quirks!
Got Minecraft reinstalled. Took me a few worlds to get the hang of it again but I now have basic shelter in a cave. Going to need to move for more permanent lodging as it’s pretty mountainous so I don’t have the flat land I need for development. 🙂
Certainly! Can definitely have some fun with it. Feel free to get the discussion going! Been a bit focused on other things the last few days but can definitely reply and add thoughts 🙂 Or I can get it going once things settle down some in a couple of days. Either way is fine by me 🙂
All good here. CloudFlare does sometimes block me from random sites, while others it gets caught in loops and won’t let me in even though it doesn’t block me. To be fair, it used to be much worse in their earlier days.
Good selection there! It’s also incredibly useful for all sorts of things. You can use it to make sieves, plug up fencing, and more!
Been considering reinstalling Minecraft on the new system to add variety. Been drawn to building games lately. Been bouncing around OpenTTD and Manor Lords a lot the past week or so. Right now, I’m building a passenger focused network in OpenTTD, forgoing pretty much everything else. But I haven’t played Minecraft in five years since I accidentally shorted the old system out while cleaning it so it’s probably past time 🙂
Great! Glad to hear that the heads are still compatible. Cuisinart does the same with their food processors: parts from fifty years ago often still work on the current models. Really like it when companies keep the standard instead of inventing a new one every few years like they do in the computer industry. 🙂
I use a Roomba but do have a vertical for emergencies. I’ve only ever used it a few times but you never know when you’ll need to suck up a spill 🙂
Still haven’t gotten around to reaching out to the folks about the turntable. Really been too busy with other stuff but I’ll get there!
Still working on Common. I’ve got five more files left in Common to go through before I can fix the operator overloads and then I can move to the main code. Going slow now as I don’t seem to have the stamina I did ten years ago but it’s still going!
The trick I use for oregano is to plant it in a baby pool after punching holes in the bottom. It works like a charm! Granted, it still gets too cold in the winter even for herbs here so spring replanting is always a must if they’re outside 🙂
It’s doing well but the neighbors have started messing with the new ground cover, which is why it had to be planted in the first place. 🙁
We did our planting the other day. Not too much concern about wildlife here messing with them but I do need to haul them gallons of water to them every other day 😛
That’s one of the ones I can’t get, sadly. Part of the franchise is only on HBO Max, part of it is available free, while the rest simply isn’t available. 🙁
Did try Get a Clue yesterday but it focuses too much on slapstick comedy and does away with the entire premise so I stopped watching after a single episode and after a look through the summaries of the next few episodes. The art style was weird, as well.
Did watch The Looney Tunes Show. Not sure how I feel about it yet but it’s sort of in the style of The Odd Couple with a few modern shorts mixed in for short “breaks”. Will watch another few episodes before I make a decision.
Saw Abraxas yesterday and that was fun. Just your typical 80’s action flick made in 91. More like a Terminator rip-off than anything 😛
It would have been fine if they had just ended it before the last chapter. It was already implied that the main story was over and the conflict resolved. At least until a couple pages in to the final chapter.
A lot of my thinking of Walrus was actually inspired by Vault-Tec but without Vault-Tec’s other issues…. 😛
Yeah, Google has been getting bad about preservation lately, which is a bit depressing. I still wish I could redownload my Google Reader archive from years ago as I lost it in one of the computer shuffles. 🙁
Yeah, only about half of the franchise seems to be available. All of it used to be shown as reruns on broadcast TV but broadcast TV hasn’t shown them in two decades 🙁
What’s new is also highly self-referential: they make jokes about the cliches all the time. It also confirmed that Pup is canon and takes place in the mainline franchise and even brought Roadrunner and Coyote into the universe. By extension, Bugs Bunny now exists in the Scooby Doo universe as he filled in for Roadrunner once.
The Day After Tomorrow has similar absurdities. Granted, I haven’t seen it yet.
The Alpha Test had a good concept but the implementation wasn’t at all good. Can likely be skipped and why I don’t generally watch newer films. It didn’t have any campyness to make it enjoyable to me and the acting was terrible.
What’s New Scooby Doo does a good job of expanding the characters’ personalities and even does more to establish the Fred and Daphne relationship. Do wish I could get the whole franchise but only bits and pieces are available. 🙁
Never have been a bit fan of disaster films, Gilligan’s Island was always preferred. Granted, I will watch some of them when we’ve got a bad storm or something on the way just for giggles 😛
Yep. Generally, macro functions are used sparingly in code as they’re harder to read and find information on than stuff in the standard but Common appears to use macros extensively. Not sure if it’ll be the same in the main code. Should be able to start looking at the main code either next week or the following. I’ve got about ten more files that need their whitespace adjusted in Common and then I’ll move on. 🙂
Oh, that’s no issue at all. C++, unlike other languages, is very flexible when it comes to style. You can even have all of the code on one line if you want or even split things across several lines. The biggest thing is to make sure you use the delimiters appropriately, either in your macros (so they’re properly expanded during the pre-processing stage) or your blocks/lines. Other than that, the sky is pretty much the limit 🙂
That’s part of what I love about it: I can adjust things to each situation for maximal readability 🙂
Getting close to being done looking through and adjusting the whitespace of the Common library as we’re now calling it after looking it over with some of the OpenMW folks. Once done with this task, I probably won’t focus too much on it as the growing consensus seems to be to remove as much of its use as possible from the main code. Once that’s done, what’s left may be brought in as self-contained code split up from Common as I’m really not liking what I’m seeing with Common.
The end bracket is supposedly inserted by the final function macro.
Here’s the definition in dl_base.h:#if defined(__MSDOS__) #define SYS_MSDOS(Cmd) Cmd #define SYS_WIN32(Cmd) #define SYS_UNIX(Cmd) #define SYS_NONE(Cmd) #elif defined(_WIN32) #define SYS_MSDOS(Cmd) #define SYS_WIN32(Cmd) Cmd #define SYS_UNIX(Cmd) #define SYS_NONE(Cmd) #else #define SYS_MSDOS(Cmd) #define SYS_WIN32(Cmd) #define SYS_UNIX(Cmd) #define SYS_NONE(Cmd) Cmd #endifIt is only ever used in tasktime and nowhere else. Can’t figure out how it works. In tasktime, it’s only used to pass regular code but never does anything else. Don’t see where it interacts with the system at all :/
Yeah, it’s doing all three of the function definitions. 😛
Thanks! Will plan on purging all instances of DEFINE_FUNCTION. 🙂
A lot of the code was set up using an old, old version of the VS class builder tool. Maybe some of this weirdness can be attributed to that?
Picked up the ground cover: https://en.wikipedia.org/wiki/Phyla_%28genus%29 🙂
Not sure of the specific species, though. Couldn’t get enough mimosa locally so I went with frog fruit instead.
Another oddity that’ll need investigation:
SYS_WIN32(m_TimerID = timeSetEvent(55, 22, l_Win32TimerProc, 0, TIME_PERIODIC)); SYS_WIN32(if (m_TimerID == 0) { ) SYS_WIN32( ErrorHandler.AddError(ERR_BADINPUT, "Failed to initialize the timer using SetTimer()!") ); SYS_WIN32( return (FALSE) ); SYS_WIN32( } )I have no idea how that’s supposed to work. The macro function’s ) is before the closing brace while the final macro function sets the closing brace. Not sure why it even uses a macro function, to be honest. For that matter, I’m not even sure what this file is for. It’s tasktime.cpp/tasktime.h. From the code, it sounds like it may be a re-implmentation of some Windows system stuff for handling processes but I don’t know why MWEdit would need such code. It’s a file editor, not a low-level program. There’s a good chance it’ll be slated for removal.
I’m a little nervous about touching it right now with how weird it’s set up: I don’t want to break anything.
There’s also custom code for running it in a console in Common/conapp.cpp even though it’s a GUI application. It’s starting to look like the Common directory was just a holding space for custom code for a variety of projects even if it didn’t necessarily pertain to the program.
I’m also seeing a lot of stuff like this:
DEFINE_FUNCTION("CreateBlockInfo(void*, size_t, char*)");
Just about every function has a similar line as the first line in the block where DEFINE_FUNCTION just repeats the function line. In some cases, it’s commented out. I’m assuming this is an old legacy artifact that can be safely removed?Started reading Rubicon yesterday and imagine my surprise when it was dedicated to a Warcraft III character 😛
Do you mean this one? Possibly if it’s a drop-in replacement
Haven’t gotten to the windowing code yet but, as I recall, DOS and Windows had totally different ways of handling that so they’d likely be incompatible. Removing it won’t change the binary at all but will reduce code cruft.
Sorry, meant prefixed. Will definitely need to get the standard library stuff prefixed with
std::to help make it clear where everything is coming from. The code uses an odd mixture of C89 and C++98 but that may be due to VS being behind the times. I know it had severe limitations compared to competitors at the time, which is why we were instructed to use Dev C++ (also behind but still ahead of VS) in class. Personally, I just used GCC and got yelled at by one instructor. The others were fine with it 😛Taking a bit of a break today. Adjusting whitespace for days gets very tedious 😛
Just realized I accidentally changed the formatting for the overloaded operators. They should still work but the style no longer matches common practices. These are mostly in classes that are reimplementations of features in the Standard Library so they may be getting removed during the overhaul but I still need to correct my boo-boo
Unrelated question but is Microsoft namespacing their APIs yet? That would help make the code a lot clearer if they are. Converting the code to use the std namespace is very much on my list. It will greatly help with readability, compatibility, and portability.
This isn’t exactly a note but more something interesting that I just found. Some of the files have conditional includes that check for DOS or regular Windows, even though DOS was mostly phased out in the mid-90s for the consumer (still used for kiosks at the time and since has been mostly superseded by kiosk mode)
#if defined(__MSDOS__) #include "dos.h" #include "dir.h" #include "time.h" #include "io.h" #elif defined(_WIN32) #include "io.h" #endif #if defined(_WIN32) && defined(__BORLANDC__) #include <windows.h> #include <time.h> #endifWe should be able to remove the DOS support without issue. It’s also interesting that Borland has some stuff in there even though the majority of the code was written to require Visual Studio and used its code generating functions. It does make me wonder: would Borland also compile the project? Not too familiar with it but it’s possible it has similar code generating.
We may need to sign up for Analytics and/or Search Console. I think the latter is what we would want for that but Google has a ton of tools. There is also a WordPress plugin that helps to integrate with them if we go that route.
-
AuthorPosts
