Zandronum Chat on our Discord Server Get the latest version: 3.1
Source Code

View Revisions: Issue #1420 All Revisions ] Back to Issue ]
Summary 0001420: Custom vote definitions, aka VOTEINFO
Revision 2014-11-01 02:30 by Dusk
Description 'http://wiki.zandronum.com/VOTEDEF [^]'
Revision 2013-08-01 18:35 by Dusk
Description So it's that time of year again, I pulled my old votedefs code from neurosphere and cleaned it up.

What's up: it's basically generalized callvote types; you define these types in a VOTEDEF lump. I've successfully recreated all of the currently existing vote types (including kick votes and the requested kickfromgame votes). I also have managed to make this actually work; they're callable and the limits work.. for the most part. Going to need quote lot of of testing though.. As far as code goes I still need to merge the int types to a single Int type and define minimum and maximum value limits, after that I guess it just needs a bit more cleaning up.

See code and stuff here:
'http://pastebin.com/Z3a6VJJv [^]' (votedef.cpp)
'http://pastebin.com/eHh6GFPX [^]' (votedef.h)
'http://pastebin.com/eNLaa21u [^]' (votedef.txt)
'http://pastebin.com/sCK7mPZ2 [^]' - changes to other files
Revision 2013-08-01 16:04 by Dusk
Description So it's that time of year again, I pulled my old votedefs code from neurosphere and cleaned it up.

What's up: it's basically generalized callvote types; you define these types in a VOTEDEF lump. I've successfully recreated all of the currently existing vote types (including kick votes and the requested kickfromgame votes). I also have managed to make this actually work; they're callable and the limits work.. for the most part. Going to need quote lot of of testing though.. As far as code goes I still need to merge the int types to a single Int type and define minimum and maximum value limits, after that I guess it just needs a bit more cleaning up.

See code and stuff here (outdated):
'http://pastebin.com/LDcwgeWa [^]' (votedefs.cpp)
'http://pastebin.com/bqGVDpC1 [^]' (votedefs.h)
'http://pastebin.com/dUGvWgWK [^]' (votedefs.txt)
'http://pastebin.com/DsKUjsvT [^]' - changes to other files
Revision 2013-07-21 01:07 by Dusk
Description So it's that time of year again, I pulled my old votedefs code from neurosphere and cleaned it up.

What's up: it's basically generalized callvote types; you define these types in a VOTEDEFS lump. I've successfully recreated all of the currently existing vote types (including kick votes and the requested kickfromgame votes). I also have managed to make this actually work; they're callable and the limits work.. for the most part. Going to need quote lot of of testing though.. As far as code goes I still need to merge the int types to a single Int type and define minimum and maximum value limits, after that I guess it just needs a bit more cleaning up.

See code and stuff here:
'http://pastebin.com/LDcwgeWa [^]' (votedefs.cpp)
'http://pastebin.com/bqGVDpC1 [^]' (votedefs.h)
'http://pastebin.com/dUGvWgWK [^]' (votedefs.txt)
'http://pastebin.com/DsKUjsvT [^]' - changes to other files
Revision 2013-07-21 01:03 by Dusk
Description So it's that time of year again, I pulled my old votedefs code from neurosphere and cleaned it up. Now that I know more about C++ I think I can actually finish this. :P

What's up: it's basically generalized callvote types; you define these types in a VOTEDEFS lump. I've successfully recreated all of the currently existing vote types (including kick votes and the requested kickfromgame votes). I also have managed to make this actually work; they're callable and the limits work.. for the most part. Going to need quote lot of of testing though.. As far as code goes I still need to merge the int types to a single Int type and define minimum and maximum value limits, after that I guess it just needs a bit more cleaning up.

See code and stuff here:
'http://pastebin.com/LDcwgeWa [^]' (votedefs.cpp)
'http://pastebin.com/bqGVDpC1 [^]' (votedefs.h)
'http://pastebin.com/dUGvWgWK [^]' (votedefs.txt)
'http://pastebin.com/DsKUjsvT [^]' - changes to other files
Revision 2013-07-21 01:02 by Dusk
Description So it's that time of year again, I pulled my old votedefs code from neurosphere and cleaned it up. Now that I know more about C++ I think I can actually finish this. :P

What's up: it's basically generalized callvote types; you define these types in a VOTEDEFS lump. I've successfully recreated all of the currently existing vote types (including kick votes and the requested kickfromgame votes). I also have managed to make this actually work; they're callable and the limits work.. for the most part. Going to need quote lot of of testing though.. As far as code goes I still need to merge the int types to a single Int type and define minimum and maximum value limits, after that I guess it just needs a bit more cleaning up.

See code and stuff here:
'http://pastebin.com/LDcwgeWa [^]' (votedefs.cpp)
'http://pastebin.com/bqGVDpC1 [^]' (votedefs.h)
'http://pastebin.com/dUGvWgWK [^]' (votedefs.txt)
Revision 2013-07-21 00:59 by Dusk
Description So it's that time of year again, I pulled my old votedefs code from neurosphere and cleaned it up. Now that I know more about C++ I think I can actually finish this. :P

What's up: it's basically generalized callvote types; you define these types in a VOTEDEFS lump. I've successfully recreated all of the currently existing vote types (including kick votes and the requested kickfromgame votes). It just needs a bit more cleaning up right now.

See code and stuff here:
'http://pastebin.com/LDcwgeWa [^]' (votedefs.cpp)
'http://pastebin.com/bqGVDpC1 [^]' (votedefs.h)
'http://pastebin.com/dUGvWgWK [^]' (votedefs.txt)

Also yeah I still need to merge the int types to a single Int type and define minimum and maximum value limits.






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker