Spastic Hamburger

Forum Replies Created

Viewing 20 posts – 421 through 440 (of 1,246 total)
  • Author
    Posts
  • in reply to: Mobile: Chrome: “No Internet” #3709

    On a slow connection, it’s supposed to passively download the site for offline viewing and update the contents as the connection is re-established. However, in my experience, it’s hit or miss. When my connection is acting up, sometimes it downloads the content but not the styles or images while 75% of the time you get to play with T-Rex. Highly recommended, by the way. He’s a blast!

    https://en.wikipedia.org/wiki/Dinosaur_Game has a lot of information 🙂

    in reply to: Films & TV Shows #3699

    The final season does move away from much of the lore into more standalone sketches but still fun 🙂

    Caught up on the Scooby Doo Show, only ever saw half of the episodes. It does a wonderful job expanding on the existing lore. One of the best moments was when Fred randomly told Shaggy to use plan 47 and Shaggy sits in thin air digging through a book trying to figure out what Fred was talking about. It shows how Fred doesn’t keep everyone in the loop, which was hinted at in Where are you but never explored as the first incarnation was pretty much just monster of the week without too much depth. Yes, I’m in the mood to hyper analyze cartoons these days 😛

    Huh, could be due to the rights holder aggressively defending the property. Nintendo does something similar. I’ll try to set a time to watch the show soon! 🙂

    Been watching some of my favorite genre lately: 1950’s sci-fi! First up was Them! followed by Earth vs the Flying Saucers.

    Also saw this gem. Very much a B-movie but they definitely had fun doing it. The jokes were a riot and made fun of a lot of the films in the genre.

    in reply to: MWEdit #3698

    Looks like Astyle missed the spacing around the parentheses for function parameters as well in addition to the pointer operands (I wonder if Uncrustify would have worked any better, didn’t think of it at the time) so I’m working on that now. This will take a bit as I need to go through each file and adjust things manually but we’ll get there! 🙂

    Another item on the cleanup list is to clean up the returns. The return command is used inconsistently. Sometimes we see things like this:
    return (true);
    While other times we see this:
    return true;
    In some cases, the parentheses can be removed but will need to be done on a case-by-case basis to prevent the order of operations from getting messed up and giving us improper values. I’ll do that in a separate commit down the road. Side note: really wish we had syntax highlighting for the code tags. May look for a plugin for that at some point

    There’s a mixture of boolean variable types from throughout the standard’s history: BOOL, boolean, and the current bool. bool is the current form and everything should probably be brought up to date to ensure the code will work across many different compilers and continue to work unless the variable is ever changed again in the future. Will add it to the list of things to do. I’m thinking of saving much of the overhaul until after the cpplint and cppcheck tasks are done as they’ll help with the initial pass and should help keep it from getting too overwhelming 🙂

    in reply to: Random #3688

    In post apocalyptic lore, the bunkers are often placed near the coastlines. See the Fallout universe, Silo, and The Walking Dead as US examples (not too familiar with the genre in other locales). This is problematic due in large part to the water table and soft ground (as was featured heavily in Silo: the bunkers kept flooding). My research has shown that Colorado would be uniquely positioned as the prime location for the bunkers. Stephen King in fact had his characters in The Stand migrate there. Why Colorado? It has a very low water table (about 500 feet on average), decreasing the chance of flooding. In contrast, Wyoming has a water table twice as high. It has good, solid rock to dig in to help the structures stand the test of time. The mountains, additionally, allow for you to transmit a long distance (but not receive) on account of being over two miles high in some locations. It also has geothermal energy reserves as evidenced by its hot springs. One issue would be water filtration on account of the mineral deposits so strong purification would need to be used.

    In theory, the mountains would also be of benefit to solar cells but those degrade and would be harder to replace. However, the reflection of light off of the snow would help them work more efficiently.

    in reply to: MWEdit #3685

    Okay, stripped the extraneous characters and updated the repo. Geany’s function to strip trailing spaces apparently works on invisible control characters as well. Ran it on all of the documentation files. 🙂

    Looking at the to-do list now, the items on it are pretty vague. Maybe we should wait on adding those items to the tracker until we understand them better?

    If the docs are now pretty satisfactory, I’ll update the OpenMW thread 🙂

    Edit:

    More information regarding the image library stuff: DevIL is cross-platform but MWEdit is written to use the DLLs. In all of my experiments with DLLs, I never was able to figure them out. This could be fixed in a few ways, with the simplest being a static build as mentioned earlier. Another option would be to wrap the DLL code in a conditional compilation block for the Windows platform. The IL code is in the folder of the same name. Personally, I prefer the static option as it means we won’t need to deal with figuring out how to properly ship and use a bunch of different DLLs. Would make it more difficult to update the libraries since we’d need to ship out a new build each time but Windows doesn’t have a central repository for libraries like other systems

    in reply to: Random #3681

    Ooh, the list of fun holidays is just the thing!

    Metal horse here! Do find it interesting that Wiki doesn’t provide some details regarding the personality traits like they do on the place mats in Chinese restaurants.

    Those are neat! Do miss Think Geek. They used to sell this sort of funky stuff.

    Really like the pumpkin! Could be improved by using a real pumpkin 😛

    We’re going to be getting fiber Internet in my area soon. Probably will switch when it’s available as it’ll be the same price as I’m paying now but will get a much better connection. They’re currently across the street and the neighborhood just got the letter a couple of weeks ago so it won’t be long now!

    in reply to: MWEdit #3675

    Okay, got the Features.txt file cleaned up 🙂

    There’s also a to-do list in the docs folder that we’ll want to look through. Some of the items may be worth adding to the bug tracker

    Somehow, some stray invisible characters wound up wandering in to the features file. Will try to take care of them. Not sure how to check if they exist in other files but they need to be banished if we can figure out how to track them all down.

    Edit:

    May need to use a hex viewer to track them down

    in reply to: MWEdit #3666

    Okay, got the Readme updated with additional content about the goals and a little bit about its history 🙂

    It will need additional updates regarding the build process as we test and update the code. It still mentions VS 6 but since it hasn’t been fully tested yet on other versions, it’s still accurate.

    Also cleaned up the formatting for a couple of issues I missed.

    in reply to: MWEdit #3660

    Yeah, not too sure of the UI stuff. rfuzzo just said there were some weird glitches that were probably related to MFC but, yeah, everything definitely needs fleshing out

    So my initial thinking was to set things up so the group code is separate from the individuals with having to pull the individual branches in with pull requests. Though, that may be overcomplicating things. I’m not sure. Handling branches for merging would be more complex by using the organization and would make merge conflicts more difficult to resolve but doing pull requests for every change for group members would get messy in a hurry and would stall progress since literally everything would need to be reviewed. However, it would make handling merge conflicts tidier and would allow for more discussion on changes before they’re brought in to the mainline branch. Yeah, there are definitely growing pains trying to move to working as a group. All the large projects I’ve worked on, I inherited the code base and wound up being the lone developer on. 😛

    in reply to: MWEdit #3657

    Currently working on copying the bug list from the text file over to the issue tracker. The current versions aren’t pretty but I’ll clean things up after the initial pass.

    Edit:

    Copied over the bug list. The bottom two sections seem to be notes on the base game so I’m not sure they’re relevant to MWEdit but may be relevant to OpenMW if they haven’t fixed them yet

    in reply to: MWEdit #3654

    Copied over the contents of the original readme into the one at the root of the repository. The formatting needs work but I don’t know Markdown yet so will need to do some reading 😛

    Also set up the tags for the important points in the commit history. 🙂

    Astyle didn’t catch all of the pointer symbols so I’ll need to correct them at some point line by line.

    in reply to: Software: On & Off the Web #3647

    Yep! Town sets are definitely something to download. The default town buildings and layouts leave a lot to be desired but there are a few that greatly improve things. The Total Town Replacement Set mostly swaps out the buildings for ones with greater variety while the UK Townset improves the layout and gives you pretty buildings.

    Lot of good information in there! You could also take a look at BFD. I know MinGW has a Windows port of the binutils package, which may be useful for investigation as well. 🙂

    Picked up Fallout 4 and Manor Lords the other day. Fallout 4 runs like a dream and Manor Lords is pretty good. Bit confusing at first but it’s still pretty early in development but definitely worth it!

    in reply to: MWEdit #3644

    Okay, the GitHub issue tracker has been enabled. Sorry about that everyone!

    And the new repo link: https://github.com/Walrus-Tech/MWEdit 🙂

    Edit:

    More notes! There’s a lot of stuff in here that’s been superseded by updates to the standard and a lot of stuff should be split up so that the source files are only including the stuff they actually need, improving readability

    Also, the Windows folder has a header/source pair with the wrong case that was never updated, likely due to the Windows file system not caring about case

    Oh, and the contents of the readme in the docs folder should probably be combined with the one in the root folder somehow. Not sure what’ll look best

    in reply to: MWEdit #3639

    Thread is now live: https://forum.openmw.org/viewtopic.php?t=8280

    🙂

    Edit:

    A bug list is included in the repo. I think it’s included in the docs folder but I can verify when I’m back on the computer. These, along with the new ones that have come about since, should probably be migrated to a proper issue tracker like GitHub’s to make discussion easier. On that note, I need to make sure the issue tracker is actually enabled in the group (which I need to link to in this thread…). It was disabled for rfuzzo’s and the fork on my page

    Drat, issues are disabled. Will fix that.

    in reply to: MWEdit #3638

    Okay, got the thread posted on the OpenMW forums. Just waiting for the moderators to approve it. I’ll post the link when it goes live 🙂

    in reply to: Random #3637

    I hate online shopping. I’m trying to find a lamp in the shape of the constant π and it’s not going well. First, I tried Google for “pi lamp”. Instead of lights, it gives me results for the LAMP stack on a Raspberry Pi. I do most, if not all, of my searches in a private browsing window to get out of the tailored results so this is just their algorithm being trash. I would have said “raspberry pi lamp stack” if I wanted the server software. Amazon wasn’t any better. It just gives me diodes and not even lamps and nothing even related to Pi! 🙁

    in reply to: MWEdit #3633

    Great! I’ll get it merged into the main branch and then I need to take care of a few repo things before moving on to the cpplint log. The cppcheck log is vaguer so I’ll start with the former to whittle it down 🙂

    Regarding the 100 character line length: I feel the old standard of 80 is archaic. It goes back to the days of 800×600 resolution monitors. These days (in fact, beginning around 2010 or so), there are much fewer of those around so it’s time to bump up the line length. Why 100? It also lets you shrink the window to look at other things such as documentation. It doesn’t need the window maximized to see it in full but still looks better on today’s better screens.

    in reply to: MWEdit #3628

    Working on running astyle on the project. It’s being a tad troublesome in that it also wants to edit binary files. For some reason, its built-in filters aren’t working (could be the version as I went ahead and built 3.6.7) so I’m going to need to set up some exclusion lists to pass to it. Otherwise, the run seems to have gone well. I’m doing all of this in a new branch in case things break 🙂

    Edit:

    Fixed it. Had to do individual runs for each folder in the root for the .cpp files and then the same thing for the .h files. Bit annoying having to run it twelve times but we won’t be running it much, if again. Anyways, here’s the commit log of the new branch if you want to check out the changes: https://github.com/deathssoul/MWEdit/commits/astyle/

    May need to do the resource file in the project folder, too. Will take a look at that later 🙂

    Edit 2:

    The repo could use some version tags. Will take care of that. At the bare minimum, Nimrod’s initial commit needs to be tagged as well as their final changes. The rest aren’t enough to warrant a version bump just yet

    in reply to: MWEdit #3625

    Just did an initial test run on a couple of files and Astyle 3.1 (from 2018 and what’s in the repos here) works pretty well but there will be some fine tuning after the runs from the looks of it.

    Here are the updated settings:

    #Attach braces
    style=attach
    attach-extern-c
    #Use tab for indentation and spaces for alignment
    indent=tab=4
    indent-switches
    indent-modifiers
    indent-preproc-block
    indent-preproc-define
    min-conditional-indent=0
    max-continuation-indent=60
    #Attach closing while of a loop to the closing brace
    attach-closing-while
    #Padding
    break-blocks
    pad-oper
    #pad-include
    pad-header
    align-pointer=name
    delete-empty-lines
    #squeeze-ws
    break-one-line-headers
    add-braces
    #remove-braces
    attach-return-type
    convert-tabs
    close-templates
    max-code-length=100

    Will do a full run soon. It definitely helps make the code easier to understand 🙂

    Unfortunately, 3.1 doesn’t support squeeze-ws so the extra white-space will need to be adjusted manually

    in reply to: MWEdit #3623

    I’m gearing up to run the entire project through astyle. I think I just finished configuring my local astyle settings file but I’ll take another look another day to see if anything else stands out. The style is pretty inconsistent so I figure that I’ll try running it through the styler this go around instead of doing it manually like I did with BOSS. While fun, it did take me a few months. 🙂

    Out of interest, this is what I’m going with:

    #Attach braces
    style-attach
    attach-extern-c
    #Use tab for indentation and spaces for alignment
    indent=tab=4
    indent-switches
    indent-modifiers
    indent-preproc-block
    #Attach closing while of a loop to the closing brace
    attach-closing-while
    #Padding
    break-blocks
    pad-oper
    pad-include
    pad-header
    align-pointer=name
    delete-empty-lines
    squeeze-ws
    remove-braces
    attach-return-type
    convert-tabs
    close-templates
    max-code-length=100
Viewing 20 posts – 421 through 440 (of 1,246 total)