Home Creators Posts Import Register Favorites Logout

Content

This version doesn't have anything new for users, but there are several improvements and cleanups in the code.

Unused source files were removed, and the GZip compression support received a few fixes to be more compliant. Specifically talking, I've found out that to match the fread functionality I should've used gzfread instead of gzread. This is due to a little inconsistency in the naming of the GZip library functions, which usually omits the "f" character of their original counterparts (e.g. "gzopen", which replaces "fopen"), but didn't omit it in the case of gzfread.

I had implemented support for compressed gameplay demo files, but for some reason it kept crashing so I undid it. Compressed demos aren't an essential feature anyway, I just wanted to implement compression in them for feature completeness, so I've decided to skip this for now.

Support for compressed files in PAK archives isn't important either — mainly because PAK archives doesn't support very long filenames, which means there would be no way to store the compiled textures in them because the compiled textures have extra info appended to their filenames.

The "Save/Load Checkpoint" menu items were removed from the single player menu since the version 0.10.1 because they're pretty much pointless now and could be a little confusing for some. Their main use case was when I worked in the Makaqu engine for the Sega Dreamcast, which has very limited storage space for saves, but this doesn't make any difference for PC users. Anyway, those menus can still be called by the menu_savesmall and menu_loadsmall console commands.

Now I'm studying multicore programming (the Darthmouth College classes about it are really good, and I'm also studying other sources), and will start experimenting with it before implementing it in the rasterizer. As for the expected performance, I did some tests running the original Quake demos with r_drawflat enabled, and while the third demo ran at a solid 60 fps, the first two demos had several moments of significant frame drops. This happened because while the map of the third demo was recompiled with visibility data, the maps of the first two demos were recompiled without visibility data. I likely should add a "no VIS" warning in the framerate display, because visibility data will still be crucial for good performance in Retroquad.

Comments

No comments found for this post.