ConCmd/Var Manager Deadline
Today, I set a deadline for the console command and variable managers. I was to finish the pair in around 3 hours, beginning at 3pm EST. It worked very well for around an hour, until I had an urge to play Team Fortress 2, for which I paused development, played for an hour, and pushed the deadline ahead another hour. The time I spent developing Viper was extremely productive, compared to my regular barely-work-lots-of-play schedule, which wreaks havoc on my development and school work
The results of it were, well, okay, at best. However, the so-so results were caused by fixing compiler errors, not from lack of work. I had much trouble with the py_console files. For example, recent compiling brought forth new errors to py_console.cpp; first off, there was this:
'console_ConVarType' : redefinition; different types of indirection
Then, this sprung up:
C:\coding\hl2sdk\public\tier1/utlmemory.h(102) : error C2129: static function 'int console_ConVar_Get(PyObject *,PyObject *,PyObject *)' declared but not defined
It made absolutely no sense, for many reasons:
- utlmemory.h is not directly included from the file I suspected was causing the error (py_console.cpp)
- utlmemory.h is part of the HL2SDK, and should have nothing to do with my Python files
- Sawce loves Rukia!
I’ll be working on it tonight, and hopefully it’ll be committed working by the time I hit the showers.